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
victron, ferroamp_modbus: meter and PV send 0 when a read fails #258
victron and ferroamp_modbus still send 0 for the meter and PV streams when a read fails. docs/WRITING-A-DRIVER.md ("Never fabricate") says a field that did not answer is left out, and a stream whose defining reading did not answer is not emitted. A fabricated 0 W meter reading is the worst case: it looks like a balanced site.
#254 fixes the battery side of both drivers; the meter and PV sides are left for this issue.
Expected: each field is set only from a register that answered, and the meter/PV stream is emitted only when its power read answered. Add harness tests for a failed read.
Activity
fix(victron, ferroamp_modbus): no meter or PV zeros from failed reads…
docs(changelog): note the victron PV figure after a one-off 808 failure
fix(victron, ferroamp_modbus): no meter or PV zeros from failed reads…
docs(changelog): note the victron PV figure after a one-off 808 failure
fix(victron, ferroamp_modbus): no meter or PV zeros from failed reads…
fix(ferroamp_modbus): leave out a NaN or infinite float (2.2.2)
fix(ferroamp_modbus): leave out a NaN or infinite float (2.2.2) (#274)