-
-
Notifications
You must be signed in to change notification settings - Fork 670
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
Enphase multiple batteries - jq: too many results #17254
Comments
The template's jq query needs be updated and a battery number added. Happy to take a PR. Update looks like this should already handle >1 battery, not sure why this doesn't work:
/cc @premultiply lokal kann ich das gar nicht testen, aber mit anderem Fehler:
|
Could the issue be the 2 top level arrays of ENPOWER and ENCHARGE? Both return devices, only ENCHARGE is will return percentFull values. Is the intended bahaviour to average the percentFull values? I'm curious as the log files seems to indicate battery numbers" I'll try playing around with a custom meter and the |
Fixed in a custom meter with: full custom meter:
Edit: I have a new battery install with 3x 5P batteries and IQ System Controller 3 INT. I have no way to test this on Enphases other battery and install types . |
Perfect- happy to take a PR! |
Every battery unit should be added as own device for configuration. evcc will sum up the measurands internally where required. |
Bitte nicht komplizierter machen als notwendig. Hier gehts erstmal überhaupt um die richtige Formel, ees fehlt nur der PR. |
Eben, daher ja die Bitte keine komplizierten und ggf. falschen Formeln zu verwenden sondern einfach mit dem jeweiligen Index auf die jeweilige Speicher-Einheit einzeln zuzugreifen. |
Darum geht es hier aber nicht. Bitte nicht alles durcheinander mischen. Bei Stapelspeichern passt das wunderbar. |
Das sind mwn. alles einzelne Speichereinheiten mit AC-Anschluss, keine gestapelten DC-Module. |
Yep, hat mit diesem Issue aber trotzdem nix zu tun 😉 |
Describe the bug
After installing 3 enphase solar batteries and reconfiguring evcc with the new controller, I see all the solar production and consumption data, but the battery SOC is not available. Checking through the logs, I can see evcc polls and receives the battery data from the IQ controller (GET https://192.168.3.126/ivp/ensemble/inventory), but it looks like evcc is expecting to see only 1 battery, producing the following error logs:
[site ] ERROR 2024/11/14 16:41:29 battery 1 soc: jq: too many results
[site ] DEBUG 2024/11/14 16:41:29 battery soc: 0%
[site ] DEBUG 2024/11/14 16:41:29 battery power: 0W
Steps to reproduce
...
Configuration details
Log details
What type of operating system are you running?
Linux
Nightly build
Version
evcc version 0.131.5 (6836749)
The text was updated successfully, but these errors were encountered: