Stop Charging

StopChargingRequest

Topics: josev/cs or ocpp/iso15118. Used to issue a stop charging request directly to the CS (if no HLC is ongoing) or to ISO15118 (if HLC is up)

type

object

properties

  • id

type

string

format

uuid

  • name

const

stop_charging

  • type

const

request

  • data

type

object

properties

  • evse_id

type

string

Example:

{
    "id": "dd7de5f8-64b0-4796-9fd6-a428de018e21",
    "name": "stop_charging",
    "type": "request",
    "data": {
        "evse_id": "DE*SEV*E123456789"
    }
}

StopChargingResponse

Topic: cs/josev. Used to acknowledge the stop charging request.

type

object

properties

  • id

type

string

format

uuid

  • name

const

stop_charging

  • type

const

response

  • data

type

object

properties

  • evse_id

type

string

  • status

enum

accepted, rejected

Example:

{
    "id": "dd7de5f8-64b0-4796-9fd6-a428de018e21",
    "name": "stop_charging",
    "type": "response",
    "data": {
        "evse_id": "DE*SEV*E123456789",
        "status": "accepted"#or"rejected"
    }
}

NOTE

The stop_charging message is used to serve at least two different use cases:

  1. RemoteStop Request

After the CSMS has sent a RemoteStopRequest to the CS OCPP module and this one is accepted, we need to request either the CS directly or to 15118 to stop charging.

  1. Stop Transaction by Authorization Token

On the reception of an AuthorizationRequest by the CS OCPP module on a running transaction, we shall send a stop_charging message either to the CS directly or to 15118. On both scenarios above, the message used for that purpose is the same for both, but the topics are different. The decision to send the message to the CS or to the 15118 service is based on the EVSE type (which we know through the response to device_model) and with the reception of v2g_setup status = finished. If v2g_setup is NOT finished and the EVSE type is AC, then we send this message to the topic: josev/cs, otherwise, in any other case we send it to ocpp/iso15118 (this also means that, if we are under a DC session, we send it to ocpp/iso15118 topic).