I’m looking for a way to cycle through the WLED presets. When the last preset is selected, I’d like it to go back to the first one. Its this second part that I’m stuck on. Ideally, this would be dynamic, so it would automatically adapt to preset changes.
Right now, I’m using an MQTT command with this string: “http://192.168.30.168/win&PL=~” I noticed that there is a method to cycle through presets in the documentation, but with this method, the number of presets is static and the command would have to be changed anytime presets are added or removed.
Thank you.