EVerest API definition for ocpp (consumer) 1.0.0

API for EVerest API clients implementing occp / ocpp_data_transfer (consumer).

  • #EVerest
  • #OCPP

Servers

  • mqtt://localhost:1883/everest_api/1/ocpp_consumer/{module_id}mqttdefault

    default local MQTT

    object
    module_id
    required
    string

    The ID of the module as defined in the EVerest config file

Operations

  • REPLY e2m/data_transfer_incoming

    Direction: EVerest to Module

    Operation IDreceive_request_data_transfer_incoming

    Available only on servers:

    Accepts the following message:

    Request data transferreceive_request_data_transfer_incoming

    Request data transfer.

    Message IDreceive_request_data_transfer_incoming
    object

    Examples

    REPLY INFORMATION

    REPLY CHANNEL INFORMATION

    Reply will be directed to the address specified at this location: $message.header#/replyTo

    REPLY address information

    REPLY will be sent to the address provided in:$message.header#/replyTo
  • SEND

    Operation IDsend_reply_data_transfer_incoming

    Available only on servers:

    Accepts the following message:

    Reply to data transfer requestsend_reply_data_transfer_incoming

    Reply to the request to transfer data

    Message IDsend_reply_data_transfer_incoming
    object

    Type for data transfer response provided by OCPP

    Examples

  • REQUEST m2e/data_transfer_outgoing

    Direction: Module to EVerest

    Operation IDsend_request_data_transfer_outgoing

    Available only on servers:

    Accepts the following message:

    Request data transfersend_request_data_transfer_outgoing

    Request data transfer.

    Message IDsend_request_data_transfer_outgoing
    object

    Examples

    REPLY INFORMATION

    REPLY CHANNEL INFORMATION

    Reply will be directed to the address specified at this location: $message.header#/replyTo

    REPLY address information

    REPLY will be sent to the address provided in:$message.header#/replyTo
  • RECEIVE

    Operation IDreceive_reply_data_transfer_outgoing

    Available only on servers:

    Accepts the following message:

    Reply to data transfer requestreceive_reply_data_transfer_outgoing

    Reply to the request to transfer data

    Message IDreceive_reply_data_transfer_outgoing
    object

    Type for data transfer response provided by OCPP

    Examples

  • REQUEST m2e/get_variables

    Direction: Module to EVerest

    Operation IDsend_request_get_variables

    Available only on servers:

    Accepts the following message:

    Request variablessend_request_get_variables

    Request the variables.

    Message IDsend_request_get_variables
    object

    Examples

    REPLY INFORMATION

    REPLY CHANNEL INFORMATION

    Reply will be directed to the address specified at this location: $message.header#/replyTo

    REPLY address information

    REPLY will be sent to the address provided in:$message.header#/replyTo
  • RECEIVE

    Operation IDreceive_reply_get_variables

    Available only on servers:

    Accepts the following message:

    Request variablesreceive_reply_get_variables

    Reply to the request transmit the requested variables

    Message IDreceive_reply_get_variables
    object

    List of GetVariableResult values

    Examples

  • REQUEST m2e/set_variables

    Direction: Module to EVerest

    Operation IDsend_request_set_variables

    Available only on servers:

    Accepts the following message:

    Request set variablessend_request_set_variables

    Request setting the variables.

    Message IDsend_request_set_variables
    object

    Examples

    REPLY INFORMATION

    REPLY CHANNEL INFORMATION

    Reply will be directed to the address specified at this location: $message.header#/replyTo

    REPLY address information

    REPLY will be sent to the address provided in:$message.header#/replyTo
  • RECEIVE

    Operation IDreceive_reply_set_variables

    Available only on servers:

    Accepts the following message:

    Reply set variablesreceive_reply_set_variables

    Reply to the request to set the variables

    Message IDreceive_reply_set_variables
    object

    List of SetVariableResult values

    Examples

  • SEND m2e/monitor_variables

    Direction: Module to EVerest

    Operation IDsend_request_monitor_variables

    Available only on servers:

    Accepts the following message:

    Monitor variablessend_request_monitor_variables

    Monitor the variables.

    Message IDsend_request_monitor_variables

    Command to start monitoring the given ComponentVariable(s). Any of the provided configuration keys will be published on change by the CSMS (or via this API). Consecutive calls of this operation will not override but extend the existing monitors.

    With OCPP1.6: This command can be used to monitor configuration keys

    With OCPP2.0.1: This command can be used to monitor any kind of variable in the device model storage

    object

    List of MonitorVariableRequest values

    Examples

  • RECEIVE e2m/ocpp_transaction_event

    Operation IDreceive_ocpp_transaction_event

    Available only on servers:

    Accepts the following message:

    Receive OCPP transction eventreceive_ocpp_transaction_event

    Events related to OCPP transactions

    Message IDreceive_ocpp_transaction_event
    object

    Element providing information on OCPP transactions.

    Examples

  • RECEIVE e2m/is_connected

    Operation IDreceive_is_connected

    Available only on servers:

    Accepts the following message:

    Receive is connectedreceive_is_connected

    Indicates if chargepoint is connected to CSMS

    Message IDreceive_is_connected
    Payload
    boolean

    Indicates if chargepoint is connected to CSMS

    Examples

  • RECEIVE e2m/security_event

    Operation IDreceive_security_event

    Available only on servers:

    Accepts the following message:

    Receive security eventreceive_security_event

    Published when an internal sucurity event occured

    Message IDreceive_security_event
    object

    Type for a security event

    Examples

  • RECEIVE e2m/boot_notification_response

    Operation IDreceive_boot_notification_response

    Available only on servers:

    Accepts the following message:

    Receive boot notification responsereceive_boot_notification_response

    Published any time a BootNotificationResponse message is received from the CSMS

    Message IDreceive_boot_notification_response
    object

    OCPP BootNotificationResponse

    Examples

  • RECEIVE e2m/event_data

    Operation IDreceive_event_data

    Available only on servers:

    Accepts the following message:

    Receive event datareceive_event_data

    Published for a component variable combination when a variable with a monitor has been changed

    Message IDreceive_event_data
    object

    Type to report an event notification for a component-variable

    Examples

  • RECEIVE e2m/charging_schedules

    Operation IDreceive_charging_schedules

    Available only on servers:

    Accepts the following message:

    Receive composite charging schedulesreceive_charging_schedules

    Object that contains OCPP charging schedules of all connectors

    Message IDreceive_charging_schedules

    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)

    object

    schedules for connectors

    Examples

  • RECEIVE e2m/heartbeat

    Operation IDreceive_heartbeat

    Available only on servers:

    Accepts the following message:

    Receive heartbeatreceive_heartbeat

    Heartbeat produced by EVerest as configured via cfg_heartbeat_interval_ms in the EVerest configuration

    Message IDreceive_heartbeat
    Payload
    integer

    64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached

    Examples

  • SEND m2e/communication_check

    Operation IDsend_communication_check

    Available only on servers:

    Accepts the following message:

    Send communication checksend_communication_check

    Signal to EVerest that communication is good or check shall be stopped

    Message IDsend_communication_check
    Payload
    boolean

    Send 'true' at least every 'cfg_communication_check_to_s' seconds to signal module is alive. Send 'false' to stop communication check

    Examples

Messages

  • #1Request data transferreceive_request_data_transfer_incoming

    Request data transfer.

    Message IDreceive_request_data_transfer_incoming
    object
  • #2Reply to data transfer requestsend_reply_data_transfer_incoming

    Reply to the request to transfer data

    Message IDsend_reply_data_transfer_incoming
    object

    Type for data transfer response provided by OCPP

  • #3Request data transfersend_request_data_transfer_outgoing

    Request data transfer.

    Message IDsend_request_data_transfer_outgoing
    object
  • #4Reply to data transfer requestreceive_reply_data_transfer_outgoing

    Reply to the request to transfer data

    Message IDreceive_reply_data_transfer_outgoing
    object

    Type for data transfer response provided by OCPP

  • #5Request variablessend_request_get_variables

    Request the variables.

    Message IDsend_request_get_variables
    object
  • #6Request variablesreceive_reply_get_variables

    Reply to the request transmit the requested variables

    Message IDreceive_reply_get_variables
    object

    List of GetVariableResult values

  • #7Request set variablessend_request_set_variables

    Request setting the variables.

    Message IDsend_request_set_variables
    object
  • #8Reply set variablesreceive_reply_set_variables

    Reply to the request to set the variables

    Message IDreceive_reply_set_variables
    object

    List of SetVariableResult values

  • #9Monitor variablessend_request_monitor_variables

    Monitor the variables.

    Message IDsend_request_monitor_variables

    Command to start monitoring the given ComponentVariable(s). Any of the provided configuration keys will be published on change by the CSMS (or via this API). Consecutive calls of this operation will not override but extend the existing monitors.

    With OCPP1.6: This command can be used to monitor configuration keys

    With OCPP2.0.1: This command can be used to monitor any kind of variable in the device model storage

    object

    List of MonitorVariableRequest values

  • #10Receive OCPP transction eventreceive_ocpp_transaction_event

    Events related to OCPP transactions

    Message IDreceive_ocpp_transaction_event
    object

    Element providing information on OCPP transactions.

  • #11Receive is connectedreceive_is_connected

    Indicates if chargepoint is connected to CSMS

    Message IDreceive_is_connected
    Payload
    boolean

    Indicates if chargepoint is connected to CSMS

  • #12Receive security eventreceive_security_event

    Published when an internal sucurity event occured

    Message IDreceive_security_event
    object

    Type for a security event

  • #13Receive boot notification responsereceive_boot_notification_response

    Published any time a BootNotificationResponse message is received from the CSMS

    Message IDreceive_boot_notification_response
    object

    OCPP BootNotificationResponse

  • #14Receive event datareceive_event_data

    Published for a component variable combination when a variable with a monitor has been changed

    Message IDreceive_event_data
    object

    Type to report an event notification for a component-variable

  • #15Receive composite charging schedulesreceive_charging_schedules

    Object that contains OCPP charging schedules of all connectors

    Message IDreceive_charging_schedules

    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)

    object

    schedules for connectors

  • #16Receive heartbeatreceive_heartbeat

    Heartbeat produced by EVerest as configured via cfg_heartbeat_interval_ms in the EVerest configuration

    Message IDreceive_heartbeat
    Payload
    integer

    64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached

  • #17Send communication checksend_communication_check

    Signal to EVerest that communication is good or check shall be stopped

    Message IDsend_communication_check
    Payload
    boolean

    Send 'true' at least every 'cfg_communication_check_to_s' seconds to signal module is alive. Send 'false' to stop communication check

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
      Allowed values:
    • "Actual"
    • "Target"
    • "MinSet"
    • "MaxSet"
  • object

    OCPP BootNotificationResponse

  • object

    Type to report an event notification for a component-variable

  • object

    A point of a frequency-watt curve.

  • object

    A point of a signal-watt curve.

  • object

    Element providing information on a charging schedule period.

  • object

    Element providing information on an OCPP charging schedule.

  • object

    schedules for connectors

  • 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

      Allowed values:
    • "Alerting"
    • "Delta"
    • "Periodic"
  • EventNotificationType
    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.

      Allowed values:
    • "HardWiredNotification"
    • "HardWiredMonitor"
    • "PreconfiguredMonitor"
    • "CustomMonitor"
  • 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

  • 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.

  • ConnectedStatus
    boolean

    Indicates if chargepoint is connected to CSMS

  • object

    Custom data extension

  • object

    Type for data transfer request provided by OCPP

  • object

    Type for data transfer response provided by OCPP

  • DataTransferStatus
    string

    Data Transfer Status enum

      Allowed values:
    • "Accepted"
    • "Rejected"
    • "UnknownMessageId"
    • "UnknownVendorId"
    • "Offline"
  • 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

  • object

    Type to request a variable value (OCPP2.0.1) or configuration value (OCPP1.6)

  • object

    List of GetVariableRequest values

  • object

    Result of a GetVariableRequest

  • object

    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
      Allowed values:
    • "Accepted"
    • "Rejected"
    • "UnknownComponent"
    • "UnknownVariable"
    • "NotSupportedAttributeType"
  • object

    List of MonitorVariableRequest values

  • object

    Element providing information on OCPP transactions.

  • RegistrationStatus
    string

    Indicates whether the Charging Station has been registered within the OCPP CSMS

      Allowed values:
    • "Accepted"
    • "Pending"
    • "Rejected"
  • object

    Type for a security event

  • object

    Type to request to set a variable or configuration key

  • object

    List of SetVariableRequest values

  • object

    Result of a SetVariableRequest

  • object

    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
      Allowed values:
    • "Accepted"
    • "Rejected"
    • "UnknownComponent"
    • "UnknownVariable"
    • "NotSupportedAttributeType"
    • "RebootRequired"
  • object

    Arguments for set_variables

  • object

    Element providing more information about the status.

  • TransactionEvent
    string

    The transaction event enumeration

      Allowed values:
    • "Started"
    • "Updated"
    • "Ended"
  • 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

  • CommunicationCheck
    boolean

    Send 'true' at least every 'cfg_communication_check_to_s' seconds to signal module is alive. Send 'false' to stop communication check

  • HeartBeatId
    integer

    64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached