domoticz / domoticz

Open source Home Automation System
http://www.domoticz.com
GNU General Public License v3.0
3.46k stars 1.12k forks source link

Feature request: PushOn Selector switch #3363

Open stas-demydiuk opened 5 years ago

stas-demydiuk commented 5 years ago

It would be great to add new switch type to Domoticz: PushOn Selector Switch. This device should behave exactly like PushOn switch: reset switch state to "Off" after some interval but additionally should support multiple states like current selector switch.

This new device type will help to properly represent a bunch of different switchers which have multiple states/actions, like single click, double click, long press and so on. And will prevent from creating custom scripts to implement such functionality.

Devices examples: Aqara wireless switch (http://aqara.com/en/wireless_mini_switch.html) IKEA TRADFRI remote control (https://www.ikea.com/us/en/catalog/products/20303317/)

dhuizinga commented 5 years ago

I would definitely enjoy this feature as well, all my current buttons/switches default to selector switches, that need to be manually reset after use - which often seems to fail when processing too many presses at once.

gizmocuz commented 5 years ago

@stas-demydiuk , personally i am not a fan of having multiple actions for the same button. I can not explain this to my family, and when people are tired, they might long press a switch

But it seems the selector switch has to be extended with a auto-off feature for each button ?