OpenEVSE / ESP8266_WiFi_v2.x

ESP8266 WiFi for OpenEVSE Version 2.x
https://openevse.openenergymonitor.org
76 stars 47 forks source link

Bug: V = 0 likely due to loss of connection with MQTT broker results in max amps #274

Open jbakuwel opened 3 years ago

jbakuwel commented 3 years ago

Hi.

Solar: 2571W - 38s | Charging from solar | Charge rate: 32A Voltage: 0.003V | Available Current 857000A | Smoothed Current: 861164.8A

The max charge rate was set to 15A and the car was charging with 15A while it should have been charging with 11A.

The V topic is set correctly but it could have been that the link with the MQTT broker was lost for a while. In other words, if OpenEVSE would have a MQTT watchdog and would stop charging when the connection with the MQTT broker is lost, then this problem would probably not happen. A sanity check on the received value might also useful, ie. if V outside sensible range, then set V = 240 (default for EU).