serkri / SmartEVSE-3

Smart Electric Vehicle Charging Station (EVSE)
MIT License
75 stars 26 forks source link

Slave 1 will not start charging with load balancing #261

Open JopGeraets opened 2 months ago

JopGeraets commented 2 months ago

When the slave 1 is set to smart/solar/normal when load balancing in enabled (slave node 1). Then the charging does not start, the following is shown in telnet: image

Only when the load balancing is disabled, then the EVSE will start charging. Looks like this on debug (via telnet):`

(ProximityPin)(C0) PP pin: 1023 (1887 mV) (warning: fixed cable configured so PP probably disconnected, making this reading void)
(I) (EVSEStates)(C1) Cable limit: 25A  Max: 25A
(setState)(C1) 15:38:14 STATE A -> B
(EVSEStates)(C0) Diode OK
(setState)(C0) 15:38:14 STATE B -> C
(I) (printStatus)(C0) STATE: C Error: 0 StartCurrent: -4 ChargeDelay: 0 SolarStopTimer: 0 NoCurrent: 0 Imeasured: -13.9 A IsetBalanced: 25.0 A
(I) (printStatus)(C0) L1: -13.9 A L2: -17.3 A L3: -17.1 A Isum: -48.3 A
(MBhandleError)(C0) Error response: E4 - Server ID mismatch, address: 0a, function: 04, reg: 0000.
(MBhandleError)(C0) Error response: E4 - Server ID mismatch, address: 07, function: 04, reg: 0108.
(I) (printStatus)(C0) STATE: C Error: 0 StartCurrent: -4 ChargeDelay: 0 SolarStopTimer: 0 NoCurrent: 0 Imeasured: -13.9 A IsetBalanced: 25.0 A
(I) (printStatus)(C0) L1: -13.9 A L2: -17.3 A L3: -17.1 A Isum: -48.3 A
(I) (printStatus)(C0) STATE: C Error: 0 StartCurrent: -4 ChargeDelay: 0 SolarStopTimer: 0 NoCurrent: 0 Imeasured: -13.9 A IsetBalanced: 25.0 A
(I) (printStatus)(C0) L1: -13.9 A L2: -17.3 A L3: -17.1 A Isum: -48.3 A
(loop)(C1) 0 clients running.
(MBhandleError)(C0) Error response: E4 - Server ID mismatch, address: 0a, function: 04, reg: 0000.
(MBhandleError)(C0) Error response: E4 - Server ID mismatch, address: 08, function: 04, reg: 0108.
(I) (printStatus)(C0) STATE: C Error: 0 StartCurrent: -4 ChargeDelay: 0 SolarStopTimer: 0 NoCurrent: 0 Imeasured: -13.9 A IsetBalanced: 25.0 A
(I) (printStatus)(C0) L1: -13.9 A L2: -17.3 A L3: -17.1 A Isum: -48.3 A
(I) (printStatus)(C0) STATE: C Error: 0 StartCurrent: -4 ChargeDelay: 0 SolarStopTimer: 0 NoCurrent: 0 Imeasured: -13.9 A IsetBalanced: 25.0 A
(I) (printStatus)(C0) L1: -13.9 A L2: -17.3 A L3: -17.1 A Isum: -48.3 A
(MBhandleError)(C0) Error response: E4 - Server ID mismatch, address: 0a, function: 04, reg: 0000.
(I) (printStatus)(C0) STATE: C Error: 0 StartCurrent: -4 ChargeDelay: 0 SolarStopTimer: 0 NoCurrent: 0 Imeasured: -13.9 A IsetBalanced: 25.0 A
(I) (printStatus)(C0) L1: -13.9 A L2: -17.3 A L3: -17.1 A Isum: -48.3 A
(I) (printStatus)(C0) STATE: C Error: 0 StartCurrent: -4 ChargeDelay: 0 SolarStopTimer: 0 NoCurrent: 0 Imeasured: -13.9 A IsetBalanced: 25.0 A
(I) (printStatus)(C0) L1: -13.9 A L2: -17.3 A L3: -17.1 A Isum: -48.3 A
(MBhandleError)(C0) Error response: E4 - Server ID mismatch, address: 0a, function: 04, reg: 0000.

The slave does get the current power data from the sensorbox, this is displayed on the device and shown on the webpage (only not on MQTT, which is connected to home assistant). The master EVSE does show the power data of our house at MQTT and home assisant.

I checked the wiring from the EVSE to the charge cable (using fixed cable). Both the earth and CP are connected properly. When the cable is disconnected, 12 V can be measured between earth and CP.

I'm running version 1.7.3 of the serkri software on both slave and master.

dingo35 commented 2 months ago

This repo is deprecated, current versions are at https://github.com/dingo35/SmartEVSE-3.5