This object is in archive! 

time rule

Thomas shared this question 8 years ago
Answered

Hello, I am wondering if someone know how to create a rule that turn on for example a lamp if a sensor is triggered, but only between 22.00 and 05:00.


I tried to use the variable block " Time between" but it didn't seems to work. Any suggestions?

Replies (6)

photo
1

But it didn't seem to work.

photo
1

That should work...have you remembered to sync your rules?

The rules engine run in the cloud, you need to download/sync the rules to your Zipabox, when you have made them/made changes to them!

I have attached a rule of mine, that looks almost the same...that is working...8)

photo
1

Hello Thomas,


I have attached an example Rule, I tested it and it works. I used Virtual devices but the principle is the same.

As Jesper suggested please don't forget to Synchronize Rules with the button on the right side of your web UI.


Regards

photo
1

Ok, I will try to re-create the rule again. I did sync the rules before but when it didn't work I thought I was using it wrong.

photo
1

Ok, I will try to re-create the rule again. I did sync the rules before but when it didn't work I thought I was using it wrong. I will let you know if it works this time.

photo
1

Hello, the rule seems to work after re-creating it. Thanks for the help!

Replies have been locked on this page!