xiaomi-mi-air-purifier icon indicating copy to clipboard operation
xiaomi-mi-air-purifier copied to clipboard

Plugin not working anymore

Open jcouzy opened this issue 3 years ago • 5 comments

The plugin doesn't work anymore; here's the error message:

This plugin slows down Homebridge. The read handler for the characteristic 'Active' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.

Logs:

This plugin slows down Homebridge. The read handler for the characteristic 'Active' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info. [Xiaomi Mi Air Purifier 3H] Connected to "Xiaomi Mi Air Purifier 3H" @ IP ADDRESS [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Filter Life Level': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'value'). See https://git.io/JtMGR for more info. [04/02/2022, 14:13:01] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Filter Change Indication': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'value'). See https://git.io/JtMGR for more info. [04/02/2022, 14:13:01] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Filter Life Level': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'value'). See https://git.io/JtMGR for more info. [04/02/2022, 14:13:01] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Filter Change Indication': Unhandled error thrown inside read handler for characteristic: Cannot read properties of undefined (reading 'value'). See https://git.io/JtMGR for more info. [04/02/2022, 14:13:01] [homebridge-xiaomi-mi-air-purifier] This plugin generated a warning from the characteristic 'PM2.5 Density': characteristic was supplied illegal value: null! Home App will reject null for Apple defined characteristics. See https://git.io/JtMGR for more info. [04/02/2022, 14:13:01] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Current Temperature': Unhandled error thrown inside read handler for characteristic: Cannot read properties of null (reading 'value'). See https://git.io/JtMGR for more info. Plugin Config:

{
        "name": "Xiaomi Mi Air Purifier 3H",
        "address": "x.x.x.x",
        "token": "token",
        "enableAirQuality": true,
        "enableTemperature": true,
        "enableHumidity": true,
        "filterChangeThreshold": 5,
        "enableFanSpeedControl": false,
        "enableChildLockControl": false,
        "accessory": "XiaomiMiAirPurifier",
        "_bridge": {
            "username": "bridge",
            "port": 34473

Environment:

  • Plugin Version:
  • Homebridge Version: 1.4.0
  • Node.js Version: 16.13.2
  • NPM Version: 8.3.1
  • Operating System: Raspbian

jcouzy avatar Feb 04 '22 13:02 jcouzy

No idea if there is a solution?

raphmoska avatar Feb 05 '22 17:02 raphmoska

Same problem.

jmuggler avatar Feb 09 '22 21:02 jmuggler

New install. model=zhimi.airpurifier.mb4 aka Mi Air Purifier 3C. I have all the optional parameters set to false. logs show it is connected however the accessory doesn't update in the home app based on the device state, nor can the home app control it.

senorshaun avatar Feb 11 '22 19:02 senorshaun

ugh. same issue here. and it actually does slow HB down quite a bit. It needs to wait for all of this being handled whenever the home app is addressed

paqpaqpaq avatar Feb 13 '22 13:02 paqpaqpaq

Same issue. https://github.com/merdok/homebridge-miot seems to work fine as an alternative.

jordihoven avatar Mar 06 '22 06:03 jordihoven