.. _everest_api_isolation_monitor_API: ####################### isolation\_monitor\_API ####################### .. container:: everest-api overview .. raw:: html
version 1.1.0AsyncAPI 3.0.0 content type application/jsonlicense Apache-2.0EVerestisolation monitor
.. container:: lead EVerest API definition for isolation monitors API for EVerest API clients implementing isolation monitoring. Commands without arguments carry an empty JSON object ({}) as payload. .. raw:: html

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 ======= .. container:: everest-api .. raw:: html

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 ========== .. container:: everest-api .. raw:: html
Client to EVerest ----------------- .. _everest_api_isolation_monitor_API_op_send_isolation_measurement: send\_isolation\_measurement ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op send .. raw:: html
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. .. raw:: html
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
      }
.. _everest_api_isolation_monitor_API_op_send_self_test_result: send\_self\_test\_result ~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op send .. raw:: html
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. .. raw:: html
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
.. _everest_api_isolation_monitor_API_op_send_raise_error: send\_raise\_error ~~~~~~~~~~~~~~~~~~ .. container:: everest-api op send .. raw:: html
send Send raise error
Topic
everest_api/1/isolation_monitor/{module_id}/m2e/raise_error
Direction: Module to EVerest .. raw:: html
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"
      }
.. _everest_api_isolation_monitor_API_op_send_clear_error: send\_clear\_error ~~~~~~~~~~~~~~~~~~ .. container:: everest-api op send .. raw:: html
send Send clear error
Topic
everest_api/1/isolation_monitor/{module_id}/m2e/clear_error
Direction: Module to EVerest .. raw:: html
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"
      }
.. _everest_api_isolation_monitor_API_op_send_communication_check: send\_communication\_check ~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op send .. raw:: html
send Send communication check
Topic
everest_api/1/isolation_monitor/{module_id}/m2e/communication_check
.. raw:: html
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 ----------------- .. _everest_api_isolation_monitor_API_op_receive_start: receive\_start ~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
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. .. raw:: html
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

.. _everest_api_isolation_monitor_API_op_receive_stop: receive\_stop ~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
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. .. raw:: html
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

.. _everest_api_isolation_monitor_API_op_receive_start_self_test: receive\_start\_self\_test ~~~~~~~~~~~~~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
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. .. raw:: html
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
.. _everest_api_isolation_monitor_API_op_receive_heartbeat: receive\_heartbeat ~~~~~~~~~~~~~~~~~~ .. container:: everest-api op receive .. raw:: html
receive Receive heartbeat
Topic
everest_api/1/isolation_monitor/{module_id}/e2m/heartbeat
.. raw:: html
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 ======== .. container:: everest-api .. raw:: html
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 ======= .. container:: everest-api .. raw:: html
IsolationMeasurement object
object

Results of an isolation measurement

Additional properties allowed.

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.

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