Hello all,
thanks a lot for WLED. The software is just great. So far I have everything working, only the button causes me problems.
I would like to make sure that when the button is pressed, the LEDs turn white and turn on. When I press the button again, the LEDs should turn off.
I would have thought according to API it would be possible with the following macro:
T=2&A=255&FX=0&R=255&G=255&B=255
T=2 toggle
A=255 brightness
FX=0 no effect
and the rest sets the colors.
However, the LEDs are not switched on when the button is pressed. If I switch the LEDs on via APP and then press the button the LEDs turn off.
Maybe somebody knows the answer.
Daranto