I’ve been searching for a solution and cant find what I need so I’m considering to write my own. I thought it would make sense to drop in here before I begin. And by “begin” I mean from complete scratch because I have no idea where to even start.
First my purpose: I want to keep the cats out of my garden.
My hypothesis: Install a motion detector to trigger my in-ground sprinklers to run the desired zone for ten seconds and then stop.
My tools: Hydrawise irrigation controller. Alexa. Smartthings. Zooz outdoor motion sensor. Nutone zwave dry relay.
What I’ve accomplished so far:
- Alexa skill controlls the Hydrawise just fine but I can’t trigger the skill externally, only through voice commands. I can tell Alexa “run zone 2 for ten seconds” and it does just that.
- The Zooz outdoor motion sensor works fine and will trigger Alexa to do something (like say “hey cat get out of my garden”) but will not trigger the Alexa Hydrawise skill.
- Smartthings will control the Nutone dry realy just fine. I can connect this to a custom sensor input on the Hydrawise controller and trigger a zone. This ALMOST completes the circuit but not quite. The problem is that once triggered the zone runs its programmed schedule of tewnty minutes or so. There is no way that I can figure out to make it run while the relay is closed and stop when it opens again. I can do this by daisy chaining it to a second custom sensor input so that closed commands it to run and open commands it to stop. This effectively disables the scheduled run time because the zone is in a perpetual stop command until motion is detected. In this scenario I can in fact detect motion, run for a few seconds and then stop however that zone will never run on schedule. I should add at this time that Hydrawise support has proven to be useless.
What I think is the missing link is a Smartthings device handler that will tell Hydrawise to start and stop. I can’t find such a thing so I’m considering to try and write my own. Any thoughts?