Can someone please confirm if new gateway from Aqara is complatible with hassio ?
New version of Hub is complatible with HomeKit.
Unfortunatelly Mijia products are NOT compatible with Aqara new Hub
I have this device already, but cannot connect to my hassio. Theoretically i can add it like any other homekit device just with entering the code from the package, but in my case i get âIncorrect HomeKit code for Aqara Hub-XXXX. Please check it and try again.â
I can connect it, so that I can use it with homekit, but Iâm not able to do it the other way? I try to put in the Homekit kode, but it refuses to accept it.
I succeeded to connect the Aqara gateway to home assistant using the HomeKit Controller component.
Step1: add this to the configuration.yaml
discovery:
enable:
- homekit
Step2: Initial setup with iPhone HomeKit and remove the Hub from the Apple Home App
The HomeKit code is expected by hass to be 123-45-678 instead of the 8 digits directly.
If anyone knows how to continue from this point on, Iâm interested. I can only send orders tothe ledring of the gateway, Iâm not receiving any status updates.
Missed the admin reply on that topic. Thank you I will keep the aqara hub then and wait patiently. In the mean time Iâm going to play with deconz and/or XBEE
At least i can help make this âlightâ component working correctly:
You need to change one line of code in this file:
/homeassistant/components/light/homekit_controller.py
line 44 from this:
ctype = characteristic[âtypeâ]
to this:
ctype = characteristic[âtypeâ].upper()
If using hassio install, then you need to create this file:
/config/custom_components/light/homekit_controller.py
and add modified contents to it (take this file from github, modify line 44 and save to this file)
restart hassio.
After this your light will be fully operable, you will get status updates, you can change color of light, etcâŠ
not much as for a gateway, but still somethingâŠ
Also aqara released new firmware 1.4.7 and this gateway can now be added to mihome app.
Also after doing so, HA will detect xiaomi_aqara component in local LAN (this mode is enabled by default
in new firmware after adding the gateway via mihome app)
the only thing is missing is âkeyâ, new mihome app does not have this setting for getting keyâŠ
maybe someone will chime in who knows more, but i already looked /data/ files of android app
in sqlite databases and xml config files, there is no keyâŠ
With this gateway there is no âstep 3â (i know that there should be âaboutâ section but itâs missing)
what version of app do you have? mine is 5.4.33.
also this gateway is not âmk3 aka âlumi.gateway.v3ââ it is called âlumi.gateway.aqhm01â
home assistant discovery service is seeing it on LAN with this message:
[homeassistant.components.discovery] Found new service: xiaomi_gw {âhostâ: â192.168.1.186â, âportâ: 54321, âhostnameâ: âlumi-gateway-aqhm01_miio152593513.â, âpropertiesâ: {âpathâ: â/mydeviceâ}}
But:
xiaomi_aqara component is not discovering anything:
[homeassistant.components.xiaomi_aqara] No gateway discovered