I want to turn on the lights when a door is opened between 23.55 and 06.00 (so at night).
I made an event but seems not to work. What is wrong ?
Wil
Time related event does not work
Moderator: Ruud
Time related event does not work
- Attachments
-
- 2017-04-02_8-01-20.jpg (49.37 KiB) Viewed 5716 times
even the genious ask questions
Re: Time related event does not work
"changes and becomes". Is the light "on" before? Maybe "set to" instead?
Re: Time related event does not work
The issue is that the two conditions will never be true at the same time as they are both relative to midnight.
"The Time is After 23:55" really means "The Time is After 23:55 and Before 00:00"
"The Time is Before 06:00" is really "The Time is After 00:00 and Before 06:00"
I would create a virtual device and change it to On using an event triggered at 23:55 and change it to Off using an event triggered at 06:00. Use the status of the virtual device as your condition instead.
Cheers
Al
"The Time is After 23:55" really means "The Time is After 23:55 and Before 00:00"
"The Time is Before 06:00" is really "The Time is After 00:00 and Before 06:00"
I would create a virtual device and change it to On using an event triggered at 23:55 and change it to Off using an event triggered at 06:00. Use the status of the virtual device as your condition instead.
Cheers
Al