Stimmt, man kann ja copt to clipboard machen.....daran habe ich nicht gedacht.....
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATFCSH761
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATFCSD300000
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATFCSM1
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:Send command: 2101
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'762103D6101A0A10FC4\r\n76221100FC14D0C9C61\r\n76222005F0A01930000\r\n7622300000000000160\r\n762240808016E01137E\r\n76225FE00030FC1868B\r\n762265A000000000000\r\n7622700000FC3000200\r\n76228000C00000A5900\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:762103D6101A0A10FC4 first frame
DEBUG:EVNotiPi/AtBaseDongle:76221100FC14D0C9C61 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76222005F0A01930000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622300000000000160 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762240808016E01137E consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76225FE00030FC1868B consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762265A000000000000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622700000FC3000200 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76228000C00000A5900 consecutive frame
INFO:evSoc:SoC=75.0
DEBUG:evSoc:pluggedEvent 0
INFO:evSoc:Charging stopped
INFO:evSoc:releaseBT passed
DEBUG:evSoc:pluggedEvent 0
INFO:evSoc:Charging stopped
DEBUG:evSoc:pluggedEvent 0
DEBUG:evSoc:pluggedEvent 0
DEBUG:evSoc:pluggedEvent 0
DEBUG:evSoc:pluggedEvent 0
DEBUG:evSoc:pluggedEvent 0
DEBUG:evSoc:pluggedEvent 0
INFO:evSoc:Charging started
INFO:evSoc:bindBT passed
INFO:EVNotiPi/AtBaseDongle:Initializing PiOBD2Hat
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATZ
INFO:evSoc:Charging started
Device not available
DEBUG:evSoc:pluggedEvent 0
INFO:evSoc:releaseBT passed
INFO:evSoc:Exiting ...
INFO:evSoc:Bye.
Traceback (most recent call last):
File "./evSoc.py", line 184, in <module>
SoC=car.pollData() # -1 if fault happend (ECUs unpowered in car)
File "/opt/evSoc/car.py", line 50, in pollData
self.readDongle(data) # readDongle updates data inplace
File "cars/OUTL_EV.py", line 25, in readDongle
self.dongle.sendAtCmd(c, r)
File "dongles/AtBaseDongle.py", line 70, in sendAtCmd
ret = self.talkToDongle(cmd, expect)
File "dongles/AtBaseDongle.py", line 32, in talkToDongle
while self.serial.in_waiting: # Clear the input buffer
File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 467, in in_waiting
s = fcntl.ioctl(self.fd, TIOCINQ, TIOCM_zero_str)
TypeError: argument must be an int, or have a fileno() method.
root@SOC-Test-Pi:/opt/evSoc#
Lademodus war PV-Laden.
Ladung hat gestoppt, jetzt wieder gestartet....
ALs Meldung bekommt man ECUs unpowered in Car.
Entweder ich sage jetzt auf der WB stop und wieder start, oder ich muss das script paarmal von hand anstossen.
Mir scheint das dadurch der Ecu wieder aufwachen tut.