GithubHelp home page GithubHelp logo

Comments (2)

ReneNulschDE avatar ReneNulschDE commented on August 20, 2024

Hi Thomas,

as far as I know the MB-API-endpoints have no history endpoints. I do not know iobroker but I assume that the history is implemented with iobroker basis functionality.

The same exists in Home Assistant as long as you run with the default_config or you need the recorder and history component enabled in HA. With that you can use the HA-standard functionality to access historical data for the "fuel_level" or the "soc" sensor in this MBapi2020 component.

Please check the HA documentation:
Standard History component
Standard History stats component
and check the default History Graph card in the HA UI

Please let me know if this answers your request or please explain more in detail your use case.

Thx
Rene

from mbapi2020.

realPilotfish avatar realPilotfish commented on August 20, 2024

Good point, I really hadn't thought about that!
What you get in iobroker is a json which contains entries per completed charging: start, end, state before and after, amount.
I am in the process of migrating to HA and don't habe a complete understanding of how to record such "self constructed" historic data.
I will read through the informational links that you mentioned.

Thanks a lot for the integration and you support! :-)

from mbapi2020.

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.