Skip to content

1.5.18 – No phantom inputs from padded frames

Choose a tag to compare

@JImmyB0nes JImmyB0nes released this 29 Nov 19:15
· 2 commits to main since this release
11ef023

Fixed

A padded data response no longer invents inputs. The panel count came from the frame length alone, so a padded response — or a concatenated one, when a second reader is open on the same port — yielded more module blocks than the inverter has. The surplus blocks carry a serial of 00000000.

That registered phantom entities (13 inputs on 30852268, 8 on 30837672, both of which have four), showed them as extra tiles on the card, and summed their unreadable energy into the totals. On 29.11. that produced a single jump of 192.872 kWh on a day that produced 4.27 kWh.

Blocks with an empty serial are now dropped when the frame carries a real module alongside them, and the totals are summed over the blocks that were actually read. A frame that carries no serial at all is passed through unchanged, so a quiet inverter still reports what it has.

199 tests, including a new case for a six-block frame with two padded blocks.