Skip to main content

ComfoAirQ-Homie

Homie4 for Zehnder ComfoAirQ350/450/600 ventilation units

Uses pycomfoconnect (https://github.com/michaelarnauts/comfoconnect/) and Homie4 (https://github.com/mjcumming/homie4).

Installation:

Preequirements:

Python >= 3.6
MQTT broker - Tested with mosquitto https://mosquitto.org/
Python Wheels

pycomfoconnect = 0.4.

pip3 install wheel

pip3 install comfoairq-homie

Create configuration in comfoairq_homie.yml file. ComfoAirQ-Homie searches this file in directory from which is started or it is possible to specify it by command line option "-c filename.yml".

mqtt:
  MQTT_BROKER: "192.168.88.10"
  MQTT_PORT: 1883
  MQTT_USERNAME: null
  MQTT_PASSWORD: null
  MQTT_KEEPALIVE: 60
  MQTT_CLIENT_ID: null
  MQTT_SHARE_CLIENT: False

comfoconnect:
  COMFOCONNECT_HOST : null
  COMFOCONNECT_PIN  : 0
  COMFOCONNECT_NAME : "ComfoConnect Homie Gateway"
  COMFOCONNECT_UUID : "00000000000000000000000000000006"
  COMFOCONNECT_AUTOCONNECT : True
  COMFOCONNECT_MIN_LOW_FLOW : 90 # MIN AIR FLOW AT LOW SPEED - 90 m3/h for Q450. Check  Installer menu in original App
  COMFOCONNECT_MAX_HIGH_FLOW : 450  # MAX AIR FLOW for Q450 

comfoairq_homie:
  HOMIE_ID              : zehnderq450
  HOMIE_NAME            : ZehnderQ450

Usage examples:

comfoairq-homie

or

python3 -m comfoairq_homie

specifying config file, logging to additional file

comfoairq-homie -c config_file.yml -l optional_log_file.log

Seting log level using environment variables. Different log level for pycomfoconnect library and other libraries

COMFOAIRQ_LOGLEVEL=ERROR  COMFOAIRQ_COMFOCONNECT_LOGLEVEL=DEBUG comfoairq-homie -c comfoairq_homie.yml -l comfoairq_homie.log

Systemd service file example:

[Unit]
Description="Homie4 ComfoAirQ Service"
After=syslog.target network.target mosquitto.service openhab2.service


[Service]
WorkingDirectory=/opt/comfoairq/
Environment=COMFOAIRQ_LOGLEVEL=INFO
Environment=COMFOAIRQ_COMFOCONNECT_LOGLEVEL=INFO
Environment=PATH=/opt/comfoairq/virtualenv/bin:$PATH
ExecStart=/opt/comfoairq/virtualenv/bin/comfoairq-homie -c /opt/comfoairq/config/comfoairq_homie.yml -l /opt/comfoairq/log/comfoairq_homie.log
Restart=always

[Install]
WantedBy=multi-user.target

Metadata

Release files for comfoairq-homie 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for comfoairq-homie 0.6.2
File Size Uploaded
comfoairq-homie-0.6.2.tar.gz 13.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for comfoairq-homie 0.6.2
File Interpreter ABI Platform
comfoairq_homie-0.6.2-py3-none-any.whl Python 3 none any Details

Total release size: 29.5 kB

Release files / comfoairq-homie-0.6.2.tar.gz

Download URL comfoairq-homie-0.6.2.tar.gz
Size 13.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1245f0fd78a980917be48e2898bf7fa073cd7596bc374eebce6c39b0ac16c45f
BLAKE2b-256 checksum
How to use checksums
d8f2aa5d36cd2a9ead3bda5a748a19f3f36915342ac7464c7d7151de0620f201
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Release files / comfoairq_homie-0.6.2-py3-none-any.whl

Download URL comfoairq_homie-0.6.2-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5a965f2fba62e8f88dd682e3e0d8d20aab544d5f4dd70011644d383c9ed63740
BLAKE2b-256 checksum
How to use checksums
d3daf1849ab93d66335d6a4c28e3fd7d2f36500aa72c983fe8b6a380fd229efe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.6.2 This release

2 release files

0.6.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page