I replaced my old under-cabinet lighting in the kitchen with led strips using WLED. I also added over-cabinet lighting during this time. I have a button hooked up and everything is wire correctly. I’m using version 0.12.0. Here are the things I’m trying to do.
Long press to toggle power. I have this setup by creating a preset (ID 1) with
T=2as the API command value, then I use the macros config section to point the
Long pressbutton action at preset 1. Is this the proper way to accomplish this? Seems a bit out of place to have a preset/favorite that just toggles power?
Single press to toggle lighting modes. My wife/family is used to the switch just turning on the under-cabinet lights. So to keep it the same, I’d like to single press to cycle through some lighting modes. The first would be just the under-cabinet lights. The next would be just the over-cabinet lights. Then both lights. Lastly, I want an “alert” mode (a bright colored lighting effect, used as an alert/reminder to do something before going to bed). I created 4 presets for these modes (ID
3for under lights, ID
4for over lights, ID
5for both under/over, ID
6for the alert effect). Then I created another preset (ID
PL=~as the API command. In the macros config section, I pointed the
Single pressaction at preset ID
2. However, this doesn’t really work. I’d like it to just cycle between those 4 lighting modes/presets. But I can’t seem to figure out how to only use those 4 presets. It seems to hit the preset ID
1in the cycle which toggles the power off.
I’ve seen docs showing how to define presets in a
playlist, but I don’t want to automatically switch between those 4 presets on a timer. I want to press the button once to get mode 1, press the button again to go to mode 2, again for 3, again for 4, then again to start back at mode 1, etc.
Anyone have suggestions for accomplishing this? Thanks in advance!