Closed celissen closed 1 year ago
Hey there @dmulcahey, @adminiuga, @puddly, mind taking a look at this issue as it has been labeled with an integration (zha
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
zha documentation zha source (message by IssueLinks)
I also use ZHA/SkyConnect and lumi.plug.maeu01
reports power and energy correctly.
Maybe it's a matter of the firmware version? current_file_version
attribute in Ota
cluster returns 41
for mine.
Dear Maciej,
I have also Smart Plugs that work fine with SkyConnect but also some that don't. The problem is when I use them with Conbee II they all work fine.
The once that do not work give 22, the plugs that do work give 32. But I am willing to test new firmware, do you have the procedure to update these Aqara devices?
Thanks, Iwan
On Thu, Jan 5, 2023 at 10:39 AM Maciej Bieniek @.***> wrote:
I also use ZHA/SkyConnect and lumi.plug.maeu01 reports power and energy correctly.
[image: obraz] https://user-images.githubusercontent.com/478555/210735348-7dbf13f1-0ad9-4477-881d-fc6a212263c9.png
Maybe it's a matter of the firmware version? current_file_version attribute in Ota cluster returns 41 for mine.
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/85179#issuecomment-1371986424, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB47WSGZOKMYJYU6RRFAXALWQ2JEJANCNFSM6AAAAAATRVDYZQ . You are receiving this because you authored the thread.Message ID: @.***>
I think this is a firmware for this plug but I didn't install it, I bought mine with firmware 41. https://github.com/Koenkk/zigbee-OTA/blob/master/images/Xiaomi/20211209165104_OTA_lumi.plug.maeu01_0.0.0_0041_20211206_0C22EC.ota
Beste Maciej,
Firmware upgrade succesfull, it gives now 41. But still no values for power, with ZHA and the Conbee II this works. I am sorry but this has to do with the SkyConnect as Conbee works with the same device.
[image: image.png] [image: image.png]
Best regards, Iwan
On Thu, Jan 5, 2023 at 12:42 PM Maciej Bieniek @.***> wrote:
I think this is a firmware for this plug but I didn't install it, I bought mine with firmware 41. https://github.com/Koenkk/zigbee-OTA/blob/master/images/Xiaomi/20211209165104_OTA_lumi.plug.maeu01_0.0.0_0041_20211206_0C22EC.ota
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/85179#issuecomment-1372112759, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB47WSFCTPXP23RVAVPSUKDWQ2XTPANCNFSM6AAAAAATRVDYZQ . You are receiving this because you authored the thread.Message ID: @.***>
See https://github.com/zigpy/zha-device-handlers/issues/2044. A downgrade worked to restore power values in that case.
Some firmware versions of these plugs explicitly check if they're connected to a Xiaomi hub and block functionality otherwise. Generally though, this should be prevented, as coordinators send Xiaomi manufacturing codes on initial pairing of a Xiaomi device (SkyConnect should do this when bellows
tells it to).
I'm not sure if that's even the issue though.
I have connected them multiple times with a SkyConnect now and didn't have any issues with power values.
Also do note that sometimes the firmware version is represented in hex (0x...) and sometimes it's in decimal.
I have downgrade and now I have:
ZHA with SkyConnect: Aqara Smart plug 01 firmware 22 no power values Aqara Smart plug 02 firmware 32 no power values Aqara Smart plug 03 firmware 41 no power values Aqara Smart plug 04 firmware 32 power values fine
ZHA with Deconz: Aqara Smart plug 01 firmware 22 power values fine Aqara Smart plug 02 firmware 32 power values fine Aqara Smart plug 03 firmware 41 power values fine Aqara Smart plug 04 firmware 32 power values fine
But I found a difference on the aqara that do not work with SkyConnect and the ones that do work it is related to IEEE address
04:cf:8c:df:3c:89:e5:10 no power values with SkyConnect 04:cf:8c:df:3c:89:d7:d5 no power values with SkyConnect 04:cf:8c:df:3c:79:c8:d4 no power values with SkyConnect
54:ef:44:10:00:2c:8e:fa power values fine with SkyConnect 54:ef:44:10:00:2c:86:e7 power values fine with SkyConnect 54:ef:44:10:00:2c:90:ab power values fine with SkyConnect
Maybe someone can look into the code why the IEEE address makes a difference?
Best regards, Iwan
On Fri, Jan 6, 2023 at 12:41 AM TheJulianJES @.***> wrote:
See zigpy/zha-device-handlers#2044 https://github.com/zigpy/zha-device-handlers/issues/2044. A downgrade worked to restore power values in that case.
Some firmware versions of these plugs explicitly check if they're connected to a Xiaomi hub and block functionality otherwise. Generally though, this should be prevented, as coordinators send XIaomi manufacturing codes on initial pairing of a Xiaomi device (SkyConnect should do this when bellows tells it to). I'm not sure if that's even the issue though.
I have connected them multiple times with a SkyConnect now and didn't have any issues with power values.
Also do note that sometimes the firmware version is represented in hex (0x...) and sometimes it's in decimal.
— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/85179#issuecomment-1372934180, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB47WSFCYD6W22JNI6C7YELWQ5LZZANCNFSM6AAAAAATRVDYZQ . You are receiving this because you authored the thread.Message ID: @.***>
Use https://macvendors.com/ and you can see the difference.
Looks like 04:cf:8c:...
is a previously-unknown Xiaomi IEEE prefix and needs to be handled:
Maybe someone can look into the code why the IEEE address makes a difference?
Newer Xiaomi products unfortunately are somewhat hostile and try to check to make sure they are connected to a Xiaomi hub.
The problem
First let me tell you what a wonderful program Home Assistent is and I am using it many years. I have installed SkyConnect and ZHA paired the Aqara Smart Plugs but some don't give any power measurements. If I connect the Smart Plugs without power measurements to a system with ZHA and Conbee II the power measurement is working.
I uploaded 4 logs, for the system with Skyconnect uploaded 2 diagnostic files for the Smart Plug and Zigbee Coordinator. Other 2 logs are from the system with Conbee II (you can see it in the name of the files) also one of the Smart Plug and one of the Zigbee Coordinator. This is my first issue I reported, so if you need more information then please let me know?
Best regards, Iwan Celissen
What version of Home Assistant Core has the issue?
Home Assistant 2022.12.9
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, SkyConnect
Link to integration documentation on our website
No response
Diagnostics information
zha-db99fa740ca6aab2c604f50bf8730cd2-Zigbee Coordinator-033afa202d4aa9fb069f82e6f71e31db-good-conbee.json.txt zha-db99fa740ca6aab2c604f50bf8730cd2-LUMI lumi.plug.maeu01-f7d6457c193fe48cfde55bedb6e4ee41-good-conbee.json.txt zha-564fd6ef4ffdd71a7074818d6913a588-LUMI lumi.plug.maeu01-111c28cc410111eb9bf75f42232815c3.json.txt zha-564fd6ef4ffdd71a7074818d6913a588-Zigbee Coordinator-d1639cee4f049f9ac232640656538482.json.txt
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response