Docs › OCPP 2.0.1 › StatusNotification

StatusNotification OCPP 2.0.1

Der Simulator sendet diese Nachricht als Ladepunkt.

Auch in: OCPP 1.6, OCPP 2.1

Request

FeldTypEinschränkungen / Beschreibung
timestampstringPflichtformat date-time
The time for which the status is reported. If absent time of receipt of the message will be assumed.
connectorStatusstringPflichtenum: Available, Occupied, Reserved, Unavailable, Faulted
This contains the current status of the Connector.
evseIdintegerPflichtThe id of the EVSE to which the connector belongs for which the the status is reported.
connectorIdintegerPflichtThe id of the connector within the EVSE for which the status is reported.
JSON-Schema (Request)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "comment": "OCPP 2.0.1 FINAL",
  "definitions": {
    "CustomDataType": {
      "description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
      "javaType": "CustomData",
      "type": "object",
      "properties": {
        "vendorId": {
          "type": "string",
          "maxLength": 255
        }
      },
      "required": [
        "vendorId"
      ]
    },
    "ConnectorStatusEnumType": {
      "description": "This contains the current status of the Connector.\r\n",
      "javaType": "ConnectorStatusEnum",
      "type": "string",
      "additionalProperties": false,
      "enum": [
        "Available",
        "Occupied",
        "Reserved",
        "Unavailable",
        "Faulted"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    },
    "timestamp": {
      "description": "The time for which the status is reported. If absent time of receipt of the message will be assumed.\r\n",
      "type": "string",
      "format": "date-time"
    },
    "connectorStatus": {
      "$ref": "#/definitions/ConnectorStatusEnumType"
    },
    "evseId": {
      "description": "The id of the EVSE to which the connector belongs for which the the status is reported.\r\n",
      "type": "integer"
    },
    "connectorId": {
      "description": "The id of the connector within the EVSE for which the status is reported.\r\n",
      "type": "integer"
    }
  },
  "required": [
    "timestamp",
    "connectorStatus",
    "evseId",
    "connectorId"
  ]
}

Response

Leeres Objekt {}.

JSON-Schema (Response)
{
  "$schema": "http://json-schema.org/draft-06/schema#",
  "comment": "OCPP 2.0.1 FINAL",
  "definitions": {
    "CustomDataType": {
      "description": "This class does not get 'AdditionalProperties = false' in the schema generation, so it can be extended with arbitrary JSON properties to allow adding custom data.",
      "javaType": "CustomData",
      "type": "object",
      "properties": {
        "vendorId": {
          "type": "string",
          "maxLength": 255
        }
      },
      "required": [
        "vendorId"
      ]
    }
  },
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "customData": {
      "$ref": "#/definitions/CustomDataType"
    }
  }
}

Quelle: Open Charge Alliance, OCPP 2.0.1 – JSON-Schemas, unverändert wiedergegeben. © Open Charge Alliance. Lizenz: CC BY-ND 4.0. Die vollständige Spezifikation gibt es bei der Open Charge Alliance. ocpp-sim ist nicht mit der OCA verbunden.