Skip to content

Homie schema missing EVSE status values (UNPLUGGED and possibly others) #9

@cayossarian

Description

@cayossarian

Summary

The Homie schema at GET /api/v2/homie/schema declares the following values for evse/status:

UNKNOWN, AVAILABLE, PREPARING, CHARGING, SUSPENDED_EV, SUSPENDED_EVSE, FINISHING, RESERVED, FAULTED, UNAVAILABLE

However, firmware has been observed publishing UNPLUGGED on evse/status, which is not declared in the schema. This was reported by a user whose integration raised an error when the value was not in the expected options list.

Questions

  1. Is UNPLUGGED an intentional EVSE status value? If so, could it be added to the schema's enum format for evse/status?
  2. Is there a corresponding PLUGGED value (or similar) that may also be published but not yet declared in the schema?
  3. Are there other properties where the firmware may publish values not yet reflected in the Homie schema?

Context

The OCPP-based status values in the schema (AVAILABLE, PREPARING, CHARGING, etc.) are well-documented, but UNPLUGGED does not appear in the OCPP 1.6 or 2.0.1 ChargePointStatus enumerations either. It appears to be a SPAN-specific addition.

Third-party integrations rely on the Homie schema as a reference for expected values. When firmware publishes undeclared values, integrations that validate against the schema can break. Keeping the schema in sync with actual published values would help avoid this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions