What's the best way to have a light trigger by motion for X time but don't turn off the lights until motion is off for x time
Announcement
Collapse
No announcement yet.
Motion sensor and lights configuration
Collapse
X
-
Originally posted by dannieboiz View PostWhat's the best way to have a light trigger by motion for X time but don't turn off the lights until motion is off for x time
IF motion
THEN turn on light
Event 2;
IF no motion for at least xx minutes
AND IF light has been on for at least xx minutes
THEN turn light off
Set xx in the Trigger and Condition for the minimum amount of time for the light to be On and for how long after motion stops before the light is turned off.HS4 Pro, 4.2.18.3 Windows 10 pro, Supermicro LP Xeon
-
Originally posted by rprade View PostEvent 1:
IF motion
THEN turn on light
Event 2;
IF no motion for at least xx minutes
AND IF light has been on for at least xx minutes
THEN turn light off
Set xx in the Trigger and Condition for the minimum amount of time for the light to be On and for how long after motion stops before the light is turned off.
Comment
-
Originally posted by dannieboiz View Post
I tried that but if device has been for x is no longer available in HS4.
Event 2;
IF this event will trigger once every 1 second
AND IF no motion for at least xx minutes
AND IF light has been on for at least xx minutes
THEN turn light off
HS4 Pro, 4.2.18.3 Windows 10 pro, Supermicro LP Xeon
Comment
-
Event 1 - If sensor changes to IN MOTION and light is currently OFF turn ON light
Event 2 - If sensor has been NO MOTION for exactly x seconds and light is currently ON turn OFF light
Or you could eliminate HomeSeer altogether:
1. Configure the Z-Wave parameter for your motion sensor to trigger for minimum of x seconds
2. Associate your light to the motion sensor
3. That's it, no events required - light turns on with motion, light stays on for x seconds after last motion
I do option 1 above because in my case I have multiple sensors along the (long) corridor so I've got them all in a EasyTrigger group and use the above logic to react to the group changing status. Fully HS4 compatible without HS consuming compute cycles re-progressing the logic.
Comment
-
I use two sets of events, one if the light was turned on by the z-wave switch, the other if it was turned on by the z-wave motion sensor.
I use a timer and two virtual devices, one if the light was turned on by the sensor and one if it was turned on by the switch. If the timer exceeds a certain amount of time and no motion for 5 minutes and the light was not turned on automatically, then turn off the light. If the light was turned on manually then leave it on. That meets the WAF factor requirements.
Comment
Comment