-
-
Notifications
You must be signed in to change notification settings - Fork 28.5k
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
ZHA not recognizing the Aqara Roller Shutter E1 correctly #86752
Comments
Hey there @dmulcahey, @Adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) zha documentation |
Did you all pair them with Home Assistant Core 2023.1.2 or later (or were they paired on a previous version)? |
They were paired with the latest version.And I have tried deleting and pairing again, several times.The non working ones does not get the correct quirk registered, and can't find anywhere I can set this manually.Med venlig hilsen / Regards,Malene Trab29. jan. 2023 00.56 skrev TheJulianJES ***@***.***>:
Did you all pair them with Home Assistant Core 2023.1.2 or later (or were they paired on a previous version)?
Can you try completely re-pairing the non-working ones? (There was an issue with Xiaomi IEEE prefixes: zigpy/bellows#520)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Yeah - same as mine. |
I'm no zigbee or zha expert but is there a way to define the devices ieee as a specific type in the config as a workaround? |
if you can extract the quirks from your working one it may be possible to import using this: https://www.home-assistant.io/integrations/zha/#configuration-variables ? |
Not sure how to do that. Haven't, yet, figured out how that works 😁 |
I don't have an aqara hub but if you do can you pair them to that and see if it's a result of newer/older firmware? |
Nope, I don't - only have a Conbee II (currently not used) and my SkyConnect |
Might just go and migrate back to Z2M, as ZHA still doesn't seem mature for production instances. |
I have the same issue with Skyconnect and ZHA. |
2022.2.1 seems to be an improvement. Device doesn't go into unavailable and the identify button press works. All other features reamin the same though. |
I see no improvements. Have moved the Rollers back to Z2M on my Deconz dongle, but trying ZHA on every update, but no improvements at all. |
on the one that worked for you can you extract your signature and paste here please? I'm going to have a go at a quirks file... |
Tell me how ;) |
If you go to the device page then ... and manage zigbee device there should be a signature tab. pretty sure it doesn't contain any identifying info it's just config registers. hoping by comparing to my faulty one I can figure out what's wrong with it. playing in the write attribute section I can actually get mine to roll up and down so pretty sure it is ok its just the translation to home assistant that isn't working... |
|
I had a similar problem. Bought two devices. Both shown 0.3 °C. I've played a bit with setting min and max on the devices. Then after few hours I've realized that one of the devices started to work, there were proper quirk used. I've disabled quirks (because I observed that quirks changes the signature), restarted HA, compared the signatures and the not working device had other device_id (0x0202) than working (0x0100) and one of in_clusters Now both works, reports correct data, opens and closes roller shutters. The only not working part is the slider, but it isn't a must. :) I have Home Assistant 2023.2.3 with Sonoff ZBDongle-E (EFR32MG21) |
Thanks @dawidcieszynski Can confirm all is working, except temperature, with this: https://github.com/MTrab/HAConfig/blob/master/custom_zha_quirks/roller_curtain_e1.py Made following the guide you linked |
can confirm this fixes the cover entity and its position marker as well as removing the useless switch. can probably remove the number entity too which should be relatively easy now I have that example quirks file (thank you!) |
I can't find anywhere the zha.devicetype.xxx types are enumerated. we should really use the variable name as opposed to direct code but I wonder if there is a slightly different cover id that will fix it completely? |
Okay - temperature was just a tad slow to update - everything works with the one on my repo |
And yes - agree, an enumerator should be used for device type |
Think I've found the definitions: https://github.com/zigpy/zigpy/blob/dev/zigpy/profiles/zha.py the question then is why doesnt the replacement function above your addition work? |
ah nice...i did restart and updatre ha but to no avail. I wonder if that's what did it and I didnt have to re-flash the firmware? |
Hello, I'm still having problems with this. It mostly works but not as well as people seem to have above. Setting an opening percentage works I'm running: HA 2023.5.3 Diagnostics: |
@nworbneb I think you need to set opening limits on the device itself with hardware buttons. https://manuals.plus/aqara/roller-shade-driver-e1-manual#device_rotating_range_setup |
The device itself is configured and works fine manually, and for the most part, ok with zigbee. The main problem is battery status, and to a lesser extent, device temperature are not reported correctly. The disconnect between top and bottom of travel and percentage opening might be a higher level HA issue? I've seen this reported with other non-Aqara devices. Example: Can't raise blind from 75% |
Bought two Aqara E1 rollers recently. after having one previously for a while. One of them works perfectly but the other one is like all the others here. it uses the RollerE1AQ_2 quirk instead ofRollerE1AQ and for whatever reason that means the battery percentage is missing, the temperature sensor is 0.3 and it acts rather odd on the state if you use the up/down buttons. Updated the Sonoff zigbee plus 3.0 USB to latest firmware and repaired but still no dice. I would rather not get an aqara hub to "update" the motor if I have to. seeing as the two units I got have the exact same manufacturer date I find it hard to believe that it is even running different firmware to the working one. Very odd Hopefully someone can chime in with a proper fix for this |
I'm having similar issues to others here with my Aqara E1 roller shade driver. It uses the I've tried re-pairing the device to HA several times, with no improvement. I'll try updating my Conbee II's firmware, however I doubt that will be the issue as I don't think it's running a particularly out of date version. If anyone has any other suggestions, I'd be very interested to try them. |
Bought a brand new HASS SkyConnect as I saw lots of issues with the Sonoff dongles, But alas this issue still effects one out of the 2 blind motors I own both from same batch so I am doubtful of different firmware. oh well no loss as the SkyConnect will be better long term. Looks like an Aqara hub to update firmware might be the only way to fix these. So annoying because it seems to be entirely ZHA issue and am not prepared to move to Z2M for this one device |
Did you try the custom_quirk mentioned in this thread? |
I updated to the latest firmware using ZHA (no need for Aqara hub) using 20221009111923_OTA_lumi.curtain.acn002_0.0.0_1530_20221009_6C9C3D.ota - this reports as firmware 0x00000f1e. It didn't resolve the issue. Ref: https://github.com/Koenkk/zigbee-OTA/blob/master/index.json |
I don't believe the custom quirk is required as it is already commited. |
@MTrab I have tried that as well as latest skyconnect firmware but still only one blind is working. I posted the debug data of my working and broken one above. this is so strange |
Since when?! Last time I checked it wasn't commited with my changes. |
The one I have posted? Note the |
Someone else raised a pull, it's listed as version 3 (rather than 2a) but otherwise identical: |
Tried the OTA update file mentioned above. but dont seem to want to upgrade. But I dont feel like I need to because the working one has exact same file version 3614 so yet again the issue seems to be HASS not the blind motor |
Okay got the firmware on the broken E1 to the latest 3870 same as the working one which updated itself. And have the latest firmware on my skyconnect. so exactly like the people here with working ones. yet it still chooses the broken quirk over the working one. Looks like I will just have to run Z2M because this bug dont seem to be fixable |
You need to delete and repair it formitnto change quirk. |
Define delete and repair? I have been using the remove button in HA ad then putting the E1 into pairing mode and readding it |
Okay, then it should be fine |
Sadly continues to give me grief. I have zero clue why one works and one dont. I feel like I need to reboot/factory reset the E1 but I cant seem to do that as it will repair itself everytime and dont seem to actually reset because it remembers top/bottom. starting to wonder if its actually faulty in some way Someone needs to release a blind motor thats not garbage. all we have are this buggy Aqara and the Tuya version of it which seems identical but offers no battery gauge (not that it works on the Aqara when its such a common issue not pairing correctly) |
Sorry to hear you have problems with the device. |
I 100% believe that this issue is a combination of things. I think HASS is not talking to it properly during the pairing stage. so the E1 is not exposing the right clusters? I bet Z2M would help But I also feel like the E1 is just not exposing them to begin with which might explain why some people have success pairing with the actual Aqara hub then repairing with HASS. I bet the Aqara hub is sending some extra commands or something to wake the device up?? Does not explain how I have had one for years working and 1/2 of the brand new ones worked fine too. but the 3rd one which is identical hates life |
Welp I paired with Z2M and battery showed properly but not device temperature. Repaired with ZHA and same no battery and always thinks its open garbage. urghhhh. I really dont want to move to Z2M but looks like ZHA is just not mature enough (though this is the first issue I have had with many zigbee devices in my setup) |
Okay soz for the spam but I think I figured something out. I fully shut the blind then repaired and it worked... No idea why. but this info might help someone fix this issue |
Just got 2x more motors in. new issue. same firmware as the now fully working 2x I had before. but these new ones refuse to give a battery percentage. I can get working temperature readings though. Using the quirk from above on the same firmware as before. have tried pairing multiple ways now. The actual blind and temperature work as expected so its like the blinds are just not giving out battery info? but the other 2x on same firmware work fine still Over the past week of having the two new ones the same error has been logged by ZHA
The existing blinds seem to be working fine still. Looks like probably upstream changes that are effecting this quirk? https://github.com/zigpy/zha-device-handlers/commits/dev/zhaquirks/xiaomi/__init__.py I have removed the custom qurik and gone back to the included zha quirks and battery works fine... so seems like its no longer needed |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
I have 4 Aqara Roller shutter devices, only 1 of these are recognized correctly by ZHA even thou they are bought at the same time.
The ones not working are not responding to open/close commands, they have a switch (?!) exposed (the working one doesn't), no battery info and device temperature reports a static 0.3C
What version of Home Assistant Core has the issue?
Home Assistant 2023.1.7
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
ZHA with SkyConnect
Link to integration documentation on our website
No response
Diagnostics information
Working:
zha-9b654b0da4346ac555f8c3518151a96a-LUMI lumi.curtain.acn002-51dd2113f6d91475ac8b7df9ef5af72d.json.txt
One of the non working devices:
zha-9b654b0da4346ac555f8c3518151a96a-LUMI lumi.curtain.acn002-a590cf80ea73f711aa8cbd4025fc73d1.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: