lincomatic / open_evse

Firmware for Open EVSE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenEVSE start full amp when changing state from disable to active

KipK opened this issue · comments

Something wrong to track down here, seems while OpenEvse is changing its state from disable to enable, it starts a charge with full amp, ignoring the Pilot value set from wifi module. Pilot is still displaying ok the requested value.

Reclaiming the charge_current will then set the charge to correct current.

I have made a little hack to mitigate this for now ( OpenEVSE/openevse_esp32_firmware#532 ) but there's still a 3sec glitch where it will starts full amp. Would be better to fix this here.

There is no code to change the current capacity when EVSE is enabled. You can look at the code yourself in J1772EvseController::Enable(). Maybe you're talking about during boot. I have mitigated this with BOOTLOCK

We've spotted the problem on #156

The J1772 controller set current to value reported by autosetcurrentcapacity()

OK so I will mark this closed