jedie / inverter-connect

Get information from Deye Microinverter
https://pypi.org/project/inverter-connect/
GNU General Public License v3.0
27 stars 9 forks source link

Total Production for modules in wrong order #78

Open bolausson opened 1 year ago

bolausson commented 1 year ago

Hej,

I run a SUN1300-2000G3-EU-230 with only two solar pannels attached. According to SOLARMAN the pannels are "1" and "2" (at least those are the only modules showing values in SOLARMAN).

This is also in line with what your program shows in terms of Voltage, Current and Power for module 1 and 2. What is shown wrong is the "Total Production 3" - The value shown should be for "Total Production 2" and most likely the registers for "Total Production 2" and "Total Production 3" are wrong.

Since I only have two modules, I can't confirm my assumption about the "Total Production 3/4" registers.

Attached is a diff with the suggested changes. deye_4mppt.yaml.diff.txt

Without patch: image

With patch applied: image

Cheers, Bjoern