From 6958152c0cb4058988ea37936220c0244665ebeb Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Sun, 18 Oct 2020 08:43:32 +0200 Subject: [PATCH] Allow to specify a serial number prefix. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/assets/station-templates/evlink.station-template.json | 4 +++- src/assets/station-templates/keba.station-template.json | 2 +- .../station-templates/schneider-imredd.station-template.json | 2 +- src/assets/station-templates/schneider.station-template.json | 3 ++- .../station-templates/siemens.mougins69.station-template.json | 2 +- src/charging-station/ChargingStation.js | 2 +- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/src/assets/station-templates/evlink.station-template.json b/src/assets/station-templates/evlink.station-template.json index 936f95cb..e3fcbf34 100644 --- a/src/assets/station-templates/evlink.station-template.json +++ b/src/assets/station-templates/evlink.station-template.json @@ -3,7 +3,9 @@ "baseName": "CS-EVLINK", "chargePointModel": "EVLINKXX213", "chargePointVendor": "SCHNEIDER", - "power": 7340, + "chargePointSerialNumberPrefix": "EV.2S7P04", + "firmwareVersion": "3.3.0.10", + "power": 7360, "powerUnit": "W", "numberOfConnectors": 1, "randomConnectors": false, diff --git a/src/assets/station-templates/keba.station-template.json b/src/assets/station-templates/keba.station-template.json index d9b7bab9..7e6469c8 100644 --- a/src/assets/station-templates/keba.station-template.json +++ b/src/assets/station-templates/keba.station-template.json @@ -4,7 +4,7 @@ "chargePointModel": "KC-P30-ESS400C2-E0R", "chargePointVendor": "Keba AG", "firmwareVersion": "1.10.1", - "power": 22000, + "power": 22080, "powerUnit": "W", "numberOfConnectors": 1, "randomConnectors": false, diff --git a/src/assets/station-templates/schneider-imredd.station-template.json b/src/assets/station-templates/schneider-imredd.station-template.json index 56a6a837..7a093498 100644 --- a/src/assets/station-templates/schneider-imredd.station-template.json +++ b/src/assets/station-templates/schneider-imredd.station-template.json @@ -3,7 +3,7 @@ "baseName": "CS-SCHNEIDER", "chargePointModel": "SCHNEIDERXX213", "chargePointVendor": "SCHNEIDER", - "power": 44000, + "power": 44160, "powerUnit": "W", "numberOfConnectors": 2, "randomConnectors": false, diff --git a/src/assets/station-templates/schneider.station-template.json b/src/assets/station-templates/schneider.station-template.json index 56a6a837..a196cd60 100644 --- a/src/assets/station-templates/schneider.station-template.json +++ b/src/assets/station-templates/schneider.station-template.json @@ -3,7 +3,8 @@ "baseName": "CS-SCHNEIDER", "chargePointModel": "SCHNEIDERXX213", "chargePointVendor": "SCHNEIDER", - "power": 44000, + "chargePointSerialNumberPrefix": "EV.2S22P44", + "power": 44160, "powerUnit": "W", "numberOfConnectors": 2, "randomConnectors": false, diff --git a/src/assets/station-templates/siemens.mougins69.station-template.json b/src/assets/station-templates/siemens.mougins69.station-template.json index eae5f6ed..6f5de051 100644 --- a/src/assets/station-templates/siemens.mougins69.station-template.json +++ b/src/assets/station-templates/siemens.mougins69.station-template.json @@ -4,7 +4,7 @@ "fixedName": true, "chargePointModel": "SiemensXX213", "chargePointVendor": "SIEMENS", - "power": 44000, + "power": 44160, "powerUnit": "W", "numberOfConnectors": 2, "randomConnectors": false, diff --git a/src/charging-station/ChargingStation.js b/src/charging-station/ChargingStation.js index 52d54958..12501d54 100644 --- a/src/charging-station/ChargingStation.js +++ b/src/charging-station/ChargingStation.js @@ -32,7 +32,7 @@ class ChargingStation { this._bootNotificationMessage = { chargePointModel: this._stationInfo.chargePointModel, chargePointVendor: this._stationInfo.chargePointVendor, - // chargePointSerialNumber: this._stationInfo.chargePointSerialNumber, + chargePointSerialNumber: this._stationInfo.chargePointSerialNumberPrefix ? this._stationInfo.chargePointSerialNumberPrefix : '', firmwareVersion: this._stationInfo.firmwareVersion ? this._stationInfo.firmwareVersion : '', }; this._configuration = this._getConfiguration(); -- 2.34.1