Logic Assistance: Exterior Lights on when Illuminance Below Threshold
-
Hello all and happy holidays! I recently picked up a Zooz ZSE70, an outdoor multi sensor with an light sensor. The goal was to have my outdoor lights trigger once it got dark enough.
Today was the first day I was trialing my updated logic (screenshot below) soon after it got dark enough I observed the lights began to turn on and off every few seconds. Taking a look at the sensor history in HA it looks like once the light got below the threshold (35lx in my case) the lights would turn on great! However a few seconds later the sensor would update and the measured light would go above the threshold and the lights would turn off. After that the cycle would continually repeat every handful of seconds.
I need to think of a way to trigger the rule, but ignore the spike in the reading once the lights turn on. I could pulse the trigger to remain true for an hour ish so that as the light naturally fades in the evening it hopefully remains under the threshold. However that's a less than elegant solution in my case, so any tips would be appreciated!
One note: I cannot move the sensor so that the lights don't affect the readings.
Note: in the screenshot above, at the ~3:53pm mark where the levels flatten out, it was because I disabled the rule.










