homebridge-shelly icon indicating copy to clipboard operation
homebridge-shelly copied to clipboard

Prevent PositionableAbility.targetPosition from being set to 0% or 100% unless the Shelly has been manually controlled

Open NMAC427 opened this issue 4 years ago • 7 comments

After specifying a target position using the Home app, the slider would automatically jump to 0 or 100 (depending on wether it was moving up or down) until the Shelly stopped moving. This pull request changes this behavior. Now the target position only gets set to 0 / 100 if the user manually controls the Shelly using either the Shelly app or a physical button.

NMAC427 avatar Jul 22 '21 13:07 NMAC427

The current debounce algorithm would prefer older target position updates over newer ones. This would lead to HomeKit getting out sync when changing the target position too quickly.

NMAC427 avatar Jul 22 '21 14:07 NMAC427

@alexryd - any chance that this could be merged? Simple change but helps a lot with consistency in Home app. Happy to help with testing if needed.

sylwester- avatar Sep 27 '21 07:09 sylwester-

@alexryd - Any updates?

NMAC427 avatar Dec 21 '21 23:12 NMAC427

Almost one year later and this is not merged. This is a literal life-saver of a PR, it's needed if you want a good experience with Shelly roller shutters on HB. Any chance this might get merged? @alexryd

TheManchineel avatar Nov 30 '22 22:11 TheManchineel

@alexryd is that plugin still supported? If not then we would need to change for a one which still has a proper lifecycle. Thanks.

VF-mbrauer avatar Dec 16 '22 22:12 VF-mbrauer

Still no updates? Oh come on

TheManchineel avatar Nov 13 '23 22:11 TheManchineel

Not sure if it helps but I moved to

https://github.com/mongoose-os-apps/shelly-homekit

Even though I have 12 Shelly 2.5 as shutters it was still worth it.

sylwester- avatar Nov 14 '23 06:11 sylwester-