Hallo Det,
ich habe heute eine Runde gedreht mit dem Auto und jetzt wird auch der SoC Wert übermittelt.
Das Modul hatte ich übrigens Donnerstagabend eingerichtet. Hab die Frage überlesen.
Nun habe ich das Modul auch wieder für beide Ladepunkte aktiviert.
Aber die Ausgabe im log ist denke ich nicht so, wie von dir gewünscht.
Heute Morgen wurde fix ein Update gemacht.
Neuer log:
2021-07-11 15:54:44: Lp2: PID

SOC: 21 RANGE: 10
2021-07-11 15:54:44: Lp1: PID

SOC: 21 RANGE: 10
2021-07-11 15:01:18: Lp1: PID

SOC: 27 RANGE: 13
2021-07-11 14:00:58: Lp1: PID

SOC: 60 RANGE: 30
2021-07-11 13:00:38: Lp1: PID:8549: SOC: 78 RANGE: 42
2021-07-11 12:01:15: Lp1: Nothing to do yet. Incrementing timer. 4 < 6 (LV1) at 84 main modules/soc_eq/main.sh
2021-07-11 12:00:55: Lp1: Nothing to do yet. Incrementing timer. 2 < 6 (LV1) at 84 main modules/soc_eq/main.sh
2021-07-11 12:00:35: Lp1: Nothing to do yet. Incrementing timer. 0 < 6 (LV1) at 84 main modules/soc_eq/main.sh
2021-07-11 12:00:18: Lp1: Py Return: 1 (LV1) at 91 main modules/soc_eq/main.sh
NameError: name 'soc' is not defined
if not soc:
File "/var/www/html/openWB/modules/soc_eq/soc.py", line 177, in <module>
Traceback (most recent call last):
2021-07-11 12:00:18: Lp1: PID

SOC Response: [{"rangeelectric":{"value":"51","timestamp":1625763246000}}]
2021-07-11 12:00:18: Lp1: PID

SOC Request: 200
2021-07-11 12:00:17: Lp1: PID

SOC URL:
https://api.mercedes-benz.com/vehicleda ... ricvehicle
2021-07-11 12:00:17: Lp1: PID

client: XXXXX
2021-07-11 12:00:17: Lp1: PID

Debug Level: 2
2021-07-11 12:00:15: Lp1: Requesting SoC (LV1) at 87 main modules/soc_eq/main.sh
2021-07-11 11:59:55: Lp1: Nothing to do yet. Incrementing timer. 4 < 6 (LV1) at 84 main modules/soc_eq/main.sh
2021-07-11 11:59:34: Lp1: Nothing to do yet. Incrementing timer. 2 < 6 (LV1) at 84 main modules/soc_eq/main.sh
2021-07-11 11:59:15: Lp1: Nothing to do yet. Incrementing timer. 0 < 6 (LV1) at 84 main modules/soc_eq/main.sh
2021-07-11 11:58:58: Lp1: Py Return: 1 (LV1) at 91 main modules/soc_eq/main.sh
VG
Daniel