Hi all,
I have also an Zehnder Comfoair 180 with a Comfosense Unit. I tried to get a connection but I always get these errors.:
*****************************
* CA350 MQTT Home Assistant *
*****************************
18-07-2023 19:21:50 WARNING: Changing the RS232 mode went wrong
18-07-2023 19:21:50 DEBUG: published message online on topic comfoair/status at Tue Jul 18 21:21:50 2023
18-07-2023 19:21:50 DEBUG: delete topic homeassistant/fan/ca350_fan/config at Tue Jul 18 21:21:50 2023
18-07-2023 19:21:50 INFO: Home Assistant MQTT Autodiscovery Topic Set: homeassistant/sensor/ca350_[nametemp]/config
18-07-2023 19:21:50 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_outsidetemp/config
18-07-2023 19:21:50 DEBUG: published message {"name": "CA350 Outside temperature", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_outsidetemp", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/outsidetemp", "unit_of_measurement": "\u00b0C", "device_class": "temperature"} on topic homeassistant/sensor/ca350_outsidetemp/config at Tue Jul 18 21:21:50 2023
18-07-2023 19:21:50 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_supplytemp/config
18-07-2023 19:21:50 DEBUG: published message {"name": "CA350 Supply temperature", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_supplytemp", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/supplytemp", "unit_of_measurement": "\u00b0C", "device_class": "temperature"} on topic homeassistant/sensor/ca350_supplytemp/config at Tue Jul 18 21:21:50 2023
18-07-2023 19:21:50 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_exhausttemp/config
18-07-2023 19:21:50 DEBUG: published message {"name": "CA350 Exhaust temperature", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_exhausttemp", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/exhausttemp", "unit_of_measurement": "\u00b0C", "device_class": "temperature"} on topic homeassistant/sensor/ca350_exhausttemp/config at Tue Jul 18 21:21:50 2023
18-07-2023 19:21:50 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_returntemp/config
18-07-2023 19:21:50 DEBUG: published message {"name": "CA350 Return temperature", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_returntemp", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/returntemp", "unit_of_measurement": "\u00b0C", "device_class": "temperature"} on topic homeassistant/sensor/ca350_returntemp/config at Tue Jul 18 21:21:50 2023
18-07-2023 19:21:50 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_analog_sensor_1/config
18-07-2023 19:21:50 DEBUG: published message {"name": "CA350 Analog sensor 1", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_analog_sensor_1", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/analog_sensor_1", "unit_of_measurement": "%", "icon": "mdi:gauge"} on topic homeassistant/sensor/ca350_analog_sensor_1/config at Tue Jul 18 21:21:50 2023
18-07-2023 19:21:50 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_analog_sensor_2/config
18-07-2023 19:21:50 DEBUG: published message {"name": "CA350 Analog sensor 2", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_analog_sensor_2", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/analog_sensor_2", "unit_of_measurement": "%", "icon": "mdi:gauge"} on topic homeassistant/sensor/ca350_analog_sensor_2/config at Tue Jul 18 21:21:50 2023
18-07-2023 19:21:50 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_analog_sensor_3/config
18-07-2023 19:21:51 DEBUG: published message {"name": "CA350 Analog sensor 3", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_analog_sensor_3", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/analog_sensor_3", "unit_of_measurement": "%", "icon": "mdi:gauge"} on topic homeassistant/sensor/ca350_analog_sensor_3/config at Tue Jul 18 21:21:51 2023
18-07-2023 19:21:51 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_analog_sensor_4/config
18-07-2023 19:21:51 DEBUG: published message {"name": "CA350 Analog sensor 4", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_analog_sensor_4", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/analog_sensor_4", "unit_of_measurement": "%", "icon": "mdi:gauge"} on topic homeassistant/sensor/ca350_analog_sensor_4/config at Tue Jul 18 21:21:51 2023
18-07-2023 19:21:51 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_fan_speed_supply/config
18-07-2023 19:21:51 DEBUG: published message {"name": "CA350 Supply fan speed", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_fan_speed_supply", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/intakefanrpm", "unit_of_measurement": "rpm", "icon": "mdi:fan"} on topic homeassistant/sensor/ca350_fan_speed_supply/config at Tue Jul 18 21:21:51 2023
18-07-2023 19:21:51 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_fan_speed_exhaust/config
18-07-2023 19:21:51 DEBUG: published message {"name": "CA350 Exhaust fan speed", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_fan_speed_exhaust", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/exhaustfanrpm", "unit_of_measurement": "rpm", "icon": "mdi:fan"} on topic homeassistant/sensor/ca350_fan_speed_exhaust/config at Tue Jul 18 21:21:51 2023
18-07-2023 19:21:51 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_supply_air_level/config
18-07-2023 19:21:51 DEBUG: published message {"name": "CA350 Supply air level", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_supply_air_level", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/intakefanspeed", "unit_of_measurement": "%", "icon": "mdi:fan"} on topic homeassistant/sensor/ca350_supply_air_level/config at Tue Jul 18 21:21:51 2023
18-07-2023 19:21:51 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_return_air_level/config
18-07-2023 19:21:51 DEBUG: published message {"name": "CA350 Return air level", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_return_air_level", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/exhaustfanspeed", "unit_of_measurement": "%", "icon": "mdi:fan"} on topic homeassistant/sensor/ca350_return_air_level/config at Tue Jul 18 21:21:51 2023
18-07-2023 19:21:51 DEBUG: Sending autodiscover for homeassistant/binary_sensor/ca350_filterstatus/config
18-07-2023 19:21:51 DEBUG: published message {"name": "CA350 Filter status", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_filterstatus", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/filterstatus_binary", "device_class": "problem", "icon": "mdi:air-filter"} on topic homeassistant/binary_sensor/ca350_filterstatus/config at Tue Jul 18 21:21:51 2023
18-07-2023 19:21:51 DEBUG: Sending autodiscover for homeassistant/number/ca350_filter_weeks/config
18-07-2023 19:21:51 DEBUG: published message {"name": "CA350 Filter Weeks", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_filter_weeks", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/filterweeks_state", "command_topic": "comfoair/filterweeks", "unit_of_measurement": "weeks", "icon": "mdi:air-filter", "min": 1, "max": 26} on topic homeassistant/number/ca350_filter_weeks/config at Tue Jul 18 21:21:51 2023
18-07-2023 19:21:51 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_filter_hours/config
18-07-2023 19:21:51 DEBUG: published message {"name": "CA350 Filter Hours", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_filter_hours", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/filterhours", "unit_of_measurement": "h", "icon": "mdi:timer"} on topic homeassistant/sensor/ca350_filter_hours/config at Tue Jul 18 21:21:51 2023
18-07-2023 19:21:51 DEBUG: Sending autodiscover for homeassistant/button/ca350_reset_filter/config
18-07-2023 19:21:51 DEBUG: published message {"name": "CA350 Reset Filter", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_reset_filter", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "command_topic": "comfoair/reset_filter", "icon": "mdi:air-filter"} on topic homeassistant/button/ca350_reset_filter/config at Tue Jul 18 21:21:51 2023
18-07-2023 19:21:51 DEBUG: Sending autodiscover for homeassistant/binary_sensor/ca350_bypass_valve/config
18-07-2023 19:21:52 DEBUG: published message {"name": "CA350 Bypass valve", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_bypass_valve", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/ca350_bypass_valve", "device_class": "opening"} on topic homeassistant/binary_sensor/ca350_bypass_valve/config at Tue Jul 18 21:21:52 2023
18-07-2023 19:21:52 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_bypass_valve/config
18-07-2023 19:21:52 WARNING: get_temp function could not get serial data
18-07-2023 19:21:52 DEBUG: published message {"name": "CA350 Bypass valve", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_bypass_valve", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/bypassstatus", "unit_of_measurement": "%", "icon": "mdi:valve"} on topic homeassistant/sensor/ca350_bypass_valve/config at Tue Jul 18 21:21:52 2023
18-07-2023 19:21:52 DEBUG: Sending autodiscover for homeassistant/binary_sensor/ca350_summer_mode/config
18-07-2023 19:21:52 DEBUG: published message {"name": "CA350 Summer mode", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_summer_mode", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/ca350_summer_mode", "icon": "mdi:sun-snowflake"} on topic homeassistant/binary_sensor/ca350_summer_mode/config at Tue Jul 18 21:21:52 2023
18-07-2023 19:21:52 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_summer_mode/config
18-07-2023 19:21:52 DEBUG: published message {"name": "CA350 Summer mode", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_summer_mode", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/bypassmode", "icon": "mdi:sun-snowflake"} on topic homeassistant/sensor/ca350_summer_mode/config at Tue Jul 18 21:21:52 2023
18-07-2023 19:21:52 DEBUG: Sending autodiscover for homeassistant/binary_sensor/ca350_preheatingstatus/config
18-07-2023 19:21:52 DEBUG: published message {"name": "CA350 Preheating status", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_preheatingstatus", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/preheatingstatus", "device_class": "heat"} on topic homeassistant/binary_sensor/ca350_preheatingstatus/config at Tue Jul 18 21:21:52 2023
18-07-2023 19:21:52 DEBUG: Sending autodiscover for homeassistant/sensor/ca350_ewttemp/config
18-07-2023 19:21:52 DEBUG: published message {"name": "CA350 EWT temperature", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_ewttemp", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/ewttemp", "unit_of_measurement": "\u00b0C", "device_class": "temperature"} on topic homeassistant/sensor/ca350_ewttemp/config at Tue Jul 18 21:21:52 2023
18-07-2023 19:21:52 DEBUG: Sending autodiscover for homeassistant/number/ca350_ewtlowtemp/config
18-07-2023 19:21:52 DEBUG: published message {"name": "CA350 EWT Low Temperature", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_ewtlowtemp", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/ewtlowtemp_state", "command_topic": "comfoair/ewtlowtemp", "unit_of_measurement": "\u00b0C", "device_class": "temperature", "icon": "mdi:thermometer-low", "max": 15} on topic homeassistant/number/ca350_ewtlowtemp/config at Tue Jul 18 21:21:52 2023
18-07-2023 19:21:52 DEBUG: Sending autodiscover for homeassistant/number/ca350_ewthighertemp/config
18-07-2023 19:21:52 DEBUG: published message {"name": "CA350 EWT High Temperature", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_ewthighertemp", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/ewthightemp_state", "command_topic": "comfoair/ewthightemp", "unit_of_measurement": "\u00b0C", "device_class": "temperature", "icon": "mdi:thermometer-high", "min": 10, "max": 25} on topic homeassistant/number/ca350_ewthighertemp/config at Tue Jul 18 21:21:52 2023
18-07-2023 19:21:52 DEBUG: Sending autodiscover for homeassistant/number/ca350_ewtspeedup/config
18-07-2023 19:21:52 DEBUG: published message {"name": "CA350 EWT Speed Up", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_ewtspeedup", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "state_topic": "comfoair/ewtspeedup_state", "command_topic": "comfoair/ewtspeedup", "unit_of_measurement": "%", "device_class": "temperature", "icon": "mdi:fan", "max": 99} on topic homeassistant/number/ca350_ewtspeedup/config at Tue Jul 18 21:21:52 2023
18-07-2023 19:21:52 INFO: Home Assistant MQTT Autodiscovery Topic Set: homeassistant/climate/ca350_climate/config
18-07-2023 19:21:52 DEBUG: Sending autodiscover for homeassistant/climate/ca350_climate/config
18-07-2023 19:21:52 DEBUG: published message {"name": "CA350 Climate", "availability_topic": "comfoair/status", "payload_available": "online", "payload_not_available": "offline", "unique_id": "ca350-ca350_climate", "device": {"identifiers": ["ca350"], "name": "CA350", "manufacturer": "Zehnder", "model": "ComfoAir 350"}, "temperature_command_topic": "comfoair/comforttemp/set", "temperature_state_topic": "comfoair/comforttemp", "current_temperature_topic": "comfoair/supplytemp", "min_temp": "15", "max_temp": "27", "temp_step": "1", "modes": ["off", "fan_only"], "mode_state_topic": "comfoair/ha_climate_mode", "mode_command_topic": "comfoair/ha_climate_mode/set", "fan_modes": ["off", "low", "medium", "high"], "fan_mode_state_topic": "comfoair/ha_climate_mode/fan", "fan_mode_command_topic": "comfoair/ha_climate_mode/fan/set", "temperature_unit": "C"} on topic homeassistant/climate/ca350_climate/config at Tue Jul 18 21:21:52 2023
18-07-2023 19:21:52 INFO: Successfull subscribed to the comfoair/comforttemp/set topic
18-07-2023 19:21:52 INFO: Successfull subscribed to the comfoair/ha_climate_mode/set topic
18-07-2023 19:21:52 INFO: Successfull subscribed to the comfoair/ha_climate_mode/fan/set topic
18-07-2023 19:21:52 INFO: Successfull subscribed to the comfoair/reset_filter topic
18-07-2023 19:21:52 INFO: Successfull subscribed to the comfoair/filterweeks topic
18-07-2023 19:21:52 INFO: Successfull subscribed to the comfoair/ewtlowtemp topic
18-07-2023 19:21:52 INFO: Successfull subscribed to the comfoair/ewthightemp topic
18-07-2023 19:21:52 INFO: Successfull subscribed to the comfoair/ewtspeedup topic
18-07-2023 19:21:54 WARNING: function get_fan_status could not get serial data
18-07-2023 19:21:56 WARNING: get_ventilation_status function could not get serial data
18-07-2023 19:21:58 WARNING: get_filter_status function could not get serial data
18-07-2023 19:22:00 WARNING: function get_filter_weeks could not get serial data
First warning:Changing the RS232 mode went wrong
What does this mean??
I want to use this code to get all the values and then I want to use them via MQTT in Openhab.