DALI <-> MQTT bridge
This daemon is inspired in zigbee2mqtt and provides the means to integrate a DALI light controller into your Home Assistant setup.
Previously I developed a Home Assistant custom component (https://github.com/dgomes/home-assistant-custom-components/tree/master/light) but I've since decided to run Home Assistant in another device, away from the physical DALI Bus.
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
sudo cp dali2mqtt.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable dali2mqtt.service
sudo systemctl start dali2mqtt.service
sudo systemctl status dali2mqtt.service
When the daemon first runs, it creates a default config.yaml
file.
You can edit the file to customize your setup.