A docker container to convert Philips Dynalite RS485 commands to MQTT. Supports lights, motion sensors and temperature readings from Antumbra switches/displays. This container can be run in docker and connects to MQTT to communicate with Home Assistant. This project has no affiliation with Philips/Dynalite or Home Assistant. This is currently in beta. Use at your own risk.
- Create a MQTT server
- Setup config file
configuration.yml
in/config
directory (example below) - Setup docker compose file (example below)
- Enable Home Assistant MQTT discovery if integrating with Home Assistant (optional): https://www.home-assistant.io/docs/mqtt/discovery/
- Run the app by running
docker-compose up --build
version: '3'
services:
dynalite:
container_name: dynalite
image: matthewlarner/philips-dynalite-mqtt:latest
volumes:
- ./config:/usr/src/app/config
- ./data:/usr/src/app/data
environment:
- TZ=Australia/Sydney
restart: always
# MQTT Settings
mqtt:
broker: 192.168.1.102
port: 1883
username: xxxx
password: xxxx
qos: 2
retain: true
discovery: true
discovery_prefix: homeassistant
topic_prefix: dynalite
availability_topic: dynalite/available
# Dynalite area config
dynalite:
bridges:
- host: 192.168.20.201
port: 50000
area:
'1':
name: Bedroom 1
channel:
'0':
name: Temperature
type: temperature
'1':
name: Ensuite
type: light
mode: onoff
fade: 0.0
'2':
name: Bedhead
type: light
mode: dimmer
fade: 2.0
'3':
name: Downlights
type: light
mode: dimmer
fade: 2.0
'4':
name: Motion
type: motion
'2':
name: Living Room
channel:
'1':
name: Downlights
type: light
mode: onoff
fade: 0.0
'2':
name: Dining Table
type: light
mode: dimmer
fade: 2.0
'3':
name: Kitchen
channel:
'1':
name: Cupboard Strip Light
type: light
mode: rgbw
channel: onoff
fade: 0.0
'2':
name: Cupboard Strip Light
type: light
mode: rgbw
channel: red
fade: 0.0
'3':
name: Cupboard Strip Light
type: light
mode: rgbw
channel: green
fade: 0.0
'4':
name: Cupboard Strip Light
type: light
mode: rgbw
channel: blue
fade: 0.0
'5':
name: Cupboard Strip Light
type: light
mode: rgbw
channel: white
fade: 0.0
'101':
name: Aircon 1
channel:
'0':
name: Target Temperature
type: channel_level
'1':
name: On/Off
type: channel_level
'2':
name: HVAC Mode
type: channel_level
'3':
name: Fan Mode
type: channel_level
'4':
name: Zone 1 Damper
type: channel_level
'5':
name: Zone 2 Damper
type: channel_level
Where:
type
is either:light
(a light),motion
(a motion sensor),temperature
(antumbra temperature reading),channel_level
(a channel level)mode
is either:onoff
(a light that allows on/off control only),dimmer
(a light that supports adjustable brightness),rgbw
(a RGBW light). Can be used with type=light onlyfade
: fade time in seconds. Can be used with type=light only
If you have any motion sensors, you'll need to add some configuration within Dynalite. Here's an example: Dynalite Motion Sensor Config