You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
growatt: battery power sign is reversed (1009/1011 swapped) #263
While adding battery temperatures in #262, the growatt driver turned out to read registers 1009 and 1011 the wrong way round, so battery.w has the wrong sign: charging shows as discharging and the reverse.
Our sign convention is battery charge positive (docs/WRITING-A-DRIVER.md, "Sign convention"). The driver is read_only, so no command goes the wrong way, but the site balance, history and planning input are wrong for every Growatt battery.
Needed: confirm against Growatt's Modbus document which of 1009/1011 is charge and which is discharge power, fix the sign with a harness test, and ideally check it on a real Growatt while the battery charges.
Activity
fix(growatt): read charge and discharge power the right way round (2.…
fix(growatt): leave a failed read out instead of sending 0 (2.2.2)
fix(growatt): leave a failed read out instead of sending 0 (2.2.2)
test(growatt): battery without power reads, and a short reply
fix(growatt): leave a failed read out instead of sending 0 (2.2.2) (#273