merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
395 stars 63 forks source link

[Mi Air Purifier 3H] stuck on Everything looks good! Initiating property polling! #247

Closed via-justa closed 2 years ago

via-justa commented 2 years ago

Describe the bug Device not controllable, stuck on:

[miot] [Mi Air Purifier 3H] Everything looks good! Initiating property polling!

Expected behavior Device initialised successfully and controllable

Your config.json

{
  "devices": [
    {
      "name": "Mi Air Purifier 3H",
      "ip": "192.168.99.102",
      "token": "xxxxxxxx",
      "deviceId": "xxxxxxxx",
      "model": "zhimi.airpurifier.mb3",
      "pollingInterval": 30,
      "deepDebugLog": true,
      "micloud": {
        "username": "xxxxx@xxxxx.com",
        "password": "xxxxxxxx",
        "country": "de",
        "forceMiCloud": true,
        "timeout": 10000
      },
      "buzzerControl": false,
      "ledControl": false,
      "childLockControl": false,
      "modeControl": false,
      "fanLevelControl": false
    }
  ],
  "platform": "miot"
}

Debug log log file

Additional context Things I tried:

My account and device are not connected to any other service and nothing is communicating with the device except for the Mi app

OS: Raspbian GNU/Linux Bullseye (11)
Homebridge: v4.42.0
Homebridge Miot: v1.0.6
node: v16.14.2
npm: v8.5.0
merdok commented 2 years ago

Hi, you would need to provide a debug log. What you provided is a standard log. See here on how to run homebridge in debug mode. https://github.com/merdok/homebridge-miot#troubleshooting

via-justa commented 2 years ago

Hey @merdok managed to get it working. Thanks!

juster-cyber commented 2 years ago

Hey @merdok managed to get it working. Thanks! Hey, how did you do that? I have this bug too!