GithubHelp home page GithubHelp logo

Comments (5)

DarwinsBuddy avatar DarwinsBuddy commented on July 22, 2024

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

# TODO: find out how to use quarterly data in another sensor

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.

DarwinsBuddy avatar DarwinsBuddy commented on July 22, 2024

see #8

from wienernetzesmartmeter.

financelurker avatar financelurker commented on July 22, 2024

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.

DarwinsBuddy avatar DarwinsBuddy commented on July 22, 2024

@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.

Ing-Med avatar Ing-Med commented on July 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.