I have some undercabinet lights that I want to come on when it is below a certain Lux and go off and be off if it is higher than a certain Lux. I have it working except that it will go on and off too much when it is hovering around the lux for determining the lights to go on and off. I have set a "Cannot run for 30 minutues" option in the Events but it doesn't seem to work. It will go off or on when it updates the lux again. Here are my events. Any help would be greatly appreciated.
Announcement
Collapse
No announcement yet.
Need help with lights and illuminance
Collapse
X
-
Instead of using <40 for on and >40 for off, which creates a dead band of 40, make a larger band, say <35 for on and >45 for off creating a dead band of 35 to 45. Nothing will happen in the "dead band."
HomeSeer Version: HS4 Pro Edition 4.2.19.0 (Windows - Running as a Service)
Home Assistant 2024.3
Operating System: Microsoft Windows 11 Pro - Desktop
Z-Wave Devices via two Z-Net G3s
Zigbee Devices via RaspBee on RPi 3b+
WiFi Devices via Internal Router.
Enabled Plug-Ins
AK GoogleCalendar 4.0.4.16,AK HomeAssistant 4.0.1.23,AK SmartDevice 4.0.5.1,AK Weather 4.0.5.181,AmbientWeather 3.0.1.9,Big6 3.44.0.0,BLBackup 2.0.64.0,BLGData 3.0.55.0,BLLock 3.0.39.0,BLUPS 2.0.26.0,Device History 4.5.1.1,EasyTrigger 3.0.0.76,Harmony Hub 4.0.14.0,HSBuddy 4.51.303.0,JowiHue 4.1.4.0,LG ThinQ 4.0.26.0,ONVIF Events 1.0.0.5,SDJ-Health 3.1.1.9,TPLinkSmartHome4 2022.12.30.0,UltraCID3 3.0.6681.34300,Z-Wave 4.1.3.0
Comment
-
If it is on and lux changes to 41 then the bulb will go off even if the lux increase is from the light turning on. It can go on again after the 30 minutes.
Are the lights flashing on and off and then on again in under 30 minutes?
Another way to wait is to pause the event with a wait statement and see if you get any difference in behavior.
You could also put another andif for the trigger - the light has been on or off for at least 30 minutes.
Comment
-
Originally posted by pcgirl65 View PostOk I will try this. How come the “Cannot run for 30 minutes” doesn’t work? I figured if I kept it from running for 30 minutes the illuminance would have changed or not and at least the lights wouldn’t keep going off and on.
For the event that turns the lights on, add AND IF light has been off for at least 30 minutes.
For the event that turns the lights off, add AND IF light has been on for at least 30 minutes.
"light" is the device that turns the lights on and off, not the sensor.
Comment
-
Originally posted by AllHailJ View PostAre the lights flashing on and off and then on again in under 30 minutes?
Comment
-
Originally posted by pcgirl65 View PostThanks, that is probably what I have been missing in the event. I will give that a try. So what does the "Cannonot run" Option do then?
Comment
Comment