pat on Nostr: Programming folk! I need your opinion! I rigged this controller for Christmas lights ...
Programming folk! I need your opinion!
I rigged this controller for Christmas lights and it has a light sensor so it doesn't waste power during the day, but I'm running in a slight issue: at dawn it goes crazy when there's clouds passing, a fly lands on it and all that shit. Obviously setting it to turn the lights off when the sensor reads less than say 100 lux isn't the right approach. How would you do that? Some running average, maybe 🤔?
I rigged this controller for Christmas lights and it has a light sensor so it doesn't waste power during the day, but I'm running in a slight issue: at dawn it goes crazy when there's clouds passing, a fly lands on it and all that shit. Obviously setting it to turn the lights off when the sensor reads less than say 100 lux isn't the right approach. How would you do that? Some running average, maybe 🤔?