Skip to content

Button press or analog change should be ignored when OFF #3568

Open
@msn444

Description

@msn444

What happened?

When the WLED instance is in the OFF state, either due to UI or GPIO switch: pushbutton presses and even Analog input
(brightness) changes will cause WLED to enter the ON state.

To Reproduce Bug

Set up an analog input to change global brightness. Turn WLED OFF using the UI or GPIO switch. Turn the potentiometer -- the WLED state will switch to ON.

Expected Behavior

If the instance is OFF, I think it should stay OFF until explicitly turned on. Otherwise an errant bump of the potentiometer or pushbutton will cause the lights to come on when not desired.

Install Method

Binary from WLED.me

What version of WLED?

0.14.0

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

No response

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions