Time related event does not work

Homeseer Forum in het Nederlands (DUTCH forum)

Moderator: Ruud

Time related event does not work

Postby Wima » Sun Apr 02, 2017 7:01 am

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
Attachments
2017-04-02_8-01-20.jpg
2017-04-02_8-01-20.jpg (49.37 KiB) Viewed 755 times
even the genious ask questions
User avatar
Wima
Member
Member
 
Posts: 119
Joined: August 2009
Location: Netherlands

Re: Time related event does not work

Postby mhn » Sun Apr 02, 2017 8:56 am

"changes and becomes". Is the light "on" before? Maybe "set to" instead?
mhn
Member
Member
 
Posts: 399
Joined: July 2009
Location: Denmark

Re: Time related event does not work

Postby Sparkman » Sun Apr 02, 2017 4:07 pm

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
Sparkman
Starting Member
Starting Member
 
Posts: 29
Joined: September 2015


Return to Homeseer algemeen Forum

Who is online

Users browsing this forum: No registered users and 1 guest