EvseMode: shortened CableCheck from 10 to 5 loops

This commit is contained in:
uhi22 2024-04-22 18:42:50 +02:00
parent fee554fb66
commit fc407a10c0

View file

@ -204,7 +204,7 @@ class fsmEvse():
jsondict = json.loads(strConverterResult) jsondict = json.loads(strConverterResult)
current_soc = int(jsondict.get("DC_EVStatus.EVRESSSOC", -1)) current_soc = int(jsondict.get("DC_EVStatus.EVRESSSOC", -1))
self.publishSoCs(current_soc, -1, -1, origin="CableCheckReq") self.publishSoCs(current_soc, -1, -1, origin="CableCheckReq")
if (self.nCableCheckLoops<10): if (self.nCableCheckLoops<5):
self.nCableCheckLoops+=1 self.nCableCheckLoops+=1
strCableCheckOngoing = "1" strCableCheckOngoing = "1"
else: else: