Open MeeperBeeper opened 11 months ago
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...?
+1 for Classic 680i
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)
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.
"filterType" in the api has values "row" for Particle Filter and "cn" for SmokeStop Filter which has an additional charcoal layer
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?
Really nice integration! I also have a Classic 280i and would appreciate having the fan auto and sensor readings added.
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.