Page 1 of 1

Turn switch on and off repeatedly

Posted: Thursday 16 November 2017 9:50
by tapaz
Hi,

I have a Z-wave wall plug that I would like to turn on for 15 minutes, then off for 15 and so on. This would be repeated action. There are times in switch that could do this but I would have to manually add every entry there for a whole day, right? I also tried this from blockly (if plug=off, then turn on for 15 minutes) but it didn't work that way.

Any ideas?

Re: Turn switch on and off repeatedly

Posted: Thursday 16 November 2017 10:23
by Clemen
dzvents using last update to check if the switch have been on for more than 14minutes run the script every minute.

Re: Turn switch on and off repeatedly

Posted: Thursday 16 November 2017 21:56
by tapaz
Thanks Clemen! That worked. Now I am trying to figure why it works that way :D When I tell the script to turn on switch for 15 minutes that's logical, but is the default "reverse" action to turn it off because I dont have to define that. Gotta read more about dzvents, it seems very handy.