Ok, so I got home and changed the macro to turn the light on only if it is off and it is after dusk. Opened the door and the light came on. Reset the time on the computer to Noon (before dusk) and cleared the interface and updated to make sure it showed Noon. Downloaded the timers and macros. Opened the door and the light came on. So I'm not sure if that test worked or not.
I checked my settings and put the clock back to the correct time. Which at the time is after dusk. Cleared and re downloaded. Before that I emptied the trash and purged all macros just to be sure. Opened the door and the light DID NOT come on. Said oh well and left it like that.
This morning when I left for work and opened the door, the light came on.
![Head Banging B:(](http://forums.x10.com/Smileys/default/headbanging.gif)
It's after midnight and before dusk. Why did it come on? My clock on the computer and in the interface are both correct.
Just to clarify, here is the macro as it is now:
Trigger Conditions Front Door Zone 1 - Sensor Triggered and
Module Status Off - Living Room Ceiling Light and
It's After Dusk
End Trigger Conditions
Turn M1 ON
M1 ON will set flag 1 and turn F9 on
I have a linked macro that is triggered by the door close with a condition for flag 1 set. Then it will run M1 OFF. This macro will turn the light off.
Guess I need to make the duplicate macro for when the door opens but change after dusk to before dawn. Then make sure the light doesn't turn on between Dawn and Dusk.
MACRO 1:
Trigger Conditions Front Door Zone 1 - Sensor Triggered and
Module Status Off - Living Room Ceiling Light and
It's After Dusk
End Trigger Conditions
Turn M1 ON
MACRO 2:
Trigger Conditions Front Door Zone 1 - Sensor Triggered and
Module Status Off - Living Room Ceiling Light and
It's Before Dawn
End Trigger Conditions
Turn M1 ON
MACRO 3:
Trigger Conditions Front Door Zone 1 - Door Closed and
Flag 1 - Set
End Trigger Conditions
Turn M1 OFF
Just wondering, does After Dusk mean 12:00am to Dawn? Does Before Dawn mean Dusk to 11:59pm?