Open kelmk opened 5 years ago
You probably have the wrong token, the token needs to be the one while the air purifier is connected to the wifi of your homebridge, not the one you got while connecting directly to it.
@Rob827 then how do you get token off a device connected to WiFi? It only displays when I'm directly connected to it (and it's been the same with Air Purifier 2, 2S, PM2.5 sensor for me). when I do MiIo discover against these devices paired & connected to wifi all I get is ???
I'm getting this in the log. This is definitely the correct ip. I have a Mi 2S latest firmware. I know the token is correct. I can ping the ip just fine.
Failed to discover Mi Air Purifier at 192.168.1.10
Will retry after 30 seconds
{ "accessory": "MiAirPurifier", "name": "Bed Room Air Purifier", "ip": "192.168.1.10", "token": "xxxxx", "showTemperature": true, "showHumidity": true, "showAirQuality": true, "showLED": true, "showBuzzer": true }