SOC: VWID

Alles rund um SoC (Ladezustand des Fahrzeuges). Probleme, Fragen, Fehlfunktionen gehören hier hin
hoffi
Beiträge: 10
Registriert: Do Mär 14, 2024 2:16 pm

Re: SOC: VWID

Beitrag von hoffi »

rleidner hat geschrieben: So Dez 07, 2025 11:01 am
hoffi hat geschrieben: Sa Dez 06, 2025 9:25 pm Welches ist den die aktuellste Version im Master?
Der aktuelle Version ist in master: 2025-12-05 14:39:40 +0100 [8a47be910] mit diesem PR zum vwid Modul:
2025-12-05 12:07:46 +0100 [443b430e0] - soc_vwid: make status query thread safe (#2997)
Die habe ich aktualisiert, bekommen aber immer noch Modulfehlermeldung. Vom SOC aus dem ID7 werden an der OpenWb Fantasiewerte angezeigt. Wenn er angesteckt wird, 0% oder mal 100%. Ich denke auch mal, da wird die geladene Energiemenge angezeigt. Nach 1,5 h stand dort 16,5 %.
openWB
Site Admin
Beiträge: 9766
Registriert: So Okt 07, 2018 1:50 pm
Has thanked: 107 times
Been thanked: 252 times

Re: SOC: VWID

Beitrag von openWB »

hoffi hat geschrieben: So Dez 07, 2025 1:45 pm
rleidner hat geschrieben: So Dez 07, 2025 11:01 am
hoffi hat geschrieben: Sa Dez 06, 2025 9:25 pm Welches ist den die aktuellste Version im Master?
Der aktuelle Version ist in master: 2025-12-05 14:39:40 +0100 [8a47be910] mit diesem PR zum vwid Modul:
2025-12-05 12:07:46 +0100 [443b430e0] - soc_vwid: make status query thread safe (#2997)
Die habe ich aktualisiert, bekommen aber immer noch Modulfehlermeldung. Vom SOC aus dem ID7 werden an der OpenWb Fantasiewerte angezeigt. Wenn er angesteckt wird, 0% oder mal 100%. Ich denke auch mal, da wird die geladene Energiemenge angezeigt. Nach 1,5 h stand dort 16,5 %.
Ohne Log oder wenigstens mal die genaue Fehlermeldung ist es unmöglich zu helfen.
Supportanfragen bitte NICHT per PN stellen.
Hardwareprobleme bitte über die Funktion Debug Daten senden mitteilen oder per Mail an support@openwb.de
phyhu
Beiträge: 9
Registriert: Do Nov 23, 2023 4:24 pm

Re: SOC: VWID

Beitrag von phyhu »

rleidner hat geschrieben: Sa Dez 06, 2025 4:10 pm
phyhu hat geschrieben: Sa Dez 06, 2025 3:48 pm Kurze Frage:

Wenn ich die Python-Datei aus gem git nehme. Und an die richtige Stelle auf die SD-Karte auf dem Pi kopiere, dann kann ich doch im Release-Zweig bleiben.?

Was spricht denn dagegen?
Was müsste ich genau machen?
Mittlerweile haben sich soc.py und libvwid.py geändert und api.py ist entfallen.
Am besten alle Dateien im vwid austauschen.
mhhh,
ich kann hier https://github.com/openWB/core/blob/mas ... cles/vwid/
nur soc.py und libvwid.py finden. Eine api.py liegt da nicht, wohl aber bei cupra und skoda.

Kannst du mir sage, wo die api.py liegt? Dann kopiere ich die auf die SD-Karte und berichtige die Rechte und den Besitzer.

VG
phyhu
hoffi
Beiträge: 10
Registriert: Do Mär 14, 2024 2:16 pm

Re: SOC: VWID

Beitrag von hoffi »

openWB hat geschrieben: So Dez 07, 2025 2:08 pm
hoffi hat geschrieben: So Dez 07, 2025 1:45 pm
rleidner hat geschrieben: So Dez 07, 2025 11:01 am
Der aktuelle Version ist in master: 2025-12-05 14:39:40 +0100 [8a47be910] mit diesem PR zum vwid Modul:
2025-12-05 12:07:46 +0100 [443b430e0] - soc_vwid: make status query thread safe (#2997)
Die habe ich aktualisiert, bekommen aber immer noch Modulfehlermeldung. Vom SOC aus dem ID7 werden an der OpenWb Fantasiewerte angezeigt. Wenn er angesteckt wird, 0% oder mal 100%. Ich denke auch mal, da wird die geladene Energiemenge angezeigt. Nach 1,5 h stand dort 16,5 %.
Ohne Log oder wenigstens mal die genaue Fehlermeldung ist es unmöglich zu helfen.
Ich hoffe das ich das jetzt richtig mache.

2025-12-07 19:48:10,254 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object

2025-12-07 19:58:14,439 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object

2025-12-07 20:08:17,032 - {modules.vehicles.vwid.libvwid:1224} - {WARNING:fetch soc_ev11} - Tokens have expired. Try to fetch new tokens
2025-12-07 20:08:18,136 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object
Dateianhänge
Screenshot_20251207_201731_Chrome.jpg
(766.75 KiB) Noch nie heruntergeladen
rleidner
Beiträge: 1440
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 70 times
Been thanked: 156 times

Re: SOC: VWID

Beitrag von rleidner »

hoffi hat geschrieben: So Dez 07, 2025 7:20 pm
openWB hat geschrieben: So Dez 07, 2025 2:08 pm
hoffi hat geschrieben: So Dez 07, 2025 1:45 pm

Die habe ich aktualisiert, bekommen aber immer noch Modulfehlermeldung. Vom SOC aus dem ID7 werden an der OpenWb Fantasiewerte angezeigt. Wenn er angesteckt wird, 0% oder mal 100%. Ich denke auch mal, da wird die geladene Energiemenge angezeigt. Nach 1,5 h stand dort 16,5 %.
Ohne Log oder wenigstens mal die genaue Fehlermeldung ist es unmöglich zu helfen.
Ich hoffe das ich das jetzt richtig mache.

2025-12-07 19:48:10,254 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object

2025-12-07 19:58:14,439 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object

2025-12-07 20:08:17,032 - {modules.vehicles.vwid.libvwid:1224} - {WARNING:fetch soc_ev11} - Tokens have expired. Try to fetch new tokens
2025-12-07 20:08:18,136 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object
Sieht nach der "alten" Version aus, die nicht mehr funktioniert.
Die neue Version ist momentan nur im Entwicklungszweig master/Alpha 2.1.9 installierbar.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
rleidner
Beiträge: 1440
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 70 times
Been thanked: 156 times

Re: SOC: VWID

Beitrag von rleidner »

phyhu hat geschrieben: So Dez 07, 2025 7:09 pm
rleidner hat geschrieben: Sa Dez 06, 2025 4:10 pm
phyhu hat geschrieben: Sa Dez 06, 2025 3:48 pm Kurze Frage:

Wenn ich die Python-Datei aus gem git nehme. Und an die richtige Stelle auf die SD-Karte auf dem Pi kopiere, dann kann ich doch im Release-Zweig bleiben.?

Was spricht denn dagegen?
Was müsste ich genau machen?
Mittlerweile haben sich soc.py und libvwid.py geändert und api.py ist entfallen.
Am besten alle Dateien im vwid austauschen.
mhhh,
ich kann hier https://github.com/openWB/core/blob/mas ... cles/vwid/
nur soc.py und libvwid.py finden. Eine api.py liegt da nicht, wohl aber bei cupra und skoda.

Kannst du mir sage, wo die api.py liegt? Dann kopiere ich die auf die SD-Karte und berichtige die Rechte und den Besitzer.

VG
phyhu
Wie geschrieben: die api.py ist entfallen, wird nicht mehr benötigt.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
hoffi
Beiträge: 10
Registriert: Do Mär 14, 2024 2:16 pm

Re: SOC: VWID

Beitrag von hoffi »

rleidner hat geschrieben: So Dez 07, 2025 7:41 pm
hoffi hat geschrieben: So Dez 07, 2025 7:20 pm
openWB hat geschrieben: So Dez 07, 2025 2:08 pm
Ohne Log oder wenigstens mal die genaue Fehlermeldung ist es unmöglich zu helfen.
Ich hoffe das ich das jetzt richtig mache.

2025-12-07 19:48:10,254 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object

2025-12-07 19:58:14,439 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object

2025-12-07 20:08:17,032 - {modules.vehicles.vwid.libvwid:1224} - {WARNING:fetch soc_ev11} - Tokens have expired. Try to fetch new tokens
2025-12-07 20:08:18,136 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object
Sieht nach der "alten" Version aus, die nicht mehr funktioniert.
Die neue Version ist momentan nur im Entwicklungszweig master/Alpha 2.1.9 installierbar.
hoffi
Beiträge: 10
Registriert: Do Mär 14, 2024 2:16 pm

Re: SOC: VWID

Beitrag von hoffi »

hoffi hat geschrieben: So Dez 07, 2025 8:01 pm
rleidner hat geschrieben: So Dez 07, 2025 7:41 pm
hoffi hat geschrieben: So Dez 07, 2025 7:20 pm

Ich hoffe das ich das jetzt richtig mache.

2025-12-07 19:48:10,254 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object

2025-12-07 19:58:14,439 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object

2025-12-07 20:08:17,032 - {modules.vehicles.vwid.libvwid:1224} - {WARNING:fetch soc_ev11} - Tokens have expired. Try to fetch new tokens
2025-12-07 20:08:18,136 - {modules.common.fault_state:45} - {ERROR:fetch soc_ev11} - VWId: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> ('cannot unpack non-iterable NoneType object',), Traceback:
Traceback (most recent call last):
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 80, in update
car_state = self._get_carstate_by_source(vehicle_update_data, source)
File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 128, in _get_carstate_by_source
return self.__component_updater(vehicle_update_data)
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 34, in updater
return fetch()
File "/var/www/html/openWB/packages/modules/vehicles/vwid/soc.py", line 28, in fetch
soc, range, soc_ts, soc_tsX = loop.run_until_complete(_fetch_soc())
TypeError: cannot unpack non-iterable NoneType object
Sieht nach der "alten" Version aus, die nicht mehr funktioniert.
Die neue Version ist momentan nur im Entwicklungszweig master/Alpha 2.1.9 installierbar.
Dateianhänge
Screenshot_20251207_205951_Chrome.jpg
(873.7 KiB) Noch nie heruntergeladen
hoffi
Beiträge: 10
Registriert: Do Mär 14, 2024 2:16 pm

Re: SOC: VWID

Beitrag von hoffi »

Die Version ist installiert
rleidner
Beiträge: 1440
Registriert: Mo Nov 02, 2020 9:50 am
Has thanked: 70 times
Been thanked: 156 times

Re: SOC: VWID

Beitrag von rleidner »

hoffi hat geschrieben: So Dez 07, 2025 8:03 pm Die Version ist installiert
Stimmt, ist die aktuelle Version, ich hatte mich verguckt.
Die Zeile

Code: Alles auswählen

2025-12-07 20:08:17,032 - {modules.vehicles.vwid.libvwid:1224} - {WARNING:fetch soc_ev11} - Tokens have expired. Try to fetch new tokens
sagt dass die Anmeldung am VW Server schon mal erfolgreich war und nach ca. 1 Stunde findet der Token refresh statt.
Warum das schief geht kann ich nicht sehen. Die Internet-Verbindung der openWB ist stabil?

Zur weiteren Eingrenzung den Log Level auf Info setzen (Einstellungen-System-Fehlersuche-Info-Speichern) dann einen Neustart und dann ein Log der ersten 1-2 Abfragen als code block button (<>) posten.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour
Antworten