Energy Meter from Power Meter is no workie #1695
-
I have a solar inverter that has 3 MPPTs which measure power but not energy. I only have energy for the aggregate of the 3 MPPTs which is generally fine, however they are covering three separate panel arrays facing three different ways so for me to get a better PV generation estimate I need to measure and estimate/forecast them separately. This is where powercalc comes in. I figured I could just add a few lines of code to my configuration.yaml and it would generate the energy sensor for me. This is what I have in my configuration.yaml:
However in my log file I get the following message:
Which is definitely wrong. I do have an energy sensor called I assume this is a bug. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
OK, just for fun I added the two other sides:
And I got the following:
|
Beta Was this translation helpful? Give feedback.
-
OK, I think I know what the problem is: The code just assumes that a device has one power and one energy entity (it just picks up the first energy entity from the device), however for my use case the MQQT integration brings in a multitude of energy sensors and power sensors that are NOT related to each other. Suggested solution: |
Beta Was this translation helpful? Give feedback.
Done! #1697