.. _everest_api_generic_error_raiser_API: ########################### generic\_error\_raiser\_API ########################### .. container:: everest-api overview .. raw:: html
.. container:: lead EVerest API definition for raising and clearing generic errors API for EVerest API clients for raising and clearing generic errors. The errors are only reported, e.g. by OCPP and the error history. EvseManager does not act on them, so they do not stop charging. .. raw:: htmlSpecification: generic_error_raiser_API.yaml · pionix:de:everest:generic_error_raiser
default mqtt
default local MQTT
localhost:1883everest_api/1/generic_error_raiser/{module_id}{module_id}The ID of the module as defined in the EVerest config file.
everest_api/1/generic_error_raiser/{module_id}/m2e/raise_errorapplication/jsonMessage send_raise_error
Signal to EVerest that an error happened.
Payload
Example
{
"type": "CommunicationFault",
"sub_type": "subtype",
"message": "message"
}
everest_api/1/generic_error_raiser/{module_id}/m2e/clear_errorapplication/jsonMessage send_clear_error
Signal to EVerest that a previously raised error is no longer active.
Payload
Example
{
"type": "CommunicationFault",
"sub_type": "subtype",
"message": "message"
}
everest_api/1/generic_error_raiser/{module_id}/m2e/communication_checkapplication/jsonMessage 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_api/1/generic_error_raiser/{module_id}/e2m/heartbeatapplication/jsonMessage receive_heartbeat
Heartbeat produced by EVerest as configured via cfg_heartbeat_interval_ms in the EVerest configuration
Payload
64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached
Example
42
Type of error
CommunicationFaultVendorErrorVendorWarningError object with type, subtype and message.
Additional properties allowed.
Type of error
CommunicationFaultVendorErrorVendorWarningThe subtype of the error
Optional free-text detail about this specific occurrence of the error, e.g. a measured value or a diagnostic string from the hardware. Unlike the fixed per-error-type description, this is chosen by the caller. If an OCPP module is part of the EVerest configuration, the message is forwarded to the CSMS:
StatusNotification.req):info, truncated to 50 characters. Omitted entirely when the message is empty.vendorId, truncated to 255 characters.NotifyEvent.req): sent as techInfo, truncated to 500 characters. When the message is empty, the error description is sent instead.Optional value that caused this specific occurrence of the error, e.g. the measurement that crossed a limit.
Text representation of the value as the raising entity would print it, including a unit where one applies, e.g. 85.3 degC. EVerest passes it on as is and does not parse it. Longer values are truncated to 2500 characters.
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.
64bit unsigned integer. The id of every heartbeat increases by 1 and overflows when the maximum representable value is reached