wait, refresh all and multiple instance of a rule
Hi, following HeroS - http://www.domotica-blog.nl advice, I modify my washing machine rule in this way:
when washing program is off and instant WM power consumption >= 100
wait 17 sec.
refresh all
if WM power consumption >= 100
wait 11 sec.
refresh all
if WM power consumption >= 100
send message
switch washing program to on
Unfortunately it sends 2-3 messages every time, maybe because one or more instances of this rule start before the first ends.
Should I use a join block? But, if I understood well, it stops a potentially matching rule to execute a younger instance with different conditions (and maybe not matching anymore...)
Is it a refresh related issue instead?
Thank for your help,
--
Paolo
Join "locks" the rule. So it has to be finish before it triggers again.
It should match the value the sec. time if you use the refresh function.
Join "locks" the rule. So it has to be finish before it triggers again.
It should match the value the sec. time if you use the refresh function.
as usual, thanks for your answer :)
I'm a bit confused, I read the thread https://community.zipato.com/responses/how-does-the-controls-join-and-stop-function
If you want to make something like a stairway timer, you'd put something like
when button clicked
turn the light on
join
wait 30 seconds
turn the light off
Without that 'join', the light would turn off 30 seconds after first button click, no matter how many times you've clicked it in the next 30 seconds.
and I understood that if you click the button and then you click again after 15 sec., lights on total time is 45 sec., because the second instance of the rule stops the first
as usual, thanks for your answer :)
I'm a bit confused, I read the thread https://community.zipato.com/responses/how-does-the-controls-join-and-stop-function
If you want to make something like a stairway timer, you'd put something like
when button clicked
turn the light on
join
wait 30 seconds
turn the light off
Without that 'join', the light would turn off 30 seconds after first button click, no matter how many times you've clicked it in the next 30 seconds.
and I understood that if you click the button and then you click again after 15 sec., lights on total time is 45 sec., because the second instance of the rule stops the first
Replies have been locked on this page!