Hi
I move my running Comfoair 350 instance from ioBroker to HA.
I have followed by this process: https://github.com/adorobis/hacomfoairmqtt/wiki/Home-Assistant-Operating-System
Now, when I try to start the Add-on then I get the following error:
➜ ~ python3 /config/custom_components/ca350/ca350runner.py &
[1] 500
➜ ~ I am parent process:
Process ID: 500
Child's process ID: 506
I am child process:
Process ID: 506
Parent's process ID: 500
Run ca350.py
[1] + 500 done python3 /config/custom_components/ca350/ca350runner.py
➜ ~ *****************************
* CA350 MQTT Home Assistant *
*****************************
Traceback (most recent call last):
File "/config/custom_components/ca350/ca350.py", line 1136, in <module>
mqttc = mqtt.Client('CA350')
^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/ca350/python3venv/lib/python3.11/site-packages/paho/mqtt/client.py", line 766, in __init__
raise ValueError(
ValueError: Unsupported callback API version: version 2.0 added a callback_api_version, see migrations.md for details
This is my config.ini:
[DEFAULT]
# Serial port CA350 RS232 / RS485 direct or via USB TTL adapter
SerialPort=/dev/ttyUSB0
# Select RS232 or RS485 protocol
RS485_protocol=False
# Interval in seconds at which data from RS232 will be polled
refresh_interval=10
# automatically enable PC Mode (disable comfosense)
enablePcMode=False
debug=True
[DEVICE]
FanOutAbsent=15
FanOutLow=25
FanOutMid=40
FanOutHigh=70
FanInAbsent=15
FanInLow=25
FanInMid=40
FanInHigh=70
SetUpFanLevelsAtStart=True
[MQTT]
# MQTT broker - IP
MQTTServer=192.168.3.14
# MQTT broker - Port
MQTTPort=1883
# MQTT broker - keepalive
MQTTKeepalive=45
# MQTT broker - user - default: empty (disabled/no authentication)
MQTTUser=mqtt
# MQTT broker - password - default: empty (disabled/no authentication)
MQTTPassword=notmypwd
[HA]
# Home Assistant sensor auto discovery
HAEnableAutoDiscoverySensors=True
# Home Assistant climate auto discovery
HAEnableAutoDiscoveryClimate=True
# Home Assistant Device Discovery
# Unique device ID (change this to be unique if running multiple instances)
HAAutoDiscoveryDeviceId=ca350-hassos
# Device name shown in the frontend
HAAutoDiscoveryDeviceName=CA350-hassos
# Device manufacturer shown in device info
HAAutoDiscoveryDeviceManufacturer=Zehnder
# Device model shown in device info
HAAutoDiscoveryDeviceModel=ComfoAir 350
Mosquitto is running oh HA, other integrations working properly.
Raphael
1 post - 1 participant