Skip to main content

Blueair Api Wrapper

Project description

blueair_api

GitHub Release GitHub Activity License

Project Maintenance BuyMeCoffee

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 region setting 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 detectionmood_brightness_max and fan_speed_count adapt automatically based on the device's hardware identifier.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blueair_api-1.54.0.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blueair_api-1.54.0-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

File details

Details for the file blueair_api-1.54.0.tar.gz.

File metadata

  • Download URL: blueair_api-1.54.0.tar.gz
  • Upload date:
  • Size: 58.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for blueair_api-1.54.0.tar.gz
Algorithm Hash digest
SHA256 a4c2d44cf82a6cc765650fcdc1e39aa745c5a2b90572897ccde86814b8ee02ac
MD5 bef6b8c1a54fc74e8c5a239ac244313c
BLAKE2b-256 ba306acd4b868f6564433b5b142210a36cd970beaadf71243e72165a9bc2c365

See more details on using hashes here.

File details

Details for the file blueair_api-1.54.0-py3-none-any.whl.

File metadata

  • Download URL: blueair_api-1.54.0-py3-none-any.whl
  • Upload date:
  • Size: 39.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for blueair_api-1.54.0-py3-none-any.whl
Algorithm Hash digest
SHA256 20f0f73ec65bc6a68f37465c916e0a1439b7b6d0432bff18303b131a7690764e
MD5 3759d19e7cb191aaad1b7a6d05f85f4a
BLAKE2b-256 79b69d9e238ce79fd86c011be5284c137b4c039be2754b1eee4941e1f7d45628

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page