SOC: VWID

Alles rund um SoC (Ladezustand des Fahrzeuges). Probleme, Fragen, Fehlfunktionen gehören hier hin
Creekie
Beiträge: 22
Registriert: Fr Nov 04, 2022 10:20 am

Re: SOC: VWID

Beitrag von Creekie »

Der erste Befehl funzt scheinbar

Ich hab mir jetzt grad nochmal die Einstellungen angeschaut des Ladepunkts und war verwirrt, dass meine Login-Daten verschwunden sind. Wenn ich Ladepunkt 2 einstelle kann ich diese aber wieder eingeben. Ist das normal? (S. Screenshots)
Dateianhänge
Screenshot 2023-02-15 125504.png
Screenshot 2023-02-15 125257.png
Screenshot 2023-02-15 125215.png
Creekie
Beiträge: 22
Registriert: Fr Nov 04, 2022 10:20 am

Re: SOC: VWID

Beitrag von Creekie »

Nevermind... Wieso auch immer, ich habe jetzt einfach mal den 2. Ladepunkt testweise konfiguriert und mich in der App ab und wieder angemeldet... Jetzt klappt plötzlich wieder alles,... Selbst der http://192.168.178.98//openWB/ramdisk/soc_vwid_replylp1 funzt nun problemlos:

Code: Alles auswählen

{
    "charging": {
        "batteryStatus": {
            "value": {
                "carCapturedTimestamp": "2023-02-15T11:58:27Z",
                "currentSOC_pct": 100,
                "cruisingRangeElectric_km": 291
            }
        },
        "chargingStatus": {
            "value": {
                "carCapturedTimestamp": "2023-02-15T11:58:27Z",
                "remainingChargingTimeToComplete_min": 0,
                "chargingState": "readyForCharging",
                "chargeMode": "manual",
                "chargePower_kW": 0,
                "chargeRate_kmph": 0,
                "chargeType": "invalid",
                "chargingSettings": "default"
            }
        },
        "chargingSettings": {
            "value": {
                "carCapturedTimestamp": "2023-02-15T11:58:26Z",
                "maxChargeCurrentAC": "maximum",
                "autoUnlockPlugWhenCharged": "off",
                "autoUnlockPlugWhenChargedAC": "off",
                "targetSOC_pct": 100
            }
        },
        "plugStatus": {
            "value": {
                "carCapturedTimestamp": "2023-02-15T11:58:25Z",
                "plugConnectionState": "connected",
                "plugLockState": "locked",
                "externalPower": "ready",
                "ledColor": "none"
            }
        },
        "chargeMode": {
            "value": {
                "preferredChargeMode": "manual",
                "availableChargeModes": [
                    "invalid"
                ]
            }
        }
    }
}
Trotzdem vielen Dank für die Mühe. :-D
Dateianhänge
Screenshot 2023-02-15 125911.png
rleidner
Beiträge: 820
Registriert: Mo Nov 02, 2020 9:50 am

Re: SOC: VWID

Beitrag von rleidner »

👍
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Smart EQ forfour
Becker
Beiträge: 765
Registriert: Mi Okt 07, 2020 4:34 pm

Re: SOC: VWID

Beitrag von Becker »

Mit der 1.9.294 geht VW ID SoC nicht mehr:

Code: Alles auswählen

2023-02-17 08:27:18: PID: 13012: Lp1: Error from soc_vwid:  (LV0)
IndexError: list index out of range
    return (form, page.forms[0].action)
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 30, in form_from_response
    (form, action) = self.form_from_response(await response.read())
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 122, in reconnect
    if await self.reconnect():
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 204, in get_status
    data = await w.get_status()
  File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 82, in main
    return future.result()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
    loop.run_until_complete(main())
  File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 126, in <module>
Traceback (most recent call last):
2023-02-17 08:27:18: PID: 12927: Lp2: Error from soc_vwid:  (LV0)
IndexError: list index out of range
    return (form, page.forms[0].action)
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 30, in form_from_response
    (form, action) = self.form_from_response(await response.read())
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 122, in reconnect
    if await self.reconnect():
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 204, in get_status
    data = await w.get_status()
  File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 82, in main
    return future.result()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
    loop.run_until_complete(main())
  File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 126, in <module>
Traceback (most recent call last):
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-17 08:27:16 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-17 08:27:16 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-17 08:27:16 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-17 08:27:16 ERROR:soc_vwid:Lp2 tokens initialization exception: e=[Errno 2] No such file or directory: '/var/www/html/openWB/ramdisk/soc_vwid_tokenslp2'
2023-02-17 08:24:58: PID: 26778: Lp1: Error from soc_vwid:  (LV0)
IndexError: list index out of range
    return (form, page.forms[0].action)
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 30, in form_from_response
    (form, action) = self.form_from_response(await response.read())
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 122, in reconnect
    if await self.reconnect():
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 204, in get_status
    data = await w.get_status()
  File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 82, in main
    return future.result()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
    loop.run_until_complete(main())
  File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 126, in <module>
Traceback (most recent call last):
2023-02-17 08:24:57: PID: 26693: Lp2: Error from soc_vwid:  (LV0)
IndexError: list index out of range
    return (form, page.forms[0].action)
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 30, in form_from_response
    (form, action) = self.form_from_response(await response.read())
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 122, in reconnect
    if await self.reconnect():
  File "/var/www/html/openWB/modules/soc_vwid/libvwid.py", line 204, in get_status
    data = await w.get_status()
  File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 82, in main
    return future.result()
  File "/usr/lib/python3.7/asyncio/base_events.py", line 584, in run_until_complete
    loop.run_until_complete(main())
  File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 126, in <module>
Gestern mit 1.9.293 keine Probleme
openWB series2 Buchse (2021)
go-eCharger HOME+ 22 kW (2022)
rleidner
Beiträge: 820
Registriert: Mo Nov 02, 2020 9:50 am

Re: SOC: VWID

Beitrag von rleidner »

Becker hat geschrieben: Fr Feb 17, 2023 7:29 am Mit der 1.9.294 geht VW ID SoC nicht mehr:

Code: Alles auswählen

2023-02-17 08:27:18: PID: 13012: Lp1: Error from soc_vwid:  (LV0)
IndexError: list index out of range
    return (form, page.forms[0].action)
Gestern mit 1.9.293 keine Probleme
Hmm, es gab seit Wochen an dem Modul keine Änderung.
Bei mir läuft die 1.9.294 normal (auf meinem Testsystem).
Diesen Fehler "list index out of range" gab es gestern schon mal - 2-3 Beiträge weiter oben.
Die Anmeldung in WeConnect Id scheint zu funktionieren, aber der Status kommt nicht.
Evtl auch mal in die ramdisk schauen nach der soc_vwid_replylp1/2 - Datei.

Ich glaube der User hat dann Email, Password und VIN neu konfiguriert und es hat dann funktioniert.
Evtl. auch einfach noch mal neu starten.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Smart EQ forfour
Becker
Beiträge: 765
Registriert: Mi Okt 07, 2020 4:34 pm

Re: SOC: VWID

Beitrag von Becker »

Hab mich bei we-connect.de eingeloggt und musste wieder irgendwelchen Bedinungen zustimmen. Lag scheinbar daran und war ein Zufall mit dem Update.
openWB series2 Buchse (2021)
go-eCharger HOME+ 22 kW (2022)
rleidner
Beiträge: 820
Registriert: Mo Nov 02, 2020 9:50 am

Re: SOC: VWID

Beitrag von rleidner »

👍
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Smart EQ forfour
Armin
Beiträge: 2
Registriert: Sa Feb 18, 2023 11:11 am

Re: SOC: VWID

Beitrag von Armin »

Hab seit gestern 1.9.294 drauf und der VW ID SoC zeigt nichts mehr an.

Im SoC Log sehe ich diesen Fehler:

Code: Alles auswählen

PermissionError: [Errno 1] Operation not permitted: '/var/www/html/openWB/ramdisk/soc_vwid_replylp1'
    os.chmod(replyFile, 0o777)
  File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 94, in main
Traceback (most recent call last):
2023-02-18 12:16:58 ERROR:soc_vwid:Lp1 use sudo, user: www-data
openWB-2 standard+ | VW ID.3 | E3DC S10 E PRO 13kWh | 9.92 kWp IBC MonoSol 310 VL5
rleidner
Beiträge: 820
Registriert: Mo Nov 02, 2020 9:50 am

Re: SOC: VWID

Beitrag von rleidner »

Armin hat geschrieben: Sa Feb 18, 2023 11:30 am Hab seit gestern 1.9.294 drauf und der VW ID SoC zeigt nichts mehr an.

Im SoC Log sehe ich diesen Fehler:

Code: Alles auswählen

PermissionError: [Errno 1] Operation not permitted: '/var/www/html/openWB/ramdisk/soc_vwid_replylp1'
    os.chmod(replyFile, 0o777)
  File "/var/www/html/openWB/modules/soc_vwid/soc_vwid.py", line 94, in main
Traceback (most recent call last):
2023-02-18 12:16:58 ERROR:soc_vwid:Lp1 use sudo, user: www-data
Der Fehler ist nach Update oder Neustart normal und kann ignoriert werden.
Bei mir funktioniert die SOC-Abfrage aktuell.

Falls keine weiteren Meldungen im Log zu sehen sind, die Anweisungen im 1. Beitrag dieses Themas durchgehen und einen manuellen Abruf (Kreispfeil) machen und dann den Ev-SOC-Log ansehen.
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Smart EQ forfour
Thrillhouse
Beiträge: 14
Registriert: Do Mai 05, 2022 1:50 pm

Re: SOC: VWID

Beitrag von Thrillhouse »

Bei mir funktioniert seid heute der soc nicht. Habt ihr das Problem auch? Komischerweise werden mir auf der Hauptspeite alle 8 Ladepunkte aufgeführt, wobei ich nur einen aktiv habe.

Was habe ich gemacht bevor noch alles ging: ich habe mit einem recht alten Tablet die Benutzeroberflächen der oben wb aufgerufen. Kann das damit zusammenhängen?
Zuletzt geändert von Thrillhouse am So Feb 19, 2023 5:44 pm, insgesamt 1-mal geändert.
Antworten