Git Product home page Git Product logo

Comments (4)

JeffGoldner avatar JeffGoldner commented on May 24, 2024

I got rid of CO2 from the config file, no need for it as CO2 shows up as one of the 5 accessories under Air Quality for the 480i in Home.

from homebridge-blueair.

motaker avatar motaker commented on May 24, 2024

Hi, I have similar error, couldn't start homebridge instance itself due to this plugin.
When I set CO2 entity and "getHistoricalStats": false in config file,
Error messages appeares in homebridge UI log file shown in red color.

[29/06/2021, 21:46:32] TypeError: Cannot read property 'getCharacteristic' of undefined
at new BlueAir (/usr/local/lib/node_modules/homebridge-blueair/index.js:235:5)
at /usr/local/lib/node_modules/homebridge/src/server.ts:350:50
at Array.forEach ()
at Server.loadAccessories (/usr/local/lib/node_modules/homebridge/src/server.ts:270:29)
at Server.start (/usr/local/lib/node_modules/homebridge/src/server.ts:162:12)

[29/06/2021, 21:52:35] TypeError: Cannot read property 'addEntry' of undefined
at BlueAir. (/usr/local/lib/node_modules/homebridge-blueair/index.js:567:32)
at BlueAir. (/usr/local/lib/node_modules/homebridge-blueair/index.js:288:6)
at Request.self.callback (/usr/local/lib/node_modules/homebridge-blueair/node_modules/request/request.js:185:22)
at Request.emit (events.js:375:28)
at Request. (/usr/local/lib/node_modules/homebridge-blueair/node_modules/request/request.js:1154:10)
at Request.emit (events.js:375:28)
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-blueair/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:481:28)
at IncomingMessage.emit (events.js:387:35)
at endReadableNT (internal/streams/readable.js:1317:12)

If I got rid of CO2 entity in the config file, and set "getHistoricalStats": true,
homebridge instance has started without problem however there is several error message in white letter as shown below.

Error message

[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'PM2.5 Density' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'VOC Density' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Carbon Dioxide Level' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality PM25' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Current Temperature' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Current Relative Humidity' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Active' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Current Air Purifier State' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:07] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' was slow to respond! See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:10] [homebridge-blueair] This plugin generated a warning from the characteristic 'Filter Life Level': characteristic was supplied illegal value: number -570.5555555555555 exceeded minimum of 0. See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:18] [homebridge-blueair] This plugin generated a warning from the characteristic 'Filter Life Level': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.
[29/06/2021, 21:57:18] [homebridge-blueair] This plugin generated a warning from the characteristic 'Filter Life Level': characteristic value expected valid finite number and received "undefined" (undefined). See https://git.io/JtMGR for more info.

First few hours seems stable but unfortunately within a day, homebridge instance will be entirely no responce. below message is shown in log as critical error in red text.

[01/07/2021, 11:24:57] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Target Air Purifier State' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[01/07/2021, 11:24:57] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Lock Physical Controls' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[01/07/2021, 11:24:57] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Rotation Speed' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[01/07/2021, 11:24:57] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Change Indication' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
[01/07/2021, 11:24:57] [homebridge-blueair] This plugin slows down Homebridge. The read handler for the characteristic 'Filter Life Level' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.

Please advice.

My config.
{
"accessory": "BlueAir",
"name": "480i",
"airPurifierIndex": "0",
"nameAirQuality": "Air Quality",
"nameTemperature": "Temp.",
"nameHumidity": "Hum.",
"username": "email",
"password": "password",
"showTemperature": true,
"showHumidity": true,
"showAirQuality": true,
"showLED": false,
"getHistoricalStats": true
},
{
"accessory": "BlueAir",
"name": "205",
"airPurifierIndex": "1",
"purifierOnly": true,
"username": "email",
"password": "password",
"showLED": false
},

Homebridge Version v1.3.4
Node.js Version v14.17.1
Npm Version v7.19.0

from homebridge-blueair.

paalolav avatar paalolav commented on May 24, 2024

Same issue here. Don't know how to fix this.

from homebridge-blueair.

fjs21 avatar fjs21 commented on May 24, 2024

Try the new fork. https://github.com/fjs21/homebridge-blueair

I made this to fix some of these type of errors.

from homebridge-blueair.

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.