BootNotification OCPP 2.1
Der Simulator sendet diese Nachricht als Ladepunkt.
Auch in: OCPP 1.6, OCPP 2.0.1
Request
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
chargingStation | object | Pflicht | The physical system where an Electrical Vehicle (EV) can be charged. |
chargingStation.serialNumber | string | maxLength 25 Vendor-specific device identifier. | |
chargingStation.model | string | Pflicht | maxLength 20 Defines the model of the device. |
chargingStation.modem | object | Defines parameters required for initiating and maintaining wireless communication with other devices. | |
chargingStation.modem.iccid | string | maxLength 20 This contains the ICCID of the modem’s SIM card. | |
chargingStation.modem.imsi | string | maxLength 20 This contains the IMSI of the modem’s SIM card. | |
chargingStation.vendorName | string | Pflicht | maxLength 50 Identifies the vendor (not necessarily in a unique manner). |
chargingStation.firmwareVersion | string | maxLength 50 This contains the firmware version of the Charging Station. | |
reason | string | Pflicht | enum: ApplicationReset, FirmwareUpdate, LocalReset, PowerUp, RemoteReset, ScheduledReset, Triggered, Unknown, Watchdog This contains the reason for sending this message to the CSMS. |
JSON-Schema (Request)
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "urn:OCPP:Cp:2:2025:1:BootNotificationRequest",
"comment": "OCPP 2.1 Edition 1 (c) OCA, Creative Commons Attribution-NoDerivatives 4.0 International Public License",
"definitions": {
"BootReasonEnumType": {
"description": "This contains the reason for sending this message to the CSMS.\r\n",
"javaType": "BootReasonEnum",
"type": "string",
"additionalProperties": false,
"enum": [
"ApplicationReset",
"FirmwareUpdate",
"LocalReset",
"PowerUp",
"RemoteReset",
"ScheduledReset",
"Triggered",
"Unknown",
"Watchdog"
]
},
"ChargingStationType": {
"description": "The physical system where an Electrical Vehicle (EV) can be charged.\r\n",
"javaType": "ChargingStation",
"type": "object",
"additionalProperties": false,
"properties": {
"serialNumber": {
"description": "Vendor-specific device identifier.\r\n",
"type": "string",
"maxLength": 25
},
"model": {
"description": "Defines the model of the device.\r\n",
"type": "string",
"maxLength": 20
},
"modem": {
"$ref": "#/definitions/ModemType"
},
"vendorName": {
"description": "Identifies the vendor (not necessarily in a unique manner).\r\n",
"type": "string",
"maxLength": 50
},
"firmwareVersion": {
"description": "This contains the firmware version of the Charging Station.\r\n\r\n",
"type": "string",
"maxLength": 50
},
"customData": {
"$ref": "#/definitions/CustomDataType"
}
},
"required": [
"model",
"vendorName"
]
},
"ModemType": {
"description": "Defines parameters required for initiating and maintaining wireless communication with other devices.\r\n",
"javaType": "Modem",
"type": "object",
"additionalProperties": false,
"properties": {
"iccid": {
"description": "This contains the ICCID of the modem’s SIM card.\r\n",
"type": "string",
"maxLength": 20
},
"imsi": {
"description": "This contains the IMSI of the modem’s SIM card.\r\n",
"type": "string",
"maxLength": 20
},
"customData": {
"$ref": "#/definitions/CustomDataType"
}
}
},
"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": {
"chargingStation": {
"$ref": "#/definitions/ChargingStationType"
},
"reason": {
"$ref": "#/definitions/BootReasonEnumType"
},
"customData": {
"$ref": "#/definitions/CustomDataType"
}
},
"required": [
"reason",
"chargingStation"
]
}Response
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
currentTime | string | Pflicht | format date-time This contains the CSMS’s current time. |
interval | integer | Pflicht | When <<cmn_registrationstatusenumtype,Status>> is Accepted, this contains the heartbeat interval in seconds. If the CSMS returns something other than Accepted, the value of the interval field indicates the minimum wait time before sending a next BootNotification request. |
status | string | Pflicht | enum: Accepted, Pending, Rejected This contains whether the Charging Station has been registered within the CSMS. |
statusInfo | object | Element providing more information about the status. | |
statusInfo.reasonCode | string | Pflicht | maxLength 20 A predefined code for the reason why the status is returned in this response. The string is case-insensitive. |
statusInfo.additionalInfo | string | maxLength 1024 Additional text to provide detailed information. |
JSON-Schema (Response)
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$id": "urn:OCPP:Cp:2:2025:1:BootNotificationResponse",
"comment": "OCPP 2.1 Edition 1 (c) OCA, Creative Commons Attribution-NoDerivatives 4.0 International Public License",
"definitions": {
"RegistrationStatusEnumType": {
"description": "This contains whether the Charging Station has been registered\r\nwithin the CSMS.\r\n",
"javaType": "RegistrationStatusEnum",
"type": "string",
"additionalProperties": false,
"enum": [
"Accepted",
"Pending",
"Rejected"
]
},
"StatusInfoType": {
"description": "Element providing more information about the status.\r\n",
"javaType": "StatusInfo",
"type": "object",
"additionalProperties": false,
"properties": {
"reasonCode": {
"description": "A predefined code for the reason why the status is returned in this response. The string is case-insensitive.\r\n",
"type": "string",
"maxLength": 20
},
"additionalInfo": {
"description": "Additional text to provide detailed information.\r\n",
"type": "string",
"maxLength": 1024
},
"customData": {
"$ref": "#/definitions/CustomDataType"
}
},
"required": [
"reasonCode"
]
},
"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": {
"currentTime": {
"description": "This contains the CSMS’s current time.\r\n",
"type": "string",
"format": "date-time"
},
"interval": {
"description": "When <<cmn_registrationstatusenumtype,Status>> is Accepted, this contains the heartbeat interval in seconds. If the CSMS returns something other than Accepted, the value of the interval field indicates the minimum wait time before sending a next BootNotification request.\r\n",
"type": "integer"
},
"status": {
"$ref": "#/definitions/RegistrationStatusEnumType"
},
"statusInfo": {
"$ref": "#/definitions/StatusInfoType"
},
"customData": {
"$ref": "#/definitions/CustomDataType"
}
},
"required": [
"currentTime",
"interval",
"status"
]
}Quelle: Open Charge Alliance, OCPP 2.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.