@FXB24 You have to change the settings in the service menu of the Comfosense module. I didn’t implement that in the integration because it’s not something you usually have to change very often.
Hi folks, I’ve just seen this new ESPHome feature:
https://esphome.io/components/serialproxy/
It’s also mentioned in the upcoming Home Assistant May release:
Could this be a way to move toward a native ESPHome integration without relying on MQTT?
As this is a core HA feature the comfoair would need to be completely re-written as native HA integration. And actually you don’t need to have esphome for it, some of us are already using RS232 to ethernet/wifi converters. This has nothing to do with relying on MQTT or not. There are also some projects where people have implemented comfoair integration to an esphome device and are using native esphome integration. Here is one of them: GitHub - wichers/esphome-comfoair: ESPHome configuration to drive Zehnder ComfoAir devices. · GitHub
Hello again everybody ![]()
I've been using the @julianpas code for 3 year now with no issues.
I wanted to upgrade to @adorobis code and also use @pepo83 integration in HA.
I decided to use a spare ESP32 N16R8 which can be an overkill but I wanted to share my newbie schema as I'm waiting for the new MAX3232 converters.
For me keeping the Comfosens proxied and working along with the esp is mandatory.
I'm asking you gurus to check if the schema is all correct, especially the GND connections.
And I hope non-tech people can find it useful.
Once confirmed it's correct I will share also the yaml code.
Thanks in advance for supporting!
Hi all,
I have a Zehnder Comfoair 350 from 2014 and want to connect it to my Home Assistant.
I'm planning to use the USR-W610 Wireless Converter Serial to WiFi Ethernet Converter RS485/RS232 gateway (RS485 to WiFi Converters | RS232 to WiFi Converters | Serial WiFi Converters) using a Startech DB9 to RJ45 adaptor (https://www.startech.com/en-us/cables/gc98ff) to connect to Zehnder. I will connect the RJ45 pins to DB9 as follows:
ORANGE RJ45 pin 2 (RX) → DB9 pin 3 (TX)
BLACK RJ45 pin 3 (TX) → DB9 pin 2 (RX)
WHITE RJ45 pin 8 (GND) → DB9 pin 5 (GND)
Do you think this will work?
Thanks!
Yes, that's how it should be connected. Make sure that you don't connect other cables from comfoair, especially the +12V line.
Thank you so much Adorobis! ![]()
I will cover the other pins with a heat sink tube...
Did anyone get a chance to see my outline? Any advice or suggestions very appreciated, thanks!
I've written a comfoair integration using the new serial proxy feature! GitHub - devsnek/hass-comfoair: ComfoAir control for Home Assistant · GitHub. I would like to get this merged into core but for now it is HACS, until I can get a few more people to verify it.
My ESPHome yaml config is very simple:
uart:
id: uart_bus
tx_pin: GPIO19
rx_pin: GPIO22
baud_rate: 9600
parity: NONE
stop_bits: 1
data_bits: 8
serial_proxy:
- id: serial_proxy_1
uart_id: uart_bus
name: "WHR 930 Serial"
port_type: RS232
With this, it will magically show up in the UI when you go through the setup flow for the integration ![]()
Sounds good!
Which features have you implemented? Can you select which fans are active, set filter weeks or set fan % levels for each ventilation level?
And last but not least, quite a few people are using RS232 to wifi/ethernet converters and it would be great if this integration supports those as well, rather than only esphome based serial proxy.
i've implemented everything that seemed reasonable to me within the pdfs i found. my comfoair lacks many of the extra capabilities that are possible, so some of the logic has only been validated against other implementations linked in this thread. So having people test on real hardware would be super appreciated, and i'm very open to implementing fixes or features so please feel free to open issues/prs on the repo.
in terms of what is supported, anything that hass core reports as a serial device will work. i don't have any rs232 to ethernet converters so i can't vouch for their support but if they work with other integrations (for example: dsmr) they will work with this integration.
OK, so I understand that it uses the local serial port on the host where HA is running. So if I connect the network adapter e.g. using socat it should be able to see it, correct?
Edit: just tested with socat and it works! Pretty cool. Looks like you've now implemented lots of features. I think the only one more that we'll need is the ability to select if only intake, only exhaust, none or both fans are active. It is done by a series of button clicks in so you'd need to emulate it. Details of how it is implemented could be found in the other integration that has been done recently by @pepo83 GitHub - pepo83/ha-app-ca350-mqtt-bridge: Contains a Home Assistant add-on that connects a Zehnder ComfoAir 350 with CC Ease oder Comfosense control unit (via R232 to LAN/Wifi gateway) to MQTT and provides Home Assistant MQTT Auto-Discovery (Climate + Sensors). · GitHub
just tested with socat and it works
Haven't been able to test this but you should be able to select "Enter manually" in the setup screen and then enter something like socket://{ip}:{port} in the text box, no need to run socat or anything like that (serialx)
ability to select if only intake, only exhaust, none or both fans are active
Thanks for the suggestion, I'll try to take a look at that.
I've been testing as well your work and so far so good! Hope you can implement the comfosense proxy, that would be awesome!
Wow, this is brilliant! And works!
Hi, I´m new in Homeassitent and I have Problems to install the M5stack.
Are there detailed instructions for setting up the Zehnder ComfoAir, 350 or pre-made files that I can flash onto the M5Stack?
the best at the moment would be to install esphome with the serial proxy and use the new integration via HACS.
Hello Guys.
First of all many thanks for this project !
I would like to confirm that this Waveshare USB to RS232/485 Serial Converter works very well
Best regards !
sending thanks to : TimWeyand/lovelace-comfoair: Homeassistant Lovelace Comfoair card
took insparation from his card works great on LAN-C version too.



