In der Version 1.9.255 die von dir beschriebenen Ergänzung in Solarview.py eingtragen.
Code: Alles auswählen
2022-02-22 20:43:21: PID: 4233: 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 54, in request
response = s.recv(1024).decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0x95 in position 130: ordinal not in range(128)
2022-02-22 20:43:21: PID: 4244: Solarview Hostname: 127.0.0.1
2022-02-22 20:43:21: PID: 4244: Solarview Port: 15000
2022-02-22 20:43:21: PID: 4244: Solarview Timeout: 3
2022-02-22 20:43:21: PID: 4244: Error: request to SolarView failed. Details: return-code: 'ascii' codec can't decode byte 0x95 in position 130: ordinal not in range(128), host: 127.0.0.1, port: 15000, timeout: 3
2022-02-22 20:43:21: PID: 4233: RET: 1 (LV2) at 28 main modules/wr_solarview/main.sh
Not found2022-02-22 20:43:22: PID: 4116: 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-22 20:43:22: PID: 4116: lla1 0 llv1 0 llas11 llas21 mindestuberschuss 1400 abschaltuberschuss 5 lademodus 0 (LV1) at 1269 loadvars loadvars.sh
2022-02-22 20:43:22: PID: 4116: lla2 0 llv2 0 llas12 llas22 sofortll 16 hausverbrauch 400 wattbezug 400 uberschuss -400 (LV1) at 1270 loadvars loadvars.sh
2022-02-22 20:43:22: PID: 4116: lla3 0 llv3 0 llas13 llas23 soclp1 27 soclp2 (LV1) at 1271 loadvars loadvars.sh
2022-02-22 20:43:22: PID: 4116: EVU 1:V/A 2: V/A 3: V/A (LV1) at 1272 loadvars loadvars.sh
Sieht nicht so aus als ob das klappen würde
Zurück nach 1.9.244 sieht es besser aus:
Code: Alles auswählen
2022-02-22 20:50:47: starte sofort Ladeleistung von 16 aus (LV1) at 68 sofortlademodus sofortlademodus.sh
2022-02-22 20:50:52: **** Regulation loop start **** (LV1) at 50 main /var/www/html/openWB/regel.sh
[wr_solarview] Raw response: {00,22,02,2022,20,50,0003.2,00124,000197,00052224,00000,000,000.0,000,000.0,000,000.0,000,000.0,000,000.0,000,000.0,000,000.0,00},“
[wr_solarview] ID: 00
[wr_solarview] Zeitpunkt: 2022-02-22 20:50
[wr_solarview] Temperatur: 0 °C
[wr_solarview] Leistung: 0 W
[wr_solarview] Energie:
[wr_solarview] Tag: 3200 Wh
[wr_solarview] Monat: 124000 Wh
[wr_solarview] Jahr: 197000 Wh
[wr_solarview] Gesamt: 52224000 Wh
[wr_solarview] Generator-MPP-Tracker-1
[wr_solarview] Spannung: 0 V
[wr_solarview] Strom: 0.0 A
[wr_solarview] Generator-MPP-Tracker-2
[wr_solarview] Spannung: 0 V
[wr_solarview] Strom: 0.0 A
[wr_solarview] Generator-MPP-Tracker-3
[wr_solarview] Spannung: 0 V
[wr_solarview] Strom: 0.0 A
[wr_solarview] Generator-MPP-Tracker-4
[wr_solarview] Spannung: 0 V
[wr_solarview] Strom: 0.0 A
[wr_solarview] Netz:
[wr_solarview] Phase 1:
[wr_solarview] Spannung: 0 V
[wr_solarview] Strom: 0.0 A
[wr_solarview] Phase 2:
[wr_solarview] Spannung: 0 V
[wr_solarview] Strom: 0.0 A
[wr_solarview] Phase 3:
[wr_solarview] Spannung: 0 V
[wr_solarview] Strom: 0.0 A
2022-02-22 20:50:58: pv1watt 0 pv2watt pvwatt 0 ladeleistung 0 llalt 16 nachtladen 0 nachtladen 0 minimalA 16 maximalA 32 (LV1) at 1178 loadvars loadvars.sh
2022-02-22 20:50:58: lla1 0 llv1 0 llas11 llas21 mindestuberschuss 1400 abschaltuberschuss 5 lademodus 0 (LV1) at 1179 loadvars loadvars.sh
2022-02-22 20:50:58: lla2 0 llv2 0 llas12 llas22 sofortll 16 hausverbrauch 400 wattbezug 400 uberschuss -400 (LV1) at 1180 loadvars loadvars.sh
2022-02-22 20:50:58: lla3 0 llv3 0 llas13 llas23 soclp1 0 soclp2 (LV1) at 1181 loadvars loadvars.sh
2022-02-22 20:50:58: EVU 1:V/A 2: V/A 3: V/A (LV1) at 1182 loadvars loadvars.sh
2022-02-22 20:50:58: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1183 loadvars loadvars.sh
2022-02-22 20:50:58: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1184 loadvars loadvars.sh
2022-02-22 20:50:58: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1185 loadvars loadvars.sh
zumal in der 1.9.244 keine solarview.py Datei vorhanden ist