This program receives events from a Homematic CCU and publishes contained data on MQTT. It also subscribes to commands from MQTT and relays them to the CCU.
Currently supported devices:
- HmIP-BROLL: Shutter actuator for brand switches
- HmIP-SRH: Window handle sensor
- HmIP-SWSD: Smoke alarm with Q label
Home Assistant, when configured for MQTT discovery, can auto-detect sensors and device triggers published by this program.
- Python 3.7+
- hbmqtt
- pyhomematic
hm-mqtt-bridge.py --broker mqtt:https://broker.local --listen 0.0.0.0 xmlrpc:https://ccu.local:2010
Homematic's XML-RPC mechanism requires listening sockets on both ends. By default, a random port number gets allocated by pyhomematic. If you need a fixed port number, specify it with --listen <ip>:<port>
.