isolation_monitor_API

version 1.1.0AsyncAPI 3.0.0 content type application/jsonlicense Apache-2.0EVerestisolation monitor

EVerest API definition for isolation monitors

API for EVerest API clients implementing isolation monitoring. Commands without arguments carry an empty JSON object ({}) as payload.

Specification: isolation_monitor_API.yaml · pionix:de:everest:isolation_monitor_API

send the client publishes, EVerest consumes (5) receive EVerest publishes, the client consumes (4)

Servers

default mqtt

default local MQTT

Host
localhost:1883
Topic prefix
everest_api/1/isolation_monitor/{module_id}
{module_id}

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

Operations

Client to EVerest

send_isolation_measurement

send Send isolation measurement
Topic
everest_api/1/isolation_monitor/{module_id}/m2e/isolation_measurement

Direction: Module to EVerest

This operation is used to send a dataset of measured values. The isolation resistance (in Ohm) is required. The voltage is optional.

Message Send isolation monitor measurement application/json

Message send_isolation_measurement

Isolation monitoring measurement results

Payload

object IsolationMeasurement

Results of an isolation measurement

Definition of IsolationMeasurement

Example

Example 1
{
  "resistance_F_Ohm": 0,
  "voltage_V": 0
}

send_self_test_result

send Send self test result
Topic
everest_api/1/isolation_monitor/{module_id}/m2e/self_test_result

Direction: Module to EVerest

This operation is used to send the result of the self test.

Message Send self test result application/json

Message send_self_test_result

Self test result

Payload

Indicates the self test is done and publishes the result. Set "true" for success, "false" for failure.

Example

Example 1
true

send_raise_error

send Send raise error
Topic
everest_api/1/isolation_monitor/{module_id}/m2e/raise_error

Direction: Module to EVerest

Message Send raise error application/json

Message send_raise_error

Signal to EVerest that an error happened.

Payload

object Error

Errors for Isolation Monitor Note that actual isolation faults should just be reported as resistance values, EvseManager will interpret them according to the limits given in the norm and stop charging. This is only to report device errors to indicate valid isolation resistance measurements etc are no longer possible.

Definition of Error

Example

Example 1
{
  "type": "CommunicationFault",
  "sub_type": "string",
  "message": "string"
}

send_clear_error

send Send clear error
Topic
everest_api/1/isolation_monitor/{module_id}/m2e/clear_error

Direction: Module to EVerest

Message Send clear error application/json

Message send_clear_error

Signal to EVerest that a previously raised error is no longer active.

Payload

object Error

Errors for Isolation Monitor Note that actual isolation faults should just be reported as resistance values, EvseManager will interpret them according to the limits given in the norm and stop charging. This is only to report device errors to indicate valid isolation resistance measurements etc are no longer possible.

Definition of Error

Example

Example 1
{
  "type": "CommunicationFault",
  "sub_type": "string",
  "message": "string"
}

send_communication_check

send Send communication check
Topic
everest_api/1/isolation_monitor/{module_id}/m2e/communication_check
Message Send communication check application/json

Message 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

Example 1
true

EVerest to client

receive_start

receive Receive start command
Topic
everest_api/1/isolation_monitor/{module_id}/e2m/start

Direction: EVerest to Module

By receiving the start command the monitoring of the isolation status should be started. Measurement data should be sent in user dependent interval until the stop command is received.

Message Receive start command application/json

Message receive_start

Start recurring isolation measurements. The device should monitor the isolation status until stopped and publish the resistance data in regular intervals. The actual interval is device dependent.

Payload

No payload.

Example

receive_stop

receive Receive stop command
Topic
everest_api/1/isolation_monitor/{module_id}/e2m/stop

Direction: EVerest to Module

By receiving the stop command the monitoring of the isolation status should be stopped. Measurement data must not be sent until the next start command is received.

Message Receive stop command application/json

Message receive_stop

Stop recurring measurements. The device should stop to monitor the isolation resistance and stop publishing the data.

Payload

No payload.

Example

receive_start_self_test

receive Receive start self test command
Topic
everest_api/1/isolation_monitor/{module_id}/e2m/start_self_test

Direction: EVerest to Module

The EvseManager will enable a DC voltage to support the testing, but will not enable output relays such that there is no high voltage on the external plug. The “self_test_result” variable must be published once the self testing is done.

Message Receive start self test command application/json

Message receive_start_self_test

Start self test. EvseManager will enable a DC voltage to support the testing, but will not enable output relais such that there is no high voltage on the external plug.

Payload

Voltage for the isolation monitor self test

Example

Minimal payload generated from the schema generated
0

receive_heartbeat

receive Receive heartbeat
Topic
everest_api/1/isolation_monitor/{module_id}/e2m/heartbeat
Message Receive heartbeat application/json

Message receive_heartbeat

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

Payload

integer HeartBeatId

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

Example

Heartbeat
42

Messages

MessageSummaryUsed by
receive_start
Receive start command

Start recurring isolation measurements. The device should monitor the isolation status until stopped and publish the resistance data in regular intervals. The actual interval is device dependent.

receive_start
receive_stop
Receive stop command

Stop recurring measurements. The device should stop to monitor the isolation resistance and stop publishing the data.

receive_stop
receive_start_self_test
Receive start self test command

Start self test. EvseManager will enable a DC voltage to support the testing, but will not enable output relais such that there is no high voltage on the external plug.

receive_start_self_test
send_isolation_measurement
Send isolation monitor measurement

Isolation monitoring measurement results

send_isolation_measurement
send_self_test_result
Send self test result

Self test result

send_self_test_result
send_raise_error
Send raise error

Signal to EVerest that an error happened.

send_raise_error
send_clear_error
Send clear error

Signal to EVerest that a previously raised error is no longer active.

send_clear_error
receive_heartbeat
Receive heartbeat

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

receive_heartbeat
send_communication_check
Send communication check

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

send_communication_check

Schemas

IsolationMeasurement object
object

Results of an isolation measurement

Additional properties allowed.

  • resistance_F_Ohmnumber required

    Isolation resistance between DC+/DC- and protective earth in Ohm

  • voltage_Vnumber

    DC voltage between positive and negative terminal in Volt

  • voltage_to_earth_l1e_Vnumber

    DC voltage to earth on L1 in Volt

  • voltage_to_earth_l2e_Vnumber

    DC voltage to earth on L2 in Volt

SelfTestResult boolean
boolean

Indicates the self test is done and publishes the result. Set "true" for success, "false" for failure.

SelfTestVoltage number
number

Voltage for the isolation monitor self test

ErrorEnum string
string

Type of error

  • DeviceFault: The IMD device is not fully functional anymore and cannot be used to monitor the isolation resistance.
  • CommunicationFault: The communication to the hardware or underlying driver is lost or has errors.
  • VendorError: Vendor specific error code. Will stop charging session.
  • VendorWarning: Vendor specific error code. Charging may continue.
enumDeviceFaultCommunicationFaultVendorErrorVendorWarning
Error object
object

Errors for Isolation Monitor Note that actual isolation faults should just be reported as resistance values, EvseManager will interpret them according to the limits given in the norm and stop charging. This is only to report device errors to indicate valid isolation resistance measurements etc are no longer possible.

Additional properties allowed.

  • typestring requiredErrorEnum

    Type of error

    • DeviceFault: The IMD device is not fully functional anymore and cannot be used to monitor the isolation resistance.
    • CommunicationFault: The communication to the hardware or underlying driver is lost or has errors.
    • VendorError: Vendor specific error code. Will stop charging session.
    • VendorWarning: Vendor specific error code. Charging may continue.
    enumDeviceFaultCommunicationFaultVendorErrorVendorWarning
  • sub_typestring

    The subtype of the error

  • messagestring

    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:

    • OCPP 1.6 (StatusNotification.req):
    • MREC errors: sent as info, truncated to 50 characters. Omitted entirely when the message is empty.
    • all other errors: sent as vendorId, truncated to 255 characters.
    • OCPP 2.x (NotifyEvent.req): sent as techInfo, truncated to 500 characters. When the message is empty, the error description is sent instead.
  • trigger_valueobject

    Optional value that caused this specific occurrence of the error, e.g. the measurement that crossed a limit.

    • text_reprstring

      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.

      max length 2500
CommunicationCheck boolean
boolean

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.

HeartBeatId integer
integer

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