OCPP

YAML key: ocpp

OCPP adapter that can run as a Charge Point (role: charge_point) or as a Central System (role: central_system).

Minimal configuration (Charge Point)

Example model (spx-examples): library/domains/energy/emobility/evse__ocpp.yamlarrow-up-right

communication:
  - ocpp:
      role: charge_point
      endpoint: "ws://localhost:9000/ocpp"
      subprotocol: "ocpp1.6"
      charge_point_id: "spx-evse-01"
      bindings:
        boot_notification:
          direction: outbound
          frame_type: call
          action: BootNotification
          payload:
            chargePointVendor: "#attr(cp_vendor)"
            chargePointModel: "#attr(cp_model)"

Minimal configuration (Central System)

Example model (spx-examples): library/domains/energy/emobility/csms__ocpp.yamlarrow-up-right

Notes

  • Dependency: requires the Python ocpp package in the SPX Server environment.

  • bindings can be a mapping (as shown) or a list.

Last updated