Skip to content

Commit

Permalink
Updated the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
oyvindkinsey committed Nov 27, 2024
1 parent 7c65617 commit 6a70de3
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
# avionmqtt

A python library to control 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 changing brightness and color temperature
- 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

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

> [!WARNING]
> This script currently does not have any graceful handling of SIGINT and so will leave the BLE connection dangling.
> Use the `sudo bluetoothctl power off && sudo bluetoothctl power on` or similar to reset the adapter.
# settings.yaml

```yaml
avion:
email: [email protected]
password: ********

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

devices:
import: true

groups:
import: true

```


# 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

0 comments on commit 6a70de3

Please sign in to comment.