Has anyone managed to get Xiaomi Gateway running on Win 10? If so how did you do it, mine fails to discover and then fails to initialize I tired explicitly defing the MAC addrs but it makes no difference, it worked fine on the RPI.
Hi Keith,
My turn to help maybe?
Check this as it was the issue for me…
Haven’t upgraded to 0.60 yet so don’t know if it’s fixed, but the log doesn’t mention xiaomi so I have the feeling the issue is still present…
Thanks for the heads up, but I don’t have any miio/protocol.py files on the computer
I have some logs but even in debug mode there’s nothing there…
017-12-19 16:16:25 DEBUG (SyncWorker_19) [homeassistant.components.xiaomi_aqara] Expecting 1 gateways
2017-12-19 16:16:25 INFO (SyncWorker_19) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 1)
2017-12-19 16:16:27 INFO (SyncWorker_2) [homeassistant.util.package] Attempting install of plexapi==3.0.3
2017-12-19 16:16:29 WARNING (MainThread) [homeassistant.setup] Setup of notify is taking over 10 seconds.
2017-12-19 16:16:30 INFO (SyncWorker_19) [PyXiaomiGateway] Gateway discovery finished in 5 seconds
2017-12-19 16:16:30 INFO (SyncWorker_19) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 2)
2017-12-19 16:16:30 WARNING (MainThread) [homeassistant.setup] Setup of sensor is taking over 10 seconds.
2017-12-19 16:16:30 ERROR (SyncWorker_6) [homeassistant.components.sensor.rest] Error fetching data: <PreparedRequest [GET]>
2017-12-19 16:16:30 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.
2017-12-19 16:16:31 WARNING (MainThread) [homeassistant.setup] Setup of switch is taking over 10 seconds.
2017-12-19 16:16:32 WARNING (MainThread) [homeassistant.setup] Setup of tts is taking over 10 seconds.
2017-12-19 16:16:34 INFO (SyncWorker_8) [homeassistant.util.package] Attempting install of plexapi==2.0.2
2017-12-19 16:16:34 INFO (SyncWorker_0) [plexapi] Testing 2 resource connections..
2017-12-19 16:16:34 INFO (SyncWorker_0) [plexapi] Resource connection OK (0s): http://192.168.1.56:32400?X-Plex-Token=<hidden>
2017-12-19 16:16:34 INFO (SyncWorker_0) [plexapi] Resource connection OK (0s): http://192.168.1.56:32400?X-Plex-Token=<hidden>
2017-12-19 16:16:34 INFO (SyncWorker_0) [plexapi] Connecting to Resource: http://192.168.1.56:32400?X-Plex-Token=<hidden>
2017-12-19 16:16:35 WARNING (MainThread) [homeassistant.setup] Setup of xiaomi_aqara is taking over 10 seconds.
2017-12-19 16:16:35 INFO (SyncWorker_19) [PyXiaomiGateway] Gateway discovery finished in 5 seconds
2017-12-19 16:16:35 INFO (SyncWorker_19) [homeassistant.components.xiaomi_aqara] Discovering Xiaomi Gateways (Try 3)
2017-12-19 16:16:35 INFO (MainThread) [homeassistant.setup] Setup of domain notify took 16.3 seconds.
2017-12-19 16:16:37 INFO (SyncWorker_1) [custom_components.media_player.plex] Connected to: http://192.168.1.56:32400
2017-12-19 16:16:37 INFO (SyncWorker_10) [homeassistant.util.package] Attempting install of broadlink==0.5
2017-12-19 16:16:40 INFO (SyncWorker_19) [PyXiaomiGateway] Gateway discovery finished in 5 seconds
2017-12-19 16:16:40 ERROR (SyncWorker_19) [homeassistant.components.xiaomi_aqara] No gateway discovered
2017-12-19 16:16:40 INFO (MainThread) [homeassistant.setup] Setup of domain xiaomi_aqara took 15.3 seconds.
2017-12-19 16:16:40 ERROR (MainThread) [homeassistant.setup] Setup failed for xiaomi_aqara: Component failed to initialize.
ok, seem the Xiaomi Aqara doesn’t share the same library as the Xiaomi vacuum…
I don’t have an Aqara gateway (yet) so not sure how to help further I’m afraid.
Stupid thing though just in case: did you set your region to: Mainland China? The tutorial mentions this is a requirement.
Yep I’ve always been mainland china :), I even tried changing the key but that didn’t help either…