From 3bdd84710832618e063989497f9b7d46c4163525 Mon Sep 17 00:00:00 2001 From: Cornelius Claussen Date: Mon, 16 Oct 2023 09:43:08 +0200 Subject: [PATCH] add more specific error codes for connector lock. Signed-off-by: Cornelius Claussen --- types/board_support_common.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/types/board_support_common.yaml b/types/board_support_common.yaml index 6d4f27145d..b5a6fdc7f8 100644 --- a/types/board_support_common.yaml +++ b/types/board_support_common.yaml @@ -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: @@ -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: @@ -71,6 +80,11 @@ types: - 'EvseReplugStarted' - 'EvseReplugFinished' - 'Disconnected' + - 'ConnectorLockCapNotCharged' + - 'ConnectorLockUnexpectedOpen' + - 'ConnectorLockUnexpectedClose' + - 'ConnectorLockFailedLock' + - 'ConnectorLockFailedUnlock' - 'MREC_1_ConnectorLockFailure' - 'MREC_2_GroundFailure' - 'MREC_3_HighTemperature'