Hi today I’ve got my new Aqara Hub M1S Gen 2. It is a replacement for my old Aqara Hub 1st version.
It was pretty easy to integrate,
Removed old Hub from Aqara app
Plugged new hub in the socket to wait for bootup
Add to Aqara app
Readd all 100 things with names and rooms…
Restart home Assistant - wait till done
(So far not recognized by HA, after 45 min in the network)
Unplug hub wait 10 seconds and replug to power
HA shows the hub as Home kit controller
Add to HA with the provided code (on hub or box)
Everything works fine…, Oh I forget to say region is for me Europe in Aqara app.
It looks like that the hub only after bootup provides the info that it is a homekit controller.
Version Details:
Home Assistant 2022.11.2
Supervisor 2022.10.2
Aqara Hub: 3.4.6_0007.0004
Would be nice if someone else could review this process to confirm it works. I only found this funny description where you have to use the Xiaomi app and the Chinese server, click a version number x times, reset the hub and whatever else is described here.
I just moved it to another room and when restarted then it appear automatically as Home kit controller integration. It is looking for the code sticker on top of the device 111-22-333 (sticker - 11122333)
Home Assistant 2022.12.8
Supervisor 2022.12.1
Operating System 9.4
Frontend 20221213.1 - latest
Aqara Hub: 3.4.8_0012.0020
Thank you, I have the Aqara Gateway M1S Gen 2 and i could not integrate with the “Xiaomi (Aqara)” integration in HA, but your guide help me a lot because i think that focus on the main point: the integration is with “Apple Home kit controller”, not Xiaomi!.
But the critical point to find the device in the “Apple Home kit controller” HA integration manager is that the hub MUST NOT be already paired with an homekit hub (such an Apple TV or iPhone).
So (and it worked!) i tried to reset the Aqara Hub (because before i was connected with the iOS app), then connect again but with an Android phone (Aqara app from Play Store).
Android doesn’t automatically create a Homekit integration (of course!) so the hub will connect to the Xiaomi cloud and the wireless network, THEN you can find and add the hub in the HA “Homekit controller”.
TLDR: Your guide works for me, but it’s crucial that you have to connect the Hub in the Aqara app with an android phone and not iOS.
You should try to reset the Hub then to connect again BUT NOT with an Apple device. You can try the Aqara app on Android. Do not add the Hub to Apple Homekit. You can do that by Home Assistant integration (step 7).
Let me know if it helps.
The Aqara home app allows you to add the Aqara hub, but in order to get the complete
experience from the hub, you should use the server relevant to the region your hub belongs to.
So, if you have a Chinese hub, the hub will work as intended when signed into the Aqara home app, with the server set to ‘Chinese’.
If you have the US or European hub, then the US or EU servers are the best ones to use.
Integration to HA worked, but can I use the hub for something other than night light, alarm or router for Aqara sensors? Can I use the speaker for something? Can I use it as doorbell for example?
I confirm that you must use android instead of iPhone!!! Thousand thanks for the countless hours that I would have spend!! I have restart a new home assistant setup, but I have use an android in the previous one. I have now an iPhone… and still my old android.
I would also suggest to turn off your iPhone during the operation of integration as it didn’t work the first time. I turned of my iPhone of the second time and it finally worked as expected.
Was playing around with this and have an update for ios users.
Here are the steps I followed for M1S hub:
Factory reset
Using code, add hub to Apple Home
In aqara app, bind newly added hub. Profile->Homekit->Homekit devices and bind the hub.
In Apple Home, delete hub
Fairly quickly, open home assistant and bind using the Homekit device integration and the HK code on the device. I think there’s a few minutes of leeway on this but I think if too much time passes, aqara app might get upset.
The hub, along with any devices added to it, will show up automatically but remain available in Aqara app as well.
ONLY add additional devices using the aqara app. They will populate along with the hub in homeassistant automatically.
As an added bonus, from here you can add back to Apple Home using the Matter code generated in the app.
Hope this helps. Happy to expand on any steps if needed.