SoC für den neuen Opel Corsa e (ggf. auch Peugeot 208e?)

Anfragen zum Erstellen von Modulen, Fragen zu Modulen
Andi
Beiträge: 381
Registriert: So Jun 21, 2020 8:48 am

Re: SoC für den neuen Opel Corsa e (ggf. auch Peugeot 208e?)

Beitrag von Andi »

Dann geht der login schief. Ich habe bei mir auch andere client ID und Secret drin, diese hab ich damals noch mühsam aus der App extrahiert. Wenn passwort stimmt muss es daran liegen...
Benutzeravatar
mrinas
Beiträge: 1867
Registriert: Mi Jan 29, 2020 10:12 pm

Re: SoC für den neuen Opel Corsa e (ggf. auch Peugeot 208e?)

Beitrag von mrinas »

Die Einstellungen sehen erstmal gut aus, die Remote-Services scheinen ja auch schon zu funktionieren da Du in der PSA App auf dem Handy den SoC schon siehst. Das hatte bei uns vor rd. 2 Jahren noch gefühlte Tage bis zur tatsächlichen Aktivierung nach der Buchung der 0€ Dienste gedauert.

Ich würd' dem ganzen jetzt erstmal ein wenig Zeit geben, wir haben hin und wieder auch Probleme mit dem SoC Abruf welche sich dann so einfach in Luft auflösen wie die aufgetreten sind.

Falls sich das Problem nicht löst können wir hier noch ein Schritt weiter ins Debugging einsteigen, hierzu müsstest Du die psareply* Dateien aus der Ramdisk hochladen, diese enthalten die Antworten der PSA Server:
http://<IP der openWB>/openWB/ramdisk/ -> hier die drei Dateien beginnend mit psareply finden und herunterladen.
Bitte _nicht_ die psareq Dateien posten, diese enthalten deine Anmeldedaten, die möchtest Du vermutlich nicht teilen.
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
Jack Package
Beiträge: 9
Registriert: Mi Jun 30, 2021 9:29 am

Re: SoC für den neuen Opel Corsa e (ggf. auch Peugeot 208e?)

Beitrag von Jack Package »

Alles klar. Danke erstmal für die raschen Antworten.
Ich schaue es mir mal ein paar Tage an und sonst lade ich die gewünschten Dateien mal hoch.

Im Debug Log hab ich das jetzt noch gesehen, weiß nicht ob das weiterhelfen kann:

2022-12-29 23:15:03: PID: 6116: ##### cron5min.sh finished ##### (LV0)
2022-12-29 23:15:02: PID: 6355: Starting OpenWB services (LV0)
2022-12-29 23:15:01: PID: 6116: ##### cron5min.sh started ##### (LV0)
Terminated
2022-12-29 23:12:16: at_reboot: checking for stalled atreboot after 10 minutes
KeyError: '_embedded'
vehicles = vehicle_response['_embedded']['vehicles']
File "/var/www/html/openWB/modules/soc_psa/psasoc.py", line 114, in <module>
Traceback (most recent call last):
2022-12-29 23:10:03: PID: 782: ##### cron5min.sh finished ##### (LV0)
2022-12-29 23:10:02: PID: 1029: Starting OpenWB services (LV0)
2022-12-29 23:10:01: PID: 782: ##### cron5min.sh started ##### (LV0)
2022-12-29 23:06:03: PID: 2621: **** FATAL ********************************* (LV0)
2022-12-29 23:06:03: PID: 2621: **** FATAL Regulation loop needs 143 seconds (LV0)
2022-12-29 23:06:03: PID: 2621: **** FATAL ********************************* (LV0)
tail: '/var/www/html/openWB/ramdisk/soc1-live.graph' kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht gefunden

2022-12-29 23:06:01: PID: 4356: Previous regulation loop still running. Skipping. (LV0) at 35 main /var/www/html/openWB/regel.sh
2621
2022-12-29 23:05:51: PID: 4319: Previous regulation loop still running. Skipping. (LV0) at 35 main /var/www/html/openWB/regel.sh


Gute Nacht.
9.96 kWp, Kostal Plenticore Plus 8.5, KSEM, BYD HVS Speicher 10.2kWh, openWB Series 2 Standard+, Peugeot e-2008
Jack Package
Beiträge: 9
Registriert: Mi Jun 30, 2021 9:29 am

Re: SoC für den neuen Opel Corsa e (ggf. auch Peugeot 208e?)

Beitrag von Jack Package »

Kurze Rückmeldung. Ich habe den Fehler gefunden. Jetzt funktionierts!
Ich hatte den falschen Benutzernamen eingegeben. Ein Punkt hat sich in meine Mailadresse geschlichen.
Danke trotzdem nochmals für die schnelle Hilfe!
9.96 kWp, Kostal Plenticore Plus 8.5, KSEM, BYD HVS Speicher 10.2kWh, openWB Series 2 Standard+, Peugeot e-2008
MarcDerSeemann
Beiträge: 11
Registriert: Mi Nov 24, 2021 10:22 am

Re: SoC für den neuen Opel Corsa e (ggf. auch Peugeot 208e?)

Beitrag von MarcDerSeemann »

Hallo,

Seit dem 09.01. 21:30 bekomme ich keinen SOC mehr vom Opel Server ausgelesen, die App gibt den richtigen SOC aus.
„Fetching SoC from Opel failed“

Hat jetzt 2 Jahre ohne Probleme funktioniert, hat nochjemand das Problem? Gerade jetzt im Winter ist bei mir der SOC zum Nachladen schon recht wichtig.

Gruß
raffix
Beiträge: 33
Registriert: Mi Feb 24, 2021 9:19 am

Re: SoC für den neuen Opel Corsa e (ggf. auch Peugeot 208e?)

Beitrag von raffix »

MarcDerSeemann hat geschrieben: Mi Jan 10, 2024 3:31 pm Seit dem 09.01. 21:30 bekomme ich keinen SOC mehr vom Opel Server ausgelesen, die App gibt den richtigen SOC aus.
Bei mir klappt das Auslesen des SoC mit dem PSA-Modul in der openWB schon noch, mein Problem ist allerdings, dass die Werte mit denen der App nicht übereinstimmen.
Wenn die openWB abfragt, kommt bspw. ein SoC von 50% raus. Wenn ich über die App abfrage, sind aber schon 70%.
Ich habe das Log (der openWB) und die App genau verfolgt und die Werte divergieren teilweise enorm.
So ist die openWB heute beim PV-Laden langsam von 20% SoC auf 100% hochgelaufen. Bei den 100% waren wir in der App aber noch auf knapp über 80%. Ich habe dann mit manuellem "Sofortladen" bis zu den echten 100% fertig geladen.

Da ich meinen Opel erst seit gestern habe, bin ich etwas verzweifelt.
Mit einem SoC, der (rein zufällig?) schwankt und mit der Realität nichts zu tun hat, kann ich nichts anfangen.

Code: Alles auswählen

2024-01-10 13:46:25,805 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=81.38782608695652, range=None, soc_timestamp=None)
2024-01-10 13:51:42,935 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=81.86417391304349, range=None, soc_timestamp=None)
2024-01-10 13:56:39,581 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=82.40365217391304, range=None, soc_timestamp=None)
2024-01-10 14:01:36,775 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=83.20330434782608, range=None, soc_timestamp=None)
2024-01-10 14:06:33,835 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=84.80260869565217, range=None, soc_timestamp=None)
2024-01-10 14:11:31,142 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=86.35026086956522, range=None, soc_timestamp=None)
2024-01-10 14:16:28,133 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=87.89408695652173, range=None, soc_timestamp=None)
2024-01-10 14:21:25,686 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=89.43217391304347, range=None, soc_timestamp=None)
2024-01-10 14:26:23,146 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=90.91286956521739, range=None, soc_timestamp=None)
2024-01-10 14:31:19,954 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=92.33617391304348, range=None, soc_timestamp=None)
2024-01-10 14:36:17,462 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=93.73078260869565, range=None, soc_timestamp=None)
2024-01-10 14:41:14,385 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=95.03547826086957, range=None, soc_timestamp=None)
2024-01-10 14:46:11,937 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=95.98434782608695, range=None, soc_timestamp=None)
2024-01-10 14:51:09,018 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=96.65199999999999, range=None, soc_timestamp=None)
2024-01-10 14:56:06,286 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=97.48034782608696, range=None, soc_timestamp=None)
2024-01-10 15:01:03,498 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=98.33356521739131, range=None, soc_timestamp=None)
2024-01-10 15:06:00,413 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=99.13130434782609, range=None, soc_timestamp=None)
2024-01-10 15:10:57,677 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=99.98069565217392, range=None, soc_timestamp=None)
2024-01-10 15:15:54,741 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 100.96017391304349% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:15:54,762 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:20:52,364 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 101.63930434782608% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:20:52,385 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:26:04,596 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 102.27634782608695% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:26:04,621 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:31:02,173 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 102.80241565217392% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:31:02,208 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:35:59,219 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 103.37252173913043% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:35:59,244 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:40:56,649 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 103.95408695652173% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:40:56,674 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:45:53,650 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 104.27356521739131% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:45:53,671 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:50:50,958 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 104.5585895652174% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:50:51,102 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:55:48,028 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 105.08278260869565% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:55:48,057 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:00:45,062 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 105.55721739130435% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:00:45,085 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:05:42,757 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 105.98191304347826% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:05:42,786 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:10:39,891 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 106.34347826086956% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:10:39,916 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:15:37,413 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 106.76241565217393% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:15:37,439 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:20:34,534 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 107.3286956521739% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:20:34,552 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:25:32,120 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 107.90067652173914% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:25:32,167 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:30:29,100 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 108.27754608695653% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:30:29,125 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:35:24,327 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 108.88780695652176% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:35:24,353 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:40:21,968 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 109.32973913043477% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:40:21,995 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:45:39,183 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 109.58991304347826% exceeds maximum and is limited to 100%! Check your settings!
Dieses Log erklärt zumindest, warum die Werte in der App nicht mit denen von der Api übereinstimmen. Spinnt die Api von PSA gerade oder wie kommt ein Ladestand von 109,5% zustande? :shock:
Benutzeravatar
mrinas
Beiträge: 1867
Registriert: Mi Jan 29, 2020 10:12 pm

Re: SoC für den neuen Opel Corsa e (ggf. auch Peugeot 208e?)

Beitrag von mrinas »

raffix hat geschrieben: Mi Jan 10, 2024 3:42 pm
MarcDerSeemann hat geschrieben: Mi Jan 10, 2024 3:31 pm Seit dem 09.01. 21:30 bekomme ich keinen SOC mehr vom Opel Server ausgelesen, die App gibt den richtigen SOC aus.
Bei mir klappt das Auslesen des SoC mit dem PSA-Modul in der openWB schon noch, mein Problem ist allerdings, dass die Werte mit denen der App nicht übereinstimmen.
Wenn die openWB abfragt, kommt bspw. ein SoC von 50% raus. Wenn ich über die App abfrage, sind aber schon 70%.
Ich habe das Log (der openWB) und die App genau verfolgt und die Werte divergieren teilweise enorm.
So ist die openWB heute beim PV-Laden langsam von 20% SoC auf 100% hochgelaufen. Bei den 100% waren wir in der App aber noch auf knapp über 80%. Ich habe dann mit manuellem "Sofortladen" bis zu den echten 100% fertig geladen.

Da ich meinen Opel erst seit gestern habe, bin ich etwas verzweifelt.
Mit einem SoC, der (rein zufällig?) schwankt und mit der Realität nichts zu tun hat, kann ich nichts anfangen.

Code: Alles auswählen

2024-01-10 13:46:25,805 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=81.38782608695652, range=None, soc_timestamp=None)
2024-01-10 13:51:42,935 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=81.86417391304349, range=None, soc_timestamp=None)
2024-01-10 13:56:39,581 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=82.40365217391304, range=None, soc_timestamp=None)
2024-01-10 14:01:36,775 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=83.20330434782608, range=None, soc_timestamp=None)
2024-01-10 14:06:33,835 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=84.80260869565217, range=None, soc_timestamp=None)
2024-01-10 14:11:31,142 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=86.35026086956522, range=None, soc_timestamp=None)
2024-01-10 14:16:28,133 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=87.89408695652173, range=None, soc_timestamp=None)
2024-01-10 14:21:25,686 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=89.43217391304347, range=None, soc_timestamp=None)
2024-01-10 14:26:23,146 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=90.91286956521739, range=None, soc_timestamp=None)
2024-01-10 14:31:19,954 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=92.33617391304348, range=None, soc_timestamp=None)
2024-01-10 14:36:17,462 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=93.73078260869565, range=None, soc_timestamp=None)
2024-01-10 14:41:14,385 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=95.03547826086957, range=None, soc_timestamp=None)
2024-01-10 14:46:11,937 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=95.98434782608695, range=None, soc_timestamp=None)
2024-01-10 14:51:09,018 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=96.65199999999999, range=None, soc_timestamp=None)
2024-01-10 14:56:06,286 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=97.48034782608696, range=None, soc_timestamp=None)
2024-01-10 15:01:03,498 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=98.33356521739131, range=None, soc_timestamp=None)
2024-01-10 15:06:00,413 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=99.13130434782609, range=None, soc_timestamp=None)
2024-01-10 15:10:57,677 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=99.98069565217392, range=None, soc_timestamp=None)
2024-01-10 15:15:54,741 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 100.96017391304349% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:15:54,762 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:20:52,364 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 101.63930434782608% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:20:52,385 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:26:04,596 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 102.27634782608695% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:26:04,621 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:31:02,173 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 102.80241565217392% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:31:02,208 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:35:59,219 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 103.37252173913043% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:35:59,244 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:40:56,649 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 103.95408695652173% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:40:56,674 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:45:53,650 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 104.27356521739131% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:45:53,671 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:50:50,958 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 104.5585895652174% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:50:51,102 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 15:55:48,028 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 105.08278260869565% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 15:55:48,057 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:00:45,062 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 105.55721739130435% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:00:45,085 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:05:42,757 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 105.98191304347826% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:05:42,786 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:10:39,891 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 106.34347826086956% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:10:39,916 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:15:37,413 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 106.76241565217393% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:15:37,439 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:20:34,534 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 107.3286956521739% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:20:34,552 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:25:32,120 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 107.90067652173914% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:25:32,167 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:30:29,100 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 108.27754608695653% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:30:29,125 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:35:24,327 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 108.88780695652176% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:35:24,353 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:40:21,968 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 109.32973913043477% exceeds maximum and is limited to 100%! Check your settings!
2024-01-10 16:40:21,995 - {modules.common.store._api:30} - {INFO:store soc_ev2} - Saving CarState(soc=100, range=None, soc_timestamp=None)
2024-01-10 16:45:39,183 - {modules.vehicles.common.calc_soc.calc_soc:23} - {WARNING:fetch soc_ev2} - Calculated SoC of 109.58991304347826% exceeds maximum and is limited to 100%! Check your settings!
Dieses Log erklärt zumindest, warum die Werte in der App nicht mit denen von der Api übereinstimmen. Spinnt die Api von PSA gerade oder wie kommt ein Ladestand von 109,5% zustande? :shock:
Ist das schon die 2.0er Software? Die Logs sehen danach aus.

Bei PSA ist es generell so dass während des Ladens der SoC nicht durch PSA aktualisiert wird, daher wird der SoC während des Ladevorgangs berechnet. Hierfür ist im SoC Modul die Batteriegröße und die Effizienz eingetragen. Wenn Du über 100% kommst ist die Akkukapazität vermutlich zu gering. Welches Auto hast Du?
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
raffix
Beiträge: 33
Registriert: Mi Feb 24, 2021 9:19 am

Re: SoC für den neuen Opel Corsa e (ggf. auch Peugeot 208e?)

Beitrag von raffix »

mrinas hat geschrieben: Mi Jan 10, 2024 4:00 pm Bei PSA ist es generell so dass während des Ladens der SoC nicht durch PSA aktualisiert wird, daher wird der SoC während des Ladevorgangs berechnet. Hierfür ist im SoC Modul die Batteriegröße und die Effizienz eingetragen. Wenn Du über 100% kommst ist die Akkukapazität vermutlich zu gering. Welches Auto hast Du?
Das ist ja spannend! Danke für die Info, denn auf die Idee wäre ich selbst nicht gekommen.
Die Akkugröße ist vermutlich richtig, weil man die überall online leicht findet. Schwieriger wird es bei der Effizienz. Ich rechne eher pessimistisch und habe daher 88% eingetragen. Vermutlich ist die Effizienz höher und das erklärt die Probleme.
Nur was mache ich, wenn die Effizienz variiert?! Beim 3-phasigen Laden ist die Effizienz hoch, bei 1-phasigem Laden und niedrigen Strömen geringer.
Btw. ich habe einen Corsa-e (First Edition) mit vermutlich 46kWh-Akku.
MarcDerSeemann hat geschrieben: Mi Jan 10, 2024 3:31 pm Seit dem 09.01. 21:30 bekomme ich keinen SOC mehr vom Opel Server ausgelesen, die App gibt den richtigen SOC aus.
Seit heute Abend geht bei mir übrigens die SoC-Abfrage übrigens auch nicht mehr. Nur via App klappt es aktuell. Also exakt wie bei dir.
Andi
Beiträge: 381
Registriert: So Jun 21, 2020 8:48 am

Re: SoC für den neuen Opel Corsa e (ggf. auch Peugeot 208e?)

Beitrag von Andi »

Bei mir auch seit gestern abend kein Opel SOC mehr. Im log laucht ein 400er Fehler beim login auf:

Code: Alles auswählen

2024-01-10 19:23:16,845 - {modules.common.fault_state:49} - {ERROR:fetch soc_ev1} - PSA: FaultState FaultStateLevel.ERROR, FaultStr <class 'Exception'> ('Error requesting PSA data for vehicle: 1',), Traceback: 
Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/vehicles/psa/api.py", line 111, in fetch_soc
    session = create_session(
  File "/var/www/html/openWB/packages/modules/vehicles/psa/api.py", line 70, in create_session
    access_token = session.post(
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 590, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 662, in send
    r = dispatch_hook('response', hooks, r, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/hooks.py", line 31, in dispatch_hook
    _hook_data = hook(hook_data, **kwargs)
  File "/var/www/html/openWB/packages/modules/common/req.py", line 10, in <lambda>
    session.hooks['response'].append(lambda r, *args, **kwargs: r.raise_for_status())
  File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://idpcvs.opel.com/am/oauth2/access_token

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/html/openWB/packages/modules/common/configurable_vehicle.py", line 66, 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 109, in _get_carstate_by_source
    return self.__component_updater(vehicle_update_data)
  File "/var/www/html/openWB/packages/modules/vehicles/psa/soc.py", line 20, in updater
    return api.fetch_soc(vehicle_config.configuration, vehicle)
  File "/var/www/html/openWB/packages/modules/vehicles/psa/api.py", line 119, in fetch_soc
    raise Exception("Error requesting PSA data for vehicle: %s" % vehicle_id)
Exception: Error requesting PSA data for vehicle: 1

Opel App funktioniert...
Benutzeravatar
mrinas
Beiträge: 1867
Registriert: Mi Jan 29, 2020 10:12 pm

Re: SoC für den neuen Opel Corsa e (ggf. auch Peugeot 208e?)

Beitrag von mrinas »

wir haben einen e2008 der ersten Generation, 46kWh und 97% Effizienz kommen hier recht gut hin. Allerdings auf der openWB 1.9, den Ladepunkt fürs Auto meiner Frau hab' ich immer noch nicht auf die 2.0er umgestellt.
15,2kWp SMA (SB4000TL-21, SB3.0, STP6.0-SE + BYD HVS, EnergyMeter), openWB Standard+, openWB Pro, Peugeot e2008, Tesla Model Y LR.
Antworten