blueair_api
Api Wrapper for BlueAir API using async in python. This was inspired by this guide to be a lightweight wrapper with simple error handling.
a lot of this is based on hass-blueair.
Features
- REST API — async device discovery, sensor polling, and control commands for both legacy and AWS-based Blueair devices.
- MQTT real-time updates — receive sensor data and device state changes via AWS IoT WebSocket with sub-second latency instead of 5-minute polling.
- Automatic reconnect with credential refresh — MQTT tokens expire after 24 hours; the client refreshes credentials and reconnects with exponential backoff on unexpected disconnects.
- Split AWS regions when needed — keep the normal single
regionsetting for most accounts, or configure separate Gigya account and BlueCloud device-control regions for accounts whose devices are hosted elsewhere. See AWS account and BlueCloud regions. - Data-driven SKU mapping — resolves device SKUs to human-readable product names via a built-in lookup table.
- Per-device hardware detection —
mood_brightness_maxandfan_speed_countadapt automatically based on the device's hardware identifier.
Metadata
Release files for blueair-api 1.56.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| blueair_api-1.56.2.tar.gz | 60.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blueair_api-1.56.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 101.4 kB
Release files / blueair_api-1.56.2.tar.gz
| Download URL | blueair_api-1.56.2.tar.gz |
|---|---|
| Size | 60.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa5d4a542788de71ed76b2f67a7d2089c27e55e931b0a20481722a1a43dc2e97
|
|
BLAKE2b-256 checksum How to use checksums |
31a64178474dfd8d8507f58759ef45fe37936ef7f1d8985ae4af618191678870
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / blueair_api-1.56.2-py3-none-any.whl
| Download URL | blueair_api-1.56.2-py3-none-any.whl |
|---|---|
| Size | 40.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a055ff58e71e37ad418f51c348c6988340dbfea15d7472695d7a98f189247f8
|
|
BLAKE2b-256 checksum How to use checksums |
9d0879672d7f5fd25aec2a32a270b984cf04c78c816ee4be44aacff957d78430
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|