Skip to content
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

Shade SetPosition is restrained #256

Open
y0m1g opened this issue Dec 16, 2023 · 3 comments
Open

Shade SetPosition is restrained #256

y0m1g opened this issue Dec 16, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@y0m1g
Copy link

y0m1g commented Dec 16, 2023

Describe the bug
When trying to set the position of a shade in HomeKit, the shade either fully close or fully open, regardless of the requested position.

After searching into the repo issues and code, I found that this behaviour was forced on purpose in homebridge-bond a few years ago (by this PR: #100) in order to mitigate an erratic behaviour at the time with the Bond app/bridge that didn't support position setting, only open/close. See:

// Always return either 0 or 100

With the minStep forced to 100, it's indeed impossible to set a position in between at the moment.

But the Bond app now fully supports a precise position setting of a shade (see screenshot below), so I think this workaround has now become a bug, and should be reverted in order to enable the positioning feature to work properly with HomeKit.
Or at least, could this behaviour be switchable?

Thank you for this great plugin!

Information:

  • Plugin version: 3.2.10
  • Bond firmware version: 3.20.1
  • How homebridge is run: Homebridge UI

Logs
N/A

IMG_9B38CC35DC9B-1

@y0m1g y0m1g added the bug Something isn't working label Dec 16, 2023
@chrismerck
Copy link

Indeed we now support SetPosition on most shades, both on Bond Bridge Pro and Bond Bridge. This is done by dead-reckoning if the shade technology doesn't have a discrete signal for "go to X %". For example, RTS doesn't have (to our knowledge) a discrete signal for set%, so we time the Open/Close/Hold commands. However, Rollease's ARC technology does have discrete signals for SetPosition. --- There are a few stragglers that we don't support SetPosition on, but I think the value in having external dead-reckoning is minimal at this point.

@ekimneems
Copy link

I have Rollease ARC, but I'm still experiencing this issue. If I set the shade to let's say 50% in HomeKit, it sort of "glitches" for a second and then simply changes the state to either fully opened or closed. Is there a setting I have to change?

If I do this in the Bond app directly to 50%, it works fine. Just not in HomeKit. Thanks!

@ekimneems
Copy link

@chrismerck - Any idea how I might troubleshoot my Rollease ARC only doing open/closed and not positions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants