[Device Support Request] Aqara Roller Shade Driver E1
See original GitHub issueIs your feature request related to a problem? Please describe. The cover entity in HA will control the roller but does not update its position so it is always 100 Looking at the WindowCovering cluster current_position_lift_percentage, always reports 0
Describe the solution you’d like Someone way smarter than me who would be so kind to fix it. I cannot get my head around creating a quirk
Device signature - this can be acquired by removing the device from ZHA and pairing it again from the add devices screen. Be sure to add the entire content of the log panel after pairing the device to a code block below this line.
{
"node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4447, maximum_buffer_size=127, maximum_incoming_transfer_size=100, server_mask=11264, maximum_outgoing_transfer_size=100, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
"endpoints": {
"1": {
"profile_id": 260,
"device_type": "0x0100",
"in_clusters": [
"0x0000",
"0x0002",
"0x0003",
"0x0004",
"0x0005",
"0x0006",
"0x0009",
"0x000d",
"0x0013",
"0x0102"
],
"out_clusters": [
"0x000a",
"0x0019"
]
},
"242": {
"profile_id": 41440,
"device_type": "0x0061",
"in_clusters": [],
"out_clusters": [
"0x0021"
]
}
},
"manufacturer": "LUMI",
"model": "lumi.curtain.acn002",
"class": "zigpy.device.Device"
}
Additional context There is a number entity, AnalongOutput cluster. This seems to update when controlling the roller via its physical buttons or the cover entity.
Bonus: make the device report battery state - I believe it reports in the official app although im not sure this is possable because I cannot see it in any of the clusters that makes any sense to me.
There is also a switch, which apears to do nothing and is always in an of state
Issue Analytics
- State:
- Created 2 years ago
- Reactions:4
- Comments:103 (39 by maintainers)
Top GitHub Comments
@hastime I use this method for as long if there’s no new release of zigpy zha device handlers. https://github.com/zigpy/zha-device-handlers#testing-quirks-in-development-in-docker-based-install
If the pull request gets accepted it should be present in the next major release of HA.
@Rev-777 By the looks of it you are missing the Aqara node (0xFCC0). Try deleting line 200 (https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/xiaomi/aqara/roller_curtain_e1.py) in your local setup and see if it works for you… granted… for me if I remove that line than the device isn’t recognized by ZHA. But maybe for you it will work
@matthiasdebaat: On the device itself you can do this. From the manual:
Remap the buttons to rotate the motor in the opposite direction If you press the button of which the direction is opposite to the actual rolling direction of the roller shade, the rotating direction of the motor can be reversed by pressing the RESET button three times; and then, if the indicator turns to blue and lasts for 1 second, it indicates that the rolling direction of the motor is reversed.