Zehnder ComfoAir CA350 integration via serial connection (RS232) and MQTT

Paste here your config.ini file (without passwords) and even attach your ca350 file, it seems that you don’t have the latest version from the repo or you have not configured the sensors to be autodiscovered (HAEnableAutoDiscoverySensors=True)

Here 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=False

[MQTT]
# MQTT broker - IP
MQTTServer=192.168.1.201
# MQTT broker - Port
MQTTPort=1883
 # MQTT broker - keepalive
MQTTKeepalive=45
# MQTT broker - user - default: empty (disabled/no authentication)
MQTTUser=xxxxx
# MQTT broker - password - default: empty (disabled/no authentication)
MQTTPassword=xxxxx

[HA]
# Home Assistant send auto discovery for fan
HAEnableAutoDiscoveryFan=True
# Home Assistant send auto discovery for temperatures
HAEnableAutoDiscoverySensors=True
#Todo: HA AD Climate is work in progress
# Work in Progress: Home Assistant send auto discovery for climate
HAEnableAutoDiscoveryClimate=True

and here is the extract of the ca350:


# Service Configuration
SerialPort='/dev/ttyUSB0'               # Serial port CA350 RS232 direct or via USB TTL adapter
MQTTServer='192.168.1.201'             # MQTT broker - IP
MQTTPort=1883                         # MQTT broker - Port
MQTTKeepalive=45                      # MQTT broker - keepalive
MQTTUser = "xxxxx"                      # MQTT broker - user - default: 0 (disabled/no authentication)
MQTTPassword = "xxxxx"                  # MQTT broker - password - default: 0 (disabled/no authentication)
HAEnableAutoDiscoveryFan = True       # Home Assistant send auto discovery for fan
HAEnableAutoDiscoverySensors = True   # Home Assistant send auto discovery for temperatures

#Todo: HA AD Climate is work in progress
HAEnableAutoDiscoveryClimate = True  # Work in Progress: Home Assistant send auto discovery for climate
refresh_interval=10                   # Interval in seconds at which data from RS232 will be polled
enablePcMode = False                  # automaticly enable PC Mode (disable comfosense)
debug = False

In github, i dont see the sensor for the bypass (only the binary_sensor):

You are not using the latest ca350 file, get it from the repo: ca350
Otherwise it is hard to say what might not work as expected. Regarding the README.md description it is clearly missing some sensors that are implemented in the script. I have added this missing information now.

1 Like

With the latest CA350 file it is now working fine, i get the sensor in HA! (+ summer mode…). I will monitor a bit, but it seems fine.

I will now be able to get all the correct information in lovelace. Thanks alot!

1 Like

hi all, i just wanted to share my findings regards to Q450 model. I had a look at board and apparently they have different inputs so this solution will not be applicable for Q450.

If you own a model like Q450 or Q600, you should focus on CAN BUS based solution, rather than RS232 serial reading, I hope I can come up with a guide on this later on.

1 Like

Hello all! anyone knows a solution to use this integration with an lan to rs232 converter? here someone build an adapter for iobroker wich uses lan connection to the comfoair ca350. any chance to implement this into the integration? GitHub - iobroker-community-adapters/ioBroker.comfoair: ioBroker Adapter to control your Zehnder C

By briefly looking into the LAN adapter version I think it requires complete re-writing of the send_command() function. And not having a device to test would be hard to do, not to mention lack of motivation :slight_smile:

Hey,
I’m going to give a try to this as soon as I receive the can transceiver:

1 Like

There was a great work done by a bunch of awesome people (@mweimerskirch @TimWeyand @mogwai @PimDoos) check out latest version of the repo for fully implemented climate entity and a number of additional sensors. All now available with MQTT auto discovery so no configuration in HA is needed! I have also removed the fan entity as all features are available in climate entity plus there was a breaking change in MQTT Fan integration that would require it to be a bit re-written.

1 Like

Hi,
I have a Zehnder Comfoair 200 Luxe but I’ve no competence to understand if what I read in this forum can be also applied to this VMC or only to the Comfoair 350.
I have the CC Ease remote control.

Do anyone knows if it works?

Thanks in advance.

Most likely it will work but unfortunately there is no official documentation, rather only reverse-engineered protocol docs. So you’ll need to play with it to validate if the same commands also work here.

Thanks @Dapolux for the effort and energy you put into this project…
Looking at the scheme…I have one question about rj45 → RS232 connection: where is connected rj45 pin1 (orange/white)?

Thank you!

This one should be more clear:

Hi @andrej33,

Nowhere :).
This one is having 12v (from the unit), and you dont need to carry 12v to the RPI.
You only have to use the 3 wires mentionned (2, 3 and 8).

1 Like

Oh my, thank you! I almost fried my usb rs232 connector :grinning_face_with_smiling_eyes:

Hi Anyone has seen issue with the custom card after upgrading to the latest 2021.12.0 version?
my card is not loaded any more

image
image

image

Just updated to 2012.12.0 and the card still works ok:
image
Try to refresh the browser (shift+F5) or clean browser cache
Edit:
sorry, just realised that I’m using a different type: custom:hacomfoairmqtt-card one.

copy that