Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Energy panel HA no powerstream #262

Open
hardyn66a opened this issue Jul 14, 2024 · 3 comments
Open

Energy panel HA no powerstream #262

hardyn66a opened this issue Jul 14, 2024 · 3 comments

Comments

@hardyn66a
Copy link

Why can't you insert the Powerstream yield into the HA energy panel?

@Nid01
Copy link

Nid01 commented Jul 14, 2024

What exactly do you mean by yield?
Please provide more details.

@nemhods
Copy link

nemhods commented Jul 17, 2024

I think he means the "energy" dashboard in this panel:
Screenshot 2024-07-17 155517

After reading this documentation: https://www.home-assistant.io/docs/energy/faq/#troubleshooting-missing-entities, it seems that HA requires a sensor of type "total" or "total_increasing". The total production value is something that the official ecoflow app supports and displays, but it doesn't seem to be part of the device data that Ecoflow provides through the /devices/quota API (and probably similarly with MQTT). If i'm reading the API docs correctly, this information is simply not offered for now.

The HA energy docs state:

If you have a sensor that returns instantaneous power readings (W or kW), then to add a sensor that returns energy usage or generation (kWh), refer to the Riemann sum integral integration.

This is probably a bit imprecise, as it assumes the momentanous power production was there all the time since the last update. I did not yet test this properly, but using this Helper (Settings -> Devices -> Helpers -> Create Helper (Integral)) I was able to add it to the dashboard.
Screenshot 2024-07-17 161236

@Dev-Fabry
Copy link
Contributor

the @nemhods solution is correct, this issue can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants