Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to read the values of the energy balance? #56

Closed
tinom86 opened this issue Mar 8, 2021 · 6 comments
Closed

Is it possible to read the values of the energy balance? #56

tinom86 opened this issue Mar 8, 2021 · 6 comments

Comments

@tinom86
Copy link

tinom86 commented Mar 8, 2021

Hi all,

is there a possibility to read the values of the energy balance via Viessmann-API (heating and water)? It is visible per calendar week in the menu.

image

In the Viessmann menu:
Service ->Diagnosis -> Energy Balance

BR
Tino

@Jumper78
Copy link

Jumper78 commented Mar 8, 2021

Hello @tinom86,

up to version 1.3.0, it was possible to read out the complete content of the API with the command json_decode($viessmannApi->getFeatures(), true);
You ended up with a huge json list you could search. To be honest, I have never seen those values in this complete list. It would surprise me if you can get them via the API.

One more remark:
After reading your question, I did read out the values for CW9 from my Viessmann heating system and got 325.4 kWh for heating and 34.3 kWh for hot water. That would be 359.7 kWh in total. But: this cannot be the correct value! My (smart-) meter tells me a total power consumption of 154 kWh for CW9. This value is the official one and it even includes also my ventilation system. My Viessmann system must have consumed about 140 kWh in CW9 and not 360 kWh. At least in my case, the values given by the Viessmann system are not trustworthy at all.

Cheers, Jump3r

@tinom86
Copy link
Author

tinom86 commented Mar 8, 2021

Hello @tinom86,

up to version 1.3.0, it was possible to read out the complete content of the API with the command json_decode($viessmannApi->getFeatures(), true);
You ended up with a huge json list you could search. To be honest, I have never seen those values in this complete list. It would surprise me if you can get them via the API.

One more remark:
After reading your question, I did read out the values for CW9 from my Viessmann heating system and got 325.4 kWh for heating and 34.3 kWh for hot water. That would be 359.7 kWh in total. But: this cannot be the correct value! My (smart-) meter tells me a total power consumption of 154 kWh for CW9. This value is the official one and it even includes also my ventilation system. My Viessmann system must have consumed about 140 kWh in CW9 and not 360 kWh. At least in my case, the values given by the Viessmann system are not trustworthy at all.

Cheers, Jump3r

Hi,

damn... thought I get the information :(

Your values might be correct. The balance does not show electrical energy but heating energy. In CW9 your heater made 360 kWh heating energy out of 140 kWh electrical energy. That's what I understand?!?

Best
Tino

@Jumper78
Copy link

Jumper78 commented Mar 8, 2021

Now you caught my interest: the factor of 2.5 I saw between the values would then be the "Coefficient Of Performance". That would be a reasonable number, actually. Now I also would love to read out that value.

Nevertheless, I checked the total list of features (1.3 MB of json data) but did not find the value "325" anywhere else then in the heating.controller.serial. So, at least last weeks value seems not be in the data.

@soeffi
Copy link

soeffi commented Mar 29, 2021

Can you use the getHeatingPowerConsumption() for that purpose? Seems to work for me, but I haven't check against an external power meter to compare accuracy of the data.

In fact I do have an issue here, there is an example script "GetHeatingPowerConsumptionTotal.php" which uses a function getHeatingPowerConsumptionTotal(), that doesn't seem to exist - can anyone comment on that?

@Jumper78
Copy link

Jumper78 commented Apr 3, 2021

Concerning your first question: getHeatingPowerConsumption() does not work for my Viessmann heating system. The constant HEATING_POWER_CONSUMPTION in the class ViessmannFeature refers to "heating.power.consumption" which does not exist for my device. So, I can read a value on the screen of the device itself, but I cannot read the value via the API.

@thetrueavatar
Copy link
Owner

NA since we are using the new IOT Api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants