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
fronius: battery addresses do not match the GEN24 storage maps; float decoder flips sign on 32-bit Lua #260
While removing false 0 °C readings in #259, the fronius driver's battery addresses turned out not to match Fronius's own GEN24 storage register maps. Battery W, V and SoC are therefore likely wrong on a GEN24 with storage.
The same review found that the driver's float decoder flips the sign on 32-bit Lua builds. FTW and Blixt L1 run 64-bit Lua, so they are not affected today, but the harness and any 32-bit host are (the same fault was fixed in ferroamp_modbus by #254).
The driver is read_only, so no commands are affected.
Needed: check the battery block against Fronius's GEN24 storage documentation (SunSpec model 124 and the GEN24 Modbus maps), correct the addresses with harness tests, and use a decoder that works on the 16-bit halves as docs/WRITING-A-DRIVER.md ("Numbers") asks. A field report from a GEN24 with a battery would settle it.
Activity
fix(fronius): read the battery where the GEN24 storage maps put it (2…
fix(fronius): PV from the MPPT inputs with storage; look for a batter…
fix(fronius): read the battery where the GEN24 storage maps put it (2…
fix(fronius): PV from the MPPT inputs with storage; look for a batter…
fix(fronius): read the battery where the GEN24 storage maps put it (2…
fix(fronius): PV from the MPPT inputs with storage; look for a batter…
fix(fronius): read the battery where the GEN24 storage maps put it (2…
fix(fronius): PV from the MPPT inputs with storage; look for a batter…
fix(fronius): read the battery where the GEN24 storage maps put it (2…
fix(fronius): PV from the MPPT inputs with storage; look for a batter…
fix(fronius): read the battery where the GEN24 storage maps put it (2…