Skip to content

Commit

Permalink
add more specific error codes for connector lock.
Browse files Browse the repository at this point in the history
Signed-off-by: Cornelius Claussen <[email protected]>
  • Loading branch information
corneliusclaussen committed Oct 16, 2023
1 parent 5b9e418 commit 3bdd847
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions types/board_support_common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,17 @@ types:
PermanentFault: The EVSE is permanently broken and requires repair.
EvseReplugStarted: Special testing sequence: virtual replugging started
EvseReplugFinished: Special testing sequence: virtual replugging stopped
Disconnected: Only used on EV side: Not connected to a charging station
Disconnected: Only used on EV side: Not connected to a charging station. Do not use on EVSE side.
These following error types give more details about connector lock errors.
You should consider setting a MREC_1_ConnectorLockFailure to indicated a generic lock failure with an MREC error code as well
as one of the more detailed but custom error codes to specify the reason:
ConnectorLockCapNotCharged: The capacitor for connector lock motor failed to charge within expected time
ConnectorLockUnexpectedOpen: The connector lock feedback does return open while it should be close
ConnectorLockUnexpectedClose: The connector lock feedback does return 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)
All error codes that begin with MREC needs to be implemented to fulfill the Minimum Required Error Codes defined by the ChargeX consortium:
Expand Down Expand Up @@ -46,7 +56,6 @@ types:
MREC_24_ConnectorVoltageHigh: The output voltage of EVSE is high before charging starts or after charging ends.
MREC_25_BrokenLatch: The latch on the connector is broken.
MREC_26_CutCable: The output cable has been severed from the EVSE.
type: object
additionalProperties: false
required:
Expand All @@ -71,6 +80,11 @@ types:
- 'EvseReplugStarted'
- 'EvseReplugFinished'
- 'Disconnected'
- 'ConnectorLockCapNotCharged'
- 'ConnectorLockUnexpectedOpen'
- 'ConnectorLockUnexpectedClose'
- 'ConnectorLockFailedLock'
- 'ConnectorLockFailedUnlock'
- 'MREC_1_ConnectorLockFailure'
- 'MREC_2_GroundFailure'
- 'MREC_3_HighTemperature'
Expand Down

0 comments on commit 3bdd847

Please sign in to comment.