Skip to content

span-panel-api-schema-1 1.1.4

Choose a tag to compare

@cayossarian cayossarian released this 03 Oct 18:46
811ec31

The parser reports the islanding state the panel is acting on, and refuses islanding writes the panel would ignore. Reported and fixed by @dcj in #179, from issue #178.

Fixed

  • An islanding assertion in force is now the reported islanding state even while the MID is ready. resolve_islanding_state returned the MID's sensed value whenever the MID was ready and read shed/asserted-islanding-state only when it was not, so dsm_state could disagree with the state the panel was acting on. ON_GRID or OFF_GRID asserted now wins; otherwise the ready MID's value, then the existing fallback.
  • set_dominant_power_source_target returns None unless the panel declares shed/asserted-islanding-state settable, the same refusal set_circuit_relay_target makes.
  • dominant_power_source_payload refuses NONE and UNKNOWN instead of publishing NONE, which the panel ignores. An assertion clears itself once the panel's link to the battery recovers.

Requires span-panel-api>=3.1.0, unchanged. Released alongside span-panel-api 3.5.0.