EVerest API definition for error history (consumer) 1.0.0

API for EVerest API clients for error status and history.

  • #EVerest
  • #Auth

Servers

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

  • REQUEST m2e/get_errors

    Direction: Module to EVerest

    Operation IDsend_request_get_errors

    Available only on servers:

    Accepts the following message:

    Request the list of filtered errorssend_request_get_errors

    Request the list of filtered errors.

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

    Direction: EVerest to Module

    Operation IDreceive_reply_get_errors

    Available only on servers:

    Accepts the following message:

    List of filtered errorsreceive_reply_get_errors

    Reply to the request to send the list of filtered errors

    Message IDreceive_reply_get_errors
    object

    A list of ErrorObjects

    Examples

  • REQUEST m2e/active_errors

    Direction: Module to EVerest

    Operation IDsend_request_active_errors

    Available only on servers:

    Accepts the following message:

    Request the list of active errorssend_request_active_errors

    Request the list of active errors.

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

    Direction: EVerest to Module

    Operation IDreceive_reply_active_errors

    Available only on servers:

    Accepts the following message:

    The list of active errorsreceive_reply_active_errors

    Reply to the request to send the list of active errors

    Message IDreceive_reply_active_errors
    object

    A list of ErrorObjects

    Examples

  • RECEIVE e2m/error_raised

    Operation IDreceive_error_raised

    Available only on servers:

    Accepts the following message:

    Receive newly raised errorreceive_error_raised

    Notifies on every raised error

    Message IDreceive_error_raised
    object

    Represents an error

    Examples

  • RECEIVE e2m/error_cleared

    Operation IDreceive_error_cleared

    Available only on servers:

    Accepts the following message:

    Receive cleared errorreceive_error_cleared

    Notifies when an error is cleared

    Message IDreceive_error_cleared
    object

    Represents an error

    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 the list of filtered errorssend_request_get_errors

    Request the list of filtered errors.

    Message IDsend_request_get_errors
    object
  • #2List of filtered errorsreceive_reply_get_errors

    Reply to the request to send the list of filtered errors

    Message IDreceive_reply_get_errors
    object

    A list of ErrorObjects

  • #3Request the list of active errorssend_request_active_errors

    Request the list of active errors.

    Message IDsend_request_active_errors
    object
  • #4The list of active errorsreceive_reply_active_errors

    Reply to the request to send the list of active errors

    Message IDreceive_reply_active_errors
    object

    A list of ErrorObjects

  • #5Receive newly raised errorreceive_error_raised

    Notifies on every raised error

    Message IDreceive_error_raised
    object

    Represents an error

  • #6Receive cleared errorreceive_error_cleared

    Notifies when an error is cleared

    Message IDreceive_error_cleared
    object

    Represents an error

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

  • #8Send 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

  • object

    A list of ErrorObjects

  • object

    Represents an error

  • object

    Arguments for the get_errors command

  • object

    Identifier of an implementation

  • Severity
    string

    Severity of an error

      Allowed values:
    • "High"
    • "Medium"
    • "Low"
  • SeverityFilter
    string

    Severity filter for errors

      Allowed values:
    • "HIGH_GE"
    • "MEDIUM_GE"
    • "LOW_GE"
  • State
    string

    State of an error

      Allowed values:
    • "Active"
    • "ClearedByModule"
    • "ClearedByReboot"
  • object

    Timeperiod filter for errors

  • 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