AutoSetCurrentCapacity() should set a max current capacity not actual charge current. #156
Closed
Description
PP_AUTO_AMPACITY fw have problems with wifi module. When a charge is started by the wifi module, and a charge current value has been set previously ( so wifi module sent an $SC command ) , AUTO_AMPACITY fw will check AutoSetCurrentCapacity() and set a new charge current value, overriding previous one. Charger then starts it charge at full amp capacity instead of setted value.
This cause problem with Divert mode and Shaper and any automation using settable charge current.
This is also a security issue as it can override the main circuit braker depending of house load.
AutoSetCurrentCapacity() should set a new Soft_Max_Capacity variable to not interfere.
This should solve #155 and some other issues pointed on OpenEvse Wifi git
Metadata
Assignees
Labels
No labels