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.3
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.3.tar.gz | 63.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| blueair_api-1.56.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 104.8 kB
Release files / blueair_api-1.56.3.tar.gz
| Download URL | blueair_api-1.56.3.tar.gz |
|---|---|
| Size | 63.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
266e017cba99775e745dcf8aeaf2b3fe30709f482799fff6e73abd7089cc636c
|
|
BLAKE2b-256 checksum How to use checksums |
c79df75072bf038f9f1fd1f3cda085a1703177aebcb3173ea56f813a1ecbe78e
|
| 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.3-py3-none-any.whl
| Download URL | blueair_api-1.56.3-py3-none-any.whl |
|---|---|
| Size | 41.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
14926c6b62d81bcc1439c021254baf7dbcf7b1053134e2b146f80dd3babcc45b
|
|
BLAKE2b-256 checksum How to use checksums |
979e8de83638cd7814a4b05b17483a02cdc619f47a8ed4ac62ab915c4fd6e90a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|