Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
14.7k stars 3.16k forks source link

Sunrise/Sunset for all time-controlled presets #2914

Open KanyonKris opened 1 year ago

KanyonKris commented 1 year ago

WLED is controlling holiday lights on my house. Currently I use a date range (ie Nov 26 - Dec 26 for Christmas) and on and off times. I'd like the on time to be 30 minutes after sunset each day. Perhaps "Sunrise" and "Sunset" could be added to the Hour as a drop-down list and +/- minutes specify minutes after or before sunrise or sunset, see image below (of course the hours list would go to 23).

WLEDsun

blazoncek commented 1 year ago

Unfortunately no. Too complex to implement currently.

dmig commented 4 months ago

I'd sign for this for other reason: sunset-dusk interval is 15-60 (or more?) minutes, depending on season and latitude.

A dawn/dusk calculation, as I understand, differs just by 1 constant from sunrise/sunset. So, adding dusk and dawn options should be simple.