Skip to content

v2.0.3

Latest

Choose a tag to compare

@Bobsilvio Bobsilvio released this 02 Jul 04:59
4f4fb78

Fixed

  • Per-panel live sensors (Pin/Vin/Iin/RSSI) received the wrong panel's data on the v4 API (#8).

    _apply_summary mapped each d[] column by its /api/v4/equipments index, which is alphabetical (A1, A10, A11, A2, …) and does not match the summary d[] column order (it follows installation order). On a fully healthy array every sensor still showed a plausible value, so the swap was invisible unless a panel was dark. Fixed by resolving each column through the summary payload's ground-truth order list (matched against object_id/equipmentId), with a positional fallback only when no order is present.

Field-confirmed on a Premium account (24 panels): all columns resolve via order[], and a known-dead optimizer now correctly reads unknown. Thanks @speegs for the root-cause analysis and verification.