Git Product home page Git Product logo

comfoconnect-mqtt-bridge's Introduction

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=
$ 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

comfoconnect-mqtt-bridge's People

Contributors

oysteing avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.