Skip to content

oysteing/comfoconnect-mqtt-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comfoconnect-mqtt-bridge

comfoconnect-mqtt-bridge is a bridge for communicating between a Zehnder Comfoair Q350/450/600 ventilation system and MQTT. You need a ComfoConnect LAN C device to interface with the unit.

It is built upon aiocomfoconnect and is compatible with Python 3.8 and higher.

Installation

$ pip install git+https://github.com/oysteing/comfoconnect-mqtt-bridge

Usage

Supported environment variables with defaults:

COMFOCONNECT_HOST=
COMFOCONNECT_BRIDGE_UUID=
COMFOCONNECT_LOCAL_UUID=
COMFOCONNECT_SENSORS=None (all sensors)
COMFOBRIDGE_MIN_REPORTING_INTERVAL=60
COMFOBRIDGE_MAX_REPORTING_INTERVAL=3600
COMFOBRIDGE_MIN_REPORTING_CHANGE=0.2
MQTT_HOST=localhost
MQTT_PORT=1883
MQTT_TOPIC=comfoconnect
MQTT_USER=
MQTT_PASSWORD=
MQTT_CLIENT_ID=
LOG_LEVEL=info
$ python -m comfobridge

Docker

Build a Docker container from the Dockerfile (pre-built image currently not published):

docker build . -t comfoconnect-mqtt-bridge

Example docker-compose:

services:
  comfobridge:
    image: comfoconnect-mqtt-bridge
    environment:
      COMFOCONNECT_HOST: 192.168.1.1
      COMFOCONNECT_BRIDGE_UUID: '00000000000000000000000000000000'
      COMFOCONNECT_LOCAL_UUID: '00000000000000000000000000000001'
      COMFOCONNECT_SENSORS: 221,274,275,276,290,291,292,294
      COMFOBRIDGE_MIN_REPORTING_INTERVAL=60
      COMFOBRIDGE_MAX_REPORTING_INTERVAL=3600
      COMFOBRIDGE_MIN_REPORTING_CHANGE=0.2
      MQTT_HOST: mqtt
      MQTT_CLIENT_ID: comfoconnect
      MQTT_USER: comfoconnect
      MQTT_PASSWORD: mypassword
      LOG_LEVEL: DEBUG

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published