Comments (5)
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.
https://www.home-assistant.io/integrations/integration/?#energy
from hassio-ecoflow-cloud.
Any progress on this?
from hassio-ecoflow-cloud.
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.
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)
- Configuration Flow could not be loaded. No module
- Configuration Flow could not be loaded. No module 'reactivex'
- [BUG] Report of a Error - MQTT - found in the Protokoll HOT 2
- Ecoflow-Delta2Max
- Ecoflow
- Ecoflow-Components
- HA 2024.4.2: Non-thread-safe operation invoked on an event loop other than the current one HOT 5
- I'm not getting readings from many of the sensors HOT 21
- not working after Release Update with HA 2024.5.0b0 HOT 42
- PowerStream "Other Loads (permanent_watts)" should be a number HOT 2
- Getting no data from the EcoFlow Cloud into the dashboard HOT 26
- Sensor problems HOT 5
- Error importing platform config_flow from integration ecoflow_cloud to set up ecoflow_cloud configuration entry: Platform ecoflow_cloud.config_flow not found HOT 2
- Erreur de 0 dans entité "Solar in Power" HOT 1
- [Feature Request] River 2 Energy Management/Backup Reserve
- Getting no data from the EcoFlow Cloud into Home Assistant HOT 2
- Developer Documentation / Developer experience HOT 4
- Delta 2 sensor unknown HOT 1
- Ecoflow Power Ocean HOT 12
- Delta 2 Max 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 hassio-ecoflow-cloud.