Seite 70 von 73

Re: SOC: VWID

Verfasst: So Dez 07, 2025 1:45 pm
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 %.

Re: SOC: VWID

Verfasst: So Dez 07, 2025 2:08 pm
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.

Re: SOC: VWID

Verfasst: So Dez 07, 2025 7:09 pm
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

Re: SOC: VWID

Verfasst: So Dez 07, 2025 7:20 pm
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

Re: SOC: VWID

Verfasst: So Dez 07, 2025 7:41 pm
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.

Re: SOC: VWID

Verfasst: So Dez 07, 2025 7:41 pm
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.

Re: SOC: VWID

Verfasst: So Dez 07, 2025 8:01 pm
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.

Re: SOC: VWID

Verfasst: So Dez 07, 2025 8:02 pm
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.

Re: SOC: VWID

Verfasst: So Dez 07, 2025 8:03 pm
von hoffi
Die Version ist installiert

Re: SOC: VWID

Verfasst: So Dez 07, 2025 9:24 pm
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.