Free domotica! › Forums › How can I …? › Synology NAS › Example loop with blocky
Tagged: loop blocky
This topic contains 5 replies, has 2 voices, and was last updated by K.Rens 6 months, 3 weeks ago.
Hi, can anybody help me and writes this in a comfortable loop:
If I`m not at home (“Daheim), wait up to 5 Minutes then close the shutters.
If I`m at this time at home again, do nothing.
When a scene starts running the variables are already filled in.
This means that this won’t work.
You can write a variable to a file on your hard drive, it’s described in the faq.
Then as soon as the counter is at 0, you can close the blinds.
you mean something like this:
I kept on investigating abaout loops and what you have said.
I think you are not right about the behavior of loops with “waiting”.
I have this scene:
And it works perfect!
Do you thinks there is a difference between set variables and status of zwave-devices?
Every time a scene is run, the variables are reset.
That’s why I’m writing them to disk instead as described in the faq.
You must be logged in to reply to this topic.