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

gatebox and shutterbox improvements: #156

Merged
merged 3 commits into from
Mar 13, 2024

Conversation

swistakm
Copy link
Contributor

  • reporting gatebox position (if available)
  • fix for open/close mode in gatebox
  • foundation for reporting unified cover type across devices
  • save initialization state data as last updated
  • introduce enums that will allow to map to homeassistant cover types
  • simplify tilts

First two improvements will be visible in home assistant once library is updated.

Examples:
Zrzut ekranu 2024-02-27 o 20 42 42
Zrzut ekranu 2024-02-27 o 20 42 37

Note that gatebox running in open/close mode does not have stop action. This is intended as secondary button action in this case is supposed to be wired to close output of actual gate. Also, for this mode close action incorrectly used [p]rimary command instead of [s]econdary. In such a case the only way to close the gate was to use "stop" action.

Extra improvements will allow to correctly map gateBox, gateController, and shutterBox control types / open-close modes to types of cover device classes used in home assistant. However, this will require submitting small PR on the home-assistant side.

* reporting gatebox position (if available)
* fix for open/close mode in gatebox
* foundation for reporting unified cover type across devices
* save initialization state data as last updated
* introduce enums that will allow to map to homeassistant cover types
* simplify tilts
@swistakm swistakm force-pushed the shutterbox-and-gatebox-improvements branch from c21b9cd to 65eaff2 Compare March 13, 2024 03:35
@swistakm swistakm merged commit c5bc2cf into blebox:master Mar 13, 2024
2 checks passed
@swistakm swistakm deleted the shutterbox-and-gatebox-improvements branch March 13, 2024 11:21
@swistakm
Copy link
Contributor Author

Released in new library version (2.3.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant