homebridge-zaptec
Version:
Control your Zaptec EV chargers
123 lines (121 loc) • 8.85 kB
Markdown
# Before connect
```js
{
isOnline: '1',
pulse: undefined,
authenticationRequired: '0',
communicationMode: 'Wifi',
permanentCableLock: '0',
hmiBrightness: '1.000',
temperatureInternal5: '21.454',
temperatureInternal6: '11.605',
humidity: '30.628',
voltagePhase1: '2.202',
voltagePhase2: '1.961',
voltagePhase3: '1.072',
currentPhase1: '0.590',
currentPhase2: '0.586',
currentPhase3: '0.597',
currentInMaximum: '32.000',
currentInMinimum: '6.000',
totalChargePower: '0.000',
setPhases: '4',
maxPhases: '3',
defaultOfflinePhase: '4',
defaultOfflineCurrent: '32.000',
totalChargePowerSession: '0.000',
signedMeterValue: 'OCMF|{"FV":"1.0","GI":"ZAPTEC GO","GS":"ZAP045784","GV":"0.0.4.0","PG":"F1","RD":[{"TM":"2022-11-07T09:00:00,000+00:00 R","RV":905.49010288773388,"RI":"1-0:1.8.0","RU":"kWh","RT":"AC","ST":"G"}]}',
chargeMode: '12',
chargeCurrentSet: '32',
chargerOperationMode: '1',
isEnabled: '1',
standalone: '0',
cableType: '32',
networkType: '4',
finalStopActive: '0',
sessionIdentifier: undefined,
chargerCurrentUserUuid: undefined,
completedSession: '{"SessionId":"1c93ad5d-a987-421d-8a17-b6661a81e37c","Energy":76.992935180664062,"StartDateTime":"2022-11-06T19:27:23.384233Z","EndDateTime":"2022-11-07T08:04:39.126570Z","ReliableClock":true,"StoppedByRFID":false,"AuthenticationCode":"","SignedSession":"OCMF|{\\"FV\\":\\"1.0\\",\\"GI\\":\\"ZAPTEC GO\\",\\"GS\\":\\"ZAP045784\\",\\"GV\\":\\"0.0.4.0\\",\\"PG\\":\\"T1\\",\\"RD\\":[{\\"TM\\":\\"2022-11-06T19:27:23,000+00:00 R\\",\\"TX\\":\\"B\\",\\"RV\\":828.497168183907,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-06T20:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":834.3945695167622,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-06T21:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":845.48253834305615,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-06T22:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":856.61337673722119,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-06T23:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":867.77024662552685,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T00:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":878.94622623978466,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T01:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":890.14769184647412,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T02:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":901.37756168900341,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T03:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":905.49010288773388,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T04:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":905.49010288773388,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T05:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":905.49010288773388,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T08:04:39,000+00:00 R\\",\\"TX\\":\\"E\\",\\"RV\\":905.49010288773388,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"}]}"}',
authenticationListVersion: '1',
installationId: 'b9b7c3cf-99f0-40c5-905f-522d4e71fbf7',
routingId: 'default',
chargePointName: 'V84',
warnings: '0',
diagnosticsMode: '0',
diagnosticsString: '74d 22h57m09s SHT: 21.45 30.6% T_EM: 11.61 12.19 12.53 T_M: 11.12 11.23 V: 2.20 1.96 1.07 I: 0.02 0.02 0.02 SW: 0 MCnt: 5268128',
communicationSignalStrength: '-68.000',
mcuResetSource: '6',
smartMainboardSoftwareApplicationVersion: '0.0.4.3',
smartMainboardSoftwareBootloaderVersion: '0',
smartComputerSoftwareApplicationVersion: '0.0.4.0',
macWiFi: '8c:4b:14:c6:d1:ac'
}
```
## Now connect
```js
{
isOnline: '0',
pulse: undefined,
authenticationRequired: '0',
transmitInterval: '3600',
pulseInterval: '60',
communicationMode: 'Wifi',
permanentCableLock: '0',
hmiBrightness: '1.000',
temperatureInternal5: '21.472',
temperatureEMeterPhase1: '11.626',
temperatureEMeterPhase2: '12.190',
temperatureEMeterPhase3: '12.351',
temperatureTM: '11.230',
temperatureTM2: '11.660',
humidity: '30.620',
voltagePhase1: '2.202',
voltagePhase2: '1.987',
voltagePhase3: '1.066',
currentPhase1: '0.023',
currentPhase2: '0.022',
currentPhase3: '0.023',
currentInMaximum: '32.000',
currentInMinimum: '6.000',
totalChargePower: '0.000',
setPhases: '4',
maxPhases: '3',
defaultOfflinePhase: '4',
defaultOfflineCurrent: '32.000',
maxCurrentConfigurationSource: '2',
switchPosition: '0',
chargeCurrentInstallationMaxLimit: '32.000',
standAloneCurrent: '32.000',
phaseRotation: '4',
totalChargePowerSession: '1.012',
signedMeterValue: 'OCMF|{"FV":"1.0","GI":"ZAPTEC GO","GS":"ZAP045784","GV":"0.0.4.0","PG":"F1","RD":[{"TM":"2022-11-07T09:00:00,000+00:00 R","RV":905.49010288773388,"RI":"1-0:1.8.0","RU":"kWh","RT":"AC","ST":"G"}]}',
chargeMode: '9',
chargeCurrentSet: '32',
chargerOperationMode: '3',
isEnabled: '1',
standalone: '0',
cableType: '32',
networkType: '4',
finalStopActive: '0',
sessionIdentifier: 'b1ccff55-ae59-4d41-ad7e-5ca12a726255',
chargerCurrentUserUuid: undefined,
completedSession: '{"SessionId":"1c93ad5d-a987-421d-8a17-b6661a81e37c","Energy":76.992935180664062,"StartDateTime":"2022-11-06T19:27:23.384233Z","EndDateTime":"2022-11-07T08:04:39.126570Z","ReliableClock":true,"StoppedByRFID":false,"AuthenticationCode":"","SignedSession":"OCMF|{\\"FV\\":\\"1.0\\",\\"GI\\":\\"ZAPTEC GO\\",\\"GS\\":\\"ZAP045784\\",\\"GV\\":\\"0.0.4.0\\",\\"PG\\":\\"T1\\",\\"RD\\":[{\\"TM\\":\\"2022-11-06T19:27:23,000+00:00 R\\",\\"TX\\":\\"B\\",\\"RV\\":828.497168183907,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-06T20:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":834.3945695167622,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-06T21:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":845.48253834305615,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-06T22:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":856.61337673722119,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-06T23:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":867.77024662552685,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T00:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":878.94622623978466,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T01:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":890.14769184647412,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T02:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":901.37756168900341,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T03:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":905.49010288773388,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T04:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":905.49010288773388,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T05:00:01,000+00:00 R\\",\\"TX\\":\\"T\\",\\"RV\\":905.49010288773388,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"},{\\"TM\\":\\"2022-11-07T08:04:39,000+00:00 R\\",\\"TX\\":\\"E\\",\\"RV\\":905.49010288773388,\\"RI\\":\\"1-0:1.8.0\\",\\"RU\\":\\"kWh\\",\\"RT\\":\\"AC\\",\\"ST\\":\\"G\\"}]}"}',
nrOfChargeCards: '1',
authenticationListVersion: '1',
installationId: 'b9b7c3cf-99f0-40c5-905f-522d4e71fbf7',
routingId: 'default',
chargePointName: 'V84',
warnings: '0',
diagnosticsMode: '0',
diagnosticsString: '74d 23h57m12s SHT: 21.47 30.6% T_EM: 11.63 12.19 12.35 T_M: 11.23 11.66 V: 2.20 1.99 1.07 I: 0.02 0.02 0.02 SW: 0 MCnt: 5271056',
communicationSignalStrength: '-68.000',
mcuResetSource: '6',
eSPResetSource: '3',
certificateVersion: '8',
smartMainboardSoftwareApplicationVersion: '0.0.4.3',
smartMainboardSoftwareBootloaderVersion: '0',
smartComputerSoftwareApplicationVersion: '0.0.4.0',
sourceVersion: '0.0.4.0',
macWiFi: '8c:4b:14:c6:d1:ac'
}
```