]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
fix: map WebSocketPingInterval to OCPPCommCtrlr per OCPP 2.0.1 spec
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 28 Mar 2026 00:09:34 +0000 (01:09 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 28 Mar 2026 00:09:34 +0000 (01:09 +0100)
ChargingStation.WebSocketPingInterval is vendor-specific. The canonical
variable per OCPP 2.0.1 Part 4 §8.4 is OCPPCommCtrlr.WebSocketPingInterval.
Update both the 1.6→2.0 mapping and the keba-ocpp2 template.

src/assets/station-templates/keba-ocpp2.station-template.json
src/charging-station/ConfigurationKeyUtils.ts

index 5ff0561a43b443aaf0f7d81aa3a4f376e1d7eb55..b7029425f5a3bad3c4a92b704d45c953a61120b7 100644 (file)
@@ -37,7 +37,7 @@
         "value": "false"
       },
       {
-        "key": "ChargingStation.WebSocketPingInterval",
+        "key": "OCPPCommCtrlr.WebSocketPingInterval",
         "readonly": false,
         "value": "60"
       },
index 49a9d80ead63ec8ba45a3ca2aa050f102216bb6d..bbe11c1796730dcb5a56104699e9f135524801e4 100644 (file)
@@ -75,7 +75,7 @@ const OCPP2_PARAMETER_KEY_MAP = new Map<
           [
             StandardParametersKey.WebSocketPingInterval,
             buildConfigKey(
-              OCPP20ComponentName.ChargingStation,
+              OCPP20ComponentName.OCPPCommCtrlr,
               StandardParametersKey.WebSocketPingInterval
             ),
           ],