Flip-Switch as Multipush-Button #10113
quantenschaum
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Have you looked for this feature in other issues and in the docs?
Yes! I've read https://tasmota.github.io/docs/Buttons-and-Switches/
I know the difference between a switch and a (push) button.
Is your feature request related to a problem? Please describe.
I want to use a switch as a button. I want to detect multiple switch flips like single, double, triple button presses. I do not want to replace actual the switch by a (push) button or modify it, a plain bistable switch.
Describe the solution you'd like
The setup: A Shelly 1 connected to a switch (or even to multi way switches) and a lightbulb connected to the relay.
The goal:
The button counts how many times the button was pressed (rising edge immediately followed by falling edge), where as the switch would count how often the switch was flipped (counts edged, no matter if riding or falling, the absolute state of the button does not matter like switchmode 0). The HOLD action cannot be triggered in this mode.
This would allow for multi flip gestures on a single switch. It would operate the light as usual, but it would also allow to up to 5 (or more) other actions which could trigger anything, without modification or replacement of the switch by a pushbutton.
Describe alternatives you've considered
Additional context
I don't really get why the input can be configured as switch or button. I see them both being switches, momentary and stable switches. The switchmode should then decide if it should count edges or pushes (rising followed by falling edge).
Beta Was this translation helpful? Give feedback.
All reactions