ocpp_consumer_API¶
EVerest API definition for ocpp (consumer)
API for EVerest API clients implementing occp / ocpp_data_transfer (consumer).
Specification: ocpp_consumer_API.yaml · pionix:de:everest:ocpp_consumer_API
Servers¶
default mqtt
default local MQTT
- Host
localhost:1883- Topic prefix
everest_api/1/ocpp_consumer/{module_id}{module_id}The ID of the module as defined in the EVerest config file
Operations¶
Client to EVerest¶
send_reply_data_transfer_incoming¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers receive_request_data_transfer_incoming.
Message Reply to data transfer request application/json
Message send_reply_data_transfer_incoming
Reply to the request to transfer data
Payload
object DataTransferResponse
Type for data transfer response provided by OCPP
Example
{
"status": "Accepted",
"data": "string",
"custom_data": {
"vendor_id": "string",
"data": "string"
}
}
send_request_data_transfer_outgoing¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/data_transfer_outgoing- Reply
- Sent to
$message.header#/replyToas receive_reply_data_transfer_outgoing.
Direction: Module to EVerest
Message Request data transfer application/json
Message send_request_data_transfer_outgoing
Request data transfer.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
-
payloadobject requiredDataTransferRequest
Type for data transfer request provided by OCPP
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
},
"payload": {
"vendor_id": "string",
"message_id": "string",
"data": "string",
"custom_data": {
"vendor_id": "string",
"data": "string"
}
}
}
send_request_get_variables¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/get_variables- Reply
- Sent to
$message.header#/replyToas receive_reply_get_variables.
Direction: Module to EVerest
Message Request variables application/json
Message send_request_get_variables
Request the variables.
Reads variables using canonical component/variable addressing (e.g. component OCPPCommCtrlr, variable HeartbeatInterval), identical for OCPP 1.6 and 2.x. An empty component.name marks the deprecated OCPP 1.6 legacy key form (variable.name = configuration key); it is only accepted while OCPP 1.6 is active and will be removed per the deprecation policy. A non-empty component.name is never reinterpreted as a configuration key. Each result echoes the requested component_variable and carries a status.
See the OCPPmulti module documentation ("Configuration access" and "Migration from OCPP 1.6 key addressing") for examples and the migration guide.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
-
payloadobject requiredGetVariableRequestList
List of GetVariableRequest values
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
},
"payload": {
"items": [
{
"component_variable": {
"component": {
"name": "string",
"instance": "string",
"evse": {
"id": 1,
"connector_id": 1
}
},
"variable": {
"name": "string",
"instance": "string"
}
},
"attribute_type": "Actual"
}
]
}
}
send_request_set_variables¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/set_variables- Reply
- Sent to
$message.header#/replyToas receive_reply_set_variables.
Direction: Module to EVerest
Message Request set variables application/json
Message send_request_set_variables
Request setting the variables.
Writes variables using the same canonical component/variable addressing as get_variables, identical for OCPP 1.6 and 2.x; the empty-component OCPP 1.6 legacy key form is deprecated and scheduled for removal. Connection-configuration writes (component NetworkConfiguration with the profile slot number as component instance, and the OCPPCommCtrlr/NetworkConfigurationPriority selector) return RebootRequired: the value is validated and persisted immediately and takes effect on the next (re)connect or reboot.
See the OCPPmulti module documentation ("Configuration access" and "Migration from OCPP 1.6 key addressing") for examples and the migration guide.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
},
"payload": {
"variables": {
"items": [
{
"component_variable": {
"component": {
"name": "string",
"instance": "string",
"evse": {
"id": 1,
"connector_id": 1
}
},
"variable": {
"name": "string",
"instance": "string"
}
},
"value": "string",
"attribute_type": "Actual"
}
]
},
"source": "string"
}
}
send_request_monitor_variables¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/monitor_variables
Direction: Module to EVerest
Message Monitor variables application/json
Message send_request_monitor_variables
Monitor the variables.
Command to start monitoring the given ComponentVariable(s), using the same canonical component/variable addressing as get_variables, identical for OCPP 1.6 and 2.x; the empty-component OCPP 1.6 legacy key form is deprecated. Changes to monitored variables are published on the event_data channel and echo the addressing form used at registration. Consecutive calls of this operation will not override but extend the existing monitors.
See the OCPPmulti module documentation ("Configuration access" and "Migration from OCPP 1.6 key addressing") for examples and the migration guide.
Payload
object MonitorVariableRequestList
List of MonitorVariableRequest values
Example
{
"items": [
{
"component": {
"name": "string",
"instance": "string",
"evse": {
"id": 1,
"connector_id": 1
}
},
"variable": {
"name": "string",
"instance": "string"
}
}
]
}
send_request_monitor_and_get_variables¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/monitor_and_get_variables- Reply
- Sent to
$message.header#/replyToas receive_reply_monitor_and_get_variables.
Direction: Module to EVerest
Message Monitor variables and read their current values application/json
Message send_request_monitor_and_get_variables
Monitor the variables and receive their current values in the reply.
Combination of monitor_variables and get_variables in one call: starts monitoring the given ComponentVariable(s) exactly like monitor_variables, using the same canonical component/variable addressing as get_variables, identical for OCPP 1.6 and 2.x; the empty-component OCPP 1.6 legacy key form is deprecated. Changes to monitored variables are published on the event_data channel and echo the addressing form used at registration. Consecutive calls of this operation will not override but extend the existing monitors. Additionally the reply contains the current (Actual) value of every requested variable, with the same order, addressing echo and status semantics as get_variables. The monitors are registered before the values are read, so no update can be lost: every change from registration on is published on the event_data channel, and the reply reflects each variable's state at some point after registration. The reply is not ordered against the event stream, however: a change around the call may be reported both in the reply and as an event, and an event may arrive before the reply does. Treat event_data as authoritative for a variable once its first event arrived; use the reply value only until then. This allows registering monitors at startup and obtaining the initial values in a single call without losing an update between the first read and the monitor registration.
See the OCPPmulti module documentation ("Configuration access" and "Migration from OCPP 1.6 key addressing") for examples and the migration guide.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
-
payloadobject requiredMonitorVariableRequestList
List of MonitorVariableRequest values
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
},
"payload": {
"items": [
{
"component": {
"name": "string",
"instance": "string",
"evse": {
"id": 1,
"connector_id": 1
}
},
"variable": {
"name": "string",
"instance": "string"
}
}
]
}
}
send_request_change_availability¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/change_availability- Reply
- Sent to
$message.header#/replyToas receive_reply_change_availability.
Direction: Module to EVerest
Message Request change availability application/json
Message send_request_change_availability
Request to change the availability of the Charging Station / an EVSE / a Connector.
Allows to send a ChangeAvailabilityRequest internally (as can be done by the CSMS).
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
-
payloadobject requiredChangeAvailabilityRequest
Request type to change the availability of the Charging Station/ an EVSE / a Connector.
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
},
"payload": {
"operational_status": "Inoperative",
"evse": {
"id": 1,
"connector_id": 1
}
}
}
send_request_security_event¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/security_event
Direction: Module to EVerest
Message Trigger security event application/json
Message send_request_security_event
Trigger a security event.
Triggers a SecurityEventNotification.req at the CSMS if it is deemed critical, either by setting the flag in this event or if absent automatically by libocpp
Payload
Example
{
"type": "string",
"info": "string",
"critical": true,
"timestamp": "2026-07-30T12:00:00Z"
}
send_request_get_ocpp_transaction_event¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/ocpp_transaction_event/get- Reply
- Sent to
$message.header#/replyToas receive_reply_get_ocpp_transaction_event.
Request the most recently published (latched) ocpp transaction event. The reply will be sent to the replyTo address specified in the message headers. If no latched value is available yet, a null payload will be sent.
Message Request current ocpp transaction event application/json
Message send_request_get_ocpp_transaction_event
Request the most recently published (latched) ocpp transaction event.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
}
}
send_request_get_security_event¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/security_event/get- Reply
- Sent to
$message.header#/replyToas receive_reply_get_security_event.
Request the most recently published (latched) security event. The reply will be sent to the replyTo address specified in the message headers. If no latched value is available yet, a null payload will be sent.
Message Request current security event application/json
Message send_request_get_security_event
Request the most recently published (latched) security event.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
}
}
send_request_get_boot_notification_response¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/boot_notification_response/get- Reply
- Sent to
$message.header#/replyToas receive_reply_get_boot_notification_response.
Request the most recently published (latched) boot notification response. The reply will be sent to the replyTo address specified in the message headers. If no latched value is available yet, a null payload will be sent.
Message Request current boot notification response application/json
Message send_request_get_boot_notification_response
Request the most recently published (latched) boot notification response.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
}
}
send_request_get_event_data¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/event_data/get- Reply
- Sent to
$message.header#/replyToas receive_reply_get_event_data.
Request the most recently published (latched) event data. The reply will be sent to the replyTo address specified in the message headers. If no latched value is available yet, a null payload will be sent.
Message Request current event data application/json
Message send_request_get_event_data
Request the most recently published (latched) event data.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
}
}
send_request_get_is_connected¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/is_connected/get- Reply
- Sent to
$message.header#/replyToas receive_reply_get_is_connected.
Deprecated: use send_request_get_connection_status instead. Request the most recently published (latched) Is Connected. The reply will be sent to the replyTo address specified in the message headers. If no latched value is available yet, a null payload will be sent.
Message Request current Is Connected application/json
Message send_request_get_is_connected
Deprecated: use send_request_get_connection_status instead. Request the most recently published (latched) Is Connected.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
}
}
send_request_get_connection_status¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/connection_status/get- Reply
- Sent to
$message.header#/replyToas receive_reply_get_connection_status.
Request the most recently published (latched) Connection Status. The reply will be sent to the replyTo address specified in the message headers. If no latched value is available yet, a null payload will be sent.
Message Request current Connection Status application/json
Message send_request_get_connection_status
Request the most recently published (latched) Connection Status.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
}
}
send_request_get_implementation_ready¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/implementation_ready/get- Reply
- Sent to
$message.header#/replyToas receive_reply_get_implementation_ready.
Request the most recently published (latched) Implementation Ready. The reply will be sent to the replyTo address specified in the message headers. The bridge seeds this value with false at startup, so a reply of null only occurs if latching is disabled for this module.
Message Request current Implementation Ready application/json
Message send_request_get_implementation_ready
Request the most recently published (latched) Implementation Ready.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
}
}
send_request_get_charging_schedules¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/charging_schedules/get- Reply
- Sent to
$message.header#/replyToas receive_reply_get_charging_schedules.
Request the most recently published (latched) Charging Schedules. The reply will be sent to the replyTo address specified in the message headers. If no latched value is available yet, a null payload will be sent.
Message Request current Charging Schedules application/json
Message send_request_get_charging_schedules
Request the most recently published (latched) Charging Schedules.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
}
}
send_request_get_ocpp_message¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/ocpp_message/get- Reply
- Sent to
$message.header#/replyToas receive_reply_get_ocpp_message.
Request the most recently published (latched) ocpp message. The reply will be sent to the replyTo address specified in the message headers. If no latched value is available yet, a null payload will be sent.
Message Request current ocpp message application/json
Message send_request_get_ocpp_message
Request the most recently published (latched) ocpp message.
Payload
-
headersobject
-
replyTostring
Address to send the response to. Omit it to discard the response. An invalid address, see the EVerest API explanation, rejects the request.
min length 1
-
Example
{
"headers": {
"replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
}
}
send_communication_check¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/m2e/communication_check
Message Send communication check application/json
Message send_communication_check
Signal to EVerest that communication is good or check shall be stopped
Payload
Send true at least every cfg_communication_check_to_s seconds to signal that the client is alive, otherwise EVerest raises a CommunicationFault, which the next message clears. Send false to stop the check until the module restarts.
Example
true
EVerest to client¶
receive_request_data_transfer_incoming¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/e2m/data_transfer_incoming- Reply
- Sent to
$message.header#/replyToas send_reply_data_transfer_incoming.
Direction: EVerest to Module
Message Request data transfer application/json
Message receive_request_data_transfer_incoming
Request data transfer.
Payload
-
headersobject required
-
replyTostring required
Address to send the response to.
-
-
payloadobject requiredDataTransferRequest
Type for data transfer request provided by OCPP
Example
{
"headers": {
"replyTo": "string"
},
"payload": {
"vendor_id": "string"
}
}
receive_reply_data_transfer_outgoing¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_data_transfer_outgoing.
Message Reply to data transfer request application/json
Message receive_reply_data_transfer_outgoing
Reply to the request to transfer data
Payload
object DataTransferResponse
Type for data transfer response provided by OCPP
Example
{
"status": "Accepted"
}
receive_reply_get_variables¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_get_variables.
Message Request variables application/json
Message receive_reply_get_variables
Reply to the request transmit the requested variables
Payload
Example
{
"items": [
{
"status": "Accepted",
"component_variable": {
"component": {
"name": "string"
},
"variable": {
"name": "string"
}
}
}
]
}
receive_reply_set_variables¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_set_variables.
Message Reply set variables application/json
Message receive_reply_set_variables
Reply to the request to set the variables
Payload
Example
{
"items": [
{
"status": "Accepted",
"component_variable": {
"component": {
"name": "string"
},
"variable": {
"name": "string"
}
}
}
]
}
receive_reply_monitor_and_get_variables¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_monitor_and_get_variables.
Message Reply monitor and get variables application/json
Message receive_reply_monitor_and_get_variables
Reply with the current values of the variables now being monitored
Payload
Example
{
"items": [
{
"status": "Accepted",
"component_variable": {
"component": {
"name": "string"
},
"variable": {
"name": "string"
}
}
}
]
}
receive_reply_change_availability¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_change_availability.
Message Reply to change availability request application/json
Message receive_reply_change_availability
Reply to the request to change the availability
Payload
object ChangeAvailabilityResponse
Response type to request to change the availability of the Charging Station/ an EVSE / a Connector.
Example
{
"status": "Accepted",
"status_info": {
"reason_code": "string",
"additional_info": "string"
}
}
receive_ocpp_transaction_event¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/e2m/ocpp_transaction_event
Message Receive OCPP transction event application/json
Message receive_ocpp_transaction_event
Events related to OCPP transactions
Payload
object OcppTransactionEvent
Element providing information on OCPP transactions.
Example
{
"transaction_event": "Started",
"session_id": "string",
"timestamp": "2019-08-24T14:15:22Z"
}
receive_is_connected¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/e2m/is_connected
Deprecated: use receive_connection_status instead, which reports the same connection state in its connected property together with the connection details.
Message Receive is connected application/json
Message receive_is_connected
Deprecated: use receive_connection_status instead. Indicates if chargepoint is connected to CSMS
Payload
Deprecated: use ConnectionStatus (connection_status) instead. Indicates if chargepoint is connected to CSMS
Example
true
receive_connection_status¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/e2m/connection_status
Message Receive connection status application/json
Message receive_connection_status
Indicates if the chargepoint is connected to the CSMS and reports the details of the connection the status refers to. Published on every connect and disconnect, replacing the deprecated is_connected variable.
Payload
object ConnectionStatus
Status of the connection of the chargepoint to the CSMS, including the details of the connection the status refers to. While connected, the details describe the active connection; while disconnected, they describe the connection that has just been lost or whose connection attempt has just failed. Details that are not available for the active OCPP version are omitted.
Example
{
"connected": true
}
receive_implementation_ready¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/e2m/implementation_ready
Message Receive implementation ready application/json
Message receive_implementation_ready
Indicates whether the OCPP implementation behind this API accepts commands
True means the OCPP module has finished its startup and accepts the commands offered by this API. Before that, commands are answered with Rejected or Offline results. The heartbeat of this API only proves that the bridge module itself is alive.
Payload
Indicates whether the OCPP implementation has finished its startup and accepts commands on this API. Unrelated to CSMS connectivity (see ConnectionStatus).
Example
true
receive_security_event¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/e2m/security_event
Message Receive security event application/json
Message receive_security_event
Published when an internal sucurity event occured
Payload
Example
{
"type": "string"
}
receive_reply_get_ocpp_transaction_event¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_get_ocpp_transaction_event.
Message Reply to get ocpp transaction event request application/json
Message receive_reply_get_ocpp_transaction_event
The most recently published ocpp transaction event.
Payload
Exactly one of:
-
#1object OcppTransactionEvent
Element providing information on OCPP transactions.
-
#2null
Example
{
"transaction_event": "Started",
"session_id": "string",
"timestamp": "2019-08-24T14:15:22Z"
}
receive_reply_get_security_event¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_get_security_event.
Message Reply to get security event request application/json
Message receive_reply_get_security_event
The most recently published security event.
Payload
Exactly one of:
-
#2null
Example
{
"type": "string"
}
receive_boot_notification_response¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/e2m/boot_notification_response
Message Receive boot notification response application/json
Message receive_boot_notification_response
Published any time a BootNotificationResponse message is received from the CSMS
Payload
Example
{
"status": "Accepted",
"current_time": "2019-08-24T14:15:22Z",
"interval": 0
}
receive_reply_get_boot_notification_response¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_get_boot_notification_response.
Message Reply to get boot notification response request application/json
Message receive_reply_get_boot_notification_response
The most recently published boot notification response.
Payload
Example
{
"status": "Accepted",
"current_time": "2019-08-24T14:15:22Z",
"interval": 0
}
receive_event_data¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/e2m/event_data
Message Receive event data application/json
Message receive_event_data
Published for a component variable combination when a variable with a monitor has been changed
Payload
object EventData
Type to report an event notification for a component-variable
Example
{
"component_variable": {
"component": {
"name": "string"
},
"variable": {
"name": "string"
}
},
"event_id": 0,
"timestamp": "2019-08-24T14:15:22Z",
"trigger": "Alerting",
"actual_value": "string",
"event_notification_type": "HardWiredNotification"
}
receive_reply_get_event_data¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_get_event_data.
Message Reply to get event data request application/json
Message receive_reply_get_event_data
The most recently published event data.
Payload
Exactly one of:
-
#1object EventData
Type to report an event notification for a component-variable
-
#2null
Example
{
"component_variable": {
"component": {
"name": "string"
},
"variable": {
"name": "string"
}
},
"event_id": 0,
"timestamp": "2019-08-24T14:15:22Z",
"trigger": "Alerting",
"actual_value": "string",
"event_notification_type": "HardWiredNotification"
}
receive_charging_schedules¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/e2m/charging_schedules
Message Receive composite charging schedules application/json
Message receive_charging_schedules
Object that contains OCPP charging schedules of all connectors
The object contains one composite charging schedule for each connector id starting from connector 0. Connector 0 contains a schedule for the whole charging station.
The frequency of publication is controlled by PublishChargingScheduleIntervalS (OCPP 2.x) and CompositeScheduleIntervalS (OCPP 1.6)
The duration of the composite schedules is controlled by PublishChargingScheduleDurationS (OCPP 2.x) and RequestCompositeScheduleDurationS (OCPP 1.6)
Payload
Example
{
"schedules": [
{
"evse": 0,
"charging_rate_unit": "string",
"charging_schedule_period": [
{
"start_period": 0,
"limit": 0
}
]
}
]
}
receive_reply_get_is_connected¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_get_is_connected.
Message Reply to get Is Connected request application/json
Message receive_reply_get_is_connected
Deprecated: use receive_reply_get_connection_status instead. The most recently published Is Connected.
Payload
Exactly one of:
-
Deprecated: use ConnectionStatus (connection_status) instead. Indicates if chargepoint is connected to CSMS
-
#2null
Example
true
receive_reply_get_connection_status¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_get_connection_status.
Message Reply to get Connection Status request application/json
Message receive_reply_get_connection_status
The most recently published Connection Status.
Payload
Exactly one of:
-
#1object ConnectionStatus
Status of the connection of the chargepoint to the CSMS, including the details of the connection the status refers to. While connected, the details describe the active connection; while disconnected, they describe the connection that has just been lost or whose connection attempt has just failed. Details that are not available for the active OCPP version are omitted.
-
#2null
Example
{
"connected": true
}
receive_reply_get_implementation_ready¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_get_implementation_ready.
Message Reply to get Implementation Ready request application/json
Message receive_reply_get_implementation_ready
The most recently published Implementation Ready.
Payload
Exactly one of:
-
Indicates whether the OCPP implementation has finished its startup and accepts commands on this API. Unrelated to CSMS connectivity (see ConnectionStatus).
-
#2null
Example
true
receive_reply_get_charging_schedules¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_get_charging_schedules.
Message Reply to get Charging Schedules request application/json
Message receive_reply_get_charging_schedules
The most recently published Charging Schedules.
Payload
Exactly one of:
-
#2null
Example
{
"schedules": [
{
"evse": 0,
"charging_rate_unit": "string",
"charging_schedule_period": [
{
"start_period": 0,
"limit": 0
}
]
}
]
}
receive_ocpp_message¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/e2m/ocpp_message
A serialized OCPP message
Message Receive ocpp message application/json
Message receive_ocpp_message
A serialized OCPP message
Payload
Example
{
"message": "string",
"direction": "CSMSToChargingStation"
}
receive_reply_get_ocpp_message¶
- Topic
- Dynamic: the
replyToaddress from the request's headers. Answers send_request_get_ocpp_message.
Message Reply to get ocpp message request application/json
Message receive_reply_get_ocpp_message
The most recently published ocpp message.
Payload
Example
{
"message": "string",
"direction": "CSMSToChargingStation"
}
receive_heartbeat¶
- Topic
everest_api/1/ocpp_consumer/{module_id}/e2m/heartbeat
Message Receive heartbeat application/json
Message receive_heartbeat
Heartbeat produced by EVerest as configured via cfg_heartbeat_interval_ms in the EVerest configuration
The heartbeat signals that the bridge module serving this API is alive. It says nothing about the readiness of the OCPP module behind it. See receive_implementation_ready for that.
Payload
64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached
Example
42
Messages¶
Schemas¶
AttributeEnum string¶
Attribute enum
- Actual: The actual value of a variable
- Target: The target value of a variable
- MinSet: The minimal allowed value of a variable
- MaxSet: The maximum allowed value of a variable
ActualTargetMinSetMaxSetBootNotificationResponse object¶
OCPP BootNotificationResponse
Additional properties allowed.
-
Indicates whether the Charging Station has been registered within the OCPP CSMS
enumAcceptedPendingRejected -
current_timestring required
Contains the CSMS current time in RFC3339 format
format date-time -
intervalinteger required
When 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.
OperationalStatusEnumType string¶
Operational status of Charging Station /EVSE / Connector
InoperativeOperativeChangeAvailabilityRequest object¶
Request type to change the availability of the Charging Station/ an EVSE / a Connector.
Additional properties allowed.
-
Type of availability change that the Charging Station should perform.
enumInoperativeOperative -
evseobject EVSE
Specify EVSE/Connector whose status is changed. When omitted, the message refers to the Charging Station as a whole.
ChangeAvailabilityStatusEnumType string¶
Status returned in response to ChangeAvailabilityRequest.
AcceptedRejectedScheduledChangeAvailabilityResponse object¶
Response type to request to change the availability of the Charging Station/ an EVSE / a Connector.
Additional properties allowed.
-
Indicates whether the Charging Station is able to perform the availability change.
enumAcceptedRejectedScheduled
EventData object¶
Type to report an event notification for a component-variable
Additional properties allowed.
-
component_variableobject requiredComponentVariable
Identifier for which the event occurred
-
event_idinteger required
Identifies the event
-
timestampstring required
Timestamp of the moment the report was generated in RFC3339 format
format date-time -
Type of the monitor that triggered this event
enumAlertingDeltaPeriodic -
actual_valuestring required
Actual value of the variable
max length 2500 -
Type of the event notification
enumHardWiredNotificationHardWiredMonitorPreconfiguredMonitorCustomMonitor -
causeinteger
Refers to the Id of an event that is considered to be the cause for this event
-
tech_codestring
Technical (error) code as reported by component
max length 50 -
tech_infostring
Technical detail information as reported by component
max length 500 -
clearedboolean
Cleared is set to true to report the clearing of a monitored situation
-
transaction_idstring
If an event notification is linked to a specific transaction, this field can be used to specify its transactionId
max length 36 -
variable_monitoring_idinteger
Identifies the VariableMonitoring which triggered the event
V2XFreqWattPointType object¶
A point of a frequency-watt curve.
Additional properties allowed.
-
frequencynumber required
Net frequency in Hz
-
powernumber required
Power in W to charge (positive) or discharge (negative) at specified frequency.
V2XSignalWattPointCurve object¶
A point of a signal-watt curve.
Additional properties allowed.
-
signalinteger required
Signal value from an AFRRSignalRequest.
-
powernumber required
Power in W to charge (positive) or discharge (negative) at specified frequency.
ChargingSchedulePeriod object¶
Element providing information on a charging schedule period.
Additional properties allowed.
-
start_periodinteger required
-
limitnumber required
Optional only when not required by the operationMode, as in CentralSetpoint, ExternalSetpoint, ExternalLimits, LocalFrequency, LocalLoadBalancing. Charging rate limit during the schedule period, in the applicable chargingRateUnit. This SHOULD be a non-negative value; a negative value is only supported for backwards compatibility with older systems that use a negative value to specify a discharging limit. When using chargingRateUnit = W, this field represents the sum of the power of all phases, unless values are provided for L2 and L3, in which case this field represents phase L1.
-
limit_L2number
Charging rate limit on phase L2 in the applicable chargingRateUnit.
-
limit_L3number
Charging rate limit on phase L3 in the applicable chargingRateUnit.
-
number_phasesinteger
-
stack_levelinteger
-
phase_to_useinteger
-
discharge_limitnumber
value <= 0. Limit in chargingRateUnit that the EV is allowed to discharge with. Note, these are negative values in order to be consistent with setpoint, which can be positive and negative. For AC this field represents the sum of all phases, unless values are provided for L2 and L3, in which case this field represents phase L1.
-
discharge_limit_L2number
Limit in chargingRateUnit on phase L2 that the EV is allowed to discharge with
-
discharge_limit_L3number
Limit in chargingRateUnit on phase L3 that the EV is allowed to discharge with
-
setpointnumber
Setpoint in chargingRateUnit that the EV should follow as close as possible. Use negative values for discharging. When a limit and/or dischargeLimit are given the overshoot when following setpoint must remain within these values. This field represents the sum of all phases,unless values are provided for L2 and L3, in which case this field represents phase L1.
-
setpoint_L2number
Setpoint in chargingRateUnit that the EV should follow on phase L2 as close as possible.
-
setpoint_L3number
Setpoint in chargingRateUnit that the EV should follow on phase L3 as close as possible.
-
setpoint_reactivenumber
Setpoint for reactive power (or current) in chargingRateUnit that the EV should follow as closely as possible. Positive values for inductive, negative for capacitive reactive power or current. This field represents the sum of all phases, unless values are provided for L2 and L3, in which case this field represents phase L1.
-
setpoint_reactive_L2number
Setpoint for reactive power (or current) in chargingRateUnit that the EV should follow on phase L2 as closely as possible.
-
setpoint_reactive_L3number
Setpoint for reactive power (or current) in chargingRateUnit that the EV should follow on phase L3 as closely as possible.
-
preconditioning_requestboolean
If true, the EV should attempt to keep the BMS preconditioned for this time interval.
-
evse_sleepboolean
If true, the EVSE must turn off power electronics/modules associated with this transaction. Default value when absent is false.
-
v2x_baselinenumber
Power value that, when present, is used as a baseline on top of which values from v2xFreqWattCurve and v2xSignalWattCurve are added
-
operation_modestring
Operation mode for (bi-)directional charging during a charging schedule period.
enumIdleChargingOnlyCentralSetpointExternalSetpointExternalLimitsCentralFrequencyLocalFrequencyLocalLoadBalancing -
v2x_freq_watt_curvearray<object>
Only required when operationMode = LocalFrequency. When used it must contain at least two coordinates to specify a power-frequency table to use during this period. The table determines the value of setpoint power for a given frequency. chargingRateUnit must be W for LocalFrequency control.
-
itemsobject V2XFreqWattPointType
A point of a frequency-watt curve.
-
-
v2x_signal_watt_curvearray<object>
Only used, but not required, when operationMode = LocalFrequency. When used it must contain at least two coordinates to specify a signal-frequency curve to use during this period. The curve determines the value of setpoint power for a given signal. chargingRateUnit must be W for LocalFrequency control.
-
itemsobject V2XSignalWattPointCurve
A point of a signal-watt curve.
-
ChargingSchedule object¶
Element providing information on an OCPP charging schedule.
Additional properties allowed.
-
evseinteger required
The OCPP 2.0.1 EVSE ID (not used in OCPP 1.6).
min 0 -
charging_rate_unitstring required
-
charging_schedule_periodarray<object> required
-
durationinteger
-
start_schedulestring
-
min_charging_ratenumber
ChargingSchedules object¶
schedules for connectors
Additional properties allowed.
-
schedulesarray<object> required
array of schedules
EventTriggerEnum string¶
Indicates the trigger reason of a generic event as part of the type EventData Alerting: Monitored variable has passed an Lower or Upper Threshold Delta: Delta Monitored Variable value has changed by more than specified amount Periodic: Periodic Monitored Variable has been sampled for reporting at the specified interval
AlertingDeltaPeriodicEventNotificationType string¶
Indicates the event notification type as part of the type EventData HardWiredNotification: The software implemented by the manufacturer triggered a hardwired notification HardWiredMonitor: Triggered by a monitor, which is hardwired by the manufacturer PreconfiguredMonitor: Triggered by a monitor, which is preconfigured by the manufacturer. CustomMonitor: Triggered by a monitor which is set by a message by the Charging Station Operator.
HardWiredNotificationHardWiredMonitorPreconfiguredMonitorCustomMonitorComponent object¶
Type for a component with name, optional instance and optional evse For OCPP1.6: A definition of a Component doesn't exist in OCPP1.6; In the context of OCPP1.6 this type may not be relevant or used. For OCPP2.0.1: All properties of the Component can be used
Additional properties allowed.
-
namestring required
Name of a component
min length 0max length 50 -
instancestring
Name of instance in case the component exists as multiple instances
min length 0max length 50 -
evseobject EVSE
Specifies the EVSE when component is located at EVSE level, also specifies the connector when component is located at Connector level
ComponentVariable object¶
Type for a combination of component and variable. Note that for OCPP1.6 only the Variable.name (configuration key) is sufficient to identify a configuration key. For OCPP2.0.1 all properties of the type(s) can be used.
Additional properties allowed.
ConnectedStatus boolean¶
Deprecated: use ConnectionStatus (connection_status) instead. Indicates if chargepoint is connected to CSMS
ConnectionStatus object¶
Status of the connection of the chargepoint to the CSMS, including the details of the connection the status refers to. While connected, the details describe the active connection; while disconnected, they describe the connection that has just been lost or whose connection attempt has just failed. Details that are not available for the active OCPP version are omitted.
Additional properties forbidden.
-
connectedboolean required
Indicates if the chargepoint is connected to the CSMS
-
csms_urlstring
CSMS endpoint URL of the connection. OCPP2.x reports ocppCsmsUrl of the network connection profile, OCPP1.6 the CentralSystemURI configuration key.
-
identitystring
Identity the chargepoint uses towards the CSMS. OCPP2.x reports identity of the network connection profile, OCPP1.6 the ChargePointId.
-
security_profileinteger
OCPP security profile of the connection. OCPP2.x reports securityProfile of the network connection profile, OCPP1.6 the SecurityProfile configuration key.
-
configuration_slotinteger
Configuration slot of the network connection profile the connection uses.
-
ocpp_interfacestring
Network interface of the network connection profile the connection uses
-
ocpp_transportstring
Transport of the network connection profile the connection uses
-
ocpp_versionstring
OCPP protocol version in use on the connection (e.g. 1.6, 2.0.1 or 2.1)
ImplementationReady boolean¶
Indicates whether the OCPP implementation has finished its startup and accepts commands on this API. Unrelated to CSMS connectivity (see ConnectionStatus).
CustomData object¶
Custom data extension
Additional properties allowed.
-
vendor_idstring required
Vendor Id to identify the customization, this is also included in the data field and only reproduced for convenience
-
datastring required
Custom json data object encoded as string
DataTransferRequest object¶
Type for data transfer request provided by OCPP
Additional properties allowed.
-
vendor_idstring required
Identifies the vendor
-
message_idstring
Identifies the message
-
datastring
Data provided by this data transfer
DataTransferResponse object¶
Type for data transfer response provided by OCPP
Additional properties allowed.
-
Status of the data transfer
enumAcceptedRejectedUnknownMessageIdUnknownVendorIdOffline -
datastring
Data provided by this data transfer
DataTransferStatus string¶
Data Transfer Status enum
AcceptedRejectedUnknownMessageIdUnknownVendorIdOfflineEVSE object¶
Type of an EVSE. If only the id is present, this type identifies an EVSE. If also a connector_id is given, this type identifies a Connector of the EVSE
Additional properties allowed.
-
idinteger required
Id of the EVSE
min 1 -
connector_idinteger
An id to designate a specific connector (on an EVSE) by connector index number
min 1
GetVariableRequest object¶
Type to request a variable value (OCPP2.0.1) or configuration value (OCPP1.6)
Additional properties allowed.
-
component_variableobject requiredComponentVariable
Identifier for which the value should be requested
-
AttributeEnum for which the value should be requested. When absent, actual is assumed
enumActualTargetMinSetMaxSet
GetVariableRequestList object¶
List of GetVariableRequest values
Additional properties allowed.
-
itemsarray required
List of GetVariableRequest values
-
itemsobject GetVariableRequest
Type to request a variable value (OCPP2.0.1) or configuration value (OCPP1.6)
-
GetVariableResult object¶
Result of a GetVariableRequest
Additional properties allowed.
-
Status of the GetVariableResult
enumAcceptedRejectedUnknownComponentUnknownVariableNotSupportedAttributeType -
AttributeEnum for which the value was requested. When absent, actual is assumed
enumActualTargetMinSetMaxSet -
valuestring
Value of the requested variable and AttributeEnum. Present if and only if the status is Accepted. An empty string when the AttributeEnum is supported but has no value
min length 0max length 2500 -
component_variableobject requiredComponentVariable
Identifier for which the value was requested
GetVariableResultList object¶
List of GetVariableResult values
Additional properties allowed.
-
itemsarray required
List of GetVariableResult values
GetVariableStatusEnumType string¶
Indicates the status of the GetVariableRequest as part of the GetVariableResult operation
- Accepted: Variable successfully retrieved
- Rejected: Request is rejected
- UnknownComponent: Component is not known
- UnknownVariable: Variable is not known
- NotSupportedAttributeType: The AttributeType is not supported
AcceptedRejectedUnknownComponentUnknownVariableNotSupportedAttributeTypeMonitorVariableRequestList object¶
List of MonitorVariableRequest values
Additional properties allowed.
-
itemsarray required
List of ComponentVariable values
-
itemsobject ComponentVariable
Type for a combination of component and variable. Note that for OCPP1.6 only the Variable.name (configuration key) is sufficient to identify a configuration key. For OCPP2.0.1 all properties of the type(s) can be used.
-
OcppTransactionEvent object¶
Element providing information on OCPP transactions.
Additional properties allowed.
-
The transaction related event.
enumStartedUpdatedEnded -
session_idstring required
The EVSE manager assigned session ID.
-
transaction_idstring
The CSMS assigned transaction ID. A string is used to support OCPP 2.0.1. For OCPP 1.6 the integer is converted to a string
-
timestampstring required
Time of the transaction event in RFC3339 format. For OCPP 2.x this is the timestamp of the TransactionEventRequest, for OCPP 1.6 the timestamp reported in the corresponding StartTransaction.req or StopTransaction.req. For Updated events in OCPP 1.6 it is the time the StartTransaction.conf that triggers them was processed, because that message carries no timestamp of its own.
format date-time
RegistrationStatus string¶
Indicates whether the Charging Station has been registered within the OCPP CSMS
AcceptedPendingRejectedSecurityEvent object¶
Type for a security event
Additional properties allowed.
-
typestring required
Type of the security event
-
infostring
Additional information about the occurred security event
-
criticalboolean
If set this overwrites the default criticality recommended in the OCPP 2.0.1 appendix. A critical security event is transmitted as a message to the CSMS, a non-critical one is just written to the security log
-
timestampstring
Timestamp of the moment the security event was generated in RFC3339 format, if absent the current datetime is assumed
format date-time
SetVariableRequest object¶
Type to request to set a variable or configuration key
Additional properties allowed.
-
component_variableobject requiredComponentVariable
Identifier for which the value should be set
-
valuestring required
Value of the variable that should be set
min length 0max length 1000 -
AttributeEnum for which the value should be set. When absent, actual is assumed
enumActualTargetMinSetMaxSet
SetVariableRequestList object¶
List of SetVariableRequest values
Additional properties allowed.
-
itemsarray required
List of SetVariableRequest values
-
itemsobject SetVariableRequest
Type to request to set a variable or configuration key
-
SetVariableResult object¶
Result of a SetVariableRequest
Additional properties allowed.
-
Status of the SetVariableResult
enumAcceptedRejectedUnknownComponentUnknownVariableNotSupportedAttributeTypeRebootRequired -
component_variableobject requiredComponentVariable
Identifier for which the set of the value should be requested
-
AttributeEnum for which the set of the value is requested. When absent, actual is assumed
enumActualTargetMinSetMaxSet
SetVariableResultList object¶
List of SetVariableResult values
Additional properties allowed.
-
itemsarray required
List of SetVariableResult values
SetVariableStatusEnumType string¶
Indicates the status of the SetVariableRequest operation as part of the SetVariableResult
- Accepted: Variable successfully set
- Rejected: Request is rejected
- UnknownComponent: Component is not known
- UnknownVariable: Variable is not known
- NotSupportedAttributeType: The AttributeType is not supported
- RebootRequired: A reboot is required
AcceptedRejectedUnknownComponentUnknownVariableNotSupportedAttributeTypeRebootRequiredSetVariablesArgs object¶
Arguments for set_variables
Additional properties allowed.
-
variablesobject requiredSetVariableRequestList
List of variables
-
sourcestring required
source
StatusInfoType object¶
Element providing more information about the status.
Additional properties allowed.
-
reason_codestring required
A predefined code for the reason why the status is returned in this response. The string is case-insensitive.
-
additional_infostring
Additional text to provide detailed information
TransactionEvent string¶
The transaction event enumeration
StartedUpdatedEndedVariable object¶
Type for a variable with a name and an optional instance For OCPP1.6: A Variable should only contain a name. The name identifies the configuration key. For OCPP2.0.1: All properties of the Variable can be used
Additional properties allowed.
-
namestring required
Name of a variable
min length 0max length 50 -
instancestring
Name of instance in case the variable exists as multiple instances
min length 0max length 50
MessageDirection string¶
OCPP message direction
CSMSToChargingStationChargingStationToCSMSMessage object¶
OCPP message with direction
Additional properties allowed.
-
messagestring required
Serialized OCPP-J message
-
OCPP message direction
enumCSMSToChargingStationChargingStationToCSMS -
versionstring
OCPP version of the serialized message
CommunicationCheck boolean¶
Send true at least every cfg_communication_check_to_s seconds to signal that the client is alive, otherwise EVerest raises a CommunicationFault, which the next message clears. Send false to stop the check until the module restarts.
HeartBeatId integer¶
64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached