Skip to content

Starts out working well but then sends multiple button presses. #53

Description

@mchristofas

I have the dash button press triggering a python script that blinks lights my Pimoroni Led strip. If i restart node-red it all behaves as expected (1 button press = 1 run of the script blinking lights in a night rider fashion) with 1 run shown in the debug log. After some time the debug shows 2 or 3 messages from 1 button press and the light patterns become erratic as if 2 or 3 threads of the script running. If i manually inject the trigger it all works as expected. Is there a way to debounce the button presses?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions