This object is in archive! 

When do we need to use the RESFRESH ALL ?

Marcel FAGNOUL shared this question 8 years ago
Need Answer

What is the purpose of the REFRESH ALL


Thank you

Replies (5)

photo
1

Refresh all is usefull in rules eg. if you use a when statement, wait and then want to check statements refreshed if some device might changed state from execution start.

photo
1

ok thank's

photo
1

Kristian,


Thank you for your response. However, I still am unclear. Can you please explain it in another way? Thank you.

photo
1

yes can you

photo
1

Not sure if it will help, but here is my own experience.

I had the following rule :

1) Put Swithch 1 Off

2) Wait 20 seconds

3) if Swhitch 1 off than send message " switch OFF" Else Send message "switch ON"


When I Activate the rule, the switch 1 was immediately put OFF (I could see the switch put off in the GUI, and physically, the switch was really off). But when he rule was testing the status 20 seconds after, the rule was always sending a message with "Switch On"... so the rule was considering the switch "On" while it is in "Off" state.


I opened a ticket and the support told me to add a "refresh all" action after "wait 20 seconds".

Leave a Comment
 
Attach a file