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

Zigbee Window Covering support #10913

Closed
1 task done
hennikul opened this issue Jan 28, 2025 · 1 comment · Fixed by #10914
Closed
1 task done

Zigbee Window Covering support #10913

hennikul opened this issue Jan 28, 2025 · 1 comment · Fixed by #10914
Assignees
Labels
Area: Zigbee Issues and Feature Request about Zigbee Type: Feature request Feature request for Arduino ESP32

Comments

@hennikul
Copy link
Contributor

Related area

Zigbee Endpoint

Hardware specification

ESP32-C6

Is your feature request related to a problem?

I'm currently working on creating a controller for my garage door, to replace my current Tuya based controller with a locally controlled unit based on a ESP32-C6 Dev board. To be able to control the garage door over Zigbee, the closest cluster to use seems to be Window Covering, but this is unfortunately not supported by arduino-esp32.

Describe the solution you'd like

I would like to be able to use this library to control my garage door.

Something like this:

ZigbeeWindowCovering zbCovering = ZigbeeWindowCovering(ZIGBEE_COVERING_ENDPOINT);
zbCovering.setCoveringType(ROLLERSHADE);
zbCovering.setConfigStatus(true, true, false, true, true, true, true);
zbCovering.setMode(false, true, false, false);
zbCovering.setLimits(MIN_LIFT, MAX_LIFT, 0, 0);

zbCovering.onGoToLiftPercentage(goToLiftPercentage);
zbCovering.onStop(stopMotor);

I have written an implementation based on the DimmableLight Endpoint and will provide a PR shortly.

Describe alternatives you've considered

I have tried to use the dimmable light cluster. This works to some extent, but the integration in Home Assistant is far from optimal! :)

Additional context

No response

I have checked existing list of Feature requests and the Contribution Guide

  • I confirm I have checked existing list of Feature requests and Contribution Guide.
@hennikul hennikul added the Type: Feature request Feature request for Arduino ESP32 label Jan 28, 2025
@hennikul
Copy link
Contributor Author

Pull request with code that solves my use case:
#10914

hennikul added a commit to hennikul/arduino-esp32 that referenced this issue Jan 28, 2025
@P-R-O-C-H-Y P-R-O-C-H-Y self-assigned this Feb 3, 2025
@P-R-O-C-H-Y P-R-O-C-H-Y added the Area: Zigbee Issues and Feature Request about Zigbee label Feb 3, 2025
me-no-dev pushed a commit that referenced this issue Feb 4, 2025
* feat(zigbee): Added Endpoint for Window Covering (#10913)

* Added example Sketch.

* Added window covering to CMakeLists.txt.

* feat(zigbee): Window covering tilt support and fixes

* fix(zigbee): Fix typos

* ci(pre-commit): Apply automatic fixes

* fix(ci): Fixes of typos

---------

Co-authored-by: Jan Procházka <[email protected]>
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Zigbee Issues and Feature Request about Zigbee Type: Feature request Feature request for Arduino ESP32
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants