mirror of
https://github.com/uhi22/pyPLC.git
synced 2024-11-10 01:05:42 +00:00
EvseMode: shortened CableCheck from 10 to 5 loops
This commit is contained in:
parent
fee554fb66
commit
fc407a10c0
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue