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

[velux] Window positions should update faster after binding restart #13123

Closed
andrewfg opened this issue Jul 13, 2022 · 0 comments · Fixed by #13212
Closed

[velux] Window positions should update faster after binding restart #13123

andrewfg opened this issue Jul 13, 2022 · 0 comments · Fixed by #13212
Assignees
Labels
enhancement An enhancement or new feature for an existing add-on

Comments

@andrewfg
Copy link
Contributor

andrewfg commented Jul 13, 2022

Background

When the binding is restarted, or when the bridge thing is disabled and re-enabled, some windows may take 2..3 minutes for their position values to be updated. Specifically the first two responses to the GW_GET_NODE_INFORMATION_REQ message will return invalid position values.

Future

The position values should update faster.

Possible Solution

  • Perhaps call GW_GET_NODE_INFORMATION_REQ more frequently on start up
  • Or send a STOP command to the actuator on start up
  • Or use a new API call to fetch the position status on start up

EDIT: from manual tests it seems that sending a STOP command does the trick.

@andrewfg andrewfg added the enhancement An enhancement or new feature for an existing add-on label Jul 13, 2022
@andrewfg andrewfg self-assigned this Jul 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature for an existing add-on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant