What is Nostr?
pat /
npub1x27…8etl
2023-12-10 19:51:07

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 🤔?
Author Public Key
npub1x27pfpkrf97gqnxnlh23y599hmsfzykd7newtgk7r4ujkvvswrgqvr8etl