SolarviewAnbindung funktioniert nicht

Fragen zur Nutzung, Features, usw..
michael.sp
Beiträge: 12
Registriert: So Feb 20, 2022 3:53 pm

SolarviewAnbindung funktioniert nicht

Beitrag von michael.sp »

Hallo zusammen,
ich versuche die Daten aus dem Solarview in die OpenWB Oberfläche zu bekommen.

Die Startdatei im Solarview sieht so aus:
Solarview.jpg
Die Modulkonfiguration in OpenWb sieht so aus:
openWB.jpg
Der Start von Solarview sieht so aus:
putty Solarview.jpg
OpenWB und Solarview laufen auf dem gleich RPI mit der IP 192.168.1.61
Unter 192.168.1.61:88 bekomme ich die Weboberfläche des Solarview

Wo liegt mein Fehler? Ist die IP Adresse des TCP-Servers richtig? 192.168.1.61 geht auch nicht,
und 192.168.1.61:88 lässt sich in OpenWB nicht eintragen.

Wer kann mir den entscheidenden Tip geben?

Gruß Michael
PV: 5,7 kWp WR: SMA5000TL-20 EVSE-Wifi OpenWB Kia e-Niro
derNeueDet
Beiträge: 4229
Registriert: Mi Nov 11, 2020 7:16 pm

Re: SolarviewAnbindung funktioniert nicht

Beitrag von derNeueDet »

Mach mal bitte auf dem Raspi per SSH

netstat-tlpn

Und Paste die Ausgabe hier rein als Code Block </>
10kWp PV mit SMA Tripower 10000TL-10 (PE11 mit SDM72V2); 2,4kWp mit Solis 2.5 G6 (EE11 mit SDM120). OpenWB Standard+. EVU EM540 an einem Raspi mit Venus OS. BEV Mercedes EQA 250 (07/2023)
michael.sp
Beiträge: 12
Registriert: So Feb 20, 2022 3:53 pm

Re: SolarviewAnbindung funktioniert nicht

Beitrag von michael.sp »

Das ist da Ergebni aus netstat -tlpn
netstat-tlpn.jpg
PV: 5,7 kWp WR: SMA5000TL-20 EVSE-Wifi OpenWB Kia e-Niro
derNeueDet
Beiträge: 4229
Registriert: Mi Nov 11, 2020 7:16 pm

Re: SolarviewAnbindung funktioniert nicht

Beitrag von derNeueDet »

Also das sieht soweit gut aus. Die Ports sind sauber gebunden.
Das Solarview Modul ist noch nicht in die neue Struktur übernommen, aber bereits ein Python3 Modul.

Stelle mal unter Einstellungen/System/Debugging auf 2 und warte ein paar Minuten.

Dann unter Status einen Ausschnitt aus dem Debug Log hier einfügen. Bitte einen Cide Block draus machen.

VG
Det
10kWp PV mit SMA Tripower 10000TL-10 (PE11 mit SDM72V2); 2,4kWp mit Solis 2.5 G6 (EE11 mit SDM120). OpenWB Standard+. EVU EM540 an einem Raspi mit Venus OS. BEV Mercedes EQA 250 (07/2023)
michael.sp
Beiträge: 12
Registriert: So Feb 20, 2022 3:53 pm

Re: SolarviewAnbindung funktioniert nicht

Beitrag von michael.sp »

Hier ein Auszug aus der Log-Datei:

Code: Alles auswählen

  
RequestsDependencyWarning)
2022-02-21 08:54:32: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-02-21 08:54:32: PV Hostname: 0.0.0.0.0 (LV2) at 19 main modules/wr_solarview/main.sh
2022-02-21 08:54:32: PV Port: 15000 (LV2) at 20 main modules/wr_solarview/main.sh
2022-02-21 08:54:32: PV Timeout: 3 (LV2) at 21 main modules/wr_solarview/main.sh
2022-02-21 08:54:32: PV Command: 00* (LV2) at 22 main modules/wr_solarview/main.sh
Traceback (most recent call last):
  File "/var/www/html/openWB/modules/wr_solarview/solarview.py", line 52, in request
    s.connect((solarview_hostname, solarview_port))
socket.gaierror: [Errno -2] Name or service not known
2022-02-21 08:54:32: PID: 24476: Solarview Hostname: 0.0.0.0.0
2022-02-21 08:54:32: PID: 24476: Solarview Port: 15000
2022-02-21 08:54:32: PID: 24476: Solarview Timeout: 3
2022-02-21 08:54:32: PID: 24476: Error: request to SolarView failed. Details: return-code: [Errno -2] Name or service not known, host: 0.0.0.0.0, port: 15000, timeout: 3
2022-02-21 08:54:32: RET: 1 (LV2) at 28 main modules/wr_solarview/main.sh
Not found2022-02-21 08:54:33: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 16 nachtladen 0 nachtladen 0 minimalA 16 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-21 08:54:33: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1400 abschaltuberschuss 5 lademodus 0 (LV1) at 1269 loadvars loadvars.sh
2022-02-21 08:54:33: lla2 0	llv2 0	llas12  llas22  sofortll 16 hausverbrauch 400 wattbezug 400 uberschuss -400 (LV1) at 1270 loadvars loadvars.sh
2022-02-21 08:54:33: lla3 0	llv3 0	llas13  llas23  soclp1 38 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-02-21 08:54:33: EVU 1:V/A 2: V/A 3: V/A (LV1) at 1272 loadvars loadvars.sh
2022-02-21 08:54:33: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-02-21 08:54:33: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-21 08:54:33: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-21 08:54:34: Zeit zum abfragen aller Werte 2 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 08:54:35: Sofort ladung bei minimal A 16 Ladeleistung zu gering (LV1) at 88 sofortlademodus sofortlademodus.sh
2022-02-21 08:54:35: **** Regulation loop needs 4 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 08:54:42: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-02-21 08:54:42: PV Hostname: 0.0.0.0.0 (LV2) at 19 main modules/wr_solarview/main.sh
2022-02-21 08:54:42: PV Port: 15000 (LV2) at 20 main modules/wr_solarview/main.sh
2022-02-21 08:54:42: PV Timeout: 3 (LV2) at 21 main modules/wr_solarview/main.sh
2022-02-21 08:54:42: PV Command: 00* (LV2) at 22 main modules/wr_solarview/main.sh
Traceback (most recent call last):
  File "/var/www/html/openWB/modules/wr_solarview/solarview.py", line 52, in request
    s.connect((solarview_hostname, solarview_port))
socket.gaierror: [Errno -2] Name or service not known
2022-02-21 08:54:42: PID: 25671: Solarview Hostname: 0.0.0.0.0
2022-02-21 08:54:42: PID: 25671: Solarview Port: 15000
2022-02-21 08:54:42: PID: 25671: Solarview Timeout: 3
2022-02-21 08:54:42: PID: 25671: Error: request to SolarView failed. Details: return-code: [Errno -2] Name or service not known, host: 0.0.0.0.0, port: 15000, timeout: 3
2022-02-21 08:54:42: RET: 1 (LV2) at 28 main modules/wr_solarview/main.sh
Not found2022-02-21 08:54:43: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 16 nachtladen 0 nachtladen 0 minimalA 16 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-21 08:54:43: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1400 abschaltuberschuss 5 lademodus 0 (LV1) at 1269 loadvars loadvars.sh
2022-02-21 08:54:43: lla2 0	llv2 0	llas12  llas22  sofortll 16 hausverbrauch 400 wattbezug 400 uberschuss -400 (LV1) at 1270 loadvars loadvars.sh
2022-02-21 08:54:43: lla3 0	llv3 0	llas13  llas23  soclp1 38 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-02-21 08:54:43: EVU 1:V/A 2: V/A 3: V/A (LV1) at 1272 loadvars loadvars.sh
2022-02-21 08:54:43: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-02-21 08:54:43: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-21 08:54:43: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-21 08:54:44: Zeit zum abfragen aller Werte 2 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 08:54:45: Sofort ladung bei minimal A 16 Ladeleistung zu gering (LV1) at 88 sofortlademodus sofortlademodus.sh
2022-02-21 08:54:45: **** Regulation loop needs 4 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 08:54:52: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-02-21 08:54:52: PV Hostname: 0.0.0.0.0 (LV2) at 19 main modules/wr_solarview/main.sh
2022-02-21 08:54:52: PV Port: 15000 (LV2) at 20 main modules/wr_solarview/main.sh
2022-02-21 08:54:52: PV Timeout: 3 (LV2) at 21 main modules/wr_solarview/main.sh
2022-02-21 08:54:52: PV Command: 00* (LV2) at 22 main modules/wr_solarview/main.sh
Traceback (most recent call last):
  File "/var/www/html/openWB/modules/wr_solarview/solarview.py", line 52, in request
    s.connect((solarview_hostname, solarview_port))
socket.gaierror: [Errno -2] Name or service not known
2022-02-21 08:54:52: PID: 26864: Solarview Hostname: 0.0.0.0.0
2022-02-21 08:54:52: PID: 26864: Solarview Port: 15000
2022-02-21 08:54:52: PID: 26864: Solarview Timeout: 3
2022-02-21 08:54:52: PID: 26864: Error: request to SolarView failed. Details: return-code: [Errno -2] Name or service not known, host: 0.0.0.0.0, port: 15000, timeout: 3
2022-02-21 08:54:52: RET: 1 (LV2) at 28 main modules/wr_solarview/main.sh
Not found2022-02-21 08:54:53: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 16 nachtladen 0 nachtladen 0 minimalA 16 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-21 08:54:53: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1400 abschaltuberschuss 5 lademodus 0 (LV1) at 1269 loadvars loadvars.sh
2022-02-21 08:54:53: lla2 0	llv2 0	llas12  llas22  sofortll 16 hausverbrauch 400 wattbezug 400 uberschuss -400 (LV1) at 1270 loadvars loadvars.sh
2022-02-21 08:54:53: lla3 0	llv3 0	llas13  llas23  soclp1 38 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-02-21 08:54:53: EVU 1:V/A 2: V/A 3: V/A (LV1) at 1272 loadvars loadvars.sh
2022-02-21 08:54:53: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-02-21 08:54:53: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-21 08:54:53: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-21 08:54:54: Zeit zum abfragen aller Werte 2 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 08:54:55: Sofort ladung bei minimal A 16 Ladeleistung zu gering (LV1) at 88 sofortlademodus sofortlademodus.sh
2022-02-21 08:54:55: **** Regulation loop needs 4 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 08:55:01: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-02-21 08:55:01: ##### cron5min.sh started ##### (LV0) at 23 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:02: daily csv updated: /var/www/html/openWB/web/logging/data/daily/20220221.csv (LV1) at 102 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:02: Netzschutz konfiguriert; aktuelle Frequenz: 0 (LV1) at 110 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:02: electricity provider not set up; skipping price update (LV2) at 161 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:02: updating daily yield stats (LV1) at 165 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:02: PV Hostname: 0.0.0.0.0 (LV2) at 19 main modules/wr_solarview/main.sh
2022-02-21 08:55:02: PV Port: 15000 (LV2) at 20 main modules/wr_solarview/main.sh
2022-02-21 08:55:02: PV Timeout: 3 (LV2) at 21 main modules/wr_solarview/main.sh
2022-02-21 08:55:02: PV Command: 00* (LV2) at 22 main modules/wr_solarview/main.sh
Traceback (most recent call last):
  File "/var/www/html/openWB/modules/wr_solarview/solarview.py", line 52, in request
    s.connect((solarview_hostname, solarview_port))
socket.gaierror: [Errno -2] Name or service not known
2022-02-21 08:55:02: PID: 28209: Solarview Hostname: 0.0.0.0.0
2022-02-21 08:55:02: PID: 28209: Solarview Port: 15000
2022-02-21 08:55:02: PID: 28209: Solarview Timeout: 3
2022-02-21 08:55:02: PID: 28209: Error: request to SolarView failed. Details: return-code: [Errno -2] Name or service not known, host: 0.0.0.0.0, port: 15000, timeout: 3
2022-02-21 08:55:02: RET: 1 (LV2) at 28 main modules/wr_solarview/main.sh
2022-02-21 08:55:02: current ip: 192.168.1.61 (LV1) at 295 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:02: mqtt handler is already running (LV1) at 300 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:02: legacy_run_server is already running (LV1) at 313 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:02: smarthome handler is already running (LV1) at 319 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:02: external openWB or daemon mode not configured; checking network setup (LV1) at 336 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:02: modbus tcp server already running (LV1) at 401 main /var/www/html/openWB/runs/cron5min.sh
Not found2022-02-21 08:55:03: starting evsecheck (LV1) at 419 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:03: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 16 nachtladen 0 nachtladen 0 minimalA 16 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-21 08:55:03: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1400 abschaltuberschuss 5 lademodus 0 (LV1) at 1269 loadvars loadvars.sh
2022-02-21 08:55:03: lla2 0	llv2 0	llas12  llas22  sofortll 16 hausverbrauch 400 wattbezug 400 uberschuss -400 (LV1) at 1270 loadvars loadvars.sh
2022-02-21 08:55:03: lla3 0	llv3 0	llas13  llas23  soclp1 38 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-02-21 08:55:03: EVU 1:V/A 2: V/A 3: V/A (LV1) at 1272 loadvars loadvars.sh
2022-02-21 08:55:03: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-02-21 08:55:03: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-21 08:55:03: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-21 08:55:03: logfile cleanup triggered (LV1) at 423 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:04: ##### cron5min.sh finished ##### (LV0) at 426 main /var/www/html/openWB/runs/cron5min.sh
2022-02-21 08:55:04: Zeit zum abfragen aller Werte 3 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
Gruß Michael
PV: 5,7 kWp WR: SMA5000TL-20 EVSE-Wifi OpenWB Kia e-Niro
derNeueDet
Beiträge: 4229
Registriert: Mi Nov 11, 2020 7:16 pm

Re: SolarviewAnbindung funktioniert nicht

Beitrag von derNeueDet »

host: 0.0.0.0.0

Macht mich stutzig. Hast du was verändert zu deinen Screenshots oben?

Also in der openWB PV Config sollte da entweder 127.0.0 1 oder die IP des Raspi stehen.

Ich kenne Solarview nicht, aber die Ports, die du angegeben hast, sind auch im Modul so zu finden, von daher scheint es nicht ganz falsch zu sein.

VG
Det
10kWp PV mit SMA Tripower 10000TL-10 (PE11 mit SDM72V2); 2,4kWp mit Solis 2.5 G6 (EE11 mit SDM120). OpenWB Standard+. EVU EM540 an einem Raspi mit Venus OS. BEV Mercedes EQA 250 (07/2023)
michael.sp
Beiträge: 12
Registriert: So Feb 20, 2022 3:53 pm

Re: SolarviewAnbindung funktioniert nicht

Beitrag von michael.sp »

Sorry, ja, ich hatte von 127.0.0.1 auf 0.0.0.0.0 gewechselt in der Hoffnung das es klappt.
Jetzt mit 127.0.0.1

Code: Alles auswählen

  File "/var/www/html/openWB/modules/wr_solarview/solarview.py", line 52, in request
    s.connect((solarview_hostname, solarview_port))
socket.gaierror: [Errno -2] Name or service not known
2022-02-21 09:30:42: PID: 27129: Solarview Hostname: 0.0.0.0.0
2022-02-21 09:30:42: PID: 27129: Solarview Port: 15000
2022-02-21 09:30:42: PID: 27129: Solarview Timeout: 3
2022-02-21 09:30:42: PID: 27129: Error: request to SolarView failed. Details: return-code: [Errno -2] Name or service not known, host: 0.0.0.0.0, port: 15000, timeout: 3
2022-02-21 09:30:42: RET: 1 (LV2) at 28 main modules/wr_solarview/main.sh
Not found2022-02-21 09:30:43: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 16 nachtladen 0 nachtladen 0 minimalA 16 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-21 09:30:43: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1400 abschaltuberschuss 5 lademodus 0 (LV1) at 1269 loadvars loadvars.sh
2022-02-21 09:30:43: lla2 0	llv2 0	llas12  llas22  sofortll 16 hausverbrauch 400 wattbezug 400 uberschuss -400 (LV1) at 1270 loadvars loadvars.sh
2022-02-21 09:30:43: lla3 0	llv3 0	llas13  llas23  soclp1 38 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-02-21 09:30:43: EVU 1:V/A 2: V/A 3: V/A (LV1) at 1272 loadvars loadvars.sh
2022-02-21 09:30:43: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-02-21 09:30:43: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-21 09:30:43: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-21 09:30:44: Zeit zum abfragen aller Werte 3 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 09:30:45: Sofort ladung bei minimal A 16 Ladeleistung zu gering (LV1) at 88 sofortlademodus sofortlademodus.sh
2022-02-21 09:30:45: **** Regulation loop needs 4 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 09:30:51: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-02-21 09:30:52: PV Hostname: 0.0.0.0.0 (LV2) at 19 main modules/wr_solarview/main.sh
2022-02-21 09:30:52: PV Port: 15000 (LV2) at 20 main modules/wr_solarview/main.sh
2022-02-21 09:30:52: PV Timeout: 3 (LV2) at 21 main modules/wr_solarview/main.sh
2022-02-21 09:30:52: PV Command: 00* (LV2) at 22 main modules/wr_solarview/main.sh
Traceback (most recent call last):
  File "/var/www/html/openWB/modules/wr_solarview/solarview.py", line 52, in request
    s.connect((solarview_hostname, solarview_port))
socket.gaierror: [Errno -2] Name or service not known
2022-02-21 09:30:52: PID: 28322: Solarview Hostname: 0.0.0.0.0
2022-02-21 09:30:52: PID: 28322: Solarview Port: 15000
2022-02-21 09:30:52: PID: 28322: Solarview Timeout: 3
2022-02-21 09:30:52: PID: 28322: Error: request to SolarView failed. Details: return-code: [Errno -2] Name or service not known, host: 0.0.0.0.0, port: 15000, timeout: 3
2022-02-21 09:30:52: RET: 1 (LV2) at 28 main modules/wr_solarview/main.sh
Not found2022-02-21 09:30:53: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 16 nachtladen 0 nachtladen 0 minimalA 16 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-21 09:30:53: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1400 abschaltuberschuss 5 lademodus 0 (LV1) at 1269 loadvars loadvars.sh
2022-02-21 09:30:53: lla2 0	llv2 0	llas12  llas22  sofortll 16 hausverbrauch 400 wattbezug 400 uberschuss -400 (LV1) at 1270 loadvars loadvars.sh
2022-02-21 09:30:53: lla3 0	llv3 0	llas13  llas23  soclp1 38 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-02-21 09:30:53: EVU 1:V/A 2: V/A 3: V/A (LV1) at 1272 loadvars loadvars.sh
2022-02-21 09:30:53: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-02-21 09:30:53: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-21 09:30:53: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-21 09:30:54: Zeit zum abfragen aller Werte 3 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 09:30:55: Sofort ladung bei minimal A 16 Ladeleistung zu gering (LV1) at 88 sofortlademodus sofortlademodus.sh
2022-02-21 09:30:55: **** Regulation loop needs 4 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 09:31:01: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-02-21 09:31:01: PV Hostname: 127.0.0.1 (LV2) at 19 main modules/wr_solarview/main.sh
2022-02-21 09:31:01: PV Port: 15000 (LV2) at 20 main modules/wr_solarview/main.sh
2022-02-21 09:31:01: PV Timeout: 3 (LV2) at 21 main modules/wr_solarview/main.sh
2022-02-21 09:31:01: PV Command: 00* (LV2) at 22 main modules/wr_solarview/main.sh
Traceback (most recent call last):
  File "/var/www/html/openWB/modules/wr_solarview/solarview.py", line 53, in request
    s.sendall(command)
TypeError: a bytes-like object is required, not 'str'
2022-02-21 09:31:01: PID: 29536: Solarview Hostname: 127.0.0.1
2022-02-21 09:31:01: PID: 29536: Solarview Port: 15000
2022-02-21 09:31:01: PID: 29536: Solarview Timeout: 3
2022-02-21 09:31:01: PID: 29536: Error: request to SolarView failed. Details: return-code: a bytes-like object is required, not 'str', host: 127.0.0.1, port: 15000, timeout: 3
2022-02-21 09:31:01: RET: 1 (LV2) at 28 main modules/wr_solarview/main.sh
Not found2022-02-21 09:31:02: pv1watt 0 pv2watt  pvwatt 0 ladeleistung 0 llalt 16 nachtladen 0 nachtladen 0 minimalA 16 maximalA 32 (LV1) at 1268 loadvars loadvars.sh
2022-02-21 09:31:02: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1400 abschaltuberschuss 5 lademodus 0 (LV1) at 1269 loadvars loadvars.sh
2022-02-21 09:31:02: lla2 0	llv2 0	llas12  llas22  sofortll 16 hausverbrauch 400 wattbezug 400 uberschuss -400 (LV1) at 1270 loadvars loadvars.sh
2022-02-21 09:31:02: lla3 0	llv3 0	llas13  llas23  soclp1 38 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-02-21 09:31:02: EVU 1:V/A 2: V/A 3: V/A (LV1) at 1272 loadvars loadvars.sh
2022-02-21 09:31:02: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-02-21 09:31:02: plugstatlp1 0	plugstatlp2 0	plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-21 09:31:02: chargestatlp1 0	chargestatlp2 0	chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-21 09:31:03: Zeit zum abfragen aller Werte 2 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 09:31:04: Sofort ladung bei minimal A 16 Ladeleistung zu gering (LV1) at 88 sofortlademodus sofortlademodus.sh
2022-02-21 09:31:04: **** Regulation loop needs 3 seconds (LV2) at 55 cleanup /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
  RequestsDependencyWarning)
2022-02-21 09:31:11: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-02-21 09:31:11: PV Hostname: 127.0.0.1 (LV2) at 19 main modules/wr_solarview/main.sh
2022-02-21 09:31:11: PV Port: 15000 (LV2) at 20 main modules/wr_solarview/main.sh
2022-02-21 09:31:11: PV Timeout: 3 (LV2) at 21 main modules/wr_solarview/main.sh
2022-02-21 09:31:11: PV Command: 00* (LV2) at 22 main modules/wr_solarview/main.sh
Traceback (most recent call last):
  File "/var/www/html/openWB/modules/wr_solarview/solarview.py", line 53, in request
    s.sendall(command)
TypeError: a bytes-like object is required, not 'str'
2022-02-21 09:31:11: PID: 30728: Solarview Hostname: 127.0.0.1
2022-02-21 09:31:11: PID: 30728: Solarview Port: 15000
2022-02-21 09:31:11: PID: 30728: Solarview Timeout: 3
2022-02-21 09:31:11: PID: 30728: Error: request to SolarView failed. Details: return-code: a bytes-like object is required, not 'str', host: 127.0.0.1, port: 15000, timeout: 3
2022-02-21 09:31:11: RET: 1 (LV2) at 28 main modules/wr_solarview/main.sh
Hat das eventuell damit zu tun?

Code: Alles auswählen

2022-02-21 09:30:44: Zeit zum abfragen aller Werte 3 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
/usr/lib/python3/dist-packages/requests/__init__.py:91: RequestsDependencyWarning: urllib3 (1.26.8) or chardet (3.0.4) doesn't match a supported version!
PV: 5,7 kWp WR: SMA5000TL-20 EVSE-Wifi OpenWB Kia e-Niro
derNeueDet
Beiträge: 4229
Registriert: Mi Nov 11, 2020 7:16 pm

Re: SolarviewAnbindung funktioniert nicht

Beitrag von derNeueDet »

Welche Version Raspbian hast du installiert?
Buster oder Bullseye? Bullseye wird in der openWB Version 1.9 nicht unterstützt!!!

VG
Det
10kWp PV mit SMA Tripower 10000TL-10 (PE11 mit SDM72V2); 2,4kWp mit Solis 2.5 G6 (EE11 mit SDM120). OpenWB Standard+. EVU EM540 an einem Raspi mit Venus OS. BEV Mercedes EQA 250 (07/2023)
michael.sp
Beiträge: 12
Registriert: So Feb 20, 2022 3:53 pm

Re: SolarviewAnbindung funktioniert nicht

Beitrag von michael.sp »

Installiert ist Buster

Gruß
Michael
PV: 5,7 kWp WR: SMA5000TL-20 EVSE-Wifi OpenWB Kia e-Niro
derNeueDet
Beiträge: 4229
Registriert: Mi Nov 11, 2020 7:16 pm

Re: SolarviewAnbindung funktioniert nicht

Beitrag von derNeueDet »

Hast du nach der Installation einen Update gemacht?

Also

Code: Alles auswählen

sudo apt-get update
sudo apt-get upgrade


Kommen Meldungen, wenn du das jetzt machst? Welche?

Ausserdem bitte

Code: Alles auswählen

sudo pip3 install --upgrade requests
machen.

VG
Det
10kWp PV mit SMA Tripower 10000TL-10 (PE11 mit SDM72V2); 2,4kWp mit Solis 2.5 G6 (EE11 mit SDM120). OpenWB Standard+. EVU EM540 an einem Raspi mit Venus OS. BEV Mercedes EQA 250 (07/2023)
Antworten