Viessmann Component

OK.
Does anyone know a good place to learn the very basics of POSTMAN?
Just to be able to send this request to Viessmann API:
https://api.viessmann.com/iot/v1/features/installations/{installationId}/gateways/{gatewaySerial}/devices/{deviceId}/features

I believe the guide on pyvicare repo should be a good starting point:

Another question to those who use ViCare with InfluxDB.

It seems InfluxDB does not automatically see “DHW water temperature”.
DHW is shown by HA very well.
Does anyone know the script to use in InfluxDB?

I believe the entity is “water_heater.vicare_water_0”.
Is the problem because the name does not have the word “sensor” in front?

Just create a template sensor from it and you’ll get it there as well.

Using helper?
Like this?

I don’t know what to write in “State template”.
Can anyone give me a hint?

Or develeper tools - states, templetes. :slight_smile:
This seems to work:
{{ state_attr(‘water_heater.vicare_water_0’,‘current_temperature’) }}
and sensor has been created.
However, I have no data from before I created the sensor. Is there a way to capture the old data and inject them into this sensor?

FLUX LANGUAGE:

from(bucket: "Baza")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "°C")
  |> filter(fn: (r) => r["_field"] == "value")
  |> filter(fn: (r) => r["domain"] == "sensor")
  |> filter(fn: (r) => r["entity_id"] == "water_heater_vicare_water_0")
  |> filter(fn: (r) => r["friendly_name"] == "water_heater.vicare_water_0")
  |> filter(fn: (r) => r["source"] == "HA")
  |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)
  |> yield(name: "mean")

I’ve been trying to bring this Vicare addons to life for a few days now, but it’s not working, neither the official Viessman feature nor this Viessmann Component.
If I ask for this, this is what I get :slight_smile:

{
     "viErrorId": "req-54f5b385d5bb4975a4139d8589a81fa6",
     "statusCode": 401,
     "errorType": "UNAUTHORIZED",
     "message": "Authorization failed while trying to perform this action"

I entered here, it works, I added what I need:
https://app.developer.viessmann.com/

I also looked at this description, but I don’t understand what I have to do in Postman:

By clicking on this link, who gives the data, you don’t have a Clinetid

Vitoconnect OPTO2

So I don’t know where to go, I bought the boiler directly

My English is bad, sorry.
Vitodens 200-w

It’s solved, I didn’t do anything and now it works. Maybe the Viessmann central system needs 1-2 days for the Clients to be activated or I don’t know :slight_smile: The point is that it works now.

1 Like

Hi there,
i have the ViCare integration running since several times, so far OK. Roughly since feb 2024 the current temparture of my heating pump is no longer available. sensor.vicare_heizung_temperatur shows always “no longer availalbe” - any clue on that issue? Thanks JJ

@Toschi57 Can you control the Vitocal 250A through the API? I think about getting this heat pump and would like to combine it with my solar system through home assist.

Stephan

Hi,
I experience “data holes” with my Vitocal 200S. Is happens for warm water and the heating entity during night time reduction program. However the outside temperature continues to show updated values. Anyone experiencing the same behavior?

I have a Vitodens 100-W boiler. I use the ViCare integration and it’s worked pretty much flawlessly since installation. My question is about firmware updates…

The boiler is currently running v2.516.2110.507. There is very little (or, no?) information about an update that’s jut become available in the iOS app. In fact, I couldn’t even get the existing firmware version from the app; I had to go to the boiler itself and hunt through the menus.

I’m unmotivated to upgrade because everything’s working and I don’t know what I’ll get from the upgrade. I doubt there would be any issue with the boiler, but HA connectivity might suffer? If anyone has any experience or ideas, I’d like to hear it. Thanks!

I’m running my 200-W for 16 years now, there has never been any firmware update. I would check what that new firmware is supposed to fix and if nothing relevant for you I would not touch it. To get more info check the Viessmann support forums or contact them directly.

1 Like

Good to know, thanks. 16 years…! I’ll be pleased if mine lasts that long. I have no reason to think it won’t, it’s a well-built piece of hardware.

I’m leaning that way with this update as well. If it ain’t broke, and whatnot. If I learned that HA would add a new “climate” entity for the boiler with this new firmware, that would probably push me to upgrade.

I would say thats normal. Seems like your night program does not have any target temperature set, that’s why it’s not shown during this time.

Hmm, but what is with the actual temperature of the water. Looking at the diagram it is just a interpolation of the temperature but not real values in my view.

I don’t think that’s an interpolation. That’s just the water cooling out in your water reservoir.

When the warm water is deactivated, the underlying API does not return any values even if the configured target temp is still valid.

1 Like

Hi all! I recently opened this feature request: Viessmann ViCare - Add Eco / Comfort modes because the water_heater (DHW) in the ViCare integration it’s not working as expected. The post has a lot of information, including some links, but I will resume it here:

The documentation of the ViCare integration explains that the water_heater has no on/off because it interferes with the heating circuit, and it seems this was true (the method to change the modes in the Viessmann API was the same for both). But since some time ago this was changed in the API, it has different methods to change the mode in the heating and in the DHW, so it seems that now it can be used.
I wrote here to see if someone knows if all boilers can use the new methods or only the new ones can, to give the information in the feature request to let this info to the developers (in this way the old method must be maintained or can be removed safelly, and this simplifies the changes).

This is more or less explained here Viessmann Climate Solutions Community - Viessmann Climate Solutions Community it seems that the new E3 devices use the new API (so it seems the old ones need the old methods) but I don’t know exactly what E3 devices imply.

Thanks!

EDIT: sorry, it seems the info was there… in the changelog of november 2022 it’s explained: https://documentation.viessmann.com/static/changelog it shows how to detect E3 devices and what methods to use with this devices. So it’s almost 2 years old the change.

Another thing I’ve observed, is that the the daily gas counter “resets” in GMT hour. It does not take into account the time zone. Is there a way to change that? I suppose that ignore this counters and make a manual custom one in Home Assistant will do the trick, but I want to know if there is a better way.

Hi, thank you for this helpful informations in this thread and another here in the HA community. First I have a Vitocal 200S heat pump and I can’t show the watertemperature in influxDB or Grafana but in HA I get all infos.

I have HA since one week and its all new terrain for me. But I can get the water temperature with “Helpers” the problem is the water temperature is no sensor and you can’t read data from “water_heater” to get data in C° . So I use “Helpers” and create a new sensor.

Go to helper and create a new helper and you get the info also in influx-grafana