EVerest API definition for the charger information module 1.0.0

API for EVerest API clients providing the charger information (vendor, model, serial numbers, firmware version, ...) to EVerest. EVerest requests the information on demand; the client answers each request with a ChargerInformation object. Modules such as OCPP and the API modules request the charger information once during their startup and block until the reply arrives. If no reply arrives within cfg_request_reply_to_s seconds, EVerest continues with empty vendor and model strings, so the client should be connected and answering before EVerest starts.

  • #EVerest
  • #ChargerInformationAPI

Servers

  • mqtt://localhost:1883/everest_api/1/charger_information/{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/get_charger_information

    Direction: EVerest to Module. The client must reply on the replyTo address: EVerest blocks the requesting module until a reply arrives or the request times out.

    Operation IDreceive_request_get_charger_information

    Available only on servers:

    Accepts the following message:

    Receive get charger information requestreceive_request_get_charger_information

    Call to get the charger information

    Message IDreceive_request_get_charger_information
    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

    Dynamically defined channel. Used to reply to a get_charger_information request.

    Direction: Module to EVerest

    Operation IDsend_reply_get_charger_information

    Available only on servers:

    Accepts the following message:

    Reply to get charger informationsend_reply_get_charger_information

    Reply to get charger information.

    Message IDsend_reply_get_charger_information
    object

    Type holding (mostly static) meta information about the whole charger. Vendor and manufacturer refer to the very same company - it is the brand which appears physically on the device label and/or which is shown on the device's web frontend, in UPnP etc. Both terms are used to differentiate the different usages - with legal suffix, or without.

    Examples

  • RECEIVE e2m/heartbeat

    Direction: EVerest to Module

    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

    Direction: Module to EVerest

    Operation IDsend_communication_check

    Available only on servers:

    Accepts the following message:

    Send communication checksend_communication_check

    Send communication check to EVerest to signal the module is alive

    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

  • #1Receive get charger information requestreceive_request_get_charger_information

    Call to get the charger information

    Message IDreceive_request_get_charger_information
    object
  • #2Reply to get charger informationsend_reply_get_charger_information

    Reply to get charger information.

    Message IDsend_reply_get_charger_information
    object

    Type holding (mostly static) meta information about the whole charger. Vendor and manufacturer refer to the very same company - it is the brand which appears physically on the device label and/or which is shown on the device's web frontend, in UPnP etc. Both terms are used to differentiate the different usages - with legal suffix, or without.

  • #3Receive 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

  • #4Send communication checksend_communication_check

    Send communication check to EVerest to signal the module is alive

    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

  • object

    Type holding (mostly static) meta information about the whole charger. Vendor and manufacturer refer to the very same company - it is the brand which appears physically on the device label and/or which is shown on the device's web frontend, in UPnP etc. Both terms are used to differentiate the different usages - with legal suffix, or without.

  • 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