Skip to content

Zigbee Window Covering support #10913

Closed
@hennikul

Description

@hennikul

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.

Activity

hennikul

hennikul commented on Jan 28, 2025

@hennikul
ContributorAuthor

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

self-assigned this
on Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Area: ZigbeeIssues and Feature Request about ZigbeeType: Feature requestFeature request for Arduino ESP32

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Zigbee Window Covering support · Issue #10913 · espressif/arduino-esp32