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

Push Button Confusion

Open BugRoger opened this issue 1 year ago • 4 comments

There is something weird going on with the Button accessory. When using multiple "Sub-Buttons" the Homekit scene/automation that is executed switches around seemingly randomly. That is without any configuration change in hkknx and Homekit.

It started recently either with an iOS or hkknx update. It worked as expected and reliable until hkknx < 2.5.0. It is possible that a recent iOS update is the culprit too.

Unfortunately, I can't really pin point the cause and am at a lost how to debug what's going on. My suspicion is that a hkknx restart shuffles the internal mapping from Button1/2/3. I tried to "fix" the mapping by changing the scenes in Homekit using try and error. That worked for a while. Rebooting a Homepod broke it again - though that seems totally nuts. I guess, that was a coincidence and actually the 16.3.2 update messed it up.

Here's my configuration. KNX scene 3 configured to Button1 Double Press should execute the Homekit scene "Make less Noise". It currently executes Button3 Double Press with Homekit scene "TV mode".

image File File (1)

BugRoger avatar Mar 26 '23 11:03 BugRoger

Hi,

I have a similar issue. All of a sudden the buttons have switched places or back in unconfigured state.

petnau avatar Mar 26 '23 21:03 petnau

Nothing changed in hkknx since version 2.5.0 regarding buttons. I suspect that a recent iOS/HomePod update messed this up. 🤷‍♂️

brutella avatar Apr 17 '23 09:04 brutella

Buttons do get shuffled every once in a random moon 🤷 After it got shuffled again I came up with a workaround. It works as long as there is only 1 button per accessory. I created 3 accessories with 1 button each. Problem "solved".

BugRoger avatar Apr 17 '23 10:04 BugRoger

I actually experienced the same still from time to time, so switched over and now I use one button for every scene just as you do. hkknx V 2.8.2b and iOS/tvOS 17.5.1

cptbalusgit avatar Jun 19 '24 13:06 cptbalusgit