Re: SOC: VWID
Verfasst: Di Jan 31, 2023 1:33 pm
Problem scheint eher bei VW zu liegen, die WeConnect ID. App und myVolkswagen zeigen auch einen veralteten Wert.
Bitte bein Problemen den 1. Beitrag dieses Themas abarbeiten und v.a.die notwendigen Informationen liefern.mivola hat geschrieben: ↑Di Jan 31, 2023 1:16 pm Kann es sein, dass das Modul aktuell keine Werte liefert? Bzw nur einen veralteten Wert von gestern?
Im Log steht seit gestern abend immer wieder sowas:Der Wert bleibt konstant bei 61% - und ja: das Auto wurde zwischendurch bewegt und geladenCode: Alles auswählen
2023-01-31 12:13:59: PID: 14684: Lp1: SoC: 61 (LV0) 2023-01-31 12:13:58: PID: 14761: Lp1: chmod tokensFile exception, use sudo, e=[Errno 1] Operation not permitted: '/var/www/html/openWB/ramdisk/soc_vwid_tokenslp1'user: pi 2023-01-31 12:13:58: PID: 14761: Lp1: tokens_new != tokens_old, rewrite tokens file 2023-01-31 12:13:58: PID: 14761: Lp1: use sudo, user: pi 2023-01-31 12:13:58: PID: 14761: Lp1: chmod replyFile exception, e=[Errno 1] Operation not permitted: '/var/www/html/openWB/ramdisk/soc_vwid_replylp1' 2023-01-31 12:13:55: PID: 14684: Lp1: Requesting SoC (LV0)
Hier gibt es auch Hinweise dass es wohl eine Änderung seitens VW gab: https://www.goingelectric.de/forum/view ... hp?t=75546
Danke und VG
Micha
Code: Alles auswählen
2023-01-31 16:34:52 INFO:soc_vwid:Lp1 SOC: 50%@2023-01-31T16:34:40
2023-01-31 16:33:02 INFO:soc_vwid:Lp1 SOC: 50%@2023-01-29T21:45:04
2023-01-31 16:32:32 INFO:soc_vwid:Lp1 SOC: 50%@2023-01-29T21:45:04
Code: Alles auswählen
KeyError: 'value'
soc = data['charging']['batteryStatus']['value']['currentSOC_pct']
File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 101, in main
Traceback (most recent call last):
2023-02-02 14:59:32 ERROR:soc_vwid:Lp1 charging.batteryStatus.value.currentSOC_pct not found, return 0
Code: Alles auswählen
pi@openwbtest-stretch:~/openWB/ramdisk $ cat soc_vwid_replylp1
{
"charging": {
"chargingStatus": {
"error": {
"errorTimeStamp": "2023-02-02T14:58:53Z",
"message": "Internal error",
"code": 4001
}
},
Code: Alles auswählen
2023-02-02 17:27:49 INFO:soc_vwid:Lp1 SOC: 54%@2023-02-01T11:50:34
Code: Alles auswählen
FileNotFoundError: [Errno 2] No such file or directory: '/var/www/html/openWB/ramdisk/soc_vwid_tokenslp1'
tf = open(tokensFile, "rb") # try to open tokens file
File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 72, in main
Traceback (most recent call last):
2023-02-03 12:29:21 ERROR:soc_vwid:Lp1 tokens initialization exception: set tokens_old to initial value
FileNotFoundError: [Errno 2] No such file or directory: '/var/www/html/openWB/ramdisk/soc_vwid_tokenslp1'
tf = open(tokensFile, "rb") # try to open tokens file
File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 72, in main
Traceback (most recent call last):
2023-02-03 12:29:21 ERROR:soc_vwid:Lp1 tokens initialization exception: e=[Errno 2] No such file or directory: '/var/www/html/openWB/ramdisk/soc_vwid_tokenslp1'
FileNotFoundError: [Errno 2] No such file or directory: '/var/www/html/openWB/ramdisk/soc_vwid_tokenslp2'
tf = open(tokensFile, "rb") # try to open tokens file
File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 72, in main
Traceback (most recent call last):
2023-02-03 12:29:19 ERROR:soc_vwid:Lp2 tokens initialization exception: set tokens_old to initial value
FileNotFoundError: [Errno 2] No such file or directory: '/var/www/html/openWB/ramdisk/soc_vwid_tokenslp2'
tf = open(tokensFile, "rb") # try to open tokens file
File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 72, in main
Traceback (most recent call last):
2023-02-03 12:29:19 ERROR:soc_vwid:Lp2 tokens initialization exception: e=[Errno 2] No such file or directory: '/var/www/html/openWB/ramdisk/soc_vwid_tokenslp2'
**** REBOOT ****
Bei mir arbeitet der VW-Server normal.