Hallo zusammen
Ich habe heute ein frisches RaspiOS Buster installiert und dann OpenWB 1.9.304 hinzuinstalliert. Nach der Installation habe ich die pycarwings2.py verifiziert. Sie enthielt die zwei angepassten Zeilen
BASE_URL = "
https://gdcportalgw.its-mo.com/api_v250205_NE/gdc/"
und
req = Request('POST', url=BASE_URL + endpoint, data=params, headers={"Us
er-Agent": ""}).prepare()
Auch bei mir klappt die SOC-Abfrage nicht.
Folgendes fand ich mit tail -n 80 /var/log/openWB.log:
2025-07-19 18:43:01: PID: 12697: Update in progress (LV0) at 43 main /var/www/html/openWB/regel.sh
2025-07-19 18:43:02: at_reboot: lxml installed...
2025-07-19 18:43:02: at_reboot: soc_vwid: python3 secrets installed...
2025-07-19 18:43:09: at_reboot: Looking in indexes:
https://pypi.org/simple,
https://www.piwheels.org/simple
2025-07-19 18:43:11: at_reboot: Requirement already up-to-date: urllib3 in /home/pi/.local/lib/python3.7/site-packages (2.0.7)
2025-07-19 18:43:11: PID: 12718: Update in progress (LV0) at 43 main /var/www/html/openWB/regel.sh
2025-07-19 18:43:13: at_reboot: version...
2025-07-19 18:43:13: at_reboot: % Total % Received % Xferd Average Speed Time Time Time Current
2025-07-19 18:43:13: at_reboot: Dload Upload Total Spent Left Speed
100 301 100 256 100 45 2370 416 --:--:-- --:--:-- --:--:-- 2787
2025-07-19 18:43:13: at_reboot: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
2025-07-19 18:43:13: at_reboot: <html><head>
2025-07-19 18:43:13: at_reboot: <title>404 Not Found</title>
2025-07-19 18:43:13: at_reboot: </head><body>
2025-07-19 18:43:13: PID: 12738: Stopping OpenWB services (LV0)
2025-07-19 18:43:13: at_reboot: <h1>Not Found</h1>
2025-07-19 18:43:13: at_reboot: <p>The requested URL was not found on this server.</p>
2025-07-19 18:43:13: at_reboot: <hr>
2025-07-19 18:43:13: at_reboot: <address>Apache Server at openwb.de Port 443</address>
2025-07-19 18:43:13: at_reboot: </body></html>
2025-07-19 18:43:13: at_reboot: clear warning...
2025-07-19 18:43:13: PID: 12738: OpenWB services stopped (LV0)
2025-07-19 18:43:13: PID: 12738: Starting OpenWB services (LV0)
2025-07-19 18:43:14: PID: 12738: modbus tcp server not running! restarting process (LV0)
2025-07-19 18:43:14: PID: 12738: mqtt handler not running! restarting process (LV0)
2025-07-19 18:43:14: PID: 12738: smart home handler not running! restarting process (LV0)
2025-07-19 18:43:14: PID: 12738: legacy run server is not running. Restarting process (LV0)
2025-07-19 18:43:14: at_reboot: Starting legacy run server
2025-07-19 18:43:14: PID: 12738: Start/restart isss handler in mode daemon. (LV0)
2025-07-19 18:43:14: at_reboot: Failed to stop hostapd.service: Unit hostapd.service not loaded.
2025-07-19 18:43:14: PID: 12789: legacy run server: Changing log level DEBUG -> WARNING
2025-07-19 18:43:14: at_reboot: Failed to stop dnsmasq.service: Unit dnsmasq.service not loaded.
2025-07-19 18:43:15: at_reboot: update broker...
2025-07-19 18:43:16: at_reboot: etprovider...
2025-07-19 18:43:16: at_reboot: not activated, skipping
2025-07-19 18:43:16: at_reboot: fix upload limit...OS Buster
2025-07-19 18:43:17: at_reboot: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
2025-07-19 18:43:17: at_reboot: 2025-07-19 18:43:17: boot done

Traceback (most recent call last):
File "/var/www/html/openWB/modules/soc_leaf/soc.py", line 4, in <module>
import pycarwings2
File "/var/www/html/openWB/modules/soc_leaf/pycarwings2.py", line 85
def encrypt_aes_password(password: str) -> str:
^
SyntaxError: invalid syntax
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (2.0.7) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (2.0.7) or chardet (3.0.4) doesn't match a supported version!
RequestsDependencyWarning)
Traceback (most recent call last):
File "/var/www/html/openWB/modules/soc_leaf/soc.py", line 4, in <module>
import pycarwings2
File "/var/www/html/openWB/modules/soc_leaf/pycarwings2.py", line 85
def encrypt_aes_password(password: str) -> str:
Die openwb.conf habe ich geprüft. Benutzername und Passwort für meinen Leaf sind enthalten.
Mit
pip install --upgrade urllib3
pip install --upgrade requests
konnte ich die RequestsDependencyWarning zum Verschwinden bringen. Das Problem mit
def encrypt_aes_password(password: str) -> str:
^
SyntaxError: invalid syntax
konnte ich noch nicht lösen. Hat jemand eine Idee?