AlexxIT / XiaomiGateway3

Home Assistant custom component for control Xiaomi Multimode Gateway (aka Gateway 3), Xiaomi Multimode Gateway 2, Aqara Hub E1 on default firmwares over LAN
https://github.com/AlexxIT/Blog
MIT License
2.42k stars 340 forks source link

Aqara Smart Plug cannot be integrated #779

Open minimmi opened 2 years ago

minimmi commented 2 years ago

Hello,

I am currently trying to integrate the Aqara Smart Plug SP-EUC01. According to the list of working devices it should work. The smart plug can also be integrated, but is then removed again directly after a few seconds. Can someone help me and tell me what this could be?

TrustedFloppa commented 2 years ago

Hi, Have you tried changing region to China then adding again? The reason was Unsupported region and Gateway removed it due not supported in region. Try this and let me know

minimmi commented 2 years ago

Hi,

yes, the region is already set to china anyway because i already use other devices that only work on the china server.

TrustedFloppa commented 2 years ago

Have you linked using Xiaomi Home or Home Assistant?

AlexxIT commented 2 years ago

This plug may have old firmware. You needs to update it somewhere. On Aqara gateway or with zigbee2mqtt

minimmi commented 2 years ago

@TrustedFloppa have tried both methods. Both adding via the Xiaomi Home app and directly in Home Assistant via the gateway control.

@AlexxIT Have temporarily added the plug to Home Assistant via zigbee2mqtt. zigbee2mqtt shows that the plug's firmeware is up to date.

TrustedFloppa commented 2 years ago

Disable Zigbee2mqtt in XiaomiGateway3 configuration then try adding it using home Assistant

minimmi commented 2 years ago

I use zigbee2mqtt via a USB stick (sonoff), not via the XiaomiGateway3. I added the Sonoff to Home Assistant afterwards.

the problem is that i can't use all the functions (energy measurement, power measurement) of the plug via zigbee2mqtt, so i would actually like to integrate the plug via gateway3.

TrustedFloppa commented 2 years ago

You can try resetting gateway and trying to add Aqara plug

minimmi commented 2 years ago

Ok, i will try this. do i need to setup all new after resetting the gateway?

TrustedFloppa commented 2 years ago

Yes

rbron01 commented 2 years ago

If you already upgraded your Xiaomi GW3 than it may not show energy.

I had to downgrade my firmware to 1.5.0_0102 in order for it to work.

minimmi commented 2 years ago

@rbron01 my gateway has the firmware as recommended in AlexxIT's guide v1.5.0_0102.

minimmi commented 2 years ago

I have activated the debug logs of the gateway, this is what i get there:

image

mchatt commented 1 year ago

Hello @minimmi, I am facing exactly the same issue with the Aqara smart plug EUC01. Were you able to find a solution ? Thanks

minimmi commented 1 year ago

Unfortunately, no. I got a sonoff zigbee stick and now use my zigbee devices through it.