This object is in archive! 
How to Create a loop in rule?
Need Answer
Hello all
how can i create a rule with unlimited loop in it for example to create a blinking lamp
No connection
Real-time notifications may not work
I do it this way:
Make 2 virtual switches.
Then make this rule:
When virtual switch x = on and virtual switch y = on
Virtual switch y = off
Lamp x = on
Wait 1 sec
Lamp x off
Wait 1 sec
etc
Virtual switch y = on
If you want to stop the the rule then turn off switch x
Note! You may overload your z-wave network!
I do it this way:
Make 2 virtual switches.
Then make this rule:
When virtual switch x = on and virtual switch y = on
Virtual switch y = off
Lamp x = on
Wait 1 sec
Lamp x off
Wait 1 sec
etc
Virtual switch y = on
If you want to stop the the rule then turn off switch x
Note! You may overload your z-wave network!
Thanks, please add a picture from below rules written in rule creator.
imagine when you run the party Scenes,you want the RGBW become red, green, yellow, blue and this repeat until you turn the virtual Switch X off.
on the other hand please guide me how to repeat a rule for example for 20 times.
Thanks, please add a picture from below rules written in rule creator.
imagine when you run the party Scenes,you want the RGBW become red, green, yellow, blue and this repeat until you turn the virtual Switch X off.
on the other hand please guide me how to repeat a rule for example for 20 times.
Only way i know how to repeat 20 times is to set a variable and change/up it (20 times).
Only way i know how to repeat 20 times is to set a variable and change/up it (20 times).
If you still need to have party scene this one I made is not so bad. Change repeat time how much you need but it is not so important when you can stop it with another switch. If you don't have remote use virtual switches.
If you still need to have party scene this one I made is not so bad. Change repeat time how much you need but it is not so important when you can stop it with another switch. If you don't have remote use virtual switches.
Replies have been locked on this page!