Comments (10)
Can you enable debugging in the homebridge UI and see what is being reported when the device list is queried from BlueAir? It will be immediately after the "x-auth-token" log.
from homebridge-blueair.
[10/12/2021, 10:57:19] [BlueAir] x-auth-token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6Im1hdHRlby5jYWNjaWFAZ21haWwuY29tIiwianRpIjoiMjhhZTk3YmQtMmFiNy00MDNhLTk1ZWItZTY1ODFlYmM5NjJmIiwiZXhwIjoxNjcwNjY2MjM5MTQxLCJleHBpcmF0aW9uRGF0ZSI6MTY3MDY2NjIzOTE0MX0.5orQyixr0g9dGZqo6_iIyUrqQ2xMiqL-T3wCt6tPCco
[10/12/2021, 10:57:19] [BlueAir] {
message: "Can't find address for service HandshakeLab",
propagatedException: null,
requestedUri: '/v2/owner/myemail@myemail/device/',
stack: '[obfuscated]',
state: 503
}
[10/12/2021, 10:57:19] [BlueAir] Found undefined devices.
[10/12/2021, 10:57:19] TypeError: this.blueair.devices is not iterable
at BlueAirHomebridgePlatform.discoverDevices (/usr/local/lib/node_modules/@fjs21/homebridge-blueair/dist/platform.js:73:43)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[10/12/2021, 10:57:19] Got SIGTERM, shutting down Homebridge...
from homebridge-blueair.
Ok. This looks like the server returned an error message from the API request to list all the devices in your system.
To be honest, I'm not sure what is causing this. What type of BlueAir device do you have in your account? This plugin has only been tested with the Classic series (280i and 680i). I know there are issues with HealthProtect models, see #1.
Please doublecheck the settings to make sure your username and password are accurate.
I will issue a patch to make sure this error is being handled better by the plugin and instead just causes the plugin to fail and not cause the continuous reboot of Homebridge.
from homebridge-blueair.
from homebridge-blueair.
Hi, I have 480i and 205. It seems have same error caused by 205.
from homebridge-blueair.
from homebridge-blueair.
Which BlueAir server are you going to? It should be on a previous line in the log.
Mine is: api-us-east-1.blueair.io
I was reading that 503 can mean "service unavailable". I just want to see if this is server or account specific issue.
from homebridge-blueair.
Got homehost: api-eu-west-1.blueair.io
from homebridge-blueair.
@fjs21 , I posted this in another issue, but I have a feeling they might be related. Take a look at this, when you get a chance:
from homebridge-blueair.
@fjs21 , I posted this in another issue, but I have a feeling they might be related. Take a look at this, when you get a chance:
The "iterable" error just means the format of the response from the server is not in the format expected by the code. For #2, this is due to the absence of the datapoint functionality hence a blank data response which triggers the error. In this case, the error is generated because the response isn't JSON formatted at all - and instead just an error message from the server.
This one is very tricky to fix because it suggests that API is different. We'd need the postman response when using the app to find out what's actually being sent to/received from the BlueAir server.
from homebridge-blueair.
Related Issues (20)
- Can homebridge/homekit get instant feedback when operating unit physically? HOT 1
- PM2.5 reading is constantly 1000? HOT 3
- [Feature Request] Memorizing the fan speed HOT 1
- AWS Access Token Expires, causing 403 Forbidden responses HOT 12
- 'Brightness': characteristic was supplied illegal value HOT 3
- BlueAir 7440i - Found 0 Devices HOT 17
- Can't publish 1.1.0
- Automode Switch HOT 1
- TypeError: Cannot read properties of undefined (reading 'co2') HOT 5
- Lint issue again HOT 2
- time outs HOT 3
- Is the development of this plugin abandoned? HOT 2
- Please post your model & capabilities HOT 67
- Remove brightness control? HOT 2
- Missing/wrong readings? HOT 3
- Error message: device type not recognized for BlueAir 505 Classic HOT 2
- please support Blueair model 380i HOT 1
- Option to remove the CO2 sensor HOT 7
- VOC measurement in Home app is probably wrong HOT 3
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.