<td class="cs-table__started-col">{{ getStarted() }}</td>
<td class="cs-table__wsState-col">{{ getWsState() }}</td>
<td class="cs-table__registration-status-col">{{ getRegistrationStatus() }}</td>
+ <td class="cs-table__template-col">{{ getInfo().templateName }}</td>
<td class="cs-table__vendor-col">{{ getVendor() }}</td>
<td class="cs-table__model-col">{{ getModel() }}</td>
<td class="cs-table__firmware-col">{{ getFirmwareVersion() }}</td>
<style>
.card-info {
background-color: white;
- padding: 15px;
+ padding: 0.2%;
}
</style>
<th scope="col" class="cs-table__started-col">Started</th>
<th scope="col" class="cs-table__wsState-col">WebSocket State</th>
<th scope="col" class="cs-table__registration-status-col">Registration Status</th>
+ <th scope="col" class="cs-table__template-col">Template</th>
<th scope="col" class="cs-table__vendor-col">Vendor</th>
<th scope="col" class="cs-table__model-col">Model</th>
<th scope="col" class="cs-table__firmware-col">Firmware Version</th>
.cs-table__started-col,
.cs-table__wsState-col,
.cs-table__registration-status-col,
+.cs-table__template-col,
.cs-table__model-col,
.cs-table__vendor-col,
.cs-table__firmware-col {
stationInfo: ChargingStationInfo
connectors: ConnectorStatus[]
evses: EvseStatus[]
+ ocppConfiguration: ChargingStationOcppConfiguration
wsState?:
| typeof WebSocket.CONNECTING
| typeof WebSocket.OPEN
export type ChargingStationInfo = {
hashId: string
+ templateName: string
chargingStationId?: string
chargePointModel: string
chargePointVendor: string
messageTriggerSupport?: Record<MessageTrigger, boolean>
}
+export interface ChargingStationOcppConfiguration {
+ configurationKey?: ConfigurationKey[]
+}
+
+export type ConfigurationKey = OCPPConfigurationKey & {
+ visible?: boolean
+ reboot?: boolean
+}
+
+export type OCPPConfigurationKey = {
+ key: string
+ readonly: boolean
+ value?: string
+} & JsonObject
+
export enum OCPP16IncomingRequestCommand {
RESET = 'Reset',
CLEAR_CACHE = 'ClearCache',
#charging-stations {
height: 100%;
width: 100%;
- padding: 30px;
+ padding: 0.5%;
background-color: rgb(233, 227, 227);
display: flex;
flex-direction: column;
- gap: 0.5%;
}
#inputs-container {
#reload-button {
flex: auto;
- padding: 5px 15px;
background-color: rgb(25, 118, 210);
- border-radius: 5px;
color: white;
font-size: 35px;
font-weight: bold;
expect(wrapper.text()).to.include('Started')
expect(wrapper.text()).to.include('WebSocket State')
expect(wrapper.text()).to.include('Registration Status')
+ expect(wrapper.text()).to.include('Template')
expect(wrapper.text()).to.include('Vendor')
expect(wrapper.text()).to.include('Model')
expect(wrapper.text()).to.include('Firmware Version')