Comments (12)
The values aren't recorded incrementally, like you're describing.
The API returns the totals for the current day, so every hour (when the totals are updated by the integration) I just get the latest total value for that day. AFAIK there is no way to miss any energy values this way. But there may well be something wrong with timezones, or the way the values get reset within Home Assistant. I'm using total_increasing for the energy sensors.
I may be able to help, if you can provide more information (screenshots comparing the vaillant app and what you're seeing in HA).
from mypyllant-component.
I posted a more thorough explanation about this problem at the very bottom off this page.
from mypyllant-component.
Thx for answering . . . and ok, I'll understood the Problem now ;-)
Today the HP was not set to standby, so the difference is clearly visible on the Screenshots attached.
I stay in Germany MEZ: UTC+1 and indeed, the gap is smaller since Wintertime startet. Formaly the consumption totals startet app. 3:00 AM - There is no settings in "myVaillant App" to set Timezone - but Germany was selected when I start the App first time.
Beside:
Yesterday myVaillant App shows a Consuption of 8.8 kWh - in HA it was 8 kWh
Maybe a Sensor can be created, showing the Values of Yesterday?
So my Grafana will show more realistic graphs ;-)
from mypyllant-component.
I have also a problem in the logs. In Home Assistant it stop working at 00:35 - Happy New Year ;)
The app says 0 value. I think this is the problem and why the state is "unknown".
Thanks for the great integration!
2024-01-01 00:53:59.673 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform mypyllant Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 509, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 754, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1025, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 745, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 845, in _async_write_ha_state state, attr = self._async_generate_attributes() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 786, in _async_generate_attributes state = self._stringify_state(available) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 751, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 501, in state value = self.native_value ^^^^^^^^^^^^^^^^^ File "/config/custom_components/mypyllant/sensor.py", line 776, in native_value return round(self.heat_energy_generated / self.energy_consumed, 1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ZeroDivisionError: division by zero 2024-01-01 00:53:59.764 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up mypyllant platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 369, in _async_setup_platform await asyncio.gather(*pending) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 509, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 754, in _async_add_entity await entity.add_to_platform_finish() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1025, in add_to_platform_finish self.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 745, in async_write_ha_state self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 845, in _async_write_ha_state state, attr = self._async_generate_attributes() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 786, in _async_generate_attributes state = self._stringify_state(available) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 751, in _stringify_state if (state := self.state) is None: ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 501, in state value = self.native_value ^^^^^^^^^^^^^^^^^ File "/config/custom_components/mypyllant/sensor.py", line 776, in native_value return round(self.heat_energy_generated / self.energy_consumed, 1) ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ ZeroDivisionError: division by zero
from mypyllant-component.
Hello everyone,
I have the same problem. I came from Multimatic Integration and switched to MyVaillant. Since then, the values have differed significantly every day (HA and MyVaillant app). Sometimes there are 3-4kWh missing daily in HA.
The Multimatic integration had added up the values in each case. Now the values are "reset" daily.
What is the smartest way to restore the status so that the values between the app and HA are consistent?
Many thanks (especially to the developer who makes it possible to read out the WP / HP in HA)!
from mypyllant-component.
Hello,
I have exactly the same problem and I think it may really be related to some issue with timezones.
If you check the image below, the first graph is my Shelly Energy meter on the main and the second is what the heat pump says. There is basically nothing else consuming power (<50W). You can see the same graph pattern, but about 4.5 hours delayed. Why? My timezone is CET+1 on both the device and HA.
Any ideas?
from mypyllant-component.
...and also to add, if I check my energy dashboard, the difference between what Shelly measured and what the heat pump reports as consumption differs exactly by what was consumed by the heat pump in the last 4.5 hours of every day...
from mypyllant-component.
In my case, both the Raspberry with HA and the Vaillant system have the same time / time zone setting (Europe/Berlin).
from mypyllant-component.
If you compare the heat pump current power graph with flow temperature, does it match or is it also shifted by some time as for me?
The power readings are completely off in my case and I assume it will break the consumption alignment for a day...
from mypyllant-component.
@signalkraft thanks very much for this detailed explanation on the docs page! this helps me alot to understand the problem.
Am I right: we cannot do something against this problem? Is there a discussion at Vaillant or in HomeAssistant to upvote?
from mypyllant-component.
So I think, there is nothing to do here.
I will close this Issue for this reason.
Thank you for explaining, Signalkraft!
from mypyllant-component.
I would leave the bug open. It's a problem that many people will stumble across during the heating period.
Perhaps you can at least write the lost values to the following day so that the overall balance is at least consistent again.
from mypyllant-component.
Related Issues (20)
- Manual Cooling for x days HOT 12
- Incorrect setpoint temperature in ECO mode HOT 4
- After the update the calendar.casa_nuova_domestic_hot_water_0_schedule is not visible anymore. So it is impossible to track the current status of the hot water on or off
- eebus communication HOT 4
- I don't see the names of the Operating States HOT 3
- Change in how energy values are rounded? HOT 2
- Combination Ecotec exclusive vc245 with VR920 doesn't seem to work HOT 2
- Turning on hot water doesnโt work HOT 1
- [myPyllant.api] Could not get rooms data HOT 5
- WARNING (MainThread) [myPyllant.api] Could not get energy management data
- service: mypyllant.report : AttributeError: module 'custom_components.mypyllant.datetime' has no attribute 'now'
- Trigger legionella control program HOT 1
- Unexpected error when adding both SR 940f and VR 940f HOT 2
- Can't Log in from Germany:
- deviation between "Heating Energy Efficiency" with Vaillant APP
- Error: API calls being exceeded HOT 1
- Setting the temperature not possible HOT 4
- ValueError: 'none' is not a valid ControlIdentifier
- VR52 repeater support
- Warning: No daily data, skipping sensors
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mypyllant-component.