mirror of
https://github.com/uhi22/pyPLC.git
synced 2024-11-20 01:13:58 +00:00
evseMode: presentCurrent reduced from 10 to 1A. UdpLog disabled. Results added.
This commit is contained in:
parent
afdbf2fa32
commit
b36e6c9f11
6 changed files with 600706 additions and 1 deletions
|
@ -185,7 +185,7 @@ class fsmEvse():
|
||||||
self.simulatedPresentVoltage = uTarget + 3*random() # The charger provides the voltage which is demanded by the car.
|
self.simulatedPresentVoltage = uTarget + 3*random() # The charger provides the voltage which is demanded by the car.
|
||||||
strPresentVoltage = str(self.simulatedPresentVoltage)
|
strPresentVoltage = str(self.simulatedPresentVoltage)
|
||||||
self.callbackShowStatus(strPresentVoltage, "EVSEPresentVoltage")
|
self.callbackShowStatus(strPresentVoltage, "EVSEPresentVoltage")
|
||||||
strEVSEPresentCurrent = "10" # Just as a dummy current
|
strEVSEPresentCurrent = "1" # Just as a dummy current
|
||||||
msg = addV2GTPHeader(exiEncode("EDi_"+strPresentVoltage + "_" + strEVSEPresentCurrent)) # EDi for Encode, Din, CurrentDemandRes
|
msg = addV2GTPHeader(exiEncode("EDi_"+strPresentVoltage + "_" + strEVSEPresentCurrent)) # EDi for Encode, Din, CurrentDemandRes
|
||||||
self.addToTrace("responding " + prettyHexMessage(msg))
|
self.addToTrace("responding " + prettyHexMessage(msg))
|
||||||
self.publishStatus("CurrentDemand")
|
self.publishStatus("CurrentDemand")
|
||||||
|
|
Binary file not shown.
File diff suppressed because it is too large
Load diff
BIN
results/2023-04-26_atHome_IoniqWithBulbs10minutesTimeout.pcapng
Normal file
BIN
results/2023-04-26_atHome_IoniqWithBulbs10minutesTimeout.pcapng
Normal file
Binary file not shown.
194050
results/2023-04-26_atHome_IoniqWithBulbs10minutesTimeout.pcapng.decoded.txt
Normal file
194050
results/2023-04-26_atHome_IoniqWithBulbs10minutesTimeout.pcapng.decoded.txt
Normal file
File diff suppressed because it is too large
Load diff
|
@ -16,6 +16,7 @@ class udplog():
|
||||||
# Level consists of
|
# Level consists of
|
||||||
# Facility = 1 = "user"
|
# Facility = 1 = "user"
|
||||||
# Severity = 7 = "debug"
|
# Severity = 7 = "debug"
|
||||||
|
return
|
||||||
strLevel="<15>"
|
strLevel="<15>"
|
||||||
# The String to be logged. Terminated by 00.
|
# The String to be logged. Terminated by 00.
|
||||||
strMessage=s+"\0"
|
strMessage=s+"\0"
|
||||||
|
|
Loading…
Reference in a new issue