Dimming up and down with wall switch

hi all can any one help, can’t find the answer on this but there has been mention a year ago that the feature was coming.

I simply want to be able to change the brightness via wall switch up or down with a constant dimming intel the button is realised.

as it is i am able change brightness +/- 20 every button push using (&A=~20) / (&A=~20) but not with a button hold.

im using the latest beta version.

What software is monitoring the wall switch? Is it zigbee, zwave, wifi, RF, infrared, or wired directly to the ESP running WLED? Your question leaves out some important details.

Lol yes lacking a bit of info there (end of a long evening trying to Google an answer)

I have an node MCU in the back of a wall box with a on-off-on retractive switch. Basically 2 buttons with a common ground.

Connected to 2 pins and set up in wled UI.
(And working)

Both buttons 1 push toggles lights as default on-off

Top button long press increase brightness
(But every increment you have to realise button and long press again)

Bottom button long press decrease brightness
(But every increment you have to realise button and long press again)

The realise of button is what I’m trying to improve so it’s smoother.

Button function is triggering a saved preset macro.

Thanks

I have implemented this feature in my fork for button 1 and up. Long press triggers repeatable action.
I will make PR for master after a bit of testing.
@srg74 has binaries if you want to try it out.

1 Like