Git Product home page Git Product logo

Comments (7)

yipyuklam avatar yipyuklam commented on June 6, 2024 3

I have same issue for Xiaomi Air Purifier 4

Version:

Xiaomi Mi Air Purifier
homebridge-xiaomi-mi-air-purifier v2.0.2

Configuration:

{
"name": "空氣清新機",
"address": "192.168.10.24",
"token": "6c4ba2a9216b61f86badffcfbb8958f6",
"enableAirQuality": true,
"enableTemperature": true,
"enableHumidity": true,
"filterChangeThreshold": 5,
"enableFanSpeedControl": true,
"enableChildLockControl": false,
"accessory": "XiaomiMiAirPurifier"
}

Error log:

[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Active': Unhandled error thrown inside read handler for characteristic: device.power is not a function. See https://git.io/JtMGR for more info.
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] TypeError: device.power is not a function
at Active.getHandler (/volume1/@appdata/homebridge/lib/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/air-purifier/active.ts:21:28)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Current Air Purifier State': Unhandled error thrown inside read handler for characteristic: device.power is not a function. See https://git.io/JtMGR for more info.
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] TypeError: device.power is not a function
at CurrentAirPurifierState.getHandler (/volume1/@appdata/homebridge/lib/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/air-purifier/current-air-purifier-state.ts:26:31)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Target Air Purifier State': Unhandled error thrown inside read handler for characteristic: device.mode is not a function. See https://git.io/JtMGR for more info.
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] TypeError: device.mode is not a function
at TargetAirPurifierState.getHandler (/volume1/@appdata/homebridge/lib/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/air-purifier/target-air-purifier-state.ts:22:28)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Rotation Speed': Unhandled error thrown inside read handler for characteristic: device.fanSpeed is not a function. See https://git.io/JtMGR for more info.
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] TypeError: device.fanSpeed is not a function
at RotationSpeed.getHandler (/volume1/@appdata/homebridge/lib/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/air-purifier/rotation-speed.ts:26:40)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Air Quality': Unhandled error thrown inside read handler for characteristic: device.pm2_5 is not a function. See https://git.io/JtMGR for more info.
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] TypeError: device.pm2_5 is not a function
at AirQuality.getHandler (/volume1/@appdata/homebridge/lib/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/air-quality.ts:35:36)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'PM2.5 Density': Unhandled error thrown inside read handler for characteristic: device.pm2_5 is not a function. See https://git.io/JtMGR for more info.
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] TypeError: device.pm2_5 is not a function
at PM2_5Density.getHandler (/volume1/@appdata/homebridge/lib/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/pm2_5-density.ts:17:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Filter Life Level': Unhandled error thrown inside read handler for characteristic: device.filterLifeLevel is not a function. See https://git.io/JtMGR for more info.
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] TypeError: device.filterLifeLevel is not a function
at FilterLifeLevel.getHandler (/volume1/@appdata/homebridge/lib/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/air-purifier/filter-life-level.ts:17:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Filter Change Indication': Unhandled error thrown inside read handler for characteristic: device.filterLifeLevel is not a function. See https://git.io/JtMGR for more info.
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] TypeError: device.filterLifeLevel is not a function
at FilterChangeIndication.getHandler (/volume1/@appdata/homebridge/lib/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/air-purifier/filter-change-indication.ts:28:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Current Temperature': Unhandled error thrown inside read handler for characteristic: device.temperature is not a function. See https://git.io/JtMGR for more info.
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] TypeError: device.temperature is not a function
at CurrentTemperature.getHandler (/volume1/@appdata/homebridge/lib/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/current-temperature.ts:19:28)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] This plugin threw an error from the characteristic 'Current Relative Humidity': Unhandled error thrown inside read handler for characteristic: device.rh is not a function. See https://git.io/JtMGR for more info.
[1/30/2022, 5:17:51 PM] [homebridge-xiaomi-mi-air-purifier] TypeError: device.rh is not a function
at CurrentRelativeHumidity.getHandler (/volume1/@appdata/homebridge/lib/node_modules/homebridge-xiaomi-mi-air-purifier/src/characteristics/current-relative-humidity.ts:17:25)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

from xiaomi-mi-air-purifier.

developerrespig avatar developerrespig commented on June 6, 2024 1

Just saw in another issue that there is another plugin which actually works for me which I would like to share with you:

https://github.com/merdok/homebridge-miot

from xiaomi-mi-air-purifier.

benchristian88 avatar benchristian88 commented on June 6, 2024

I would love this also. thank you!

from xiaomi-mi-air-purifier.

jmuggler avatar jmuggler commented on June 6, 2024

Same problem here.

from xiaomi-mi-air-purifier.

Rezessivo avatar Rezessivo commented on June 6, 2024

same here....

from xiaomi-mi-air-purifier.

chung0002000 avatar chung0002000 commented on June 6, 2024

Same here

from xiaomi-mi-air-purifier.

developerrespig avatar developerrespig commented on June 6, 2024

Same for me, waiting for an update :)

from xiaomi-mi-air-purifier.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.