Reducing Light Flickering with Lux Sensor

Hey everyone! I wanted to share my experience with using a 433 MHz lux sensor to control indoor and outdoor lights. It’s been working pretty well most of the time, but I noticed an issue where the lights flicker on and off when the outdoor light conditions fluctuate around my set threshold. This can be a bit annoying, especially if my neighbors start wondering if I’m having some kind of electrical issue!

I did some research and came across the idea of implementing a ‘drift’ function. The concept is that once the light sensor reaches a certain value, the system ignores minor fluctuations until the value changes by a significant amount. For example, if I set my lux value at X and activate the ‘drift’ to 5, the system won’t react to changes of +/-1, 2, 3, or 4. It only responds when the value changes by +/-5. This should prevent the lights from flickering on and off during partly cloudy days or when clouds pass in front of the sun.

I’m curious if anyone else has encountered this issue or if there’s a built-in function in their systems that can achieve this. I’d love to hear your thoughts or any solutions you might have! Cheers! Fred