Vera allows me the ability to turn “on” the motor of my cat feeder and then 15 seconds later turn it “off”.
The scene options only allow a predetermined number of seconds in the drop down box, i cant specify my own… (i.e. 10, 15, 30).
I would like to run the feeder motor for 20 seconds, this is not an option in vera. I am pretty sure this would be very easy to script in lua/luup, I just don’t know where to start. Can anyone point me in the right direction?
I suspect it’ll be less taxing on Vera if you go with variant 3. You can get the code snippet/examples for the timer out of either TedStriker’s Ping Plugin, or the Weather Plugin.
You can also grab the Parameter logic (for a 20, 21, 25 second timer via config) from Ted’s codebase or from 325xi’s Sprinker controller.
Variant 1 will likely put Vera into High CPU, with lots of low level System CPU calls. Variant 1&2 will block, which is also undesirable.
Best Home Automation shopping experience. Shop at Ezlo!