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
Two bugs preventing backup box sensors from appearing on MIN 4200TL-XH:
1. read_all_data() never populated box_* GrowattData fields
The 3000-range registers (3281-3342) were read into _register_cache correctly
by the gap-detection chunker, but there was no code mapping cache -> dataclass.
All 10 box_* fields stayed at default 0 permanently, so box_connect_flag was
always 0 and the deferred sensor mechanism never added the 8 conditional sensors.
Fix: add _read_backup_box_data() method called from read_all_data().
2. Diagnostic scanner overwrote correct DTC result with MOD heuristic
DTC 5100 correctly identifies TL-XH. When register 30099 = 0 (legacy protocol),
confidence is downgraded from Very High to High. The early-return guard checked
confidence == Very High so it fired only on the non-downgraded path, allowing
register heuristics to re-classify the device as MOD 6000-15000TL3-XH.
Fix: guard now checks dtc_code + profile_key presence instead of confidence level.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments