feat(ui): display supervision url in charging stations list
[e-mobility-charging-stations-simulator.git] / src / utils / MessageChannelUtils.ts
index 212ed5f20124c419fbf3933b6e2855dfcb482a07..a3b267eee84aa82ccd30f106f2a5119b323d9d0b 100644 (file)
@@ -68,6 +68,7 @@ export const buildChargingStationDataPayload = (
     evses: buildEvsesStatus(chargingStation, OutputFormat.worker),
     // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
     ocppConfiguration: chargingStation.ocppConfiguration!,
+    supervisionUrl: chargingStation.wsConnectionUrl.href,
     wsState: chargingStation.wsConnection?.readyState,
     bootNotificationResponse: chargingStation.bootNotificationResponse,
     ...(chargingStation.automaticTransactionGenerator != null && {