Closed fjs21 closed 2 years ago
:white_check_mark: Pre-checks completed successfully.
TypeError: this.blueair.devices is not iterable
at BlueAirHomebridgePlatform.discoverDevices (/usr/local/lib/node_modules/@fjs21/homebridge-blueair/src/platform.ts:86:39)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Please update node engine to 14.18.1 or 16.13.0 and homebridge engine to 1.3.0 or higher
Done. I've updated the engine requirements in version 0.6.5 of the plugin.
still getting the following error which is causing homebridge to go into a loop restart:
[BlueAir] {
message: '401 - Unauthorized',
propagatedException: null,
requestedUri: '/v2/owner/undefined/device/',
stack: '401 - Unauthorized',
state: 401
}
[BlueAir] Found undefined devices.
TypeError: this.blueair.devices is not iterable
at BlueAirHomebridgePlatform.discoverDevices (/usr/local/lib/node_modules/@fjs21/homebridge-blueair/src/platform.ts:86:39)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Should be fixed in v0.6.6.
TypeError: this.blueair.devices is not iterable
at BlueAirHomebridgePlatform.discoverDevices (/usr/local/lib/node_modules/@fjs21/homebridge-blueair/src/platform.ts:91:39)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
Sorry. My bad. It should be fixed in 0.6.7.
/check
:white_check_mark: Pre-checks completed successfully.
Still getting this after upgrading to 0.6.7:
[11/11/2021, 5:32:57 PM] [BlueAir] x-auth-token: null
[11/11/2021, 5:32:58 PM] [BlueAir] Found undefined devices.
[11/11/2021, 5:32:58 PM] TypeError: this.blueair.devices is not iterable
at BlueAirHomebridgePlatform.discoverDevices (/usr/local/lib/node_modules/@fjs21/homebridge-blueair/src/platform.ts:91:39)
at processTicksAndRejections (node:internal/process/task_queues:96:5)```
May I ask what’s in the config json? I know I should catch incorrect entries but this might help me debug.
{
"username": "a",
"password": "a",
"options": [
"Disable.a"
],
"platform": "BlueAir"
},
Thanks! Please see v.6.10. That should solve the issue.
/check
/check
:white_check_mark: Pre-checks completed successfully.
Everything Looks Good!
Congratulations! Your plugin has been verified.
You can now add the Verified by Homebridge badge to your plugin's README:
[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)
Your plugin is now also eligible to display a :heart: Donate button on it's tile in the Homebridge UI. See https://github.com/oznu/homebridge-config-ui-x/wiki/Developers:-Donation-Links for instructions.
Thank you for your contribution to the Homebridge Community. https://homebridge.io
Link To GitHub Repo
https://github.com/fjs21/homebridge-blueair
Link To NPM Package
https://www.npmjs.com/package/@fjs21/homebridge-blueair