15 views today · 15 views all time
An ESP32-C6 eBUS adapter and the ebusd add-on give Home Assistant read access to almost everything on an older Vaillant system, and, with care, a little write access too. Along the way I found out why my hot water only heated at strange times, decoded two messages nobody had defined, and got a one-press cylinder boost working on a VRC 470 that dates from 2011.
You have a perfectly good Vaillant system that predates every smart thermostat on the market. It works. It also tells you nothing, unless you fancy standing in front of the controller scrolling through menus with a torch. Swapping it all for something "smart" means new controls, new wiring and probably a new set of problems.
There is a better way. Vaillant kit has talked to itself over a two-wire bus called eBUS for decades, and the open-source community has spent years working out what it says.
The heating here is a little unusual, which turned out to matter:
One thing worth noting: you do not need to find the rating plates to date your kit. ebusd's scan result command lists each unit's serial number, and Vaillant serials carry the year and week of manufacture straight after the leading 21. My controller reports 21;11;48, which is 2011, week 48.
There is no Vaillant internet gateway. Nothing about this installation was designed with Home Assistant in mind.
I used the eBUS Adapter Stick C6 from the ebusd project. It is an ESP32-C6 with a galvanically isolated bus interface, so the bus side and the USB side are electrically separate. That is exactly what you want next to a boiler.
One thing worth noting: it does not power itself from the bus. It needs its own 5 V USB supply (2 W or so), so plan for a socket or a spare USB port near the boiler.
Flashing is done from a web page in Chrome. One gotcha: the Connect button does not appear until you have picked a firmware version. I spent longer than I would like to admit looking for it.
The Wi-Fi setup in the web flasher timed out for me. The fix was to join the adapter's own EBUS access point, browse to 192.168.4.1, enter the Wi-Fi details there and power cycle it. After that it came up on the network and stayed there.
On the Home Assistant side I used the ebusd add-on. It connects to the adapter over the network using the enhanced protocol on TCP port 9999, reads the bus and publishes what it understands to MQTT. Home Assistant's MQTT discovery then turns those messages into entities.
The add-on options that matter:
--enabledefine --enablehex --mqttint=/config/mqtt-hassio.cfg --mqttjson
--enabledefine lets you add message definitions at runtime, which is invaluable while experimenting. --enablehex lets you send raw telegrams (more on that later). Pointing --mqttint at your own copy of mqtt-hassio.cfg lets you control which messages become entities.
One gotcha: in recent Home Assistant releases the add-on's config folder lives under /app_configs/, not /addon_configs/. If you are following an older guide and cannot find the file, that is why.
I widened the filter-name line in that file so it also picked up the solar sensors and water pressure. Within a few minutes I had dozens of entities: flow and return temperatures, burner starts, pump hours, collector temperature, cylinder temperatures and solar yield.
The solar yield is a nice sanity check. Summing the monthly figures gives 344 kWh for the year, which matches what the VR68's own counter shows on the controller. When a number from the bus agrees with the panel, you start to trust the rest.
Watching the raw bus traffic for a while shows a clear pattern. Every ten seconds or so the VRC 470 pushes its settings out to the VR61 and VR68: flow temperatures, setpoints, operating modes.
That has a practical consequence. If you want to change something, change it on the 470. Writing a setting directly to the VR61 is pointless, because the 470 will overwrite it within seconds.
For a long time the cylinder only seemed to heat at odd times. The 470's hot water timer said 05:30 to 22:00, so in theory there was plenty of opportunity.
The bus told a different story. The VR68 has its own hot water timer, and that is what actually decides when the boiler charges the cylinder. Mine was set to 03:00–03:30 and 18:00–18:40. I do not remember setting either.
Nothing fancy, just a timer in a module with no display, quietly overriding the one on the controller. Without the bus I would never have seen it.
ebusd only understands messages that someone has described in its configuration files. Two messages on my bus came up as unknown, so I decoded them and contributed them back.
The definitions now live in TypeSpec (.tsp) files that compile down to the CSV files ebusd actually reads. Contributions go to the john30/ebusd-configuration repository on GitHub as pull requests against the .tsp sources. My pull request is here.
Two gotchas if you try this on Windows:
git config core.symlinks true, Git checks them out as small text files and the compiler fails with a baffling "Digit expected" error.Reading is safe. Writing is where you need to slow down.
I limited writes to things a user can change on the controller anyway: the hot water setpoint, the heating circuit 1 day and night temperatures, and the operating mode. Each of those is a box in Home Assistant, not a slider, so a value only goes to the bus when I type it and confirm it.
The one thing I really wanted was a hot water boost: heat the cylinder now, once, without touching the timers. The 470 has a register (0x0B) that triggers one-off functions. Writing 9 starts a single cylinder charge; writing 10 cancels it.
echo "hex 15b509040e0b0009" | nc -w 5 ebusd-host 8888 # one-off cylinder charge
echo "hex 15b509040e0b000a" | nc -w 5 ebusd-host 8888 # cancel it
Broken down, 15 b509 04 0e 0b00 09 reads as:
15 — the VRC 470's bus address.b509 — Vaillant's register read/write service.04 — four data bytes follow.0e — write (a read would be 0d).0b00 — register 0x0B.09 — the value: 9 to start a cylinder charge, 0a (10) to cancel it.I tested it on the 470 during an afternoon when the VR68 timer was off. The hot water target jumped from 17 °C to 60 °C and the 470 reported a cylinder charge in progress. The cancel command was acknowledged too. In Home Assistant it is now a button behind a confirmation dialog. The script checks first that the cylinder is at least 12 K below the setpoint, because the 470 ignores the request otherwise.
A word of warning. That same register also triggers party mode, holiday mode and system off with other values. Those strings in my configuration are fixed. They are never built from a template or a variable. Get one byte wrong and you could switch the heating off.
And a second one. The 470 may write settings changes to non-volatile memory, which has a finite number of write cycles. I cannot confirm how many this particular controller tolerates, so nothing here is driven by a frequent automation. Changes are occasional and made by a person.
Not everything adds up yet:
Read for a week before you write anything. Most of what I learned came from simply watching the bus, not from poking it.
The controller you can see is not always the one in charge. The VR68 has no display, yet its timer was running the hot water.
Check the bus against the panel. Every new decode was checked against photographs of the 470's own status screens before I believed it.
Keep writes boring. Fixed strings, confirmation dialogs, no automations. A heating system that has worked for fifteen years deserves some respect.
If you have older Vaillant kit and a Home Assistant box, this is one of the most rewarding evenings of tinkering you can have. Hopefully it saves someone the hour I spent looking for that Connect button.