API for EVerest API client implementing the system capabilities OTA update and log upload.
default local MQTT
The ID of the module as defined in the EVerest config file.
Direction: EVerest to Module
Available only on servers:
Accepts the following message:
Request to update the firmware.
{
"headers": {
"replyTo": "string"
},
"payload": {
"retries": 1,
"retry_interval_s": 0,
"request_id": 0,
"location": "string",
"retrieve_timestamp": "2019-08-24T14:15:22Z",
"install_timestamp": "2019-08-24T14:15:22Z",
"signing_certificate": "string",
"signature": "string"
}
}
Direction: Module to EVerest
Available only on servers:
Accepts the following message:
Reply to update firmware request.
Enum for the response of an update_firmware command
Update firmware
Accepted
Direction: EVerest to Module
Available only on servers:
Accepts the following message:
Call to allow firmware installation to proceed
Call to allow a firmware installation to proceed. This is usually called after a firmware update has been downloaded. OCPP requires to move all EVSE to an unavailable state prior to installing new firmware. EVerest will take care of this and call this function when all EVSE are in unavailable state to signal that installation can proceed.
Direction: EVerest to Module
Available only on servers:
Accepts the following message:
Request to upload logs.
{
"headers": {
"replyTo": "string"
},
"payload": {
"retries": 1,
"retry_interval_s": 0,
"oldest_timestamp": "2019-08-24T14:15:22Z",
"latest_timestamp": "2019-08-24T14:15:22Z",
"location": "string",
"type": "string",
"request_id": 0
}
}
Direction: Module to EVerest
Available only on servers:
Accepts the following message:
Reply to upload logs request.
Response to a upload logs request
Upload logs
{
"file_name": "string",
"upload_logs_status": "Accepted"
}
Direction: EVerest to Module
Available only on servers:
Accepts the following message:
Request if is reset allowed. This is usually called prior to a reset request.
{
"headers": {
"replyTo": "string"
},
"payload": "Soft"
}
Direction: Module to EVerest
Available only on servers:
Accepts the following message:
Reply to is reset allowed request.
true if reset is allowed
Reset is allowed
Direction: EVerest to Module
Available only on servers:
Accepts the following message:
Call to reset the system immediately
request for reset
{
"type": "Soft",
"scheduled": true
}
Direction: EVerest to Module
Available only on servers:
Accepts the following message:
Call to set the system time
{
"headers": {
"replyTo": "string"
},
"payload": "2019-08-24T14:15:22Z"
}
Direction: Module to EVerest
Available only on servers:
Accepts the following message:
Reply to set system time request.
true if reset successful
system time set successfully
Direction: EVerest to Module
Available only on servers:
Accepts the following message:
Call to get the boot reason
{
"headers": {
"replyTo": "string"
}
}
Direction: Module to EVerest
Available only on servers:
Accepts the following message:
Reply to get boot reason.
Enum defining the boot reason
Get boot reason
ApplicationReset
Direction: Module to EVerest
Available only on servers:
Accepts the following message:
Describes the current status of a firmware update of the system
Type defining the status of a firmware update
Firmware update status
{
"firmware_update_status": "Downloaded",
"request_id": 0
}
Accepts the following message:
Describes the current status of log upload of the system
Type defining the status of a log upload
Log upload status
{
"log_status": "BadMessage",
"request_id": 0
}
Accepts the following message:
Heartbeat produced by EVerest as configured via cfg_heartbeat_interval_ms in the EVerest configuration
64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached
Heartbeat
Accepts the following message:
Signal to EVerest that communication is good or check shall be stopped
Send 'true' at least every 'cfg_communication_check_to_s' seconds to signal module is alive. Send 'false' to stop communication check'
CommunicationCheck
Request to update the firmware.
Reply to update firmware request.
Enum for the response of an update_firmware command
Request to upload logs.
Reply to upload logs request.
Response to a upload logs request
Request if is reset allowed. This is usually called prior to a reset request.
Reply to is reset allowed request.
true if reset is allowed
Call to set the system time
Reply to set system time request.
true if reset successful
Call to get the boot reason
Reply to get boot reason.
Enum defining the boot reason
Call to allow firmware installation to proceed
Call to allow a firmware installation to proceed. This is usually called after a firmware update has been downloaded. OCPP requires to move all EVSE to an unavailable state prior to installing new firmware. EVerest will take care of this and call this function when all EVSE are in unavailable state to signal that installation can proceed.
Call to reset the system immediately
request for reset
Describes the current status of a firmware update of the system
Type defining the status of a firmware update
Describes the current status of log upload of the system
Type defining the status of a log upload
Heartbeat produced by EVerest as configured via cfg_heartbeat_interval_ms in the EVerest configuration
64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached
Signal to EVerest that communication is good or check shall be stopped
Send 'true' at least every 'cfg_communication_check_to_s' seconds to signal module is alive. Send 'false' to stop communication check'
Enum defining the boot reason
Type defining a Firmware update request
Type defining the status of a firmware update
State describing the current download/upload status of a firmware update of the system:
State describing the current status of log upload of the system:
Type defining the status of a log upload
true if reset is allowed
request for reset
Enum defining the type of a reset
system time in RFC3339 format
true if reset successful
Enum for the response of an update_firmware command
Type defining an upload logs request.
Response to a upload logs request
Enum for the upload logs status response
Send 'true' at least every 'cfg_communication_check_to_s' seconds to signal module is alive. Send 'false' to stop communication check'
64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached