Hi to all,
I’ve purchased a Xiaomi Gateway kit but have some problems with it.
I’ve opened the device and I’ve seen my EU board looks like this: https://community.openhab.org/t/solved-openhab2-xiaomi-mi-gateway-does-not-respond/52963/188?u=cadavre
I’ve not soldered anything for now.
I THINK I’ve got the key (downloaded from iPhone backup, extracted via miio-extract-tokens and then converted the 32 char HEX to 16char ASCII.
After that I’ve cofigured the device like that:
xiaomi_aqara:
gateways:
- mac: 50EC5041B540
key: <my_key>
host: 192.168.3.20
After restart, in the logs, I’ve got:
2019-05-22 21:13:57 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aqara is taking over 10 seconds.
2019-05-22 21:13:57 ERROR (SyncWorker_6) [xiaomi_gateway] Cannot connect to Gateway
2019-05-22 21:13:57 ERROR (SyncWorker_6) [xiaomi_gateway] No data in response from hub None
2019-05-22 21:13:57 INFO (SyncWorker_6) [xiaomi_gateway] Discovering Xiaomi Devices
2019-05-22 21:14:07 ERROR (SyncWorker_6) [xiaomi_gateway] Cannot connect to Gateway
2019-05-22 21:14:07 INFO (SyncWorker_6) [xiaomi_gateway] Discovering Xiaomi Devices
2019-05-22 21:14:17 ERROR (SyncWorker_6) [xiaomi_gateway] Cannot connect to Gateway
2019-05-22 21:14:17 INFO (SyncWorker_6) [xiaomi_gateway] Discovering Xiaomi Devices
2019-05-22 21:14:27 ERROR (SyncWorker_6) [xiaomi_gateway] Cannot connect to Gateway
2019-05-22 21:14:27 INFO (SyncWorker_6) [xiaomi_gateway] Discovering Xiaomi Devices
2019-05-22 21:14:37 ERROR (SyncWorker_6) [xiaomi_gateway] Cannot connect to Gateway
2019-05-22 21:14:37 INFO (SyncWorker_6) [xiaomi_gateway] Discovering Xiaomi Devices
2019-05-22 21:14:47 ERROR (SyncWorker_6) [xiaomi_gateway] Cannot connect to Gateway
2019-05-22 21:14:52 INFO (SyncWorker_6) [xiaomi_gateway] Gateway discovery finished in 5 seconds
2019-05-22 21:14:52 INFO (SyncWorker_6) [xiaomi_gateway] Creating Multicast Socket
2019-05-22 21:14:52 INFO (MainThread) [homeassistant.setup] Setup of domain xiaomi_aqara took 65.2 seconds.
2019-05-22 21:14:52 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.xiaomi_aqara
2019-05-22 21:14:52 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.xiaomi_aqara
2019-05-22 21:14:52 INFO (MainThread) [homeassistant.components.switch] Setting up switch.xiaomi_aqara
2019-05-22 21:14:52 INFO (MainThread) [homeassistant.components.light] Setting up light.xiaomi_aqara
2019-05-22 21:14:52 INFO (MainThread) [homeassistant.components.cover] Setting up cover.xiaomi_aqara
2019-05-22 21:14:52 INFO (MainThread) [homeassistant.components.lock] Setting up lock.xiaomi_aqara
2019-05-22 21:15:35 INFO (MainThread) [homeassistant.components.discovery] Found new service: xiaomi_gw {'host': '192.168.3.20', 'port': 54321, 'hostname': 'lumi-gateway-mieu01_miio264420999.', 'properties': {'path': '/mydevice'}}
And now?
I cannot find any discovered devices under states.
I’m not sure thats the right way.
Thanks, Simon