Code: Alles auswählen
pi@raspberrypi:~ $ /home/pi/scripts/ulanziconnect.py
True -> Solaranzeige verfügbar
True -> Ulanzi verfügbar
['solaranzeige', 'PV', 'Gesamtleistung']
4222.82
['solaranzeige', 'Batterie', 'SOC']
100
Traceback (most recent call last):
File "/home/pi/scripts/ulanziconnect.py", line 237, in <module>
loop()
File "/home/pi/scripts/ulanziconnect.py", line 141, in loop
url = ulanzi_url + "/api/custom?" + (WERT[1]) + "_" + (WERT[2])
NameError: name 'ulanzi_url' is not defined
pi@raspberrypi:~ $