hkknx-public icon indicating copy to clipboard operation
hkknx-public copied to clipboard

Support push buttons

Open brutella opened this issue 4 years ago • 11 comments

A push button (stateless programmable switch) should listen to group addresses and translate them to single, double and long press event.

brutella avatar Apr 30 '20 10:04 brutella

Would this be a “HomeKit button” that you can use to trigger a specific KNX scene?

petnau avatar May 27 '20 18:05 petnau

No, the other way round. A HomeKit button whose button presses (single, double, long press) are triggered by scenes. Those button presses can be used to trigger other actions, ex. turning on non-KNX HomeKit accessories.

brutella avatar May 28 '20 18:05 brutella

With the existing options in the application today, is it possible to trigger KNX scenes?

petnau avatar May 29 '20 18:05 petnau

No. If you want to see this feature, please open a new issue.

brutella avatar May 29 '20 18:05 brutella

Imagine a GA that turns all lights ON/OFF. I would like to have a button that always sends an OFF to this GA.

Using the normal switch accessory doesn't work since it remembers state. I tried to initialise/read from a GA that is always ON. The switch accessory is smarter though and turns itself off anyway. In effect the switch needs to be pressed twice until it sends OFF again. Better than nothing but can't be used in scenes properly.

Not sure this feature will do that. A stateless programmable switch that always sends ON/OFF would be really nice to have though. 😄

BugRoger avatar Sep 21 '20 19:09 BugRoger

Is there any update on this? Implementing it like Thinka has done it would be great: https://www.thinka.eu/faq/how-do-i-configure-my-push-button

willgf avatar Mar 09 '22 17:03 willgf

@willgf So you want to have a button which is triggered by a group address? The button is then used to trigger actions in HomeKit?

brutella avatar Mar 10 '22 08:03 brutella

Yes exactly. So the KNX pushbutton sends a scene number onto a group address, the bridge listens for this scene no on that GA. This means that can use your KNX "taster"/pushbuttons as triggers within Homekit. Ideally, with a single/long/double press. I really like the way Thinka implemented it (see their FAQ).

Basically this would allow all scenes to "live" in HomeKit (which would also improve the user experience, as scenes can easily be changed within Homekit without ETS) with the KNX button merely acting as a trigger.

willgf avatar Mar 12 '22 15:03 willgf

How many buttons do you want to configure per push button? Are 8 buttons reasonable?

brutella avatar Mar 23 '22 11:03 brutella

Push buttons are now available in pre-release 2.2.1.

brutella avatar Mar 23 '22 12:03 brutella

Yes, I think 8 (i.e. 4 rockers/Wippen). Thanks!

willgf avatar Mar 24 '22 13:03 willgf