Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Classic 480i #57

Open
MeeperBeeper opened this issue Dec 18, 2023 · 7 comments
Open

Add support for Classic 480i #57

MeeperBeeper opened this issue Dec 18, 2023 · 7 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@MeeperBeeper
Copy link

Hello,

With the retirement of the other BlueAir HA Integration from HACS (https://github.com/aijayadams/hass-blueair) I found your integration.

As the title states, I have a Classic 480i. The BA login was successful and I can control the fan speed. Having the filter status is a nice new touch.

However, I don't have any of the sensor readings. The Temperature, Humidity, VOC, PM1, PM2.5, and PM10 are all missing. I'm not sure if I've done something wrong with it just being freshly installed.

I've also noticed that the other integration had CO2 and Total Pollution readouts but the official app doesn't have those sensors displayed so it might've been bogus.

I can help test new code or provide logs if desired. I looked under Settings -> System -> Logs and didn't find anything saying that your integration was having an error and that's why the sensor data wasn't appearing.

@SoccerCore11
Copy link

I have the Classic 680i and I would love to see the sensors get added also. They worked previously with the Ajay Adams repo, but I think I broke something and now I can't get that repo working again. I tried adding some debugging to the code in this repo, and it seems like the devices and entities aren't listed through the BlueAir AWS API if that's possible...?

@dahlb dahlb added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Dec 21, 2023
@neoge
Copy link

neoge commented Jan 21, 2024

+1 for Classic 680i

@norfolkmustard
Copy link

Hi,

We have 480i and 280i

the integration currently supports fan speed (0,1,2,3) but doesn't seems to show the fan mode (auto, manual)

I've had a quick look at the code and it may be because the api is returning a slightly different name for the attribute?

'mode' instead of 'fan_mode' ?

Here's the logs.

2024-05-06 15:48:41.226 DEBUG (MainThread) [blueair_api.util_http] response headers:<CIMultiDict('Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Mon, 06 May 2024 14:48:41 GMT', 'Server': 'nginx/1.12.1', 'Vary': 'Accept-Encoding,Accept-Encoding', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive')>
2024-05-06 15:48:41.227 DEBUG (MainThread) [blueair_api.util_http] response status: 200
2024-05-06 15:48:41.227 DEBUG (MainThread) [blueair_api.util_http] response raw: [{"userId":44876,"uuid":"","scope":"device","name":"auto_mode_dependency","currentValue":"pm_voc","defaultValue":"pm_voc"},{"userId":44876,"uuid":"","scope":"device","name":"brightness","currentValue":"1","defaultValue":"1"},{"userId":44876,"uuid":"","scope":"device","name":"child_lock","currentValue":"0","defaultValue":"1"},{"userId":44876,"uuid":"","scope":"device","name":"fan_speed","currentValue":"1","defaultValue":"2"},{"userId":44876,"uuid":"","scope":"device","name":"fan_usage","currentValue":"0;16670;2312;15;19017;32823","defaultValue":""},{"userId":null,"uuid":"","scope":"device","name":"filterType","currentValue":"cn","defaultValue":""},{"userId":44876,"uuid":"","scope":"device","name":"filter_status","currentValue":"OK","defaultValue":""},{"userId":44876,"uuid":"","scope":"device","name":"mode","currentValue":"auto","defaultValue":"manual"},{"userId":44876,"uuid":"","scope":"device","name":"wifi_status","currentValue":"1","defaultValue":""}]
2024-05-06 15:48:41.228 DEBUG (MainThread) [blueair_api.device] result: {'auto_mode_dependency': 'pm_voc', 'brightness': '1', 'child_lock': '0', 'fan_speed': '1', 'fan_usage': '0;16670;2312;15;19017;32823', 'filterType': 'cn', 'filter_status': 'OK', 'mode': 'auto', 'wifi_status': '1'}
2024-05-06 15:48:41.228 DEBUG (MainThread) [blueair_api.callbacks] 480i publishing updates
2024-05-06 15:48:41.228 DEBUG (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] Finished fetching ha_blueair-480i data in 0.058 seconds (success: True)

@norfolkmustard
Copy link

for ref:
"auto_mode_dependency" in the api has values "pm" and "pm_voc" which are the two choices of 'Triggers for Auto mode' in the Blueair app for the 280i/480i models.

D367E7A2-37E0-4F39-8BDF-46441007A306_1_201_a

@norfolkmustard
Copy link

"filterType" in the api has values "row" for Particle Filter and "cn" for SmokeStop Filter which has an additional charcoal layer

@niXta1
Copy link

niXta1 commented Jun 26, 2024

The 280i, 480i and 680i should work the same.
I have the 680i, any chance @dahlb would do a remote session and have a look?

@urbanOrange
Copy link

Really nice integration! I also have a Classic 280i and would appreciate having the fan auto and sensor readings added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants