Closed xuepgao closed 5 years ago
Hi, based on the log and the code where it seems to give you the error I would guess no device could be found. Did you try with the miio console tools to identify the connected devices?
Yes, I run the command "miio discover" and the gateway was not be found:
......
Device ID: 99235478
Model info: Unknown
Address: 192.168.186.166
Token: ???
Support: Unknown
......
I'm sure the above device is my gateway. I search xiaomi related documents from internet and I almost guess that Xiaomi Air Conditioner Companion (gateway) is not support by miio library.
Thanks for your suggestion.
Sorry, devices: '158d0002422571' is a switch, not a temperature/humidity sensor. Thanks!
Hi guys,
I installed the module of MMM-xiaomi. I got the xiaomi gateway token via android emulator and https://miio.loli.ren. my config.js is as following:
Then I run MagicMirror. The MMM-xiaomi module is stuck at "Connecting to Xiaomi gateway...", and the console output log is as following:
I'm sure the gateway token is correct. Could anyone give me some suggestions? Thanks in advance!