thomasgermain / vaillant-component

Multimatic integration for Home Assistant (also compatible with sensoAPP)
MIT License
136 stars 24 forks source link

Energy Usage in kWh also is not aligned with what the Multimatic App displays #97

Closed VaillantHassIo closed 3 years ago

VaillantHassIo commented 3 years ago

As per conversation, it seems the Sensor for Engery Consumption are somehow incorrctly configured and i am looking for help to query the APi directly.

image

Equipment:

flexoCompact exclusive Mulitmatic VR921 recoVair

thomasgermain commented 3 years ago

Thanks, are you using sensoAPP ?

VaillantHassIo commented 3 years ago

Multimatic App

VaillantHassIo commented 3 years ago

I'll figured that i have sheduled WLAN disconnect from 22.00-06.00 i am not sure how this will affect the tracking of the energie consumption. Do you have an API Command Set for testing?

thomasgermain commented 3 years ago

It should not really affect the entity itself, but you will have some kind of "stale history" and you may have some errors between the time frame.

Regarding the raw data, you can check here https://github.com/thomasgermain/pymultiMATIC/tree/master/script, there re script to get raw data:

You can find your serial_id on your VRXX box. Don't forget some personal/sensitive data if any (like serial id, etc.).

By the way, could you also show me the entity (and the value) from the integration page (not from the energy dashboard), the value there should be in Wh. I have the feeling HA (in the energy dashboard) is rounding a bit the value, so you don't see small difference in consumption.

VaillantHassIo commented 3 years ago

This is from the Integration Page. Its in Wh but it seems the values are incorrect or at least 10x bigger on what it should be

image

edit1: PowerShell Script works fine

{"body":[{"id":"NoneGateway-LL_HMU00_XXXX_flexoTHERM_PR_EBUS","type":"HEAT_PUMP","marketingName":"VWF 58/4","reports":[{"function":"CENTRAL_HEATING","energyType":"ENVIRONMENTAL_YIELD","currentMeterReading":185000.0,"from":"2021-07-15","to":"2021-09-17"},{"function":"COOLING","energyType":"ENVIRONMENTAL_YIELD","currentMeterReading":0.0,"from":"2021-07-15","to":"2021-09-17"},{"function":"CENTRAL_HEATING","energyType":"CONSUMED_ELECTRICAL_POWER","currentMeterReading":52000.0,"from":"2021-07-15","to":"2021-09-17"},{"function":"COOLING","energyType":"CONSUMED_ELECTRICAL_POWER","currentMeterReading":0.0,"from":"2021-07-15","to":"2021-09-17"},{"function":"DHW","energyType":"ENVIRONMENTAL_YIELD","currentMeterReading":96000.0,"from":"2021-07-15","to":"2021-09-17"},{"function":"DHW","energyType":"CONSUMED_ELECTRICAL_POWER","currentMeterReading":33000.0,"from":"2021-07-15","to":"2021-09-17"}]}],"meta":{}}

VaillantHassIo commented 3 years ago

So while it seems the monthly values matches in HA, Mulitmatic App, HeatPump the weekly and daily values doesnt add up.

thomasgermain commented 3 years ago

Ok so, as I can see, entities are correct regarding the API values.

Actually, the integration is just getting the total values, HA energy dashboard is responsible to compute daily/weekly and monthly value

VaillantHassIo commented 3 years ago

Ok. My bad. The values on the heat-pump are all environmental not actual consumtption. So the values add up and i close the ticket hereby