Code Monkey home page Code Monkey logo

Comments (5)

davidbb avatar davidbb commented on June 26, 2024 4

This is easy to do since the integration already provides instantaneous power readings. All you need is to integrate the value over time to get energy readings (as @tolwi says above) . To do this, in Home assistant:

Settings - Devices and services - Helpers.
Create helper - Integration - Riemann sum integral sensor
Give it a name, and for input sensor choose the ecoflow sensor providing AC in power (should end in ac_in_power).
Choose left Riemann sum, leave precision 2, and choose k(kilo) for metric prefix. Choose Hours for time unit (this gives kWh).

Repeat for AC out power. This gives you 2 new sensors with energy readings, which after a few minutes you can add to the energy dashboard.

from hassio-ecoflow-cloud.

tolwi avatar tolwi commented on June 26, 2024

https://www.home-assistant.io/integrations/integration/?#energy

from hassio-ecoflow-cloud.

MrXLR8 avatar MrXLR8 commented on June 26, 2024

Any progress on this?

from hassio-ecoflow-cloud.

Fyr42 avatar Fyr42 commented on June 26, 2024

This is easy to do since the integration already provides instantaneous power readings. All you need is to integrate the value over time to get energy readings (as @tolwi says above) . To do this, in Home assistant:

Settings - Devices and services - Helpers. Create helper - Integration - Riemann sum integral sensor Give it a name, and for input sensor choose the ecoflow sensor providing AC in power (should end in ac_in_power). Choose left Riemann sum, leave precision 2, and choose k(kilo) for metric prefix. Choose Hours for time unit (this gives kWh).

Repeat for AC out power. This gives you 2 new sensors with energy readings, which after a few minutes you can add to the energy dashboard.

Thanks a lot for these little explanation. I'm a HA noob and I was hesitant to which type of sensor to put or what I want to see : the instant value of solar production or the cumulative one through the day. And if it's a cumulative one, is HA a big boy and can do the sum (aka the Riemann integral ... oh god it's correct but why put that nightmare name for phd people :p )

from hassio-ecoflow-cloud.

nimitiz86 avatar nimitiz86 commented on June 26, 2024

This is easy to do since the integration already provides instantaneous power readings. All you need is to integrate the value over time to get energy readings (as @tolwi says above) . To do this, in Home assistant:

Settings - Devices and services - Helpers. Create helper - Integration - Riemann sum integral sensor Give it a name, and for input sensor choose the ecoflow sensor providing AC in power (should end in ac_in_power). Choose left Riemann sum, leave precision 2, and choose k(kilo) for metric prefix. Choose Hours for time unit (this gives kWh).

Repeat for AC out power. This gives you 2 new sensors with energy readings, which after a few minutes you can add to the energy dashboard.

Hi, I follow your instruction but I have a problem, it’s work for ACOUT but for AC IN no.
AC OUT appear in energy dashboard but isn’t for AC IN, any suggestion? Thanks a lot

from hassio-ecoflow-cloud.

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.