Run Preset if time is Greater than a specific time

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?

1 Like