Home Assistant · Decision
ViCare API, Optolink or CAN bus?
The three routes from a Viessmann boiler to Home Assistant compared – with rate limit, Vitoconnect conflict and E3 devices.
Read article →Technical article · Heating data
The optical service interface exists on units that lost app support long ago. It is therefore the route that brings a twenty-year-old controller into an energy manager – provided the data points are attributed properly rather than guessed.
From this article on Amazon (Germany):
USB-to-serial adapter (TTL)*
Marked *: affiliate links. As an Amazon Associate I earn from qualifying purchases.
For a boiler that is merely observed, the manufacturer's app is convenient and sufficient. The moment it becomes part of a control loop, the assessment changes on three points.
There is also a practical point: the optical interface has existed for decades, including on units that lost app support long ago. It is the route that can still integrate a twenty-year-old controller.
The controller carries an optical interface through which the manufacturer connects its service equipment. A reading head is placed in front of it – usually held magnetically – and passes the data serially to whichever machine runs the evaluation.
Two things to note. First, the interface is a service access point, not a documented customer interface; it is manufacturer-specific and was opened up by the community. Second, the connection is exclusive: while the reading head is talking, nobody else is talking to the controller – which matters on the day the heating engineer visits.
Search on Amazon.de: USB-to-serial adapter (TTL)*
Building such a head and mounting it is described on the project page reading a boiler locally via Optolink – this article starts after that: with what to do with the data.
The gap between „data is arriving“ and „the data is usable“ is attribution. The controller publishes values under addresses; which address means what depends on the model and the controller variant.
No guessing here. Taking an address from a forum post about a similar unit leads, at best, to an implausible reading and, at worst, to a written parameter that changes something other than intended. Only what has been verified against your own unit is reliable – most simply by changing the value at the control panel and watching which address moves with it.
The installation this article refers to is a Viessmann Vitoladens 300-W with a Vitotronic 200 controller; communication runs over the P300 protocol, evaluated with ESPHome and a community Optolink component. The build and three findings from it – a data point whose length differs from the list, a substitute value that looks like a measurement, and a status value that is not a yes/no – are on the project page.
Those three findings are the reason for the rule above. Each would have gone unnoticed had the data point list been taken on trust – and each would have produced a series that looks plausible and is wrong.
Out of a three-figure number of data points, control carries surprisingly few. For price- or surplus-driven operation these usually suffice: hot water cylinder temperature, flow temperature, burner or compressor state, operating mode and – where available – running hours or start counts.
Everything else is diagnostics: highly interesting when something is wrong, and the reason the database grows. A sensible split is to sample the control values every second or minute and the rest far less often.
Start counts are the single most important figure for any price control: they show whether the optimisation cycles the unit harder than before – and therefore whether the saving is given back at the compressor. Why that is the decisive number, and how the control is built at all, is covered in the main article, running a heat pump on electricity prices.
This article rests on own project work rather than manufacturer documentation – the optical interface is a service access point and is not documented as a customer interface. Every device-specific detail therefore has to be verified against your own unit; addresses and meanings are deliberately not stated here in general terms.
The optical interface is a manufacturer's service access point. Reading is uncritical; writing happens at your own risk and can change parameters that are not trivially undone at the control panel.
Links marked with an asterisk are affiliate links. As an Amazon Associate I earn from qualifying purchases; the price is unchanged for you. What I recommend does not depend on it.
Want your heating in Home Assistant without a cloud – with data points you can rely on? Write to me – the first conversation is free.