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.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blueair_api-1.56.5.tar.gz | 62.9 kB | Without provenance | Details for blueair_api-1.56.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blueair_api-1.56.5-py3-none-any.whl | Python 3 | none | any | Details for blueair_api-1.56.5-py3-none-any.whl |
Total release size: 104.4 kB
Release files / blueair_api-1.56.5.tar.gz
| Download URL | blueair_api-1.56.5.tar.gz |
|---|---|
| Size | 62.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84d5e7391acc50b2b5b8280a776337351d36a2ddeba8d67b45e4d38ce3f833db
|
|
BLAKE2b-256 checksum How to use checksums |
24f6f6d40dd004d3bfb1ad2a36b936c9b18575c49b05fde83b3c5b7a644a03c1
|
| 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.5-py3-none-any.whl
| Download URL | blueair_api-1.56.5-py3-none-any.whl |
|---|---|
| Size | 41.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
513f57a0eaf75aca4eb30b561e2a5fd8608837a13a2bf87c10d6705ae547e965
|
|
BLAKE2b-256 checksum How to use checksums |
82c1b87ef5e1ff9e888d369aaae8a2bffd0ddf033fb79306bf97cfff63eeb2b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for blueair-api 1.56.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.