Giter Club home page Giter Club logo

Comments (3)

jonato1 avatar jonato1 commented on July 17, 2024

@kjohn - It looks like there was already support for 480i; I have added support for 490i (and 690i since that seemed to be unsupported too). I can't test it since I don't have these models, so when the next release comes out, please let me know if you see any issues.

from homebridge-blueair.

jonato1 avatar jonato1 commented on July 17, 2024

This will be released with v1.3.0 shortly.

from homebridge-blueair.

kjohn avatar kjohn commented on July 17, 2024

It appears to be stuck in a loop due to a type error due to the LED. By unselecting the Hide LED option, it resolves this issue. Thank you so much for your hard effort!

Here is my log:

[15/07/2023, 10:00:56] [@fjs21/homebridge-blueair] Launched child bridge with PID 1411
[15/07/2023, 10:00:58] Registering platform '@fjs21/homebridge-blueair.BlueAir'
[15/07/2023, 10:00:58] [@fjs21/homebridge-blueair] Loaded @fjs21/homebridge-blueair v1.3.1 child bridge successfully
[15/07/2023, 10:00:58] Loaded 4 cached accessories from cachedAccessories.0ED5A55EF1C5.
[15/07/2023, 10:00:58] [@fjs21/homebridge-blueair] base_API_url: https://api.blueair.io/v2/user/[email protected]/homehost/
[15/07/2023, 10:00:58] [@fjs21/homebridge-blueair] Loading accessory from cache: Master Bedroom
[15/07/2023, 10:00:58] [@fjs21/homebridge-blueair] Loading accessory from cache: Baby Room
[15/07/2023, 10:00:58] [@fjs21/homebridge-blueair] Loading accessory from cache: Office
[15/07/2023, 10:00:58] [@fjs21/homebridge-blueair] Loading accessory from cache: Guest Bedroom
[15/07/2023, 10:00:59] Homebridge v1.6.1 (HAP v0.11.1) (@fjs21/homebridge-blueair) is running on port 55148.
[15/07/2023, 10:01:00] [@fjs21/homebridge-blueair] Got homehost: api-us-east-1.blueair.io
[15/07/2023, 10:01:01] [@fjs21/homebridge-blueair] x-auth-token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6Im1yam9obkBnbWFpbC5jb20iLCJqdGkiOiJkZjM2ZjAyNC05NWEyLTRjNTUtYWNjZC1mYTk2M2NhNjFmZWUiLCJleHAiOjE3MjA5MjYwNjE1NjQsImV4cGlyYXRpb25EYXRlIjoxNzIwOTI2MDYxNTY0fQ.As26IhiKYKIN2UpPg18DYUrd5zaZDqAaujIycF6Py2w
[15/07/2023, 10:01:02] [@fjs21/homebridge-blueair] Found 4 devices.
[15/07/2023, 10:01:02] [@fjs21/homebridge-blueair] Restoring existing accessory from cache: Master Bedroom
[15/07/2023, 10:01:03] [@fjs21/homebridge-blueair] Master Bedroom of type "sense+" initialized.
[15/07/2023, 10:01:03] [@fjs21/homebridge-blueair] Removing stale Service: uuid:[00000043-0000-1000-8000-0026BB765291]
[15/07/2023, 10:01:03] [@fjs21/homebridge-blueair] Restoring existing accessory from cache: Baby Room
[15/07/2023, 10:01:04] [@fjs21/homebridge-blueair] Baby Room of type "classic_490i" initialized.
[15/07/2023, 10:01:04] [@fjs21/homebridge-blueair] Removing stale Service: uuid:[00000043-0000-1000-8000-0026BB765291]
[15/07/2023, 10:01:04] [@fjs21/homebridge-blueair] Restoring existing accessory from cache: Office
[15/07/2023, 10:01:06] [@fjs21/homebridge-blueair] Office of type "classic_490i" initialized.
[15/07/2023, 10:01:06] [@fjs21/homebridge-blueair] Removing stale Service: uuid:[00000043-0000-1000-8000-0026BB765291]
[15/07/2023, 10:01:06] [@fjs21/homebridge-blueair] Restoring existing accessory from cache: Guest Bedroom
[15/07/2023, 10:01:06] [@fjs21/homebridge-blueair] Guest Bedroom of type "classic_490i" initialized.
[15/07/2023, 10:01:06] [@fjs21/homebridge-blueair] Removing stale Service: uuid:[00000043-0000-1000-8000-0026BB765291]
[15/07/2023, 10:01:12] [@fjs21/homebridge-blueair] This plugin generated a warning from the characteristic 'PM2.5 Density': Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway.. See https://homebridge.io/w/JtMGR for more info.
[15/07/2023, 10:01:12] [@fjs21/homebridge-blueair] This plugin generated a warning from the characteristic 'VOC Density': Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway.. See https://homebridge.io/w/JtMGR for more info.
[15/07/2023, 10:01:12] [@fjs21/homebridge-blueair] This plugin generated a warning from the characteristic 'Air Quality': Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway.. See https://homebridge.io/w/JtMGR for more info.
[15/07/2023, 10:01:12] [@fjs21/homebridge-blueair] This plugin generated a warning from the characteristic 'Current Relative Humidity': Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway.. See https://homebridge.io/w/JtMGR for more info.
[15/07/2023, 10:01:12] [@fjs21/homebridge-blueair] This plugin generated a warning from the characteristic 'Carbon Dioxide Detected': Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway.. See https://homebridge.io/w/JtMGR for more info.
TypeError: Cannot read properties of undefined (reading 'updateCharacteristic')
at BlueAirPlatformAccessory.updateLED (/usr/local/lib/node_modules/@fjs21/homebridge-blueair/src/platformAccessory.ts:542:24)
at BlueAirPlatformAccessory.updateAccessoryCharacteristics (/usr/local/lib/node_modules/@fjs21/homebridge-blueair/src/platformAccessory.ts:360:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[15/07/2023, 10:01:13] [@fjs21/homebridge-blueair] Child bridge process ended
[15/07/2023, 10:01:13] [@fjs21/homebridge-blueair] Process Ended. Code: 1, Signal: null
[15/07/2023, 10:01:20] [@fjs21/homebridge-blueair] Restarting Process...
[15/07/2023, 10:01:21] [@fjs21/homebridge-blueair] Launched child bridge with PID 1441
[15/07/2023, 10:01:23] Registering platform '@fjs21/homebridge-blueair.BlueAir'
[15/07/2023, 10:01:23] [@fjs21/homebridge-blueair] Loaded @fjs21/homebridge-blueair v1.3.1 child bridge successfully
[15/07/2023, 10:01:23] Loaded 4 cached accessories from cachedAccessories.0ED5A55EF1C5.
[15/07/2023, 10:01:23] [@fjs21/homebridge-blueair] base_API_url: https://api.blueair.io/v2/user/[email protected]/homehost/
[15/07/2023, 10:01:23] [@fjs21/homebridge-blueair] Loading accessory from cache: Master Bedroom
[15/07/2023, 10:01:23] [@fjs21/homebridge-blueair] Loading accessory from cache: Baby Room
[15/07/2023, 10:01:23] [@fjs21/homebridge-blueair] Loading accessory from cache: Office
[15/07/2023, 10:01:23] [@fjs21/homebridge-blueair] Loading accessory from cache: Guest Bedroom
[15/07/2023, 10:01:23] Homebridge v1.6.1 (HAP v0.11.1) (@fjs21/homebridge-blueair) is running on port 55148.
[15/07/2023, 10:01:24] [@fjs21/homebridge-blueair] Got homehost: api-us-east-1.blueair.io
[15/07/2023, 10:01:26] [@fjs21/homebridge-blueair] x-auth-token: eyJhbGciOiJIUzI1NiJ9.eyJ1c2VybmFtZSI6Im1yam9obkBnbWFpbC5jb20iLCJqdGkiOiI5OTYyYzMyYi0yNDVhLTQ3ZmEtYjUzMS01YTNhODViMzQxZTYiLCJleHAiOjE3MjA5MjYwODYyNTAsImV4cGlyYXRpb25EYXRlIjoxNzIwOTI2MDg2MjUwfQ.zG8ukqArevda-MjMnncFFog1VbXwx2n-ywmAOt13XSc
[15/07/2023, 10:01:27] [@fjs21/homebridge-blueair] Found 4 devices.
[15/07/2023, 10:01:27] [@fjs21/homebridge-blueair] Restoring existing accessory from cache: Master Bedroom
[15/07/2023, 10:01:28] [@fjs21/homebridge-blueair] Master Bedroom of type "sense+" initialized.
[15/07/2023, 10:01:28] [@fjs21/homebridge-blueair] Removing stale Service: uuid:[00000043-0000-1000-8000-0026BB765291]
[15/07/2023, 10:01:28] [@fjs21/homebridge-blueair] Restoring existing accessory from cache: Baby Room
[15/07/2023, 10:01:29] [@fjs21/homebridge-blueair] Baby Room of type "classic_490i" initialized.
[15/07/2023, 10:01:29] [@fjs21/homebridge-blueair] Removing stale Service: uuid:[00000043-0000-1000-8000-0026BB765291]
[15/07/2023, 10:01:29] [@fjs21/homebridge-blueair] Restoring existing accessory from cache: Office
[15/07/2023, 10:01:30] [@fjs21/homebridge-blueair] Office of type "classic_490i" initialized.
[15/07/2023, 10:01:30] [@fjs21/homebridge-blueair] Removing stale Service: uuid:[00000043-0000-1000-8000-0026BB765291]
[15/07/2023, 10:01:30] [@fjs21/homebridge-blueair] Restoring existing accessory from cache: Guest Bedroom
[15/07/2023, 10:01:31] [@fjs21/homebridge-blueair] Guest Bedroom of type "classic_490i" initialized.
[15/07/2023, 10:01:31] [@fjs21/homebridge-blueair] Removing stale Service: uuid:[00000043-0000-1000-8000-0026BB765291]
[15/07/2023, 10:01:37] [@fjs21/homebridge-blueair] This plugin generated a warning from the characteristic 'PM2.5 Density': Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway.. See https://homebridge.io/w/JtMGR for more info.
[15/07/2023, 10:01:37] [@fjs21/homebridge-blueair] This plugin generated a warning from the characteristic 'VOC Density': Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway.. See https://homebridge.io/w/JtMGR for more info.
[15/07/2023, 10:01:37] [@fjs21/homebridge-blueair] This plugin generated a warning from the characteristic 'Air Quality': Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway.. See https://homebridge.io/w/JtMGR for more info.
[15/07/2023, 10:01:37] [@fjs21/homebridge-blueair] This plugin generated a warning from the characteristic 'Current Relative Humidity': Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway.. See https://homebridge.io/w/JtMGR for more info.
[15/07/2023, 10:01:37] [@fjs21/homebridge-blueair] This plugin generated a warning from the characteristic 'Carbon Dioxide Detected': Characteristic not in required or optional characteristic section for service AirPurifier. Adding anyway.. See https://homebridge.io/w/JtMGR for more info.
TypeError: Cannot read properties of undefined (reading 'updateCharacteristic')
at BlueAirPlatformAccessory.updateLED (/usr/local/lib/node_modules/@fjs21/homebridge-blueair/src/platformAccessory.ts:542:24)
at BlueAirPlatformAccessory.updateAccessoryCharacteristics (/usr/local/lib/node_modules/@fjs21/homebridge-blueair/src/platformAccessory.ts:360:10)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
[15/07/2023, 10:01:37] [@fjs21/homebridge-blueair] Child bridge process ended
[15/07/2023, 10:01:37] [@fjs21/homebridge-blueair] Process Ended. Code: 1, Signal: null
[15/07/2023, 10:01:44] [@fjs21/homebridge-blueair] Restarting Process...

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.