-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement request: press and hold a switch for different action #489
Comments
SwitchMode 5 (PUSHBUTTONHOLD) and 6 (PUSHBUTTONHOLD_INV) will be introduced in next release. |
5.1.6 20170606 * Shrink code * Removed online configuration of Domoticz In and Domoticz Out MQTT strings * Removed commands DomoticzInTopic and DomoticzOutTopic * Add define KEY_HOLD_TIME to configure button hold threshold before sending MQTT Hold message * Add command StateText4 to configure button MQTT Hold text (= MQTT_CMND_HOLD) * Add command SetOption11 0|1 to swap pushbutton single and double press functionality (#200) * Add command SwitchMode<x> 5 (PUSHBUTTONHOLD) and 6 (PUSHBUTTONHOLD_INV) (#489)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem. |
5.1.6 20170606 * Shrink code * Removed online configuration of Domoticz In and Domoticz Out MQTT strings * Removed commands DomoticzInTopic and DomoticzOutTopic * Add define KEY_HOLD_TIME to configure button hold threshold before sending MQTT Hold message * Add command StateText4 to configure button MQTT Hold text (= MQTT_CMND_HOLD) * Add command SetOption11 0|1 to swap pushbutton single and double press functionality (arendst#200) * Add command SwitchMode<x> 5 (PUSHBUTTONHOLD) and 6 (PUSHBUTTONHOLD_INV) (arendst#489)
If at all possible, it would be very useful to have a "press and hold" feature. Right now I have a switch that sends a toggle command to my automation server. If I press the switch (SWITCH_MODE = PUSHBUTTON) for > X seconds, it would then send a different message, perhaps "hold" instead of "toggle" (possible MQTT_CMND_HOLD or just StateText4?)
The text was updated successfully, but these errors were encountered: