This object is in archive! 
time comparison not working
Known
Hello,
The rule below should only be executed at Sunrise but only if it is after 6:30.
Sunrise currently occurs around 5:35 so why is message sent every day (at Sunrise)?
- WHEN Scheduler [Sunrise]
- IF NOW > Time 6:30
- send message
Any explanation or advice is appreciated!
Wilfried.
No connection
Real-time notifications may not work
Not tried. But i think you must use If time(NOW) > time(6:30).
Not tried. But i think you must use If time(NOW) > time(6:30).
Hi John, good idea and quite logical: NOW could indeed be a date or time format. I'll try and provide an update tomorrow.
Hi John, good idea and quite logical: NOW could indeed be a date or time format. I'll try and provide an update tomorrow.
It works!
Thank you John!
Just for information: The rule currently looks like:
By the way, am I supposed to close this ticket somehow?
It works!
Thank you John!
Just for information: The rule currently looks like:
By the way, am I supposed to close this ticket somehow?
I think you can not close this item. I do not know how to do it. Maybe someone from Zipato can do it.
I think you can not close this item. I do not know how to do it. Maybe someone from Zipato can do it.
Hi Milan, that is correct. Blinds must be opened at sunrise, but not before 6:30 am. Another rule (which is not mentioned above) will open them at 6:30 (if they have not been opened already and if the sun is already up)
Hi Milan, that is correct. Blinds must be opened at sunrise, but not before 6:30 am. Another rule (which is not mentioned above) will open them at 6:30 (if they have not been opened already and if the sun is already up)
Please find my rules attached.
Some notes:
Rule 1 (blinds up at sunrise) is triggered by scheduler daily at sunrise.
Rule 2 (blinds up at 6:30) is triggered by scheduler daily at 6:30
Messages in the rules or just for testing.
Blinds are still virtual as I'm awaiting my 433Mhz box to include the real ones :-)
Please find my rules attached.
Some notes:
Rule 1 (blinds up at sunrise) is triggered by scheduler daily at sunrise.
Rule 2 (blinds up at 6:30) is triggered by scheduler daily at 6:30
Messages in the rules or just for testing.
Blinds are still virtual as I'm awaiting my 433Mhz box to include the real ones :-)
In the mean time, in stead of using variables to store information like Sun is up, Blinds are open..., I now use virtual HTTP sensors.
Advantages of Virtual HTTP sensors over Variables:
- They do not get reset when Zipabox has to be restarted.
- They are easily controlled.
In the mean time, in stead of using variables to store information like Sun is up, Blinds are open..., I now use virtual HTTP sensors.
Advantages of Virtual HTTP sensors over Variables:
- They do not get reset when Zipabox has to be restarted.
- They are easily controlled.
Replies have been locked on this page!