@@ -37,6 +37,84 @@ const Variable Fallback = {"Fallback"};
37
37
38
38
namespace ControllerComponentVariables {
39
39
40
+ std::vector<std::pair<ComponentVariable, std::vector<RequiredComponentVariable>>>
41
+ required_component_available_variables{
42
+ {AlignedDataCtrlrAvailable,
43
+ {AlignedDataInterval, AlignedDataMeasurands, AlignedDataTxEndedInterval, AlignedDataTxEndedMeasurands}},
44
+ {LocalAuthListCtrlrAvailable,
45
+ {LocalAuthListCtrlrEntries, ItemsPerMessageSendLocalList, BytesPerMessageSendLocalList}},
46
+ {SampledDataCtrlrAvailable,
47
+ {SampledDataTxEndedMeasurands, SampledDataTxEndedInterval, SampledDataTxStartedMeasurands,
48
+ SampledDataTxUpdatedMeasurands, SampledDataTxUpdatedInterval}},
49
+ {SmartChargingCtrlrAvailable,
50
+ {ChargingProfileMaxStackLevel, ChargingScheduleChargingRateUnit, PeriodsPerSchedule, EntriesChargingProfiles,
51
+ LimitChangeSignificance, CompositeScheduleDefaultLimitAmps, CompositeScheduleDefaultLimitWatts,
52
+ CompositeScheduleDefaultNumberPhases, SupplyVoltage}},
53
+ {TariffCostCtrlrAvailableTariff, {TariffFallbackMessage}},
54
+ {TariffCostCtrlrAvailableCost, {TotalCostFallbackMessage, TariffCostCtrlrCurrency}},
55
+ {MonitoringCtrlrAvailable, {ItemsPerMessageSetVariableMonitoring, BytesPerMessageSetVariableMonitoring}},
56
+ {DisplayMessageCtrlrAvailable,
57
+ {NumberOfDisplayMessages, DisplayMessageSupportedFormats, DisplayMessageSupportedPriorities}}};
58
+
59
+ std::vector<RequiredComponentVariable> required_variables{ChargePointId,
60
+ NetworkConnectionProfiles,
61
+ ChargeBoxSerialNumber,
62
+ ChargePointModel,
63
+ ChargePointVendor,
64
+ FirmwareVersion,
65
+ SupportedCiphers12,
66
+ SupportedCiphers13,
67
+ LogMessagesFormat,
68
+ NumberOfConnectors,
69
+ SupportedOcppVersions,
70
+ AuthorizeRemoteStart,
71
+ LocalAuthorizeOffline,
72
+ LocalPreAuthorize,
73
+ ChargingStationAvailabilityState,
74
+ ChargingStationAvailable,
75
+ ChargingStationSupplyPhases,
76
+ ClockCtrlrDateTime,
77
+ TimeSource,
78
+ BytesPerMessageGetReport,
79
+ BytesPerMessageGetVariables,
80
+ BytesPerMessageSetVariables,
81
+ ItemsPerMessageGetReport,
82
+ ItemsPerMessageGetVariables,
83
+ ItemsPerMessageSetVariables,
84
+ ContractValidationOffline,
85
+ FileTransferProtocols,
86
+ MessageTimeout,
87
+ MessageAttemptInterval,
88
+ MessageAttempts,
89
+ NetworkConfigurationPriority,
90
+ NetworkProfileConnectionAttempts,
91
+ OfflineThreshold,
92
+ ResetRetries,
93
+ RetryBackOffRandomRange,
94
+ RetryBackOffRepeatTimes,
95
+ RetryBackOffWaitMinimum,
96
+ UnlockOnEVSideDisconnect,
97
+ WebSocketPingInterval,
98
+ CertificateEntries,
99
+ SecurityCtrlrIdentity,
100
+ OrganizationName,
101
+ SecurityProfile,
102
+ EVConnectionTimeOut,
103
+ StopTxOnEVSideDisconnect,
104
+ StopTxOnInvalidId,
105
+ TxStartPoint,
106
+ TxStopPoint,
107
+ TxStartPoint,
108
+ TxStopPoint};
109
+
110
+ // Note: Power is also required, but the value is not required but the maxLimit. So that is why it is not added here.
111
+ std::vector<Variable> required_evse_variables{
112
+ EvseComponentVariables::Available, EvseComponentVariables::AvailabilityState, EvseComponentVariables::SupplyPhases};
113
+
114
+ std::vector<Variable> required_connector_variables{
115
+ ConnectorComponentVariables::Available, ConnectorComponentVariables::AvailabilityState,
116
+ ConnectorComponentVariables::SupplyPhases, ConnectorComponentVariables::Type};
117
+
40
118
const ComponentVariable InternalCtrlrEnabled = {
41
119
ControllerComponents::InternalCtrlr,
42
120
std::optional<Variable>({
@@ -1080,12 +1158,6 @@ const ComponentVariable TariffCostCtrlrAvailableTariff = {
1080
1158
ControllerComponents::TariffCostCtrlr,
1081
1159
std::optional<Variable>({" Available" , " Tariff" }),
1082
1160
};
1083
- const ComponentVariable EvseSleep = {
1084
- ControllerComponents::SmartChargingCtrlr,
1085
- std::nullopt,
1086
- std::optional<Variable>({" EvseSleep" , std::nullopt}),
1087
- {OcppProtocolVersion::v21}
1088
- };
1089
1161
const ComponentVariable TariffCostCtrlrAvailableCost = {
1090
1162
ControllerComponents::TariffCostCtrlr,
1091
1163
std::optional<Variable>({" Available" , " Cost" }),
0 commit comments