Turn switch on and off repeatedly

Moderator: leecollings

Post Reply
tapaz
Posts: 6
Joined: Thursday 16 November 2017 9:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Turn switch on and off repeatedly

Post 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?
Clemen
Posts: 75
Joined: Saturday 05 December 2015 15:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Europe
Contact:

Re: Turn switch on and off repeatedly

Post by Clemen »

dzvents using last update to check if the switch have been on for more than 14minutes run the script every minute.
tapaz
Posts: 6
Joined: Thursday 16 November 2017 9:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Turn switch on and off repeatedly

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest