EVNotiPi

Auflistung von gewünschten Features, Ausschreibung zur Umsetzung
Jonny
Beiträge: 206
Registriert: Fr Apr 24, 2020 6:52 am

Re: EVNotiPi

Beitrag von Jonny »

Hier die Bilder der zwei Dongles.

Kosten ca: 15 € / Für dieses Projekt keine ausreichende Funktion.
Dieser hier wäre von der Bauhöhe genial, da er nicht wirklich weit herausschaut im gesteckten Zustand.
[url]https://www.amazon.de/gp/product/B06ZZP ... UTF8&psc=1[/url]

Kosten ca: 50 € / funktioniert super.
[url]https://www.amazon.de/gp/product/B089KB ... UTF8&psc=1[/url]
Dateianhänge
Chinaböller ohne Funktion
Chinaböller ohne Funktion
Der Funktionierende
Der Funktionierende
Zuletzt geändert von Jonny am Do Aug 19, 2021 9:06 am, insgesamt 2-mal geändert.
Gruß
Jonny
Jonny
Beiträge: 206
Registriert: Fr Apr 24, 2020 6:52 am

Re: EVNotiPi

Beitrag von Jonny »

Das war das Problem der Aktualisierung....sieht super aus.

Musste aber gerade auch wieder mehrfach das script manuell neu starten, um das ECU aufwachen zu lassen.

Nachdem ich jetzt ne Zeitlang unterwegs war, habe ich gerade wieder angesteckt.

Es sieht aus als ob das script nach ner zeit einschläft .
Gruß
Jonny
ragnaroek
Beiträge: 60
Registriert: Do Feb 13, 2020 9:31 pm
Wohnort: Hamburg

Re: EVNotiPi

Beitrag von ragnaroek »

Komplettes Debugger Log als Text wäre dazu notwendig, ab Start und einschließlich Fehler Situation
Kona(2018)/Plenticore 8.5/BYD-H/KSME/KVSE-DIN/SDM630/evSoc
Jonny
Beiträge: 206
Registriert: Fr Apr 24, 2020 6:52 am

Re: EVNotiPi

Beitrag von Jonny »

Kannst du kurz beschreiben wie ich das umleite in eine Datei ?
Gruß
Jonny
ragnaroek
Beiträge: 60
Registriert: Do Feb 13, 2020 9:31 pm
Wohnort: Hamburg

Re: EVNotiPi

Beitrag von ragnaroek »

Googlen oder Cut and paste vom Linux Konsolen Fenster in das Web Formular
Kona(2018)/Plenticore 8.5/BYD-H/KSME/KVSE-DIN/SDM630/evSoc
Jonny
Beiträge: 206
Registriert: Fr Apr 24, 2020 6:52 am

Re: EVNotiPi

Beitrag von Jonny »

Stimmt, man kann ja copt to clipboard machen.....daran habe ich nicht gedacht..... :oops:

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.
Gruß
Jonny
Jonny
Beiträge: 206
Registriert: Fr Apr 24, 2020 6:52 am

Re: EVNotiPi

Beitrag von Jonny »

root@SOC-Test-Pi:/opt/evSoc# ./evSoc.py
INFO:evSoc:MQTT subscribed
INFO:evSoc:Charging started
INFO:evSoc:Plugged
INFO:evSoc:bindBT passed
INFO:EVNotiPi/AtBaseDongle:Initializing PiOBD2Hat
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATZ
Device not available
DEBUG:evSoc:pluggedEvent 6
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)
AttributeError: 'str' object has no attribute 'pollData'
root@SOC-Test-Pi:/opt/evSoc# ./evSoc.py
INFO:evSoc:MQTT subscribed
INFO:evSoc:Charging started
INFO:evSoc:Plugged
INFO:evSoc:bindBT passed
INFO:EVNotiPi/AtBaseDongle:Initializing PiOBD2Hat
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATZ
Device not available
DEBUG:evSoc:pluggedEvent 6
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)
AttributeError: 'str' object has no attribute 'pollData'
root@SOC-Test-Pi:/opt/evSoc# ./evSoc.py
INFO:evSoc:MQTT subscribed
INFO:evSoc:Charging stopped
INFO:evSoc:Plugged
INFO:evSoc:bindBT passed
INFO:EVNotiPi/AtBaseDongle:Initializing PiOBD2Hat
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATZ
Device not available
INFO:evSoc:Charging started
DEBUG:evSoc:pluggedEvent 6
INFO:evSoc:Charging started
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)
AttributeError: 'str' object has no attribute 'pollData'
root@SOC-Test-Pi:/opt/evSoc# ./evSoc.py
INFO:evSoc:MQTT subscribed
INFO:evSoc:Charging started
INFO:evSoc:Plugged
INFO:evSoc:bindBT passed
INFO:EVNotiPi/AtBaseDongle:Initializing PiOBD2Hat
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATZ
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'\r\rELM327 v2.2\r\r')
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATE0
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'ATE0\rOK\r\r')
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATL1
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATS0
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATH1
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATSTFF
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATFE
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
DEBUG:evSoc:BT link is open
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATSP6
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
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: ATSH761
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATCF762
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:Send command: ATCM7FF
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'OK\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:Send command: 2101
DEBUG:EVNotiPi/AtBaseDongle:Received: bytearray(b'762103D6101A2A20FC4\r\n76221100FC1000C9C62\r\n76222315F0A01930000\r\n7622300000000000160\r\n762240808016E01167C\r\n76225FE00030FC1868B\r\n762265A000000000000\r\n7622700000FC3000200\r\n76228000C00000A5600\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:762103D6101A2A20FC4 first frame
DEBUG:EVNotiPi/AtBaseDongle:76221100FC1000C9C62 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76222315F0A01930000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622300000000000160 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762240808016E01167C consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76225FE00030FC1868B consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762265A000000000000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622700000FC3000200 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76228000C00000A5600 consecutive frame
INFO:evSoc:SoC=76.0
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'762103D6101A2A20FC4\r\n762211B0FC1000C9C62\r\n76222315F0A01930000\r\n7622300000000000160\r\n762240808016E01167C\r\n76225FE00030FC1868B\r\n762265A000000000000\r\n7622700000FC3000200\r\n76228000C00000A5600\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:762103D6101A2A20FC4 first frame
DEBUG:EVNotiPi/AtBaseDongle:762211B0FC1000C9C62 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76222315F0A01930000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622300000000000160 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762240808016E01167C consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76225FE00030FC1868B consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762265A000000000000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622700000FC3000200 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76228000C00000A5600 consecutive frame
INFO:evSoc:SoC=76.0
DEBUG:evSoc:pluggedEvent 0
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'762103D6101A2A20FC4\r\n76221000FC1080C9C62\r\n76222315F0A01930000\r\n7622300000000000160\r\n762240808016E01167C\r\n76225FE00030FC1868B\r\n762265A000000000000\r\n7622700000FC3000000\r\n76228000C00000A5600\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:762103D6101A2A20FC4 first frame
DEBUG:EVNotiPi/AtBaseDongle:76221000FC1080C9C62 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76222315F0A01930000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622300000000000160 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762240808016E01167C consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76225FE00030FC1868B consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762265A000000000000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622700000FC3000000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76228000C00000A5600 consecutive frame
INFO:evSoc:SoC=76.0
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'762103D6101A2A20FC4\r\n76221110FC3000C9C62\r\n76222315F0A01930000\r\n7622300000000000160\r\n762240808016E01167C\r\n76225FE00010FC1868B\r\n762265A000000000000\r\n7622700000FC3000200\r\n76228000C00000A5600\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:762103D6101A2A20FC4 first frame
DEBUG:EVNotiPi/AtBaseDongle:76221110FC3000C9C62 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76222315F0A01930000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622300000000000160 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762240808016E01167C consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76225FE00010FC1868B consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762265A000000000000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622700000FC3000200 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76228000C00000A5600 consecutive frame
INFO:evSoc:SoC=76.0
DEBUG:evSoc:pluggedEvent 0
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'762103D6101A2A20FC4\r\n76221010FC3000C9C62\r\n76222315F0A01930000\r\n7622300000000000160\r\n762240808016E01167B\r\n76225FE00010FC3868B\r\n762265A000000000000\r\n7622700000FC3000000\r\n76228000C00000A5600\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:762103D6101A2A20FC4 first frame
DEBUG:EVNotiPi/AtBaseDongle:76221010FC3000C9C62 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76222315F0A01930000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622300000000000160 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762240808016E01167B consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76225FE00010FC3868B consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762265A000000000000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622700000FC3000000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76228000C00000A5600 consecutive frame
INFO:evSoc:SoC=76.0
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'762103D6101A2A20FC4\r\n76221090FC3000C9C62\r\n76222315F0A01930000\r\n7622300000000000160\r\n762240808016E01167B\r\n76225FE00010FC3868C\r\n762265A000000000000\r\n7622700000FC3000000\r\n76228000C00000A5600\r\n\r\n')
DEBUG:EVNotiPi/AtBaseDongle:762103D6101A2A20FC4 first frame
DEBUG:EVNotiPi/AtBaseDongle:76221090FC3000C9C62 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76222315F0A01930000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622300000000000160 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762240808016E01167B consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76225FE00010FC3868C consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:762265A000000000000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:7622700000FC3000000 consecutive frame
DEBUG:EVNotiPi/AtBaseDongle:76228000C00000A5600 consecutive frame
INFO:evSoc:SoC=76.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
Device not available
INFO:evSoc:Charging started
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#
Gruß
Jonny
ragnaroek
Beiträge: 60
Registriert: Do Feb 13, 2020 9:31 pm
Wohnort: Hamburg

Re: EVNotiPi

Beitrag von ragnaroek »

Bei dir kommt "charging stopped" als Meldung. Die wb lädt also nicht mehr. Deshalb hört evSoc auf. Wenn du evSoc dann wie gefordert als Dienst mit systemctl startest, solltest du kein Problem haben, sobald du den Stecker rein steckst.
Kona(2018)/Plenticore 8.5/BYD-H/KSME/KVSE-DIN/SDM630/evSoc
Jonny
Beiträge: 206
Registriert: Fr Apr 24, 2020 6:52 am

Re: EVNotiPi

Beitrag von Jonny »

Aber die WB fängt bei genügend Überschuss auch wieder alleine an mit laden.
Nur evSoc fängt dann nicht mehr alleine an. Verstehe ich das richtig das man dann über Console neu starten muss ?
Oder erst den Stecker entfernen und neu stecken ?
Gruß
Jonny
ragnaroek
Beiträge: 60
Registriert: Do Feb 13, 2020 9:31 pm
Wohnort: Hamburg

Re: EVNotiPi

Beitrag von ragnaroek »

Ließ meinen letzten Beitrag bitte genau. Du sollst ihn so wie in dem readme beschrieben als Dienst starten. Dann macht er automatisch einen restart
Kona(2018)/Plenticore 8.5/BYD-H/KSME/KVSE-DIN/SDM630/evSoc
Antworten