Skip to main content

A python library to bridge between Avi-on based lights and Home Assistant using MQTT

Project description

avionmqtt

A python library to bridge between Avi-on based lights and Home Assistant using MQTT

support

This should support any devices that uses Avi-on's technology, including Halo Home and GE branded BLE lights (both discontinued, but both supported by Avi-on's cloud infra and mobile apps).

features

  • creates lights for devices and groups in Home Assistant
    • supports creating meta lights such as for 'all', usefull for automation of color temperature
  • supports changing brightness and color temperature
    • for:
      • individidual devices
      • groups
      • the entire mesh at once
    • color temperature can be set without turning on the light
  • polls the whole network on startup to get the current state of each device
  • updates Home Assistant whenever devices are updated externally

how to use

pip install avionmqtt
python -m avionmqtt -s settings.yaml

settings.yaml

avion:
    email: email@example.com
    password: ********

mqtt:
    host: mqtt_broker.local
    username: avion
    password: avion

devices:
    import: true
    # if set, include only these pids when importing devices
    include:
      - abcde...
      - bcdef...
    # if set, exclude these pids when importing devices
    exclude:
      - abcde...
      - bcdef...
    # if set, automatically adds all devices part of a group to the exclude list
    exclude_in_group: true


groups:
    import: true
    include:
    exclude:

acknowledgements

This project would not have been possible without the original work done in https://github.com/nkaminski/csrmesh and https://github.com/nayaverdier/halohome

Project details


Download files

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

Source Distribution

avionmqtt-1.3.0.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

avionmqtt-1.3.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file avionmqtt-1.3.0.tar.gz.

File metadata

  • Download URL: avionmqtt-1.3.0.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for avionmqtt-1.3.0.tar.gz
Algorithm Hash digest
SHA256 adba800bbd57dc03126a7dd6674a86c65775180d27d8a1b0c71fcd01076ddbe3
MD5 880823ec6f5221b682e18c4a4e87133b
BLAKE2b-256 fc82b167127018bd65c3e3c5f69ce019f634f56c630cb4054cdc53028de9a88c

See more details on using hashes here.

Provenance

The following attestation bundles were made for avionmqtt-1.3.0.tar.gz:

Publisher: workflow.yml on oyvindkinsey/avionmqtt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file avionmqtt-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: avionmqtt-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for avionmqtt-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 112666f5971d30f1c8cf0f303dd766c7670a98f3a8285ce487443696e4b111d7
MD5 f78f2aecc5ad958795bf6c2f347480bc
BLAKE2b-256 60ec57c03c641529d6333a721e77384d138cdbce27d32b9a82817843a035dd83

See more details on using hashes here.

Provenance

The following attestation bundles were made for avionmqtt-1.3.0-py3-none-any.whl:

Publisher: workflow.yml on oyvindkinsey/avionmqtt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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