Comments (4)
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.
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.
Same issue here. Don't know how to fix this.
from homebridge-blueair.
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)
- iOS 13 optimazation HOT 2
- Badly parsed values? HOT 8
- BlueAir Sense+ support? HOT 13
- Add support for Homebridge Config UI X Settings page HOT 5
- httpRequest debug log shows "undefined" after api url
- BlueAir Classic 205 HOT 9
- crashes homebridge on restart HOT 2
- HAP Warning HOT 5
- Model (and serial number) not showing properly in accessory details. HOT 2
- plugin doesn't work and entire homebridge became "no response" HOT 3
- airPurifierIndex specified is higher than number of air purifiers available HOT 1
- Purifier Classic 205 error HOT 4
- Support for HealthProtect HOT 5
- Classic 605 HOT 1
- Can't add duplicate Classic 405 HOT 1
- It didn't work , How to add the config.json ? HOT 10
- Does this still work? HOT 1
- API Changed HOT 1
- Updated to Homebridge platform HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebridge-blueair.