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 Sense+ filter and Aware sensors #61

Open
mlkh0225 opened this issue Jan 1, 2024 · 2 comments
Open

Add support for Sense+ filter and Aware sensors #61

mlkh0225 opened this issue Jan 1, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@mlkh0225
Copy link

mlkh0225 commented Jan 1, 2024

Hi,

Currently trying to setup Sense+ filter and Aware sensors for HA, but kept getting error 'wifi_status' and fail

2024-01-01 13:32:07.471 DEBUG (MainThread) [blueair_api.util_http] response status: 200
2024-01-01 13:32:07.473 DEBUG (MainThread) [blueair_api.util_http] response raw: [{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"auto_mode_dependency","currentValue":"pm","defaultValue":"pm"},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"brightness","currentValue":"4","defaultValue":"0"},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"child_lock","currentValue":"0","defaultValue":"0"},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"dealerCountry","currentValue":"","defaultValue":""},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"dealerName","currentValue":"","defaultValue":""},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"fan_speed","currentValue":"1","defaultValue":"0"},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"fan_usage","currentValue":"0;0;0;0;0;51840","defaultValue":""},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"filterType","currentValue":"row","defaultValue":"row"},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"filter_status","currentValue":"OK","defaultValue":""},{"userId":434707,"uuid":"2503466FF88007A2","scope":"device","name":"mode","currentValue":"auto","defaultValue":"auto"},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"model","currentValue":"Blueair Sense+","defaultValue":"Blueair Sense+"},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"purchaseDate","currentValue":"","defaultValue":""},{"userId":99963,"uuid":"2503466FF88007A2","scope":"device","name":"serial","currentValue":"","defaultValue":""}]
2024-01-01 13:32:07.473 DEBUG (MainThread) [blueair_api.device] result: {'auto_mode_dependency': 'pm', 'brightness': '4', 'child_lock': '0', 'dealerCountry': '', 'dealerName': '', 'fan_speed': '1', 'fan_usage': '0;0;0;0;0;51840', 'filterType': 'row', 'filter_status': 'OK', 'mode': 'auto', 'model': 'Blueair Sense+', 'purchaseDate': '', 'serial': ''}
2024-01-01 13:32:07.473 ERROR (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] 'wifi_status'
2024-01-01 13:32:07.474 DEBUG (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] Finished fetching ha_blueair-Sense+ data in 0.214 seconds (success: False)
@dahlb
Copy link
Owner

dahlb commented Jan 13, 2024

I expect 1.8.5 will fix this

@mlkh0225
Copy link
Author

@dahlb Sense+ can now be added to HA, however Aware is still getting errors, this time 'filter_status'
Since Aware is a sensor only device and pairs with the filter only Sense, they can't be treated normal filters

2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.util_http] response headers:<CIMultiDict('Content-Encoding': 'gzip', 'Content-Type': 'application/json;charset=UTF-8', 'Date': 'Thu, 18 Jan 2024 05:50:24 GMT', 'Server': 'nginx/1.12.1', 'Vary': 'Accept-Encoding,Accept-Encoding', 'Transfer-Encoding': 'chunked', 'Connection': 'keep-alive')>
2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.util_http] response status: 200
2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.util_http] response raw: [{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"brightness","currentValue":"100","defaultValue":"100"},{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"child_lock","currentValue":"0","defaultValue":"0"},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"dealerCountry","currentValue":"","defaultValue":""},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"dealerName","currentValue":"","defaultValue":""},{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"fan_speed","currentValue":"0","defaultValue":"0"},{"userId":434707,"uuid":"2C01466DB5D045F1","scope":"device","name":"mode","currentValue":"manual","defaultValue":"manual"},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"model","currentValue":"Blueair Aware","defaultValue":"Blueair Aware"},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"purchaseDate","currentValue":"","defaultValue":""},{"userId":99963,"uuid":"2C01466DB5D045F1","scope":"device","name":"serial","currentValue":"","defaultValue":""}]
2024-01-18 13:50:24.806 DEBUG (MainThread) [blueair_api.device] result: {'brightness': '100', 'child_lock': '0', 'dealerCountry': '', 'dealerName': '', 'fan_speed': '0', 'mode': 'manual', 'model': 'Blueair Aware', 'purchaseDate': '', 'serial': ''}
2024-01-18 13:50:24.806 ERROR (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] 'filter_status'
2024-01-18 13:50:24.808 DEBUG (MainThread) [custom_components.ha_blueair.blueair_data_update_coordinator] Finished fetching ha_blueair-Aware data in 0.234 seconds (success: False)

@dahlb dahlb added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers and removed bug Something isn't working labels Jan 18, 2024
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

2 participants