Viessmann API binding for OpenHAB 4.0 [4.0.0;5.0.0)

If you go to this page at /vicare/setup on your server, what does it say?

I thought, authorization was successfull

If it doesn’t list anything on that page then the API isn’t reporting any devices. Is this account the same one your heating is registered with?

This is embarrassing. I mixed up my emailaccounts during registration. The API works perfect. Many thanks!

Hello,
First of all, a big thank you to rtuck99 for the great work.

I’m using 4.0.3. My problem is that…

Heating Circuit 1 Reduced Operating Program Active (Read-only)

Heating Circuit 1 Normal Operating Program Active (Read-only)

Heating Circuit 1 Comfort Operating Program Active (read/write)

But I think all 3 should be read/write.

Hi rtuck99,

your API binding works very well and shows all information i need but for my gas consumption statistics i need more past information then two days, weeks and months. Two years is for me okay.
so is it possible to expand the following features more into the past.

heating.gas.consumption.total

for today and seven days backward,
for this week and maybe four weeks backward and
this month and twelve month backward.

Hi,
The gas consumption statistics in the API are provided for each of day/week/month/year time periods, and the values available are for the current period running total, and IIRC about 10 previous periods. i.e. you have the last 10 days worth of daily stats, the last 10 months of monthly stats etc. This is only for some devices, others only have current and previous period.

However, I have made the decision not to expose all of those 10 readings, and only show the current running total and last full collected period, i.e. today and yesterday, the current month and last full month etc.

This is for consistency with other devices and in order to not fill up the OpenHAB model with a frankly ridiculous number of channels, which will be basically the same data viewed at different times. From a charting perspective, over time you will build up a chart of daily-resolution data just by letting OpenHAB run and charting the previous day consumption stats, and the other values that I don’t have will basically end up being clones of this graph at the same or lower resolution. Because of the granularity of the data, you don’t have access to daily consumption stats all the way back so you can usually get more info from say, going to your electricity or gas provider and asking for your smart meter billing data.

If you are a UK user, then I have another OpenHAB plugin for glowmarkt API that will fetch the half-hourly smart meter data on a daily basis and going back also through your historical records.

tl;dr the answer is I don’t expose that info and have no plans to do so.

Hello,

examples for files based configuration possible?

Hello rtuck99,

does the binding also work with OpenHAB 4.1? At Githab this is still listed as an issue.

best regards
Frank

Hey there,

i also had issues dealing with OH 4.1. It was not possible to authorize OH,
So I changed the Access Server URI back to v2: https://iam.viessmann.com/idp/v2/token

This worked fine for me.

Regards
Daniel

The binding does already support OpenHAB 4.1. I’ve not had any issues with authorisation on my own system, which is using the default endpoint settings

:+1: thanks for the feedback.

Hi,
i set up a fresh installation of openhabian 4.1.1 on my Raspberry Pi 3 Model B. Now i want to install the vicare binding. I placed the .kar file into the addons folder, but i cant add the Viessmann API Bridge. It dosent shows the binding, if i go to Settings–>Things–>Add. If i open http://192.168.178.40:8080/vicare/setup, im able to authorise the Viessmann API.

Maybe somewone has any idea whats wrong.

Pictures



Regards

Afaik you don’t have to manually install the vicare binding.
Just do it via addons store (and don’t forget to firstly remove the manually dropped file)

And of course openHAB is not authorized yet :slight_smile:

1 Like

How to do it via addons store, I can’t find anything there? :thinking:

Edit:

Okay, i found it. thanks :partying_face:

Where / How did you find it?

I found IT at Addon Store → Community Marketplace

Hello,

the binding works perfectly, thank you for that.
Is it possible to add some more Datapoints?
Following Datapints would be nice, they are documented in the Viessmann documentation.

heating.power.consumption.summary.dhw
heating.power.consumption.summary.heating
heating.power.consumption.heating
heating.power.consumption.dhw
heating.power.consumption.total

Hi, these should already be supported. They should be listed as
DHW Power Consumption Current/Last Day/7 Days/Month/Year
Heating Power Consumption Current/Last Day/7 Days/Month/Year
Total Power Consumption Current/Last Day/7 Days/Month/Year

summary and non-summary data points - I believe they should broadly reflect the same numbers but are just formatted differently in the json.

If you still don’t think you have them, please send me your json as documented elsewhere in this forum and I will investigate

Rob

configuration.txt (49.2 KB)

I still don“t find these Dataponits in the Binding.
Which json dou you mean, where can I find it?

Attached there is the Code of the Vitocal 200-S Thing.