Hi all,
I have a strip led to light my aquarium. I’ve set up wled to use 2 time-controlled presets:
ON: white led all over the strip except: 1 red led every 5, 1 blue led every 11
OFF: only blue leds on (1 every 11)
ON on 8 o’clock
OFF on 18 o’clock
so the strip is always on (even when OFF preset)
now the question is: if a power down occurs how can I restore the right preset (ON if the power goes back between 8:00 and 18:00, OFF if the power goes back between 18:00 and 8:00)?
look in the MODS there is a Realktime Clock via DS 13xx this holds the time about 4years on a CR2032 so you are off the TIME zones
I don’t think the problem is the loss of time… the problem is the loss of power: when the ESP boots (after a loss of power) Wled loads a defined preset (“Apply preset X at boot”).
But X could be “1” or “2” (in this particular case), depends on the time of boot.
The Moonmodules Mod keep track of this and the time is from the DS grapt at boot
as then it runs to the timer list and sets the time aplied Preset Playlist or effect