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

Enable long term statistics for Power to show it in Dashboard "Energy" #4

Open
stumbaumr opened this issue Apr 7, 2022 · 1 comment

Comments

@stumbaumr
Copy link

Describe the bug
I would like to add the MyPV AC ELWA-E to my distinct devices in /config/energy to make it show up in /energy

To Reproduce
Steps to reproduce the behavior:

  1. Trying to add a distintc device
  2. My AC ELWA-E Power sensor does not show up

Expected behavior

Power shoud be configured as long term statistics entity:
https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics

Versions (please complete the following information):

  • home-assistant: 2022.4.0
  • homeassistant-mypv Plugin Version: master
@coccyx00
Copy link

The energy dashboard needs an energy sensor. The ELWA does not provide this information.
But you can use this integration to calculate the energy from the power value (Aktueller Verbrauch):
Please note that the sample time of the mypv integration is 10 seconds whereas the ELWA will change the actual power more often. So the calculated energy is only an estimation.
If you need more accurate data you may query the current power with modbus (register 1000) and use the integration above.

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

2 participants