NotifyEVChargingNeeds OCPP 2.0.1
Der Simulator antwortet mit NotSupported, prüft die Nachricht aber gegen das Schema.
Auch in: OCPP 2.1
Request
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
maxScheduleTuples | integer | Contains the maximum schedule tuples the car supports per schedule. | |
chargingNeeds | object | Pflicht | Charging_ Needs urn:x-oca:ocpp:uid:2:233249 |
chargingNeeds.acChargingParameters | object | AC_ Charging_ Parameters urn:x-oca:ocpp:uid:2:233250 EV AC charging parameters. | |
chargingNeeds.acChargingParameters.energyAmount | integer | Pflicht | AC_ Charging_ Parameters. Energy_ Amount. Energy_ Amount urn:x-oca:ocpp:uid:1:569211 Amount of energy requested (in Wh). This includes energy required for preconditioning. |
chargingNeeds.acChargingParameters.evMinCurrent | integer | Pflicht | AC_ Charging_ Parameters. EV_ Min. Current urn:x-oca:ocpp:uid:1:569212 Minimum current (amps) supported by the electric vehicle (per phase). |
chargingNeeds.acChargingParameters.evMaxCurrent | integer | Pflicht | AC_ Charging_ Parameters. EV_ Max. Current urn:x-oca:ocpp:uid:1:569213 Maximum current (amps) supported by the electric vehicle (per phase). Includes cable capacity. |
chargingNeeds.acChargingParameters.evMaxVoltage | integer | Pflicht | AC_ Charging_ Parameters. EV_ Max. Voltage urn:x-oca:ocpp:uid:1:569214 Maximum voltage supported by the electric vehicle |
chargingNeeds.dcChargingParameters | object | DC_ Charging_ Parameters urn:x-oca:ocpp:uid:2:233251 EV DC charging parameters | |
chargingNeeds.dcChargingParameters.evMaxCurrent | integer | Pflicht | DC_ Charging_ Parameters. EV_ Max. Current urn:x-oca:ocpp:uid:1:569215 Maximum current (amps) supported by the electric vehicle. Includes cable capacity. |
chargingNeeds.dcChargingParameters.evMaxVoltage | integer | Pflicht | DC_ Charging_ Parameters. EV_ Max. Voltage urn:x-oca:ocpp:uid:1:569216 Maximum voltage supported by the electric vehicle |
chargingNeeds.dcChargingParameters.energyAmount | integer | DC_ Charging_ Parameters. Energy_ Amount. Energy_ Amount urn:x-oca:ocpp:uid:1:569217 Amount of energy requested (in Wh). This inludes energy required for preconditioning. | |
chargingNeeds.dcChargingParameters.evMaxPower | integer | DC_ Charging_ Parameters. EV_ Max. Power urn:x-oca:ocpp:uid:1:569218 Maximum power (in W) supported by the electric vehicle. Required for DC charging. | |
chargingNeeds.dcChargingParameters.stateOfCharge | integer | minimum 0.0; maximum 100.0 DC_ Charging_ Parameters. State_ Of_ Charge. Numeric urn:x-oca:ocpp:uid:1:569219 Energy available in the battery (in percent of the battery capacity) | |
chargingNeeds.dcChargingParameters.evEnergyCapacity | integer | DC_ Charging_ Parameters. EV_ Energy_ Capacity. Numeric urn:x-oca:ocpp:uid:1:569220 Capacity of the electric vehicle battery (in Wh) | |
chargingNeeds.dcChargingParameters.fullSoC | integer | minimum 0.0; maximum 100.0 DC_ Charging_ Parameters. Full_ SOC. Percentage urn:x-oca:ocpp:uid:1:569221 Percentage of SoC at which the EV considers the battery fully charged. (possible values: 0 - 100) | |
chargingNeeds.dcChargingParameters.bulkSoC | integer | minimum 0.0; maximum 100.0 DC_ Charging_ Parameters. Bulk_ SOC. Percentage urn:x-oca:ocpp:uid:1:569222 Percentage of SoC at which the EV considers a fast charging process to end. (possible values: 0 - 100) | |
chargingNeeds.requestedEnergyTransfer | string | Pflicht | enum: DC, AC_single_phase, AC_two_phase, AC_three_phase Charging_ Needs. Requested. Energy_ Transfer_ Mode_ Code urn:x-oca:ocpp:uid:1:569209 Mode of energy transfer requested by the EV. |
chargingNeeds.departureTime | string | format date-time Charging_ Needs. Departure_ Time. Date_ Time urn:x-oca:ocpp:uid:1:569223 Estimated departure time of the EV. | |
evseId | integer | Pflicht | Defines the EVSE and connector to which the EV is connected. EvseId may not be 0. |
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"
]
},
"EnergyTransferModeEnumType": {
"description": "Charging_ Needs. Requested. Energy_ Transfer_ Mode_ Code\r\nurn:x-oca:ocpp:uid:1:569209\r\nMode of energy transfer requested by the EV.\r\n",
"javaType": "EnergyTransferModeEnum",
"type": "string",
"additionalProperties": false,
"enum": [
"DC",
"AC_single_phase",
"AC_two_phase",
"AC_three_phase"
]
},
"ACChargingParametersType": {
"description": "AC_ Charging_ Parameters\r\nurn:x-oca:ocpp:uid:2:233250\r\nEV AC charging parameters.\r\n\r\n",
"javaType": "ACChargingParameters",
"type": "object",
"additionalProperties": false,
"properties": {
"customData": {
"$ref": "#/definitions/CustomDataType"
},
"energyAmount": {
"description": "AC_ Charging_ Parameters. Energy_ Amount. Energy_ Amount\r\nurn:x-oca:ocpp:uid:1:569211\r\nAmount of energy requested (in Wh). This includes energy required for preconditioning.\r\n",
"type": "integer"
},
"evMinCurrent": {
"description": "AC_ Charging_ Parameters. EV_ Min. Current\r\nurn:x-oca:ocpp:uid:1:569212\r\nMinimum current (amps) supported by the electric vehicle (per phase).\r\n",
"type": "integer"
},
"evMaxCurrent": {
"description": "AC_ Charging_ Parameters. EV_ Max. Current\r\nurn:x-oca:ocpp:uid:1:569213\r\nMaximum current (amps) supported by the electric vehicle (per phase). Includes cable capacity.\r\n",
"type": "integer"
},
"evMaxVoltage": {
"description": "AC_ Charging_ Parameters. EV_ Max. Voltage\r\nurn:x-oca:ocpp:uid:1:569214\r\nMaximum voltage supported by the electric vehicle\r\n",
"type": "integer"
}
},
"required": [
"energyAmount",
"evMinCurrent",
"evMaxCurrent",
"evMaxVoltage"
]
},
"ChargingNeedsType": {
"description": "Charging_ Needs\r\nurn:x-oca:ocpp:uid:2:233249\r\n",
"javaType": "ChargingNeeds",
"type": "object",
"additionalProperties": false,
"properties": {
"customData": {
"$ref": "#/definitions/CustomDataType"
},
"acChargingParameters": {
"$ref": "#/definitions/ACChargingParametersType"
},
"dcChargingParameters": {
"$ref": "#/definitions/DCChargingParametersType"
},
"requestedEnergyTransfer": {
"$ref": "#/definitions/EnergyTransferModeEnumType"
},
"departureTime": {
"description": "Charging_ Needs. Departure_ Time. Date_ Time\r\nurn:x-oca:ocpp:uid:1:569223\r\nEstimated departure time of the EV.\r\n",
"type": "string",
"format": "date-time"
}
},
"required": [
"requestedEnergyTransfer"
]
},
"DCChargingParametersType": {
"description": "DC_ Charging_ Parameters\r\nurn:x-oca:ocpp:uid:2:233251\r\nEV DC charging parameters\r\n\r\n\r\n",
"javaType": "DCChargingParameters",
"type": "object",
"additionalProperties": false,
"properties": {
"customData": {
"$ref": "#/definitions/CustomDataType"
},
"evMaxCurrent": {
"description": "DC_ Charging_ Parameters. EV_ Max. Current\r\nurn:x-oca:ocpp:uid:1:569215\r\nMaximum current (amps) supported by the electric vehicle. Includes cable capacity.\r\n",
"type": "integer"
},
"evMaxVoltage": {
"description": "DC_ Charging_ Parameters. EV_ Max. Voltage\r\nurn:x-oca:ocpp:uid:1:569216\r\nMaximum voltage supported by the electric vehicle\r\n",
"type": "integer"
},
"energyAmount": {
"description": "DC_ Charging_ Parameters. Energy_ Amount. Energy_ Amount\r\nurn:x-oca:ocpp:uid:1:569217\r\nAmount of energy requested (in Wh). This inludes energy required for preconditioning.\r\n",
"type": "integer"
},
"evMaxPower": {
"description": "DC_ Charging_ Parameters. EV_ Max. Power\r\nurn:x-oca:ocpp:uid:1:569218\r\nMaximum power (in W) supported by the electric vehicle. Required for DC charging.\r\n",
"type": "integer"
},
"stateOfCharge": {
"description": "DC_ Charging_ Parameters. State_ Of_ Charge. Numeric\r\nurn:x-oca:ocpp:uid:1:569219\r\nEnergy available in the battery (in percent of the battery capacity)\r\n",
"type": "integer",
"minimum": 0.0,
"maximum": 100.0
},
"evEnergyCapacity": {
"description": "DC_ Charging_ Parameters. EV_ Energy_ Capacity. Numeric\r\nurn:x-oca:ocpp:uid:1:569220\r\nCapacity of the electric vehicle battery (in Wh)\r\n",
"type": "integer"
},
"fullSoC": {
"description": "DC_ Charging_ Parameters. Full_ SOC. Percentage\r\nurn:x-oca:ocpp:uid:1:569221\r\nPercentage of SoC at which the EV considers the battery fully charged. (possible values: 0 - 100)\r\n",
"type": "integer",
"minimum": 0.0,
"maximum": 100.0
},
"bulkSoC": {
"description": "DC_ Charging_ Parameters. Bulk_ SOC. Percentage\r\nurn:x-oca:ocpp:uid:1:569222\r\nPercentage of SoC at which the EV considers a fast charging process to end. (possible values: 0 - 100)\r\n",
"type": "integer",
"minimum": 0.0,
"maximum": 100.0
}
},
"required": [
"evMaxCurrent",
"evMaxVoltage"
]
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"customData": {
"$ref": "#/definitions/CustomDataType"
},
"maxScheduleTuples": {
"description": "Contains the maximum schedule tuples the car supports per schedule.\r\n",
"type": "integer"
},
"chargingNeeds": {
"$ref": "#/definitions/ChargingNeedsType"
},
"evseId": {
"description": "Defines the EVSE and connector to which the EV is connected. EvseId may not be 0.\r\n",
"type": "integer"
}
},
"required": [
"evseId",
"chargingNeeds"
]
}Response
| Feld | Typ | Einschränkungen / Beschreibung | |
|---|---|---|---|
status | string | Pflicht | enum: Accepted, Rejected, Processing Returns whether the CSMS has been able to process the message successfully. It does not imply that the evChargingNeeds can be met with the current charging profile. |
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 512 Additional text to provide detailed information. |
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"
]
},
"NotifyEVChargingNeedsStatusEnumType": {
"description": "Returns whether the CSMS has been able to process the message successfully. It does not imply that the evChargingNeeds can be met with the current charging profile.\r\n",
"javaType": "NotifyEVChargingNeedsStatusEnum",
"type": "string",
"additionalProperties": false,
"enum": [
"Accepted",
"Rejected",
"Processing"
]
},
"StatusInfoType": {
"description": "Element providing more information about the status.\r\n",
"javaType": "StatusInfo",
"type": "object",
"additionalProperties": false,
"properties": {
"customData": {
"$ref": "#/definitions/CustomDataType"
},
"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": 512
}
},
"required": [
"reasonCode"
]
}
},
"type": "object",
"additionalProperties": false,
"properties": {
"customData": {
"$ref": "#/definitions/CustomDataType"
},
"status": {
"$ref": "#/definitions/NotifyEVChargingNeedsStatusEnumType"
},
"statusInfo": {
"$ref": "#/definitions/StatusInfoType"
}
},
"required": [
"status"
]
}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.