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

Research ways to overcome missed position update from API #3

Open
bostrt opened this issue Apr 4, 2023 · 1 comment
Open

Research ways to overcome missed position update from API #3

bostrt opened this issue Apr 4, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@bostrt
Copy link
Owner

bostrt commented Apr 4, 2023

There appears to be bug in the Bali Motorization API where the final position updates are not transmitted and then blind missing updates becomes unreachable.

Investigate a workaround for this and make extra sure the issue isn't within the plugin code.

Reproducer: try moving a blind from 100% -> 95% and then back to 100%. Sometimes the blind actually moves to 100% but the position updates received via websocket only go to 99% leaving the blind in an "Opening..." state.

@bostrt bostrt added the bug Something isn't working label Apr 4, 2023
@bostrt bostrt added this to the GA (1.0) milestone Apr 4, 2023
@bostrt
Copy link
Owner Author

bostrt commented Apr 5, 2023

It seems like at least one shade per day becomes unreachable. The Bali API is reporting its unreachable which suggests to me the issue could be my Gateway (ZWave transmitter), the blinds, or the Bali API. Nothing really suggesting there's a bug in the homebridge plugin code.

I have found that if I "poke" the blind after its reported as unreachable it typically comes back. For example, after raising all blinds, if one becomes unresponsive, I just set that one blind to 100% again.

For reference, here's the ui_broadcast received when a shade becomes unreachable.

{
  id: 'ui_broadcast',
  msg_subclass: 'hub.device.updated',
  msg_id: 2766236233,
  result: {
    deviceArmed: false,
    _id: 'ZCAEA8A46',
    reachable: false,
    serviceNotification: false,
    syncNotification: false
  }
}

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

1 participant