Just ran into new to this WLED program and its amazing… everything I wanted/needed… So I’m using it on a Motorbike project. Basically I presently have it where it does an effect or two at boot before landing on a color of choice… what I would like to do is to check the Sunrise /sunset time BEFORE to either allow the “at boot playlist” to run or not so basically… if its light out… don’t run the “startup” playlist … but if its dark then allow the playlist to run. I figure at boot preset running a Api to check Time and IF then statement to run other preset (playlist) - or other use case… If Power loss (blackout maybe) … when power comes back … check to see time of day at boot in order to determine if lights should go back on. any ideas?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Seems not correct calculation for sunrise/sunset | 24 | 2141 | February 15, 2022 | |
|
Check time at boot
|
1 | 372 | May 25, 2022 | |
| Run preset 1 hour before sunset? | 2 | 74 | July 28, 2025 | |
| Auto on off with Longitude and latidude | 8 | 165 | August 20, 2024 | |
| Sunset time | 7 | 77 | November 12, 2025 |