./mockpoint
    Download

    Steps & Actions

    Each step in the steps array represents an OCPP operation. Steps are executed sequentially by each charge point.

    bootNotification

    Send a BootNotification message to register with the CSMS.

    yaml
    - action: bootNotification

    authorize

    Authorize an ID tag (RFID card).

    yaml
    - action: authorize
      id_tag: "RFID12345"

    heartbeat

    Send a Heartbeat message.

    yaml
    - action: heartbeat

    statusNotification

    Report charge point status.

    yaml
    - action: statusNotification
      status: "Available"

    Status values: Available, Charging, Faulted, etc.

    startTransaction

    Start a charging transaction.

    yaml
    - action: startTransaction
      id_tag: "RFID12345"

    stopTransaction

    Stop the current charging transaction.

    yaml
    - action: stopTransaction

    meterValues

    Send meter values (energy consumption and power measurements). Values are generated deterministically based on the scenario's master seed.

    yaml
    - action: meterValues

    diagnosticsStatusNotification

    Report diagnostics upload status to the CSMS.

    yaml
    - action: diagnosticsStatusNotification
      status: "Uploaded"

    Status values: Idle, Uploading, Uploaded, UploadFailed

    sleep

    Pause execution for a specified duration.

    yaml
    - action: sleep
      duration_ms: 5000

    Related Topics

    Was this page helpful?