sideslope Posted December 26, 2013 Posted December 26, 2013 I'm trying to get my motion detector working but the thing isn't working as expected. Here's what I want it to do: Come on from dusk till dawn. If motion, turn lights on, when no motion for 3 minutes, turn lights back off. Motion detector settings: Timeout = 3 minutes Checkbox Enabled = Both On and Off Checkbox Enabled = As Motion Occurs Scene Settings: Dusk.Dawn as controller Porch light as responder Behavior: Light comes on at dusk, never shuts back off. Anyone know how to get this to working? Thanks!
bleepblorp Posted December 26, 2013 Posted December 26, 2013 I can't say I've used the dusk.dawn event to turn on a light before, but I have used it to email me when states changed when I was trying to get a sense of its behavior. What I noticed was that my various motion sensors would change dusk.dawn state multiple times a day ... maybe 5 to 8 times randomly. I also noticed that it would sometimes trigger the same state multiple times. For instance, it would trigger on and then 30 minutes later trigger on again. In the end, I can't say whether or not this explains your situation, but I do think this may be another variable to consider. As to what you are trying to accomplish is it possible to use programs in combination here? If so, you could have one program turn on the light from dusk and off at dawn. A second program could look for motion events during dawn til dusk. Of course this would mean the ISY is triggering the scene and not the sensor. Not sure if that delay is okay for your use case. Also, from other threads I have come to understand that 'As Motion Occurs' will send continuous on messages as it sees motion which doesn't seem useful for this case. The 'After timeout only' setting should work and will generate less traffic and battery drain.
Xathros Posted December 26, 2013 Posted December 26, 2013 Use the Motion node as the controller rather than the Dusk node. -Xathros
oberkc Posted December 26, 2013 Posted December 26, 2013 I have only theories why the light does not go off at dawn. Come on from dusk till dawn. You want the light to come on, or to enable the response to the motion sensor? Is there any particular reason to avoid using the ISY built-in dusk/dawn timer? If motion, turn lights on, when no motion for 3 minutes, turn lights back off. I am assuming that this suggests that you don't necessarily want the light to come on at dusk and turn off at dawn, but rather you want the motion sensor enabled between dusk and dawn. Motion detector settings:Timeout = 3 minutes Checkbox Enabled = Both On and Off Checkbox Enabled = As Motion Occurs Change checkbox to ON only. Scene Settings: Dusk.Dawn as controller Porch light as responder Eliminate this scene. Create a program: if from time = sunset to sunrise (next day) and control motion sensor turned on then turn on porch light wait three minutes turn off porch light else turn off porch light If you would rather use the motion sensor light settings for enabling the motion, change the program to: if status dusk.dawn is on and control motion sensor turned on then .....same else ....same
sideslope Posted December 29, 2013 Author Posted December 29, 2013 Okay OberKC, I'm going to try your program tomorrow and see if it works! Thanks.
Recommended Posts