evse_board_support_API

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

EVerest API definition for EVSE board support

API for EVerest API clients implementing evse board support, AC RCD and connector lock. Commands without arguments carry an empty JSON object ({}) as payload.

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

send the client publishes, EVerest consumes (10) receive EVerest publishes, the client consumes (13)

Servers

default mqtt

default local MQTT

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

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

Operations

Client to EVerest

send_event

send Send ControlPilot event
Topic
everest_api/1/evse_board_support/{module_id}/m2e/event

Direction: Module to EVerest

Message Send ControlPilot event application/json

Message send_event

Event from ControlPilot signal/out relais

Payload

object BspEvent

Event stream from ControlPilot signal/relais.

Definition of BspEvent

Example

Example 1
{
  "event": "A"
}

send_ac_nr_of_phases

send Send phase count available to car
Topic
everest_api/1/evse_board_support/{module_id}/m2e/ac_nr_of_phases

Direction: Module to EVerest

Message Send phase count application/json

Message send_ac_nr_of_phases

Instantaneous phase count available to car

Values outside 1..3 are rejected with a log warning. Not required at start: the initial phase count comes from max_phase_count_import of the capabilities.

Payload

integer PhaseCount

Number of phases

min 1max 3

Example

Example 1
3

send_capabilities

send Send hardware capabilities
Topic
everest_api/1/evse_board_support/{module_id}/m2e/capabilities

Direction: Module to EVerest

Message Send hardware capabilities application/json

Message send_capabilities

Hardware capabilities/limits. Publish them once after start, before the first charging session: on AC, EVerest does not offer current before it has them, and on AC and DC they set connector_type and supports_cp_state_E. Publish them again whenever a limit changes, e.g. when the maximum current drops because the hardware gets too hot.

Payload

object HardwareCapabilities

Hardware capabilities / limits

Definition of HardwareCapabilities

Example

Example 1
{
  "max_current_A_import": 5,
  "min_current_A_import": 1,
  "max_phase_count_import": 3,
  "min_phase_count_import": 1,
  "max_current_A_export": 10,
  "min_current_A_export": 1,
  "max_phase_count_export": 3,
  "min_phase_count_export": 1,
  "supports_changing_phases_during_charging": true,
  "max_plug_temperature_C": 80,
  "supports_cp_state_E": true,
  "connector_type": "IEC62196Type2Cable"
}

send_ac_pp_ampacity

send Send AC pp ampacity
Topic
everest_api/1/evse_board_support/{module_id}/m2e/ac_pp_ampacity

Direction: Module to EVerest

Message Send AC pp ampacity application/json

Message send_ac_pp_ampacity

Current carrying capacity of the connected cable in ampere for AC charging with a socket. Publish whenever it changes. This has no meaning for DC or AC charging with a fixed attached cable, it does not need to be implemented and the returned value is not used in those cases.

Payload

object ProximityPilot

Current capability (ampacity) of the cable

Definition of ProximityPilot

Example

Example 1
{
  "ampacity": "None"
}

send_request_stop_transaction

send Send request to stop charging
Topic
everest_api/1/evse_board_support/{module_id}/m2e/request_stop_transaction

Direction: Module to EVerest

Message Request stop charging application/json

Message send_request_stop_transaction

Publish to stop the transaction gracefully (e.g. user pressed the stop button)

Payload

object StopTransactionRequest ↗

Request for a stop transaction containing the reason and an optional id tag

Definition of StopTransactionRequest

Example

Example 1
{
  "reason": "Local"
}

send_reply_reset

send Send reply to reset RCD request
Topic
Dynamic: the replyTo address from the request's headers. Answers receive_request_reset.

Reply to request

Message Reply to request for RCD reset application/json

Message send_reply_reset

Reply to provided topic.

Payload

boolean Success

Success: true, failure: false

Example

Minimal payload generated from the schema generated
true

send_rcd_current

send Send RCD current
Topic
everest_api/1/evse_board_support/{module_id}/m2e/rcd_current

Direction: Module to EVerest

Message Send RCD current application/json

Message send_rcd_current

Residual current in mA. Note that this does not trigger anything, it is merely for reporting.

Payload

number Current

Electrical current in milliampere (mA)

Example

Example 1
1

send_raise_error

send Send raise error
Topic
everest_api/1/evse_board_support/{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 the evse_board_support interface. All error codes that begin with MREC needs to be implemented to fulfill the Minimum Required Error Codes defined by the ChargeX consortium: https://inl.gov/content/uploads/2023/07/ChargeX_MREC_Rev5_09.12.23.pdf

Definition of Error

Example

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

send_clear_error

send Send clear error
Topic
everest_api/1/evse_board_support/{module_id}/m2e/clear_error
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 the evse_board_support interface. All error codes that begin with MREC needs to be implemented to fulfill the Minimum Required Error Codes defined by the ChargeX consortium: https://inl.gov/content/uploads/2023/07/ChargeX_MREC_Rev5_09.12.23.pdf

Definition of Error

Example

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

send_communication_check

send Send communication check
Topic
everest_api/1/evse_board_support/{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_enable

receive Receive Enable
Topic
everest_api/1/evse_board_support/{module_id}/e2m/enable

Direction: EVerest to Module

Message Receive enable or disable for charging port application/json

Message receive_enable

Enables or disables the charging port. Typically disabled results in control pilot state F. It must not accept cars for new charging sessions if disabled.

Payload

boolean Enabled

True: enabled. False: disabled.

Example

Example 1
true

receive_pwm_on

receive Receive PWM duty cycle
Topic
everest_api/1/evse_board_support/{module_id}/e2m/pwm_on

Direction: EVerest to Module

Message Receive PWM duty cycle application/json

Message receive_pwm_on

Turns PWM on with duty cycle (in percent)

EVerest only requests duty cycles strictly between 0 and 100 (5 % for high level communication, 10 % for 6 A up to 97 % for 80 A). State X1 (no current available, PWM off) is requested with cp_state_X1 and state F with cp_state_F, never as a duty cycle of 100 or 0 here.

Payload

PWM duty cycle in percent, strictly between 0 and 100. EVerest requests 100 % (X1) and 0 % (F) through cp_state_X1 and cp_state_F instead.

min (exclusive) 0max (exclusive) 100

Example

Example 1
100

receive_cp_state_X1

receive Receive CP state X1
Topic
everest_api/1/evse_board_support/{module_id}/e2m/cp_state_X1

Direction: EVerest to Module

Message Receive CP state X1 application/json

Message receive_cp_state_X1

Turn PWM off and set CP to constant high voltage (state X1)

Payload

No payload.

Example

receive_cp_state_F

receive Receive CP state F
Topic
everest_api/1/evse_board_support/{module_id}/e2m/cp_state_F

Direction: EVerest to Module

Message Receive CP state F application/json

Message receive_cp_state_F

Turn PWM off with error F (constant negative voltage)

Payload

No payload.

Example

receive_cp_state_E

receive Receive CP state E
Topic
everest_api/1/evse_board_support/{module_id}/e2m/cp_state_E

Direction: EVerest to Module

Message Receive CP state E application/json

Message receive_cp_state_E

Set CP to 0 V (state E)

Payload

No payload.

Example

receive_allow_power_on

receive Receive permission to switch relays
Topic
everest_api/1/evse_board_support/{module_id}/e2m/allow_power_on

Direction: EVerest to Module

Message Receive permission to switch relays on application/json

Message receive_allow_power_on

Sets allow_power_on flag. If false, relays must never be switched on.

Payload

object PowerOnOff

Flag and context for switching power on/off. In some architectures e.g. DC power train needs to know whether it should switch on with limited current or full current on the output contactors.

Definition of PowerOnOff

Example

Example 1
{
  "allow_power_on": true,
  "reason": "DCCableCheck"
}

receive_ac_switch_three_phases_while_charging

receive Receive command to switch 3 phase and 1 phase mode while charging
Topic
everest_api/1/evse_board_support/{module_id}/e2m/ac_switch_three_phases_while_charging

Direction: EVerest to Module

Message Receive request switch between 3 phase and 1 phase mode application/json

Message receive_ac_switch_three_phases_while_charging

Optional, in case of doubt do not implement. Report in hardware_capabilites if this command is supported. This command switches between one and three phase operation during an active charging session. Some cars can be permanently destroyed by that, so the bsp needs to implement a special sequence for the switching. The exact sequence can be defined by the BSP, but one example would be a C2->C1->B1->F->B1->B2->C2 or similar. Use with caution.

Payload

Number of active phases for AC charging

enumThreePhasesSinglePhase

Example

Example 1
"ThreePhases"

receive_ac_overcurrent_limit

receive Receive over current limit
Topic
everest_api/1/evse_board_support/{module_id}/e2m/ac_overcurrent_limit

Direction: EVerest to Module

Message Receive over current limit application/json

Message receive_ac_overcurrent_limit

Many chargers implement a fast over current shutdown directly in the hardware that triggers if the EV draws more current than the PWM allows. If the hardware does not have this functionality, just ignore this command. Do not use it to set the PWM duty cycle. Otherwise this command reports a value that should be used for the overcurrent detection. A margin needs to be added to avoid false triggers. Do not use the PWM duty cycle to infer the current limit in the BSP, as this will not work with HLC.

Payload

Electrical current in ampere (A)

Example

Example 1
15

receive_self_test

receive Receive request for self test
Topic
everest_api/1/evse_board_support/{module_id}/e2m/self_test
Message Receive signal for selftest application/json

Message receive_self_test

Executes a self test of the RCD. If it fails, an error of type Selftest should be raised.

Payload

No payload.

Example

receive_request_reset

receive Request to reset RCD
Topic
everest_api/1/evse_board_support/{module_id}/e2m/reset
Reply
Sent to $message.header#/replyTo as send_reply_reset.
Message Request to reset RCD application/json

Message receive_request_reset

Resets the RCD after a trigger. May not be supported by actual hardware.

Payload

object
  • headersobject required
    • replyTostring required

      The topic to which to send the reply

Example

Example 1
{
  "headers": {
    "replyTo": "everest_api/1/{interface_type}/{module_id}/e2m/{operation_name}/{uuid}"
  }
}

receive_lock

receive Receive request to lock
Topic
everest_api/1/evse_board_support/{module_id}/e2m/lock
Message Receive signal to lock application/json

Message receive_lock

Lock connector lock

Payload

No payload.

Example

receive_unlock

receive Receive request to unlock
Topic
everest_api/1/evse_board_support/{module_id}/e2m/unlock
Message Receive signal to unlock application/json

Message receive_unlock

Unlock connector lock. (e.g. normal unlock or enforced by OCPP)

Payload

No payload.

Example

receive_heartbeat

receive Receive heartbeat
Topic
everest_api/1/evse_board_support/{module_id}/e2m/heartbeat

Direction: EVerest to Module

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_enable
Receive enable or disable for charging port

Enables or disables the charging port. Typically disabled results in control pilot state F. It must not accept cars for new charging sessions if disabled.

receive_enable
receive_pwm_on
Receive PWM duty cycle

Turns PWM on with duty cycle (in percent)

receive_pwm_on
receive_cp_state_X1
Receive CP state X1

Turn PWM off and set CP to constant high voltage (state X1)

receive_cp_state_X1
receive_cp_state_F
Receive CP state F

Turn PWM off with error F (constant negative voltage)

receive_cp_state_F
receive_cp_state_E
Receive CP state E

Set CP to 0 V (state E)

receive_cp_state_E
receive_allow_power_on
Receive permission to switch relays on

Sets allow_power_on flag. If false, relays must never be switched on.

receive_allow_power_on
receive_ac_switch_three_phases_while_charging
Receive request switch between 3 phase and 1 phase mode

Optional, in case of doubt do not implement. Report in hardware_capabilites if this command is supported. This command switches between one and three phase operation during an active charging session. Some cars can be permanently destroyed by that, so the bsp needs to implement a special sequence for the switching. The exact sequence can be defined by the BSP, but one example would be a C2->C1->B1->F->B1->B2->C2 or similar. Use with caution.

receive_ac_switch_three_phases_while_charging
receive_ac_overcurrent_limit
Receive over current limit

Many chargers implement a fast over current shutdown directly in the hardware that triggers if the EV draws more current than the PWM allows. If the hardware does not have this functionality, just ignore this command. Do not use it to set the PWM duty cycle. Otherwise this command reports a value that should be used for the overcurrent detection. A margin needs to be added to avoid false triggers. Do not use the PWM duty cycle to infer the current limit in the BSP, as this will not work with HLC.

receive_ac_overcurrent_limit
send_event
Send ControlPilot event

Event from ControlPilot signal/out relais

send_event
send_ac_nr_of_phases
Send phase count

Instantaneous phase count available to car

send_ac_nr_of_phases
send_capabilities
Send hardware capabilities

Hardware capabilities/limits. Publish them once after start, before the first charging session: on AC, EVerest does not offer current before it has them, and on AC and DC they set connector_type and supports_cp_state_E. Publish them again whenever a limit changes, e.g. when the maximum current drops because the hardware gets too hot.

send_capabilities
send_ac_pp_ampacity
Send AC pp ampacity

Current carrying capacity of the connected cable in ampere for AC charging with a socket. Publish whenever it changes. This has no meaning for DC or AC charging with a fixed attached cable, it does not need to be implemented and the returned value is not used in those cases.

send_ac_pp_ampacity
send_request_stop_transaction
Request stop charging

Publish to stop the transaction gracefully (e.g. user pressed the stop button)

send_request_stop_transaction
receive_self_test
Receive signal for selftest

Executes a self test of the RCD. If it fails, an error of type Selftest should be raised.

receive_self_test
receive_request_reset
Request to reset RCD

Resets the RCD after a trigger. May not be supported by actual hardware.

receive_request_reset
send_reply_reset
Reply to request for RCD reset

Reply to provided topic.

send_reply_reset
send_rcd_current
Send RCD current

Residual current in mA. Note that this does not trigger anything, it is merely for reporting.

send_rcd_current
receive_lock
Receive signal to lock

Lock connector lock

receive_lock
receive_unlock
Receive signal to unlock

Unlock connector lock. (e.g. normal unlock or enforced by OCPP)

receive_unlock
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

ACPhaseMode string
string

Number of active phases for AC charging

enumThreePhasesSinglePhase
BspEvent object
object

Event stream from ControlPilot signal/relais.

Additional properties allowed.

  • eventstring required
    • A-F: CP states as defined in IEC61851-1
    • PowerOn: Hardware confirms that contactors switched on correctly (typically mirror contacts indicated successful switch on)
    • PowerOff: Hardware confirms that contactors switched off correctly and are not welded (typically mirror contacts indicated successful switch off)
    • Disconnected: Only used on EV side: Not connected to a charging station. Do not use on EVSE side.
    enumABCDEFPowerOnPowerOffDisconnected
Current number
number

Electrical current in milliampere (mA)

Enabled boolean
boolean

True: enabled. False: disabled.

HardwareCapabilities object
object

Hardware capabilities / limits

Additional properties allowed.

  • max_current_A_importnumber required

    Maximum current (ampere) the hardware can handle (import from grid)

  • min_current_A_importnumber required

    Minimum current (ampere) the hardware can use to charge. Values below may be set but may result in pause instead. (import from grid)

  • max_phase_count_importinteger required

    Max nr of phases the hardware can use (import from grid)

    min 1max 3
  • min_phase_count_importinteger required

    Minimum nr of phases the hardware can use (import from grid)

    min 1max 3
  • max_current_A_exportnumber required

    Maximum current (ampere) the hardware can handle (export to grid)

  • min_current_A_exportnumber required

    Minimum current (ampere) the hardware can use to charge. Values below may be set but may result in pause instead. (export to grid)

  • max_phase_count_exportinteger required

    Max nr of phases the hardware can use (export to grid)

    min 1max 3
  • min_phase_count_exportinteger required

    Minimum nr of phases the hardware can use (export to grid)

    min 1max 3
  • supports_changing_phases_during_chargingboolean required

    Indicates whether changing number of phases is supported during charging (true) or not (false)

  • max_plug_temperature_Cnumber
  • supports_cp_state_Eboolean

    Indicates whether setting Control Pilot to state E is supported (true) or not (false). Treated as false when omitted.

    default false
  • connector_typestring required

    Type of charging connector available at this EVSE

    enumIEC62196Type2CableIEC62196Type2SocketcCCS1cCCS2cTeslacNACScG105cMCS
OverCurrent number
number

Electrical current in ampere (A)

PhaseCount integer
integer

Number of phases

min 1max 3
PowerOnOff object
object

Flag and context for switching power on/off. In some architectures e.g. DC power train needs to know whether it should switch on with limited current or full current on the output contactors.

Additional properties allowed.

  • allow_power_onboolean required

    Allow switching on (true) or force switching off (false)

  • reasonstring required

    Reason for switching on/off

    enumDCCableCheckDCPreChargeFullPowerChargingPowerOff
ProximityPilot object
object

Current capability (ampacity) of the cable

Additional properties allowed.

  • ampacitystring required

    Ampacity value of the cable assembly

    enumNoneA_13A_20A_32A_63_3ph_70_1ph
PWMDutyCycle number
number

PWM duty cycle in percent, strictly between 0 and 100. EVerest requests 100 % (X1) and 0 % (F) through cp_state_X1 and cp_state_F instead.

min (exclusive) 0max (exclusive) 100
Success boolean
boolean

Success: true, failure: false

ErrorEnum string
string

Type of error

  • DiodeFault: 'The CP diode in the EV is shorted.'
  • VentilationNotAvailable: 'EV requested state D but no ventilation is available.'
  • BrownOut: 'The hardware/MCU detected a brown out.'
  • EnergyManagement: 'Energy could not be delivered because an (external) energy management failed.'
  • PermanentFault: 'The EVSE is permanently broken and requires repair.'
  • MREC2GroundFailure: 'Ground fault circuit interrupter has been activated.'
  • MREC3HighTemperature: 'High temperature inside the EVSE is derating power delivery.'
  • MREC4OverCurrentFailure: 'Over current protection device has tripped.'
  • MREC5OverVoltage: 'Input voltage to the vehicle has risen above an acceptable level.'
  • MREC6UnderVoltage: 'Input voltage to the vehicle has dropped below an acceptable level.'
  • MREC8EmergencyStop: 'Emergency stop is pressed by the user (required if equipped).'
  • MREC10InvalidVehicleMode: 'The vehicle is in an invalid mode for charging (Reported by IEC stack)'
  • MREC14PilotFault: 'The control pilot voltage is out of range.'
  • MREC15PowerLoss: 'The EVSE is unable to supply any power due to mains failure'
  • MREC17EVSEContactorFault: "Contactors fail to open or close on EVSE's side. May also include welding related errors."
  • MREC18CableOverTempDerate: 'Temperature of charging cable or connector assembly is too high, resulting in reduced power operation.'
  • MREC19CableOverTempStop: 'Temperature of charging cable or connector assembly is too high, resulting in a stopped charging session.'
  • MREC20PartialInsertion: 'Cable latch is raised due to incomplete insertion into the vehicle charging port.'
  • MREC23ProximityFault: 'The proximity voltage is out of range.'
  • MREC24ConnectorVoltageHigh: 'The output voltage of EVSE is high before charging starts or after charging ends.'
  • MREC25BrokenLatch: 'The latch on the connector is broken.'
  • MREC26CutCable: 'The output cable has been severed from the EVSE.'
  • ConnectorLockCapNotCharged: 'The capacitor for connector lock motor failed to charge within expected time'
  • ConnectorLockUnexpectedOpen: 'The connector lock feedback returns open while it should be closed'
  • ConnectorLockUnexpectedClose: 'The connector lock feedback returns closed while it should be open'
  • ConnectorLockFailedLock: 'The connector lock failed to lock (feedback still returns open)'
  • ConnectorLockFailedUnlock: 'The connector lock failed to unlock (feedback still returns closed)'
  • MREC1ConnectorLockFailure: ' Failure to lock or unlock connector on the vehicle side as per MREC definition. How should that be implemented? We can only find out about locking on the EVSE side, so we will use this error to report EVSE side lock failures. It is probably a mistake in the MREC definition.'
  • Selftest: 'The Selftest failed, device permanently broken'
  • DC: 'RCD was triggered by a DC fault'
  • AC: 'RCD was triggered by an AC fault'
  • TiltDetected: 'The EVSE has been tilted beyond acceptable limits.'
  • WaterIngressDetected: 'A substantial amount of water has been detected inside the EVSE.'
  • EnclosureOpen: 'The EVSE enclosure is open, e.g. a door or panel is not properly closed.'
  • VendorError: 'Vendor specific error code. Will stop charging session.'
  • VendorWarning: 'Vendor specific error code. Charging may continue.'

The ConnectorLock errors and MREC1ConnectorLockFailure are raised on the connector_lock interface, Selftest, DC and AC on ac_rcd, all others on evse_board_support. EvseManager sees connector_lock and ac_rcd errors only if its connector_lock and ac_rcd requirements are connected to this module. Only MREC3HighTemperature, MREC18CableOverTempDerate and VendorWarning let charging continue.

enumDiodeFaultVentilationNotAvailableBrownOutEnergyManagementPermanentFaultMREC2GroundFailureMREC3HighTemperatureMREC4OverCurrentFailureMREC5OverVoltageMREC6UnderVoltageMREC8EmergencyStopMREC10InvalidVehicleModeMREC14PilotFaultMREC15PowerLossMREC17EVSEContactorFaultMREC18CableOverTempDerateMREC19CableOverTempStopMREC20PartialInsertionMREC23ProximityFaultMREC24ConnectorVoltageHighMREC25BrokenLatchMREC26CutCableConnectorLockCapNotChargedConnectorLockUnexpectedOpenConnectorLockUnexpectedCloseConnectorLockFailedLockConnectorLockFailedUnlockMREC1ConnectorLockFailureSelftestDCACTiltDetectedWaterIngressDetectedEnclosureOpenVendorErrorVendorWarning
Error object
object

Errors for the evse_board_support interface. All error codes that begin with MREC needs to be implemented to fulfill the Minimum Required Error Codes defined by the ChargeX consortium: https://inl.gov/content/uploads/2023/07/ChargeX_MREC_Rev5_09.12.23.pdf

Additional properties allowed.

  • typestring requiredErrorEnum

    Type of error

    • DiodeFault: 'The CP diode in the EV is shorted.'
    • VentilationNotAvailable: 'EV requested state D but no ventilation is available.'
    • BrownOut: 'The hardware/MCU detected a brown out.'
    • EnergyManagement: 'Energy could not be delivered because an (external) energy management failed.'
    • PermanentFault: 'The EVSE is permanently broken and requires repair.'
    • MREC2GroundFailure: 'Ground fault circuit interrupter has been activated.'
    • MREC3HighTemperature: 'High temperature inside the EVSE is derating power delivery.'
    • MREC4OverCurrentFailure: 'Over current protection device has tripped.'
    • MREC5OverVoltage: 'Input voltage to the vehicle has risen above an acceptable level.'
    • MREC6UnderVoltage: 'Input voltage to the vehicle has dropped below an acceptable level.'
    • MREC8EmergencyStop: 'Emergency stop is pressed by the user (required if equipped).'
    • MREC10InvalidVehicleMode: 'The vehicle is in an invalid mode for charging (Reported by IEC stack)'
    • MREC14PilotFault: 'The control pilot voltage is out of range.'
    • MREC15PowerLoss: 'The EVSE is unable to supply any power due to mains failure'
    • MREC17EVSEContactorFault: "Contactors fail to open or close on EVSE's side. May also include welding related errors."
    • MREC18CableOverTempDerate: 'Temperature of charging cable or connector assembly is too high, resulting in reduced power operation.'
    • MREC19CableOverTempStop: 'Temperature of charging cable or connector assembly is too high, resulting in a stopped charging session.'
    • MREC20PartialInsertion: 'Cable latch is raised due to incomplete insertion into the vehicle charging port.'
    • MREC23ProximityFault: 'The proximity voltage is out of range.'
    • MREC24ConnectorVoltageHigh: 'The output voltage of EVSE is high before charging starts or after charging ends.'
    • MREC25BrokenLatch: 'The latch on the connector is broken.'
    • MREC26CutCable: 'The output cable has been severed from the EVSE.'
    • ConnectorLockCapNotCharged: 'The capacitor for connector lock motor failed to charge within expected time'
    • ConnectorLockUnexpectedOpen: 'The connector lock feedback returns open while it should be closed'
    • ConnectorLockUnexpectedClose: 'The connector lock feedback returns closed while it should be open'
    • ConnectorLockFailedLock: 'The connector lock failed to lock (feedback still returns open)'
    • ConnectorLockFailedUnlock: 'The connector lock failed to unlock (feedback still returns closed)'
    • MREC1ConnectorLockFailure: ' Failure to lock or unlock connector on the vehicle side as per MREC definition. How should that be implemented? We can only find out about locking on the EVSE side, so we will use this error to report EVSE side lock failures. It is probably a mistake in the MREC definition.'
    • Selftest: 'The Selftest failed, device permanently broken'
    • DC: 'RCD was triggered by a DC fault'
    • AC: 'RCD was triggered by an AC fault'
    • TiltDetected: 'The EVSE has been tilted beyond acceptable limits.'
    • WaterIngressDetected: 'A substantial amount of water has been detected inside the EVSE.'
    • EnclosureOpen: 'The EVSE enclosure is open, e.g. a door or panel is not properly closed.'
    • VendorError: 'Vendor specific error code. Will stop charging session.'
    • VendorWarning: 'Vendor specific error code. Charging may continue.'

    The ConnectorLock errors and MREC1ConnectorLockFailure are raised on the connector_lock interface, Selftest, DC and AC on ac_rcd, all others on evse_board_support. EvseManager sees connector_lock and ac_rcd errors only if its connector_lock and ac_rcd requirements are connected to this module. Only MREC3HighTemperature, MREC18CableOverTempDerate and VendorWarning let charging continue.

    enumDiodeFaultVentilationNotAvailableBrownOutEnergyManagementPermanentFaultMREC2GroundFailureMREC3HighTemperatureMREC4OverCurrentFailureMREC5OverVoltageMREC6UnderVoltageMREC8EmergencyStopMREC10InvalidVehicleModeMREC14PilotFaultMREC15PowerLossMREC17EVSEContactorFaultMREC18CableOverTempDerateMREC19CableOverTempStopMREC20PartialInsertionMREC23ProximityFaultMREC24ConnectorVoltageHighMREC25BrokenLatchMREC26CutCableConnectorLockCapNotChargedConnectorLockUnexpectedOpenConnectorLockUnexpectedCloseConnectorLockFailedLockConnectorLockFailedUnlockMREC1ConnectorLockFailureSelftestDCACTiltDetectedWaterIngressDetectedEnclosureOpenVendorErrorVendorWarning
  • 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

Schemas from other APIs

CertificateHashDataInfo object defined in auth_consumer_API.yaml ↗
object

Contains the certificate information

Additional properties allowed.

  • hashAlgorithmstring required

    Used algorithms for the hashes provided

    enumSHA256SHA384SHA512
  • issuerNameHashstring required

    Hashed value of the Issuer Distinguished Name

    max length 128
  • issuerKeyHashstring required

    Hashed value of the issuers public key

    max length 128
  • serialNumberstring required

    The serial number of the certificate

    max length 40
  • responderURLstring required

    This contains the responder URL

    max length 512
CustomIdToken object defined in auth_consumer_API.yaml ↗
object

Type for a custom id token with a free-form type

Additional properties allowed.

  • valuestring required

    Arbitrary value of the IdToken

    min length 0max length 36
  • typestring required

    Custom type of the token

    min length 0max length 50
IdToken object defined in auth_consumer_API.yaml ↗
object

Type for an id token

Additional properties allowed.

  • valuestring required

    Arbitrary value of the IdToken: This has to be printable case insensitive ascii

    min length 0max length 36
  • typestring requiredIdTokenType ↗

    Type of the token

    enumCentraleMAIDMacAddressISO14443ISO15693KeyCodeLocalNoAuthorization
  • additional_infoarray<object>

    A list of additional custom id tokens than can be used for providing additional information for validation

ProvidedIdToken object defined in auth_consumer_API.yaml ↗
object

Type for IdToken provided by auth token providers. Contains additional information about the IdToken like the source and purpose

Additional properties allowed.

  • request_idinteger

    Id of the authorization request of this token. Could be used to put remoteStartId of OCPP2.0.1

  • id_tokenobject requiredIdToken ↗

    IdToken of the provided token

    Definition of IdToken

  • parent_id_tokenobject IdToken ↗

    Parent IdToken of the provided token

    Definition of IdToken

  • authorization_typestring requiredAuthorizationType ↗

    Authorization type of the token.

    enumOCPPRFIDAutochargePlugAndChargeBankCard
    min length 2max length 32
  • connectorsarray<integer>

    A list of connector ids to which the authorization can be assigned

    • itemsinteger
      min 1
  • prevalidatedboolean

    Indicates that the id token is already validated by the provider

  • certificatestring

    The X.509 certificated presented by EV and encoded in PEM format

    max length 5500
  • iso15118CertificateHashDataarray<object>

    Contains the information needed to verify the EV Contract Certificate via OCSP

    min items 1max items 4
StopTransactionRequest object defined in evse_manager_consumer_API.yaml ↗
object

Request for a stop transaction containing the reason and an optional id tag

Additional properties allowed.

  • reasonstring requiredStopTransactionReason ↗

    Reason for stopping the transaction

    enumEmergencyStopEVDisconnectedHardResetLocalOtherPowerLossRebootRemoteSoftResetUnlockCommandDeAuthorizedEnergyLimitReachedGroundFaultLocalOutOfCreditMasterPassOvercurrentFaultPowerQualitySOCLimitReachedStoppedByEVTimeLimitReachedTimeoutReqEnergyTransferRejectedEVSEDisabled
  • id_tagobject ProvidedIdToken ↗

    Id tag that was used to stop the transaction. Only present if transaction was stopped locally.

    Definition of ProvidedIdToken