Giter Club home page Giter Club logo

Comments (67)

fjs21 avatar fjs21 commented on August 17, 2024 1

Support added in v0.8.6

from homebridge-blueair.

blaqkatom avatar blaqkatom commented on August 17, 2024 1

211i hw version: nb_h_1.0
311i+ hw version: nb_m_1.0

Both DO have night mode.

from homebridge-blueair.

lbcastro avatar lbcastro commented on August 17, 2024

Hi

Thanks a lot for developing this plugin.

My device is recognized as 'classic_405'. Here's the product page:
https://www.blueair.com/en-hk/air-purifiers/classic-405/global-1599.html

TLDR capabilities list: Wifi enabled, 3 speed settings, no air sensors.

Thanks and happy new year!

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

Hi

Thanks a lot for developing this plugin.

My device is recognized as 'classic_405'. Here's the product page: https://www.blueair.com/en-hk/air-purifiers/classic-405/global-1599.html

TLDR capabilities list: Wifi enabled, 3 speed settings, no air sensors.

Thanks and happy new year!

Added in v0.8.2

from homebridge-blueair.

lensherm avatar lensherm commented on August 17, 2024

I think the "i" models have sensors and the non "i" do not. In either case, my 480i has temp, humidity, air quality, voc, etc.

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

Thanks @lensherm. I have added 'classic_480i' to the list of supported devices. See v0.8.3.

from homebridge-blueair.

lensherm avatar lensherm commented on August 17, 2024

Thank you @fjs21

Now all seems to be working, in terms of the data from the accessories being populated and able to be controlled.

I'm seeing the below in the log:

===============================================================

[1/3/2022, 1:46:17 PM] [HB Supervisor] Restarting Homebridge...
[1/3/2022, 1:46:17 PM] [HB Supervisor] Starting Homebridge with extra flags: -I -P /homebridge/node_modules
[1/3/2022, 1:46:18 PM] [HB Supervisor] Started Homebridge v1.3.9 with PID: 2260
[1/3/2022, 1:46:18 PM] Loaded config.json with 0 accessories and 2 platforms.
[1/3/2022, 1:46:18 PM] Loaded 3 cached accessories from cachedAccessories.
[1/3/2022, 1:46:18 PM] ---
[1/3/2022, 1:46:19 PM] Loaded plugin: @fjs21/[email protected]
[1/3/2022, 1:46:19 PM] Registering platform '@fjs21/homebridge-blueair.BlueAir'
[1/3/2022, 1:46:19 PM] ---
[1/3/2022, 1:46:19 PM] Loaded plugin: [email protected]
[1/3/2022, 1:46:19 PM] Registering platform 'homebridge-config-ui-x.config'
[1/3/2022, 1:46:19 PM] ---
[1/3/2022, 1:46:19 PM] Loading 2 platforms...
[1/3/2022, 1:46:19 PM] [Config] Initializing config platform...
[1/3/2022, 1:46:19 PM] [Config] Running in Service Mode
[1/3/2022, 1:46:19 PM] [BlueAir] Initializing BlueAir platform...
[1/3/2022, 1:46:19 PM] [BlueAir] base_API_url: https://api.blueair.io/v2/user/[email protected]/homehost/
[1/3/2022, 1:46:19 PM] [BlueAir] Loading accessory from cache: Downstairs
[1/3/2022, 1:46:19 PM] [BlueAir] Loading accessory from cache: Living Room
[1/3/2022, 1:46:19 PM] [BlueAir] Loading accessory from cache: Len’s Classic 480i
Setup Payload:
X-HM://00254CH2VYGBW
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

xxx-xxx-xxx

[1/3/2022, 1:46:19 PM] Homebridge v1.3.9 (HAP v0.9.8) (Homebridge DDA3) is running on port 53003.
[1/3/2022, 1:46:19 PM] [BlueAir] Got homehost: api-us-east-1.blueair.io
[1/3/2022, 1:46:19 PM] [BlueAir] x-auth-token: abcdefghijklmnop
[1/3/2022, 1:46:20 PM] [BlueAir] Found 3 devices.
[1/3/2022, 1:46:25 PM] [BlueAir] BlueAir AWS API: error - Time out on BlueAir AWS connection.
[1/3/2022, 1:46:25 PM] [BlueAir] { message: 'Unauthorized' }
[1/3/2022, 1:46:25 PM] [BlueAir] Restoring existing accessory from cache: Downstairs
[1/3/2022, 1:46:25 PM] [BlueAir] Downstairs of type "classic_605" initialized.
[1/3/2022, 1:46:25 PM] [BlueAir] Restoring existing accessory from cache: Living Room
[1/3/2022, 1:46:25 PM] [BlueAir] Living Room of type "classic_605" initialized.
[1/3/2022, 1:46:25 PM] [BlueAir] Restoring existing accessory from cache: Len’s Classic 480i
[1/3/2022, 1:46:25 PM] [BlueAir] Len’s Classic 480i of type "classic_480i" initialized.
[1/3/2022, 1:49:10 PM] [BlueAir] BlueAir API: error - Time out on BlueAir connection.
[1/3/2022, 1:49:10 PM] [BlueAir] Len’s Classic 480i: getDeviceInfo failed.
[1/3/2022, 1:49:10 PM] [BlueAir] updateAccessoryCharacteristic failed (2F0146653E5085F2)
[1/3/2022, 2:06:26 PM] [BlueAir] BlueAir API: error - Time out on BlueAir connection.
[1/3/2022, 2:06:26 PM] [BlueAir] Len’s Classic 480i: getDeviceDatapoint failed.
[1/3/2022, 2:06:26 PM] [BlueAir] updateAccessoryCharacteristic failed (2F0146653E5085F2)_

===============================================================

from homebridge-blueair.

lensherm avatar lensherm commented on August 17, 2024

On a related note, the "i" series purifiers I've seen so far have an optional Auto fan mode, which controls the fan speed, based on detected particulates.

Just in case it would be helpful, I captured some message payloads from the purifier, as I switch it through various fan modes, using Node Red and am including them below:


Turned off
===========================
msg.payload : Object
object
PM2_5Density: 0
VOCDensity: 242
AirQuality: 1
CurrentRelativeHumidity: 38
CarbonDioxideDetected: 0
Active: 0
CurrentAirPurifierState: 0
TargetAirPurifierState: 0
LockPhysicalControls: 0
RotationSpeed: 1
===========================


Switching to Speed 1
===========================
msg.payload : Object
object
PM2_5Density: 0
VOCDensity: 228
AirQuality: 1
CurrentRelativeHumidity: 38
CarbonDioxideDetected: 0
Active: 1
CurrentAirPurifierState: 2
TargetAirPurifierState: 0
LockPhysicalControls: 0
RotationSpeed: 34
===========================


Switching to speed 2
===========================
msg.payload : Object
object
PM2_5Density: 0
VOCDensity: 228
AirQuality: 1
CurrentRelativeHumidity: 38
CarbonDioxideDetected: 0
Active: 1
CurrentAirPurifierState: 2
TargetAirPurifierState: 0
LockPhysicalControls: 0
RotationSpeed: 67
===========================


Switching to speed 3
===========================
msg.payload : Object
object
PM2_5Density: 0
VOCDensity: 191
AirQuality: 1
CurrentRelativeHumidity: 39
CarbonDioxideDetected: 0
Active: 1
CurrentAirPurifierState: 2
TargetAirPurifierState: 0
LockPhysicalControls: 0
RotationSpeed: 100
===========================


Switching to Auto
===========================
msg.payload : Object
object
PM2_5Density: 0
VOCDensity: 191
AirQuality: 1
CurrentRelativeHumidity: 39
CarbonDioxideDetected: 0
Active: 1
CurrentAirPurifierState: 2
TargetAirPurifierState: 1
LockPhysicalControls: 0
RotationSpeed: 34
===========================

Switching to Speed 1
===========================
msg.payload : Object
object
PM2_5Density: 0
VOCDensity: 191
AirQuality: 1
CurrentRelativeHumidity: 39
CarbonDioxideDetected: 0
Active: 1
CurrentAirPurifierState: 2
TargetAirPurifierState: 0
LockPhysicalControls: 0
RotationSpeed: 34
===========================

Switching to Auto
===========================
msg.payload : Object
object
PM2_5Density: 0
VOCDensity: 161
AirQuality: 1
CurrentRelativeHumidity: 39
CarbonDioxideDetected: 0
Active: 1
CurrentAirPurifierState: 2
TargetAirPurifierState: 1
LockPhysicalControls: 0
RotationSpeed: 34
===========================

From above, it looks like the TargetAirPurifierState shows whether the purifier is in Auto Mode or not, with 1 being Auto and 0 being Manual.

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

Yes. Auto mode is already supported in the current version. Long press the air purifier and scroll down. You can see set Auto by setting "Mode" to Auto. Child lock is also supported as well.

Note: the time out errors are sporadic and seem to be related to the API used by BlueAir. I could setting longer time outs but we would get errors from Homebridge/Homekit.

from homebridge-blueair.

canerdianeh avatar canerdianeh commented on August 17, 2024

classic_580i and classic_505 here.

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

classic_580i and classic_505 here.

Hi @canerdianeh, I assume the 580i has sensors and the 505 has no sensors?

from homebridge-blueair.

canerdianeh avatar canerdianeh commented on August 17, 2024

I believe that is correct.

from homebridge-blueair.

canerdianeh avatar canerdianeh commented on August 17, 2024

On a completely unrelated note, would you be interested working with me in building a HB plugin for the Tempest weather station? It makes its data available via UDP broadcast… I’ve done some code to listen to this in python, but I’ve got no experience with node or making a HB plugin.

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

Support for "classic_580i" and "classic_505" added in v0.8.4.

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

On a completely unrelated note, would you be interested working with me in building a HB plugin for the Tempest weather station? It makes its data available via UDP broadcast… I’ve done some code to listen to this in python, but I’ve got no experience with node or making a HB plugin.

I'm always happy to help. I suggest you join the Discord channel for homebridge and post your questions there. I found the community is very helpful. Looking at existing plugins and the recommended plugin template helped me a lot when I was getting started.

from homebridge-blueair.

motaker avatar motaker commented on August 17, 2024

Hi, please add classic_205 (without sensor model).

from homebridge-blueair.

canerdianeh avatar canerdianeh commented on August 17, 2024

Excellent... can confirm it works on the 580i - and it is even showing a CO2 sensor that even the native app lacks...

from homebridge-blueair.

avis avatar avis commented on August 17, 2024

Hi there!
LivingRoom of type "sense+" initialized.
[BlueAir] LivingRoom: device type not recognized, contact developer via GitHub.
Let me know if there's a way to get capabilities.
Thanks!

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

I added "sense+" as a classic type device. This supports setting the device fan speed and on/off but does not have sensors (temp, air quality, humidity). Please see v0.8.7

from homebridge-blueair.

ayame-q avatar ayame-q commented on August 17, 2024

Hello!
Can you please add "classic_290i" with temp/hum/air quality sensors?
Thank you.

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

Added in v0.8.8

from homebridge-blueair.

ghazel avatar ghazel commented on August 17, 2024

[1/15/2022, 8:13:19 AM] [BlueAir] Sniffy of type "aware" initialized.
[1/15/2022, 8:13:19 AM] [BlueAir] Sniffy: device type not recognized, contact developer via GitHub.

BlueAir Aware has PM 2.5, VOC, CO2, temperature and humidity.

The old bluerair plugin still kinda works with this device type.

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

Added in v0.8.9

from homebridge-blueair.

ghazel avatar ghazel commented on August 17, 2024

Added in v0.8.9

Thank you!

A few minor things:

  • This prints Sniffy: no filter_status found. a lot (the Aware has no filter), but that seems to be harmless.
  • It's a little strange that I can't change the Room setting for the Humidity or Temperature sensor, but I can change the Room for the Air Quality sensor, which changes the others. Not a big deal (obviously the device can only be in one room), but on other integrations I've seen it's possible to change any of the sensors and they all change.
  • The Humidity and Temperature sensors don't show Manufacturer / Serial Number / etc section at the bottom (possibly related to the above). Makes it a little difficult to identify them.

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

Added in v0.8.9

Thank you!

A few minor things:

  • This prints Sniffy: no filter_status found. a lot (the Aware has no filter), but that seems to be harmless.
  • It's a little strange that I can't change the Room setting for the Humidity or Temperature sensor, but I can change the Room for the Air Quality sensor, which changes the others. Not a big deal (obviously the device can only be in one room), but on other integrations I've seen it's possible to change any of the sensors and they all change.
  • The Humidity and Temperature sensors don't show Manufacturer / Serial Number / etc section at the bottom (possibly related to the above). Makes it a little difficult to identify them.

I’ll have to code a new sensor only accessory. Can you tell me what capabilities it has? Air quality, humidity and temperature. Anything else?

from homebridge-blueair.

ghazel avatar ghazel commented on August 17, 2024

PM 2.5, VOC, CO2, temperature and humidity. Oh, and an LED.

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

Thanks. This should be addressed in v0.9. I added a new accessory type which includes the sensors but strips out the air purifier and filter maintenance services from the accessory. Let me know if it works and if you are getting any warnings/errors in the log. I can't test fully as I don't have this type of device.

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@Phunkadilic Can you please post your logs for your Health Protect 7710i? Specifically, I'm looking for something like this...
This device is not yet supported. Device Type:

from homebridge-blueair.

Phunkadilic avatar Phunkadilic commented on August 17, 2024

@jonato1, no problem! If you need the full log, I can paste that as well. For now, here is the line you requested: This device is not yet supported. Device Type: low_1.4

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@Phunkadilic v1.0.5 should be out - let me know if your HealthProtect 7710i is working now or if you see any issues.

from homebridge-blueair.

Phunkadilic avatar Phunkadilic commented on August 17, 2024

@Phunkadilic v1.0.5 should be out - let me know if your HealthProtect 7710i is working now or if you see any issues.

@jonato1, sweet! Both 7710i purifiers are now showing in HomeKit with the AWS option box checked. Thanks a ton! I have a couple questions… is there a feature list I can use to add features or are all available features available. Mainly, is there a way to run “auto” mode from HomeKit?

Secondly, what’s the easiest way to donate to this project. It seems you’ve maybe taken over for fjs21? I want to donate to you both for your hard work and responsive/quick turnaround and updates and improvements.

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@Phunkadilic For features, I would say you could open up "Issues" in GitHub and they can be tagged/tracked as features - that is probably the easiest way.

To enable Auto mode, do the instructions here satisfy what you are looking for? If not, feel free to open an issue to track.

Lastly, I appreciate the willingness to donate. I will say, I have not taken over for @fjs21, but rather just stepped in to offer what I could on this specific AWS issue (I had a DustProtect myself and had enough motivation, time, and expertise to make it happen). I would not have been able to do what I had done (and so quickly) without the foundation that Fraser had in place and the quick responses on his end to code review and publish.

If you'd like to donate, I believe Fraser has a Sponsor profile set up. I don't have one set up yet (just found out about it), but I've got PayPal and Venmo if you feel so inclined 😄 Thanks!

from homebridge-blueair.

jimbee25 avatar jimbee25 commented on August 17, 2024

Please can you add the Classic 690i? https://www.blueair.com/my/air-purifiers/classic-690i/global-9997.html

I believe this is just the international version of the Classic 680i sold in the US. It looks like the features are the same.

Thanks!

from homebridge-blueair.

9zero8 avatar 9zero8 commented on August 17, 2024

Any chance on support for 7470i?

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

@9zero8 can you check the log and tell me what it says on this line:

This device is not yet supported. Device Type: XXXXX

from homebridge-blueair.

9zero8 avatar 9zero8 commented on August 17, 2024

@9zero8 can you check the log and tell me what it says on this line:

This device is not yet supported. Device Type: XXXXX

@fjs21 It does not say anything like that. It looks like it connects, it gets a host name then ends with "Blueair BridgeBlueAirFound 0 devices."

from homebridge-blueair.

frictionlessDevelopments avatar frictionlessDevelopments commented on August 17, 2024

Hello, I have a BlueAir 7470i as well. Browsing through the platform.ts it seems like support for 7470i has been added.

case 'high_1.5': // HealthProtect 7470i

However, on the Home App, it identifies itself as a DustProtect.

Do let me know if I can provide any information to help.

Edit: 01-Aug I noticed that the following are missing

  1. night mode
  2. humidity sensor
  3. temp sensor

from homebridge-blueair.

fjs21 avatar fjs21 commented on August 17, 2024

The Model text is hardcoded into the Accessory code as 'DustProtect'. So that's not a major concern. The accessory running both is the same.

The accessory supports NightMode as a switch, GermShield as a switch, but I don't see any mention of a temp sensor.

@jonato1 has been providing support for the Amazon AWS API based devices as I do not own one of these.

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@frictionlessDevelopments i can work on trying to fix the hard coded reference to "DustProtect".

For your other notes, nightmode should be supported as an on/off switch in HomeKit.

The temp and humidity sensors are not something I ever added as I didn't have insight into the code they returned. When I get some time later this week, I can send some questions over to you that should help narrow that down.

Thanks,
Jon

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@frictionlessDevelopments Can you confirm that you were able to utilize nightmode? Also, for the temp and humidity sensors, can you do the following to assist?

  1. If needed, download and install Postman.
  2. Import this collection here.
  3. In the collection variables, enter your username and password.
  4. Run the commands in order until you get to "Get State".
  5. Copy the response of the "Get State" request into your next reply.

Thanks,
Jon

from homebridge-blueair.

frictionlessDevelopments avatar frictionlessDevelopments commented on August 17, 2024

@jonato1 hey jon, could share with me how does the night mode toggle look like? This is what I'm looking at when I load up my home.app. Thanks for looking into this.

Home.app, Purifier tile
Screen Shot 2022-08-16 at 21 16 33

Home.app -> Purifier tile -> Purifier -> Settings

Screen Shot 2022-08-16 at 21 17 42

Here's the response, with my uuid and mac address removed. If it matters, I used the EU variant of the postman collection shared in #24

https://gist.github.com/frictionlessDevelopments/225f72c94efdba22e5e03ca866f5e872

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@fjs21 Can you review my latest commits and publish a release at your earliest convenience?

@frictionlessDevelopments The nightmode switch should show up as a separate on/off switch just like GermShield. Can you enable debugging logging on your Homebridge and see if you see any errors or logs containing the keyword "nightmare"?

Thanks,
Jon

from homebridge-blueair.

frictionlessDevelopments avatar frictionlessDevelopments commented on August 17, 2024

Hey @jonato1 I downloaded the new update and enabled debug log. I can now see the temperature and humidity sensors.

There's no keyword "nightmare" in the debug log. If my understanding of the log is correct, it's able to detect the nightmode state but the tile/switch is not created on the home.app.

[17/08/2022, 20:14:40] [BlueAir] Accessory State (#1): { n: 'germshield', vb: true, t: 1660738479 }
[17/08/2022, 20:14:40] [BlueAir] Accessory State (#2): { n: 'filterusage', v: 6, t: 1660738479 }
[17/08/2022, 20:14:40] [BlueAir] Accessory State (#3): { n: 'brightness', v: 25, t: 1660738479 }
[17/08/2022, 20:14:40] [BlueAir] Accessory State (#4): { n: 'standby', vb: false, t: 1660738479 }
[17/08/2022, 20:14:40] [BlueAir] Accessory State (#5): { n: 'fanspeed', v: 11, t: 1660738479 }
[17/08/2022, 20:14:40] [BlueAir] Accessory State (#6): { n: 'nightmode', vb: false, t: 1660738479 }
[17/08/2022, 20:14:40] [BlueAir] Accessory State (#7): { n: 'childlock', vb: false, t: 1660738479 }
[17/08/2022, 20:14:40] [BlueAir] Accessory State (#8): { n: 'safetyswitch', vb: true, t: 1660738479 }
[17/08/2022, 20:14:40] [BlueAir] Accessory State (#9): { n: 'mfv', v: 16777243, t: 1660738479 }
[17/08/2022, 20:14:40] [BlueAir] Accessory State (#10): { n: 'ofv', v: 33554968, t: 1660738479 }
[17/08/2022, 20:14:40] [BlueAir] Accessory State (#11): { n: 'automode', vb: true, t: 1660738479 }
[17/08/2022, 20:14:40] [BlueAir] Accessory State (#12): { t: 1660738479, vb: true, n: 'online' }

If it helps, I cleaned up the log a little to show only blueair related information.
https://gist.github.com/frictionlessDevelopments/b69f664dcba7784fa6ddb23309e0b473

Let me know if I can provide more information.

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

HI @frictionlessDevelopments - That is good news on the sensors! Do the readings in Home.app seem to match what you see in the Blueair app? If so, I think we should be good there.

As for my last message, I meant to say "nightmode", but alas - autocorrect. The logs are helpful, so thank you for those. I may need to dig into this one a bit more. I agree that the code is returning an Accessory State for nightmare, but the fact that it is not registering the switch is a bit odd. I'll have to see what the issue is here. I'll plan to follow up in the next week or so. You can see what it should look like below.

Other than that, is everything working as expected? Are there any other gaps you see from your end?

Thanks,
Jon
Screen Shot 2022-08-18 at 11 02 01 AM
Screen Shot 2022-08-18 at 11 02 12 AM

from homebridge-blueair.

frictionlessDevelopments avatar frictionlessDevelopments commented on August 17, 2024

Hey @jonato1 Yes the sensor readings on the Home App matches those with the Blueair App. Everything is working as expected. Thank you very much for your help!

homeAppPurifier

from homebridge-blueair.

ChristopherUC avatar ChristopherUC commented on August 17, 2024

I have 2 BlueAir 7710i that have temp, humidity, and germ protect modes the same as the 7470i. But they don't show up that way in HomeKit.

110% happy to pull logs or anything else to get the temp and humidity sensors in those working.

Thanks for ALL your great work!

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@ChristopherUC can you share screenshots of how they are showing up in HomeKit? Also, can you clarify what is not working as you would expect, and what the behavior is that you would want to see?

from homebridge-blueair.

ChristopherUC avatar ChristopherUC commented on August 17, 2024

Thanks @jonato1 Here are the screenshots from HomeKit.

image

image

image

Here are the ones from the BlueAir app.

image

image

image

From what I gathered from looking at the code, there is support for certain models (just not the 7710i?) to represent the on/off Staus of GermShield in HomeKit, as well as the temp/humidity sensors that are shown in the BlueAir app.

Finally, here's how it shows up in the Eve app, which is arguably more useful than the native Home app.

image

image

Finally, Here's where I suspect the change would need to be made...

image

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

You are 100% on point; I'll make the code change shortly. I initially misunderstood that the scope was for germ protect, temp and humidity simply not showing up (vs. something actually appearing incorrectly for them). Thanks for all of the info.

from homebridge-blueair.

ChristopherUC avatar ChristopherUC commented on August 17, 2024

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@ChristopherUC Truly no worries! Thanks for the collaboration. The fix is in and should be in the next build. @fjs21 should be able to provide clarity on timeline for when that will be, but it's usually a few days at most.

from homebridge-blueair.

blaqkatom avatar blaqkatom commented on August 17, 2024

Have on-hand the new Blue Pure 211i Max & 311i+ Max

Ran your Postman collection and am seeing type "NB" for both when running GET Registered Devices.

Both devices have auto mode, dynamic fan speed, child lock, LED, and PM 2.5 sensors. The 211i Max has PM 1 and PM 10 as well.

Let me know what other data you need to support.

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@blaqkatom Sweet! I may need a little bit of help getting the P1 and P10 sensors set up, but let's get the bulk of everything else first. To start, on the Postman collection for the "Get State" call, where the API endpoint ends in "...r/initial", can you provide me the "hw" version for each? The JSON path is deviceInfo.configuration.di.hw. Once I have that, I can push out a new release to have the bulk of this working.

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@blaqkatom Also, can you confirm that they do not have night mode?

from homebridge-blueair.

blaqkatom avatar blaqkatom commented on August 17, 2024

Thx for being so quick to respond. Looking forward to testing this once a version is spun up. Went from using dumb Blue 121s to now being connected like the rest of the household.

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@blaqkatom Of course! I was definitely working through some overall stability updates this weekend, but v1.2.1 is officially released and includes support for the Blue Pure 211i and 311i+ Max. Can you please test it out and let me know how it's looking?

from homebridge-blueair.

blaqkatom avatar blaqkatom commented on August 17, 2024

I’ve got it worked, but it’s very temperamental. Depending on steps after install, I’d end up with devices that would never respond. I’ve been constantly removing cached devices and reinstalling. Attempting to hide night mode or the led would break it. Using child bridge would break it.

All 4 controls work on each purifier: on/off, night mode, led, fan speed.

Let’s see whether things stay working. My goal is to merely toggle them on or off depending on contact sensors for windows, doors.

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

@blaqkatom Thanks for testing it out. It sounds like you're still seeing quite a bit of instability. Can you create a new issue with the following details (if you still have them in the Homebridge log):

  • OS
  • Node.js Version
  • mDNS Advertiser (in Homebridge Settings)
  • Details of what "breaks" when you toggle a particular feature toggle, or take a particular action
  • Logs of the issues you are seeing?

If you continue to have issues, can you try turning off all other plugins or child bridges, enable Homebridge Debug logging, and include more detailed logs?

from homebridge-blueair.

ChristopherUC avatar ChristopherUC commented on August 17, 2024

I’m seeing some odd behaviors after upgrading to 1.2.1. I have 2 Protect 7710i devices.

OS: Ubuntu Focal Fossa (20.04.5 LTS) [docker container]
Node.js version: 18.30.0
mDNS Advertiser: Bonjour HAP

Settings are:
{
"username": “is-set-correctly”,
"password": “is-set-correctly”,
"enableAWS": true,
"hideLED": false,
"hideAirQualitySensor": false,
"hideCO2Sensor": true,
"hideTemperatureSensor": false,
"hideHumiditySensor": false,
"hideGermShield": true,
"hideNightMode": true,
"region": "us",
"_bridge": {
"username": "is-set-correctly-so-is-port",
"port": 11111
},
"platform": "BlueAir"
},

I’m showing Temp sensor readings that are always : 32 degrees.
And Humidity sensor readings that are always: 0% humidity.

I removed one of my cached devices and after restart I get the following errors:

[4/18/2023, 10:56:42 AM] [@js21/homebridge-blueair] This plugin slows down Homebridge. The read handler for the charact eristic 'Active' was slow to respond! See https: //homebridge .io/w/JtMGR for more info.
[4/18/2023, 10:56:44 AM] [@fjs21/homebridge-blueair] BlueAir
AWS API: error - Time out on BlueAir Aws connection.
[4/18/2023, 10:56:44 AM] [@fjs21/homebridge-blueair] Upstair
s: getDeviceInfo failed.
[4/18/2023, 10:56:44 AM] [@fjs21/homebridge-blueair] Upstair
s: getDeviceInfo error. TypeError: Cannot read properties of undefined (reading 'configuration')
at BlueAirDustProtectAccessory.updateDevice (/homebridge /node modules/@fjs21/homebridge-blueair/src/platformAccessor y_DustProtect.ts:223:54)
at BlueAirDustProtectAccessory.updateAccessoryCharacteri stics/homebridge/node_modules/@fjs21/homebridge-blueair/sr c/platformAccessory DustProtect.ts:352:29)
at BlueAirDustProtectAccessory.handleAirPurifierActiveGe t/homebridge/node_modules/@fjs21/homebridge-blueair/src/pl atformAccessory_ DustProtect.ts:270:5)
[4/18/2023,
, 10:56:44 AM] [@fjs21/homebridge-blueair] update
ccessoryCharacteristic failed (14e9a02c-adbd-417d-8678-0fcd4
8d0ebe5)
[4/18/2023, 10:56:44 AM] [@js21/homebridge-blueair] BlueAir
AWS API: error - Time out on BlueAir AwS connection.
[4/18/2023, 10:56:44 AM] [@fjs21/homebridge-blueair] Downsta irs Purifier: getDeviceInfo failed.
[4/18/2023, 10:56:44 AM] (@fjs21/homebridge-blueair] Downsta irs Purifier: getDeviceInfo error. TypeError: Cannot read pr operties of undefined (reading 'configuration')
at BlueAirDustProtectAccessory.updateDevice ( / homebridge /node modules/@fjs21/homebridge-blueair/src/platformAccessor y_DustProtect.ts:223:54)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers: 533:9) at processTimers (node:internal/timers: 507:7)
at BlueAirDustProtectAccessory.updateAccessoryCharacteri stics /homebridge/node modules/@fjs21/homebridge-blueair/sr c/platformAccessory_DustProtect.ts:352:29)
at BlueAirDustProtectAccessory.handleAirPurifierActiveGe tI/homebridge/node_modules/@fjs21/homebridge-blueair/src/pl atformAccessory DustProtect.ts:270:5)
[4/18/2023, 10:56:44 AM] [@fjs21/homebridge-blueair] update ccessoryCharacteristic failed (1d6d8418-e548-4ba0-99b1-cf9d0

Forgive the odd added spaces from my copy paste the errors don’t have them in the log.

Thanks!

Christopher

from homebridge-blueair.

kjohn avatar kjohn commented on August 17, 2024

@jonato1 I see you have added compatibility for the Classic 680i / Classic 690i. Could you please add compatibility for the Classic 480i / Classic 490i? Thank you.

[08/06/2023, 23:01:24] [@fjs21/homebridge-blueair] Restoring existing accessory from cache: Office
[08/06/2023, 23:01:25] [@fjs21/homebridge-blueair] Office of type "classic_490i" initialized.
[08/06/2023, 23:01:25] [@fjs21/homebridge-blueair] Restoring existing accessory from cache: Guest Bedroom
[08/06/2023, 23:01:25] [@fjs21/homebridge-blueair] Office: device type not recognized, contact developer via GitHub.
[08/06/2023, 23:01:25] [@fjs21/homebridge-blueair] classic_490i: compatibility type not recognized.

from homebridge-blueair.

matt-timmons avatar matt-timmons commented on August 17, 2024

Hi there,
I just picked up a 311i Max (different from 311i+ Max) over the weekend, and it's not showing up in homebridge / "Found 0 devices" in homebridge log.

All features appear to be the same as the 311i+, including auto mode, dynamic fan speed, child lock, LED, and PM 2.5 sensors. No other PM sizes. I think the only difference is that the 311i+ has a more powerful fan.

I'm not an expert at homebridge but happy to provide any other info I can.

Thanks!

from homebridge-blueair.

mzruya avatar mzruya commented on August 17, 2024

Hey, I have two 411i Max devices which appear to not be supported yet.
They only showed up after I chose "AWS login" option, this was my log output:

[16/06/2023, 23:27:51] [BlueAir] Got homehost: api-us-east-1.blueair.io
[16/06/2023, 23:27:52] [BlueAir] x-auth-token: [redacted]
[16/06/2023, 23:27:52] [BlueAir] Found 0 devices.
[16/06/2023, 23:27:53] [BlueAir] ** AWS login complete **
[16/06/2023, 23:27:53] [BlueAir] Found 2 Blueair AWS-compatible devices.
[16/06/2023, 23:27:54] [BlueAir] Adding new accessory: 52ea1726-c7c1-44db-8973-a6e9bc37680d
[16/06/2023, 23:27:55] [BlueAir] 52ea1726-c7c1-44db-8973-a6e9bc37680d: device type not recognized, contact developer via GitHub.
[16/06/2023, 23:27:55] [BlueAir] This device is not yet supported. Device Type:  nb_l_1.0
[16/06/2023, 23:27:56] [BlueAir] Adding new accessory: 52ea1726-c7c1-44db-8973-a6e9bc37680d
[16/06/2023, 23:27:57] [BlueAir] 52ea1726-c7c1-44db-8973-a6e9bc37680d: device type not recognized, contact developer via GitHub.
[16/06/2023, 23:27:57] [BlueAir] This device is not yet supported. Device Type:  nb_l_1.0

from homebridge-blueair.

huangzdev avatar huangzdev commented on August 17, 2024

Hi there,

I am using Protect 7410i, it seems there is a bug when reading the temperature and also the humidity.

Here is the log:

[6/28/2023, 2:48:53 AM] [BlueAir] Master Bedroom Purifier: getDeviceInfo error. TypeError: Cannot read properties of undefined (reading '0') at BlueAirAwsApi.getAwsDeviceInfo (/volume1/homebridge/node_modules/@fjs21/homebridge-blueair/src/blueair-aws-api.ts:362:92) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at BlueAirDustProtectAccessory.updateDevice (/volume1/homebridge/node_modules/@fjs21/homebridge-blueair/src/platformAccessory_DustProtect.ts:218:20) at BlueAirDustProtectAccessory.updateAccessoryCharacteristics (/volume1/homebridge/node_modules/@fjs21/homebridge-blueair/src/platformAccessory_DustProtect.ts:352:29) at BlueAirDustProtectAccessory.handleTemperatureGet (/volume1/homebridge/node_modules/@fjs21/homebridge-blueair/src/platformAccessory_DustProtect.ts:300:5) [6/28/2023, 2:48:53 AM] [BlueAir] updateAccessoryCharacteristic failed (156abb63-2593-4d25-acfd-78e1d913a0cf)

from homebridge-blueair.

bdroths avatar bdroths commented on August 17, 2024

Hi, thanks for keeping this alive would you be able to add support for the 411i MAX.

auto mode, dynamic fan speed, child lock, LED, and PM 2.5 sensors, temp, humidity.

from homebridge-blueair.

jdsebo15 avatar jdsebo15 commented on August 17, 2024

Also have a 411i Max and would love support. Let me know if there is any Information that needs to be provided.

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

Hi there,

I am using Protect 7410i, it seems there is a bug when reading the temperature and also the humidity.

Here is the log:

[6/28/2023, 2:48:53 AM] [BlueAir] Master Bedroom Purifier: getDeviceInfo error. TypeError: Cannot read properties of undefined (reading '0') at BlueAirAwsApi.getAwsDeviceInfo (/volume1/homebridge/node_modules/@fjs21/homebridge-blueair/src/blueair-aws-api.ts:362:92) at runMicrotasks (<anonymous>) at processTicksAndRejections (node:internal/process/task_queues:96:5) at BlueAirDustProtectAccessory.updateDevice (/volume1/homebridge/node_modules/@fjs21/homebridge-blueair/src/platformAccessory_DustProtect.ts:218:20) at BlueAirDustProtectAccessory.updateAccessoryCharacteristics (/volume1/homebridge/node_modules/@fjs21/homebridge-blueair/src/platformAccessory_DustProtect.ts:352:29) at BlueAirDustProtectAccessory.handleTemperatureGet (/volume1/homebridge/node_modules/@fjs21/homebridge-blueair/src/platformAccessory_DustProtect.ts:300:5) [6/28/2023, 2:48:53 AM] [BlueAir] updateAccessoryCharacteristic failed (156abb63-2593-4d25-acfd-78e1d913a0cf)

@huangzdev Can you please open a new issue for this?

from homebridge-blueair.

jonato1 avatar jonato1 commented on August 17, 2024

Hello all - This issue has become quite large and difficult to track. For anyone that identifies bugs, unexpected behavior, or questions, please open a new issue. Additionally, if you need support added for a new model, please open a new issue and include the name of the Bluer Model, the following line(s) with the device type that you see in your logs, along with the capabilities of your model. For example:

Model Name: 411i Max
Capabilities: auto mode, dynamic fan speed, child lock, LED, and PM 2.5 sensors, temp, humidity.
Log(s):
classic_490i: compatibility type not recognized.
[BlueAir] This device is not yet supported. Device Type: nb_l_1.0

Thank you to all that have contributed so far! We look forward to seeing new issues flow in, and providing better tracking and support.

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.