Add Aqara Hub M1S to ha(mi home mode + homekit controller)
Configure Aqara hub M1S Gateway Home Assistant via mi home app and homekit controller
Integrate Aqara Hub M1S to ha(mi home mode + homekit controller)
Aqara M1S-ZHWG15LM(lumi.gateway.acn01) - Aqara Hub M1S CN
in mi home app + cn server
完美解答,别问我折腾了多久。。。。
iphone手机上
先用小米或者绿米app添加(会调用HomeKit)
添加完后在小米app里面添加子设备(aqara那个app根本不能成功连接D1系列墙开)。
最后在苹果家庭里面删除网关(小米里面不删)然后直接去ha设置集成HomeKit控制器最后就是输入编码。而如果是长按或点按还原网关,虽然能在ha通知里看到,但是转圈圈再久也连接不上,因为本质上还原后未经过完整设置的M1s不能访问到家里的网络。
This can be done through the following steps:
- Get the mi home app
- sign in mi home app
- Add Aqara Hub M1s device in mi home app
- connect Aqara Hub M1s device to Wi-Fi Network
- Add all sub smart devices with names and rooms…
- Restart home Assistant - wait till done
- (So far not recognized by HA, after 45 min in the network)
- Unplug Aqara Hub M1s wait 10 seconds and replug to power
HA shows the hub as Homekit controller
Add to HA with the provided code (on hub or box)
Everything works fine
- Pair devices to mi home app - Connect the gateway to your router
- download Xiaomi Miot Auto Integration
- unzip Xiaomi Miot Auto Integration
- copy custom_components/xiaomi_miot folder to custom_components folder
- restart Home Assistant Core
- Go to the Home Assistant Core Dashboard
- Click the Add an Xiaomi Miot Auto Integration
Connect to Gateway
The first thing you want to do is download the Mi Home App from Android and iOS stores and then connect the gateway to your WiFi router. Note that some mijia hub only WiFi 4 on 2.4Ghz is supported, so it’s important that your router supports the 2.4GHz band, otherwise it won’t connect.
Download the Xiaomi app https://play.google.com/store/apps/details?id=com.xiaomi.smarthome
Create an account
Add the M1S Gateway in the app (long hold button on M1S for 10 seconds to enter discovery mode - reset Network setting )
The key is that you cannot connect with Mi Home until the voice prompt is says: “Ready to connect. Please open Mi Home app”
Power on and wait for 1 minute and let it finish booting.
Press the button 10 TIMES QUICKLY. The blinking should stop immediately. If doesn’t then repeat the 10 clicks faster.
You will hear a “Device resetting” prompt followed by LED blinking.
Now press the button TWICE QUICKLY. You should hear a beeping sound and the blinking should stop immediately again. The device will restart automatically. If don’t hear the beep, then start the process again from the first point.
If you hear the prompt “Ready to connect. Please open Mi Home app” then you are successfully switched to Mi Home mode. At this point it looks like it is ready connect, but it wasn’t for me.
Press and hold the button for 10 seconds, until you hear the connection prompt again.
Now you are ready to connect with Mi Home
discovery
Aqara-Hub-M1S-3967 mi home app by Homekit Controller
HomeKit Controller
Retrying setup: Timeout while waiting for connection to device 192.168.2.103:33844
Homekit Controller Integration Auto discovered lost
step 1.delete homekit_controller-entity-map
path:/home/homeassistant20221103/.homeassistant/.storage/homekit_controller-entity-map
step 2.restart ha
step 3.unplugin and reboot Aqara Hub M1S
you can unplugin and reboot it,then Homekit Controller Integration Auto discovered auto discovered again.
below code added by ha in /home/homeassistant20221103/.homeassistant/.storage
.storage/core.config_entries
homekit_controller-entity-map
Comments
Comments are closed