.. _everest_api_power_supply_DC_API: ###################### power\_supply\_DC\_API ###################### .. container:: everest-api overview .. raw:: html
.. container:: lead EVerest API definition for DC power supplies API for EVerest API clients implementing DC power supplies. .. raw:: htmlSpecification: power_supply_DC_API.yaml · pionix:de:everest:power_supply_DC_API
default mqtt
default local MQTT
localhost:1883everest_api/1/power_supply_DC/{module_id}{module_id}The ID of the module as defined in the EVerest config file.
everest_api/1/power_supply_DC/{module_id}/m2e/voltage_currentapplication/jsonMessage send_voltage_current
Current value of voltage (V) and current (A).
Publish at least once per second (4 Hz recommended), also when the values did not change.
Payload
Example
{
"voltage_V": 230,
"current_A": 15
}
everest_api/1/power_supply_DC/{module_id}/m2e/modeapplication/jsonMessage send_mode
Current mode of DC power supply.
Informational; EVerest does not act on it.
Payload
Mode of the DC power supply
OffExportImportFaultExample
"Export"
everest_api/1/power_supply_DC/{module_id}/m2e/capabilitiesapplication/jsonMessage send_capabilities
Current capabilities of the DC power supply. Non-nominal values can be used to update the limits during runtime, e.g. for derating.
Payload
Example
{
"bidirectional": true,
"current_regulation_tolerance_A": 0,
"peak_current_ripple_A": 0,
"max_export_voltage_V": 0,
"nominal_max_export_voltage_V": 0,
"min_export_voltage_V": 0,
"nominal_min_export_voltage_V": 0,
"max_export_current_A": 0,
"nominal_max_export_current_A": 0,
"min_export_current_A": 0,
"nominal_min_export_current_A": 0,
"max_import_voltage_V": 0,
"nominal_max_import_voltage_V": 0,
"min_import_voltage_V": 0,
"nominal_min_import_voltage_V": 0,
"max_import_current_A": 0,
"nominal_max_import_current_A": 0,
"min_import_current_A": 0,
"nominal_min_import_current_A": 0,
"max_export_power_W": 0,
"nominal_max_export_power_W": 0,
"max_import_power_W": 0,
"nominal_max_import_power_W": 0,
"conversion_efficiency_import": 1,
"conversion_efficiency_export": 1
}
everest_api/1/power_supply_DC/{module_id}/m2e/raise_errorapplication/jsonMessage send_raise_error
Signal to EVerest that an error happened.
Payload
Errors for the power_supply_DC interface. Except for VendorWarning, all error codes will stop the charging session. During all errors, follow the commands for setMode and setVoltageCurrent from EvseManager. If they cannot be sent to the hardware, cache the last values received. Once the PSU is back on-line (e.g. after a CommunicationFault), set the last mode and voltage/current values and only after that clear the error. clear_error must repeat the type and sub_type of the raise.
Example
{
"type": "CommunicationFault",
"sub_type": "string",
"message": "string"
}
everest_api/1/power_supply_DC/{module_id}/m2e/clear_errorapplication/jsonMessage send_clear_error
Signal to EVerest that a previously raised error is no longer active.
Payload
Errors for the power_supply_DC interface. Except for VendorWarning, all error codes will stop the charging session. During all errors, follow the commands for setMode and setVoltageCurrent from EvseManager. If they cannot be sent to the hardware, cache the last values received. Once the PSU is back on-line (e.g. after a CommunicationFault), set the last mode and voltage/current values and only after that clear the error. clear_error must repeat the type and sub_type of the raise.
Example
{
"type": "CommunicationFault",
"sub_type": "string",
"message": "string"
}
everest_api/1/power_supply_DC/{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/power_supply_DC/{module_id}/e2m/modeapplication/jsonMessage receive_mode
Receive the requested mode for DC power supply and the current charging phase.
A session usually requests Export with charging_phase CableCheck, then PreCharge, then Charging, but do not rely on a fixed sequence. Export can arrive while the output is already on, only to announce a new charging_phase: keep the output on. Off can arrive between phases and ends the session. After Off, bring the output voltage down: after CableCheck, EVerest waits at most 10 s for it to drop below 60 V. Import replaces Export while energy flows from the car. After Off, a new setpoint arrives before the next Export.
Payload
Example
{
"mode": "Off",
"charging_phase": "Other"
}
everest_api/1/power_supply_DC/{module_id}/e2m/export_voltage_currentapplication/jsonMessage receive_export_voltage_current
Receive the requested voltage and current when exporting energy to the car.
When EVerest switches the output on, the setpoint arrives before the Export mode request. When the output is already on and only the charging phase changes, the mode request arrives first. During CableCheck EVerest requests 2 A, during PreCharge at least 2 A. If the measured voltage does not come within 10 V of the CableCheck setpoint within 10 s, the cable check fails. A current below min_export_current_A, including 0 A, means: deliver no current (0 A, +/- 0.15 A, IEC 61851-23:2023 CC.5.5.2). Do not raise it to the minimum. If the hardware cannot regulate to 0 A, switch its output off, keep the mode, and switch it on again when a current at or above the minimum is requested.
Payload
Example
{
"voltage_V": 0,
"current_A": 0
}
everest_api/1/power_supply_DC/{module_id}/e2m/import_voltage_currentapplication/jsonMessage receive_import_voltage_current
Receive the requested voltage and current when importing energy from the car.
A current below min_import_current_A, including 0 A, means: deliver no current (0 A, +/- 0.15 A, IEC 61851-23:2023 CC.5.5.2). Do not raise it to the minimum. If the hardware cannot regulate to 0 A, switch its output off, keep the mode, and switch it on again when a current at or above the minimum is requested.
Payload
Example
{
"voltage_V": 0,
"current_A": 0
}
everest_api/1/power_supply_DC/{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
Additional properties allowed.
Absolute magnitude of the regulation tolerance. Measured in Ampere.
Peak-to-peak magnitude of the current ripple measured in Ampere. This value is transmitted to the vehicle and can potentially influence the charging speed.
Maximum voltage that the power supply can output on the DC side. Measured in Volt.
Nominal maximum voltage that the power supply outputs in Volt.
Minimum voltage that the power supply can output on the DC side. Measured in Volt.
Nominal minimum voltage that the power supply outputs in Volt.
Maximum current that the power supply can output on the DC side. Measured in Ampere.
Nominal maximum current that the power supply can output in Ampere.
Minimum current limit on the DC side that the power supply can set. Measured in Ampere. EVerest may request currents below it, including 0 A, see receive_export_voltage_current.
Nominal minimum current limit that the power supply can set in Ampere.
Maximum voltage on the DC side that the power supply supports to import energy. Measured in Volt.
Nominal maximum voltage on the DC side that the power supply supports to import energy. Measured in Volt.
Minimum voltage on the DC side that the power supply requires to import energy. Measured in Volt.
Nominal minimum voltage on the DC side that the power supply requires to import energy. Measured in Volt.
Maximum current that the power supply can sink on the DC side. Measuered in Ampere.
Nominal maximum current that the power supply can output in Ampere.
Minimum limit for sinking current on the DC side that the power supply can set. Measured in Ampere. EVerest may request currents below it, including 0 A, see receive_import_voltage_current.
Nominal minimum current limit that the power supply can set in Ampere.
Maximum export power on the DC side that the power supply can source. Measured in Watt.
Nominal maximum export power that the power supply can output in Watt.
Maximum import power on the DC side that the power supply can sink. Measured in Watt.
Nominal maximum import power that the power supply can sink in Watt.
Typical import efficiency used for energy management
Typical export efficiency used for energy management
Charging phase of the current mode change.
OtherCableCheckPreChargeChargingMode of the DC power supply
OffExportImportFaultRequested Mode and the current charging state
Additional properties allowed.
Mode of the DC power supply
OffExportImportFaultCharging phase of the current mode change.
OtherCableCheckPreChargeChargingAdditional properties allowed.
Voltage in volt
Electric current in amp
Type of error
CommunicationFaultHardwareFaultOverTemperatureUnderTemperatureUnderVoltageACOverVoltageACUnderVoltageDCOverVoltageDCOverCurrentACOverCurrentDCVendorErrorVendorWarningErrors for the power_supply_DC interface. Except for VendorWarning, all error codes will stop the charging session. During all errors, follow the commands for setMode and setVoltageCurrent from EvseManager. If they cannot be sent to the hardware, cache the last values received. Once the PSU is back on-line (e.g. after a CommunicationFault), set the last mode and voltage/current values and only after that clear the error. clear_error must repeat the type and sub_type of the raise.
Additional properties allowed.
Type of error
CommunicationFaultHardwareFaultOverTemperatureUnderTemperatureUnderVoltageACOverVoltageACUnderVoltageDCOverVoltageDCOverCurrentACOverCurrentDCVendorErrorVendorWarningThe 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