there is a binding to integrate viessmann vitotronic, which requires additional hardware.
However, the relevant data (personally I’m interested in energy production, gas consumption and changing temperatures) are available in the ViCare-App. And quite recently (I think) they opened their system to external access via API: DeveloperPortal and DeveloperPortal
I’m not too skilled in IT/network/API-topics, so it’s not much use to me (and maybe quite a few other viessmann-customers?) at the moment.
Are there plans to develop such a binding? Would be great …
Does this require a Vito Connect Unit (which I don’t have)? It’s not listed as a requirement in the article you mentioned but maybe that was too obvious to mention…
Yes, it is the gateway to connect the heating to the internet. I don’t know about other ways.
What heating do you have? Is it possible to connect directly to the internet?
I have a fuel cell heating (Brennstoffzellenheizung) which runs on gas but generates electricity as a by-product to heat; quite nice actually. And I don’t need/have additional hardware, it sends its info directly to viessmann so I can access all data via ViCare and change settings too.
So it looks like I need to be patient and hope someone will develop a binding sometime. But that’s ok, I still have enough other things to implement in OH which will keep me busy for a while …
Newer heating system from Viessmann do not require a gateway, they are connected to internet and you can consume their data using ViCare application. API from viessmann is not yet opened, I’m registered for updates and I will post as soon as API gets available and public.
This looks promising but maybe a little too difficult for a beginner like me. I think I’ll wait for the API too, and then invest some time trying to get it connected to openhab.
if you run the script, openhab items shall be populated. Mind that Viessmann limit the use of the API, so do not query (run the script) more than once every 10min or so.
-> run the script with no params and data gets refresh.
-> run the script with -c activatecharge or -c desactivatecharge to active / desactivation one time charge of the hot water.
Thanks for this explanation, Fred!
One thing before I start: I’m interested in current electricity production and gas consumption values. I guess I’ll have to add commands like “self.ohPutValue(‘Viessmann_HWCurrentTemperature’,session.getDomesticHotWaterStorageTemperature())” to get this. Do you know which commands exactly or how to figure them out?
Getting consumption is not part of it I’m afraid. I trust library (this one and others) will evolve and new possibilities will arise as viessmann opens its API platform.
I’m very interested too in getting consumption, will post here when it becomes available.
I’m also a user of Viessmann Smart Climate, if someone has information to share on how to get temperature and settings not from the Heating only but also from the Rooms associated with the heating ??
Getting temperature reading from a room is no problem within openHAB, however getting such a (non-Viessmann) reading into the heating-system would by nice. Although I doubt Viessmann will ever open such a door.
Not PyViCare but my openHAB instance is running on a RaspPi and I’m actually using the Viessmann API via rules:
Looked at the PyViCare code, at least the used settings for apiURLBase and redirect_uri are not looking as documented by Viessmann. Using this apiURLBase I was not able to send a command to my system, using the documented URL it worked.
With the new version of the binding the “viessmann device”-thing (Device Id = 0) does not get online.
Before it was working and I was able to read out the values of my heatpump.
Here is the error-message: