How to configure lumi.curtain.agl001 on zha

Hello all, can anyone help me to understand how to configure the lumi.curtain.agl001.
Actually, I have a zha network using a Sonoff dongle. The device is recognized, but I cannot set the working range.
immagine
When I try to move the curtain, it moves for just few centimeters.

thank you all for the help

It seems that you can’t make it works without using the aqara app and hub. I link two other discussions about this device.

Aqara Curtain Driver E1 (lumi.curtain.agl001) does not work with ZHA on Home Assistant Yellow EZSP radio - Configuration / Zigbee - Home Assistant Community (home-assistant.io)

Aqara Curtain Driver E1 - Configuration / Zigbee - Home Assistant Community (home-assistant.io)

Grazie Matteo,
I was looking for solutions for the Lumi device, not for the E1 :stuck_out_tongue_winking_eye:
Hope one day a solution will be found

Non-standard Zigbee devices need ZHA Device Handlers (also known as “quirks” in ZHA). Read this section in ZHA integration docs to understand why custom ZHA Device Handlers (zha-quirks) need to be developed/written for some but not all Zigbee devices → https://www.home-assistant.io/integrations/zha#how-to-add-support-for-new-and-unsupported-devices

FYI, there already looks to have been an existing device pull request for “Aqara Curtain Driver E1” (lumi.curtain.agl001) submitted for that specific device here → [Device Support Request] Aqara Curtain Driver E1 (lumi.curtain.agl001) · Issue #2003 · zigpy/zha-device-handlers · GitHub and that in turn lead to this new quirk for lumi.curtain.agl001 being merged → [Device Support Request] Hue Ambiance Gradient Lightstrip · Issue #2488 · zigpy/zha-device-handlers · GitHub

Note that the reason for this is that official Zigbee specification guidelines are very flexible and it allows for custom non-standard functionalities (those are often added by the product firmware developer as manufacturer-specific clusters and attributes) and those will not be supported and exposed by default in all Zigbee gateway applications out-of-the-box, so the developers of the Zigbee gateway applications therefor first need to add custom Device Handlers (sometimes referred to as custom converters, translators, or interpreters) for each new feature and function for that specific device if they have previously not been exposed in the Zigbee gateway application implementation. This means that basic devices with standard features and functions will normally fully work out-of-the-box in all third-party Zigbee gateway applications, but any custom non-standard functionalities that a manufacturers add to make a device feature unique functions will need custom code to fully work.

For backstory also read this section ZHA integration docs too → https://www.home-assistant.io/integrations/zha#knowing-which-devices-are-supported

More (development) details here → https://github.com/zigpy/zha-device-handlers/blob/a4c15ef5510564d2fe02794be6cfaebc04f7f44b/README.md

PS: Understand that there is always a but, for more advanced features that have not previously been exposed in the ZHA integration then also the device type code of the zha component inside the Home Assistant core needs to be extended with custom functions as well in addition to also adding a ZHA Device Handler (a.k.a. zha quirk) for that specific device. If you are a Python developer see → https://github.com/home-assistant/core/tree/dev/homeassistant/components/zha