Comments (5)
Hi and thanks :)
The gap appears to be, because I've not yet understood how Wiener Netze are fetching their data.
That's what I know so far:
- if you opt-in to 15-minutes interval measurement, you get daily usage to a granularity of 15 minutes
- the data from your smart meter apparently gets fetched by WN only a few times a day (exact times not known)
- when they fetch data, somehow a few measurements are always missing (I try to circumvent this, see below)
- sometimes they miss fetch anything
The workaround for me was interpolating the missing measurements with the avg provided by the API, see
Imho you're absolutely correct with your assumptions towards the total increasing sensor afaik.
Nevertheless, my ideal case of how this sensor should work is as follows.
- regularly poll the API and try to fetch the data
- do not just add the "total meter readings of the day" (guesstimated or not), but store the quarterly (or hourly) once exactly as they appear
i.e.
NOT once a day at ~2am get a huge load of consumption
BUT once a day you get the "history" of the last day into your home assistant
Unfortunately I've not found the right way to to this with HA, since I was only capable of updating the sensor at exactly one point in time (namely the point in time, when I am reading the new meter values), but in one update cycle the whole last day with individual values per 15minutes/1hour.
If you have any knowledge about how this could work, or if you're having any other idea how we could improve this, I'd very much appreciate it.
from wienernetzesmartmeter.
see #8
from wienernetzesmartmeter.
ah... # TODO: find out how to use quarterly data in another sensor
is this the reason why I won't get the 15m-breakdown of usage imported? (I have enabled it in the wienernetze web-frontend, but in HA I only see one column of usage per day)
from wienernetzesmartmeter.
@financelurker yes. unfortunately that's it. I've to figure out how this could work in home-assistant. I am also eager to get that information into hassio as well. If you have any input on that, please let me know. :)
from wienernetzesmartmeter.
its too technical for me, but maybe there's a solution here somewhere: https://community.home-assistant.io/t/import-old-energy-readings-for-use-in-energy-dashboard/341406/20
Wien Energie seems to be the worst. I checked on my sensor today and it seemed that it imported 2 days into one because apparently wien energie was not able to provide the data quickly enough (as in 1 whole day), so your integration did just add it to the next day.
Nothing you can do on your end to stop this unless historic data will be accepted for the energy grid sensors.
in the meantime i might look into forking your python script to feed the scraped data into an influxdb on the quarterly basis. When HA is ready for imports, it should then be easy to pull the data and import it into the engergy sensors.
from wienernetzesmartmeter.
Related Issues (20)
- Einspeisezählpunkt wird gefunden aber keine Daten HOT 1
- after update 1.4.3 statistic entity is not working HOT 2
- Error on device update HOT 2
- since middle of January statistic entities are not working HOT 7
- trigger reimport of data due to huge negative consumption error? HOT 10
- Statistics Import Stops Working after Renaming Statistics Entity HOT 2
- Energy Dashboard shows feeding without actually feeding in place HOT 31
- Problem with 29.02. HOT 2
- Subsequent update to statistics after initial import is not working HOT 5
- wnsm: Error on device update HOT 7
- No statistics are imported the day after the consumtion HOT 1
- Subsequent update to statistics after initial import is still not working HOT 12
- Multiple contracts causes issue with live sensor HOT 19
- two Smartmeters under the same contract. consumption and production HOT 3
- HomeAssistantType was used from wnsm, this is a deprecated alias which will be removed in HA Core 2025.5 HOT 2
- Keine Verbindung seit neuem Einspeisepunkt HOT 16
- ig
- Change password for integration HOT 2
- Unnamed error in wnsm/live_sensor.py:68 HOT 2
- Startup time of WienerNetzeSmartmeter HOT 2
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 wienernetzesmartmeter.