Seite 2 von 4

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Verfasst: Do Dez 30, 2021 9:40 am
von mempfh
Jetzt noch das debuglog:

Code: Alles auswählen

AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 10:39:11: **** Regulation loop needs 0 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:39:11: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2021-12-30 10:39:11: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-30 10:39:11: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-30 10:39:10: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 10:39:10: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 10:39:10: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 10:39:10: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 10:39:10: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 10:39:10: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 374 wattbezug 232 uberschuss -232 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 10:39:10: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 10:39:10: pv1watt -69 pv2watt -73 pvwatt -142 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 10:39:10: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 10:39:10: PID: 2951: root: EVU Einspeisung: 31153167
2021-12-30 10:39:10: PID: 2951: root: EVU Bezug: 5006846
2021-12-30 10:39:10: PID: 2951: root: EVU Watt: 232.37
2021-12-30 10:39:10: PID: 2951: root: Fronius SM Leistung[W]: 232.37
2021-12-30 10:39:10: PID: 2951: root: Einbauort: MeterLocation.grid
2021-12-30 10:39:10: PID: 2951: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2209
2021-12-30 10:39:09: PID: 2951: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 10:39:09: PID: 2951: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 10:39:09: PID: 2951: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75b8ced0>}
2021-12-30 10:39:09: PID: 2951: root: Fronius IP-Adresse: 192.168.2.180
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 10:39:02: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 10:39:01: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:52: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:52: **** FATAL Regulation loop needs 11 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:52: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:52: **** Regulation loop needs 1 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:52: Überschuss -179; mindestens 1700 (LV1) at 104 nurpvlademodus nurpv.sh
2021-12-30 10:38:52: uberschuss -179 wattbezug 179 ladestatus 0 llsoll 0 pvwatt -161 mindestuberschussphasen 1700 wattkombiniert -179 schaltschwelle 230 (LV2) at 578 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:52: anzahlphasen 1 (LV1) at 577 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:51: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:51: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-30 10:38:51: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-30 10:38:50: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 10:38:50: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 10:38:50: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 10:38:50: EVU 1:V/0A 2: V/0A 3: V/-0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 10:38:50: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 10:38:50: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 340 wattbezug 179 uberschuss -179 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 10:38:50: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 10:38:50: pv1watt -79 pv2watt -82 pvwatt -161 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 10:38:50: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 10:38:50: PID: 1592: root: EVU Einspeisung: 31153167
2021-12-30 10:38:50: PID: 1592: root: EVU Bezug: 5006845
2021-12-30 10:38:50: PID: 1592: root: EVU Watt: 179.89
2021-12-30 10:38:50: PID: 1592: root: Fronius SM Leistung[W]: 179.89
2021-12-30 10:38:50: PID: 1592: root: Einbauort: MeterLocation.grid
2021-12-30 10:38:50: PID: 1592: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2254
2021-12-30 10:38:50: PID: 1592: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 10:38:50: PID: 1592: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 10:38:50: PID: 1592: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75ba5ed0>}
2021-12-30 10:38:50: PID: 1592: root: Fronius IP-Adresse: 192.168.2.180
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 10:38:42: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 10:38:41: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:32: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:32: **** FATAL Regulation loop needs 11 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:32: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:32: Überschuss -236; mindestens 1700 (LV1) at 104 nurpvlademodus nurpv.sh
2021-12-30 10:38:32: uberschuss -236 wattbezug 236 ladestatus 0 llsoll 0 pvwatt -177 mindestuberschussphasen 1700 wattkombiniert -236 schaltschwelle 230 (LV2) at 578 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:32: anzahlphasen 1 (LV1) at 577 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:32: **** Regulation loop needs 1 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:31: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:31: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-30 10:38:31: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-30 10:38:30: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 10:38:30: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 10:38:30: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 10:38:30: EVU 1:V/0A 2: V/0A 3: V/-0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 10:38:30: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 10:38:30: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 413 wattbezug 236 uberschuss -236 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 10:38:30: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 10:38:30: pv1watt -86 pv2watt -91 pvwatt -177 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 10:38:30: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 10:38:30: PID: 32738: root: EVU Einspeisung: 31153167
2021-12-30 10:38:30: PID: 32738: root: EVU Bezug: 5006844
2021-12-30 10:38:30: PID: 32738: root: EVU Watt: 236.45
2021-12-30 10:38:30: PID: 32738: root: Fronius SM Leistung[W]: 236.45
2021-12-30 10:38:30: PID: 32738: root: Einbauort: MeterLocation.grid
2021-12-30 10:38:30: PID: 32738: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2251
2021-12-30 10:38:30: PID: 32738: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 10:38:30: PID: 32738: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 10:38:30: PID: 32738: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75b9bed0>}
2021-12-30 10:38:30: PID: 32738: root: Fronius IP-Adresse: 192.168.2.180
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 10:38:22: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 10:38:21: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:12: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:12: **** FATAL Regulation loop needs 11 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:12: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:12: Überschuss -213; mindestens 1700 (LV1) at 104 nurpvlademodus nurpv.sh
2021-12-30 10:38:12: uberschuss -213 wattbezug 213 ladestatus 0 llsoll 0 pvwatt -191 mindestuberschussphasen 1700 wattkombiniert -213 schaltschwelle 230 (LV2) at 578 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:12: anzahlphasen 1 (LV1) at 577 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:12: **** Regulation loop needs 1 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:38:11: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2021-12-30 10:38:11: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-30 10:38:11: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-30 10:38:10: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 10:38:10: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 10:38:10: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 10:38:10: EVU 1:V/0A 2: V/0A 3: V/-0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 10:38:10: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 10:38:10: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 404 wattbezug 213 uberschuss -213 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 10:38:10: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 10:38:10: pv1watt -94 pv2watt -97 pvwatt -191 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 10:38:10: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 10:38:10: PID: 31489: root: EVU Einspeisung: 31153167
2021-12-30 10:38:10: PID: 31489: root: EVU Bezug: 5006843
2021-12-30 10:38:10: PID: 31489: root: EVU Watt: 213.5
2021-12-30 10:38:10: PID: 31489: root: Fronius SM Leistung[W]: 213.5
2021-12-30 10:38:10: PID: 31489: root: Einbauort: MeterLocation.grid
2021-12-30 10:38:10: PID: 31489: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2264
2021-12-30 10:38:10: PID: 31489: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 10:38:10: PID: 31489: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 10:38:10: PID: 31489: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75bd8ed0>}
2021-12-30 10:38:10: PID: 31489: root: Fronius IP-Adresse: 192.168.2.180
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 10:38:02: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 10:38:01: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2021-12-30 10:37:52: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:37:52: **** FATAL Regulation loop needs 11 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:37:52: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:37:52: Überschuss -190; mindestens 1700 (LV1) at 104 nurpvlademodus nurpv.sh
2021-12-30 10:37:52: uberschuss -190 wattbezug 190 ladestatus 0 llsoll 0 pvwatt -198 mindestuberschussphasen 1700 wattkombiniert -190 schaltschwelle 230 (LV2) at 578 main /var/www/html/openWB/regel.sh
2021-12-30 10:37:52: anzahlphasen 1 (LV1) at 577 main /var/www/html/openWB/regel.sh
2021-12-30 10:37:52: **** Regulation loop needs 1 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:37:52: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2021-12-30 10:37:51: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-30 10:37:51: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-30 10:37:51: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 10:37:51: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 10:37:51: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 10:37:51: EVU 1:V/0A 2: V/0A 3: V/-0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 10:37:51: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 10:37:51: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 388 wattbezug 190 uberschuss -190 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 10:37:51: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 10:37:51: pv1watt -100 pv2watt -98 pvwatt -198 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 10:37:51: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 10:37:50: PID: 30204: root: EVU Einspeisung: 31153167
2021-12-30 10:37:50: PID: 30204: root: EVU Bezug: 5006842
2021-12-30 10:37:50: PID: 30204: root: EVU Watt: 190.11
2021-12-30 10:37:50: PID: 30204: root: Fronius SM Leistung[W]: 190.11
2021-12-30 10:37:50: PID: 30204: root: Einbauort: MeterLocation.grid
2021-12-30 10:37:50: PID: 30204: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2262
2021-12-30 10:37:50: PID: 30204: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 10:37:50: PID: 30204: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 10:37:50: PID: 30204: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75bbded0>}
2021-12-30 10:37:50: PID: 30204: root: Fronius IP-Adresse: 192.168.2.180
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 10:37:42: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 10:37:42: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2021-12-30 10:37:32: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:37:32: **** FATAL Regulation loop needs 11 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:37:32: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2021-12-30 10:37:32: Überschuss -174; mindestens 1700 (LV1) at 104 nurpvlademodus nurpv.sh
2021-12-30 10:37:32: uberschuss -174 wattbezug 174 ladestatus 0 llsoll 0 pvwatt -209 mindestuberschussphasen 1700 wattkombiniert -174 schaltschwelle 230 (LV2) at 578 main /var/www/html/openWB/regel.sh
2021-12-30 10:37:32: anzahlphasen 1 (LV1) at 577 main /var/www/html/openWB/regel.sh
2021-12-30 10:37:32: **** Regulation loop needs 1 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Verfasst: Do Dez 30, 2021 10:36 am
von vuffiraa
Mist, wenn man nicht alles direkt testet. Da hätte eigentlich alles stimmen müssen...

Also PR #1867 wird hoffentlich schnell übernommen.
Der WR2 wurde einfach an die falsche Stelle der Konfiguration geschrieben und hatte damit keine Auswirkungen zur Laufzeit :(

VG

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Verfasst: Do Dez 30, 2021 12:07 pm
von mempfh
Spitzte, jetzt klappts !

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Verfasst: Do Dez 30, 2021 7:14 pm
von mempfh
So jetzt gibts leider noch ein Problem wenn die WR schlafen gehen.

Ich habe hier saldierende PV Erträge
Screenshot 2021-12-30 200946.png
Debug Stufe 2:

Code: Alles auswählen

2021-12-30 20:12:04: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 20:12:04: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 20:12:04: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 20:12:04: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 20:12:04: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 20:12:04: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 1474 wattbezug 510 uberschuss -510 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 20:12:04: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 20:12:04: pv1watt -963 pv2watt -1 pvwatt -964 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 20:12:03: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 20:12:03: PID: 5752: root: EVU Einspeisung: 31154629
2021-12-30 20:12:03: PID: 5752: root: EVU Bezug: 5011447
2021-12-30 20:12:03: PID: 5752: root: EVU Watt: 510.24
2021-12-30 20:12:03: PID: 5752: root: Fronius SM Leistung[W]: 510.24
2021-12-30 20:12:03: PID: 5752: root: Einbauort: MeterLocation.grid
2021-12-30 20:12:03: PID: 5752: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2246
2021-12-30 20:12:03: PID: 5752: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 20:12:03: PID: 5752: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 20:12:03: PID: 5752: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75c1eed0>}
2021-12-30 20:12:03: PID: 5752: root: Fronius IP-Adresse: 192.168.2.180
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 20:12:02: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 20:12:01: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
2021-12-30 20:11:55: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:55: **** FATAL Regulation loop needs 14 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:55: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:54: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-30 20:11:54: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-30 20:11:54: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 20:11:54: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 20:11:54: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 20:11:54: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 20:11:54: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 20:11:54: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 1475 wattbezug 512 uberschuss -512 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 20:11:54: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 20:11:54: pv1watt -962 pv2watt -1 pvwatt -963 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 20:11:53: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 20:11:53: PID: 4552: root: EVU Einspeisung: 31154629
2021-12-30 20:11:53: PID: 4552: root: EVU Bezug: 5011446
2021-12-30 20:11:53: PID: 4552: root: EVU Watt: 512.68
2021-12-30 20:11:53: PID: 4552: root: Fronius SM Leistung[W]: 512.68
2021-12-30 20:11:53: PID: 4552: root: Einbauort: MeterLocation.grid
2021-12-30 20:11:53: PID: 4552: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2275
2021-12-30 20:11:53: PID: 4552: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 20:11:53: PID: 4552: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 20:11:53: PID: 4552: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75c40ed0>}
2021-12-30 20:11:53: PID: 4552: root: Fronius IP-Adresse: 192.168.2.180
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 20:11:51: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 20:11:51: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
2021-12-30 20:11:45: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:45: **** FATAL Regulation loop needs 14 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:45: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:45: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-30 20:11:45: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-30 20:11:44: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 20:11:44: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 20:11:44: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 20:11:44: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 20:11:44: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 20:11:44: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 1471 wattbezug 509 uberschuss -509 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 20:11:44: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 20:11:44: pv1watt -961 pv2watt -1 pvwatt -962 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 20:11:44: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 20:11:43: PID: 3343: root: EVU Einspeisung: 31154629
2021-12-30 20:11:43: PID: 3343: root: EVU Bezug: 5011444
2021-12-30 20:11:43: PID: 3343: root: EVU Watt: 509.64
2021-12-30 20:11:43: PID: 3343: root: Fronius SM Leistung[W]: 509.64
2021-12-30 20:11:43: PID: 3343: root: Einbauort: MeterLocation.grid
2021-12-30 20:11:43: PID: 3343: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2285
2021-12-30 20:11:43: PID: 3343: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 20:11:43: PID: 3343: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 20:11:43: PID: 3343: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75b61ed0>}
2021-12-30 20:11:43: PID: 3343: root: Fronius IP-Adresse: 192.168.2.180
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 20:11:41: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 20:11:41: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
2021-12-30 20:11:35: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:35: **** FATAL Regulation loop needs 14 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:35: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:35: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-30 20:11:35: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-30 20:11:34: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 20:11:34: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 20:11:34: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 20:11:34: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 20:11:34: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 20:11:34: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 1473 wattbezug 512 uberschuss -512 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 20:11:34: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 20:11:34: pv1watt -960 pv2watt -1 pvwatt -961 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 20:11:34: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 20:11:33: PID: 2113: root: EVU Einspeisung: 31154629
2021-12-30 20:11:33: PID: 2113: root: EVU Bezug: 5011443
2021-12-30 20:11:33: PID: 2113: root: EVU Watt: 512.11
2021-12-30 20:11:33: PID: 2113: root: Fronius SM Leistung[W]: 512.11
2021-12-30 20:11:33: PID: 2113: root: Einbauort: MeterLocation.grid
2021-12-30 20:11:33: PID: 2113: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2250
2021-12-30 20:11:33: PID: 2113: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 20:11:33: PID: 2113: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 20:11:33: PID: 2113: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75bf2ed0>}
2021-12-30 20:11:33: PID: 2113: root: Fronius IP-Adresse: 192.168.2.180
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 20:11:31: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 20:11:31: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
2021-12-30 20:11:25: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:25: **** FATAL Regulation loop needs 14 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:25: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:25: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-30 20:11:25: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-30 20:11:24: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 20:11:24: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 20:11:24: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 20:11:24: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 20:11:24: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 20:11:24: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 1469 wattbezug 509 uberschuss -509 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 20:11:24: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 20:11:24: pv1watt -959 pv2watt -1 pvwatt -960 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 20:11:24: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 20:11:23: PID: 856: root: EVU Einspeisung: 31154629
2021-12-30 20:11:23: PID: 856: root: EVU Bezug: 5011441
2021-12-30 20:11:23: PID: 856: root: EVU Watt: 509.21
2021-12-30 20:11:23: PID: 856: root: Fronius SM Leistung[W]: 509.21
2021-12-30 20:11:23: PID: 856: root: Einbauort: MeterLocation.grid
2021-12-30 20:11:23: PID: 856: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2223
2021-12-30 20:11:23: PID: 856: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 20:11:23: PID: 856: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 20:11:23: PID: 856: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75c32ed0>}
2021-12-30 20:11:23: PID: 856: root: Fronius IP-Adresse: 192.168.2.180
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 20:11:21: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 20:11:21: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
2021-12-30 20:11:15: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:15: **** FATAL Regulation loop needs 14 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:15: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:15: Überschuss -504; mindestens 1700 (LV1) at 104 nurpvlademodus nurpv.sh
2021-12-30 20:11:15: uberschuss -504 wattbezug 504 ladestatus 0 llsoll 0 pvwatt -959 mindestuberschussphasen 1700 wattkombiniert -504 schaltschwelle 230 (LV2) at 578 main /var/www/html/openWB/regel.sh
2021-12-30 20:11:15: anzahlphasen 1 (LV1) at 577 main /var/www/html/openWB/regel.sh
2021-12-30 20:11:15: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-30 20:11:15: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-30 20:11:14: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 20:11:14: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 20:11:14: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 20:11:14: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 20:11:14: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 20:11:14: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 1463 wattbezug 504 uberschuss -504 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 20:11:14: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 20:11:14: pv1watt -958 pv2watt -1 pvwatt -959 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 20:11:14: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 20:11:13: PID: 32029: root: EVU Einspeisung: 31154629
2021-12-30 20:11:13: PID: 32029: root: EVU Bezug: 5011440
2021-12-30 20:11:13: PID: 32029: root: EVU Watt: 504.76
2021-12-30 20:11:13: PID: 32029: root: Fronius SM Leistung[W]: 504.76
2021-12-30 20:11:13: PID: 32029: root: Einbauort: MeterLocation.grid
2021-12-30 20:11:13: PID: 32029: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2263
2021-12-30 20:11:13: PID: 32029: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 20:11:13: PID: 32029: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 20:11:13: PID: 32029: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75bafed0>}
2021-12-30 20:11:13: PID: 32029: root: Fronius IP-Adresse: 192.168.2.180
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 20:11:12: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
2021-12-30 20:11:11: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
2021-12-30 20:11:06: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:06: **** FATAL Regulation loop needs 15 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:06: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2021-12-30 20:11:05: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2021-12-30 20:11:05: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2021-12-30 20:11:04: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2021-12-30 20:11:04: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2021-12-30 20:11:04: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2021-12-30 20:11:04: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2021-12-30 20:11:04: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2021-12-30 20:11:04: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 1461 wattbezug 503 uberschuss -503 (LV1) at 1279 loadvars loadvars.sh
2021-12-30 20:11:04: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2021-12-30 20:11:04: pv1watt -957 pv2watt -1 pvwatt -958 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2021-12-30 20:11:04: RET: 0 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2021-12-30 20:11:04: PID: 30920: root: EVU Einspeisung: 31154629
2021-12-30 20:11:04: PID: 30920: root: EVU Bezug: 5011439
2021-12-30 20:11:04: PID: 30920: root: EVU Watt: 503.92
2021-12-30 20:11:04: PID: 30920: root: Fronius SM Leistung[W]: 503.92
2021-12-30 20:11:04: PID: 30920: root: Einbauort: MeterLocation.grid
2021-12-30 20:11:04: PID: 30920: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2262
2021-12-30 20:11:04: PID: 30920: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 20:11:04: PID: 30920: root: Komponente Fronius SM Zähler auslesen.
2021-12-30 20:11:04: PID: 30920: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x75bfeed0>}
2021-12-30 20:11:04: PID: 30920: root: Fronius IP-Adresse: 192.168.2.180
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-30 20:11:01: Modbus EVSE read CP1 issue - using previous state '' (LV0) at 121 loadvars loadvars.sh
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
PV Log

Code: Alles auswählen

2021-12-30 20:13:04: PID: 13237: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.182
2021-12-30 20:13:04: PID: 13237: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 923
2021-12-30 20:13:04: PID: 13237: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 20:13:04: PID: 13237: root: Komponente Fronius Wechselrichter auslesen.
2021-12-30 20:13:04: PID: 13237: root: Start device reading {'component1': <modules.fronius.inverter.FroniusInverter object at 0x75b95ed0>}
2021-12-30 20:13:04: PID: 13237: root: Fronius IP-Adresse: 192.168.2.180
2021-12-30 20:13:02: WR IP2: 192.168.2.182 (LV2) at 20 main modules/wr_fronius/main.sh
2021-12-30 20:13:02: WR Gen 24: 0 (LV2) at 19 main modules/wr_fronius/main.sh
2021-12-30 20:13:02: WR IP: 192.168.2.180 (LV2) at 18 main modules/wr_fronius/main.sh
2021-12-30 20:13:01: RET: 0 (LV2) at 29 main modules/wr2_json/main.sh

TypeError: float() argument must be a string or a number, not 'NoneType'
    power = float(jq.compile(config["jq_power"]).input(response).first())
  File "/var/www/html/openWB/packages/modules/json/inverter.py", line 37, in update
    self._components[component].update(response)
  File "/var/www/html/openWB/packages/modules/json/device.py", line 65, in update
Traceback (most recent call last):
2021-12-30 20:13:01: PID: 13017: root: Json Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> float() argument must be a string or a number, not 'NoneType', Traceback: 
2021-12-30 20:13:00: PID: 13017: root: Komponente Json Wechselrichter auslesen.

}
   }
      "Timestamp" : "2021-12-30T20:13:00+01:00"
      },
         "UserMessage" : ""
         "Reason" : "",
         "Code" : 0,
      "Status" : {
      "RequestArguments" : {},
   "Head" : {
   },
      }
         "Version" : "12"
         },
            "rel_SelfConsumption" : null
            "rel_Autonomy" : null,
            "P_PV" : null,
            "P_Load" : null,
            "P_Grid" : null,
            "P_Akku" : null,
            "Mode" : "produce-only",
            "Meter_Location" : "unknown",
            "E_Year" : 10756291,
            "E_Total" : 3373.1305555555555,
            "E_Day" : 1474.2000732421875,
         "Site" : {
         },
            }
               "P" : 0
               "E_Year" : 10756291,
               "E_Total" : 3373.130615234375,
               "E_Day" : 1474.2000732421875,
               "DT" : 232,
            "1" : {
         "Inverters" : {
      "Data" : {
   "Body" : {
2021-12-30 20:13:00: PID: 13017: root: Antwort auf http://192.168.2.181/solar_api/v1/GetPowerFlowRealtimeData.fcgi: {
2021-12-30 20:13:00: PID: 13017: requests.packages.urllib3.connectionpool: http://192.168.2.181:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi HTTP/1.1" 200 942
2021-12-30 20:13:00: PID: 13017: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.181
2021-12-30 20:13:00: PID: 13017: root: Start device reading {'component2': <modules.json.inverter.JsonInverter object at 0x76a1a150>}
2021-12-30 20:13:00: PID: 13017: root: Json Konfiguration: {'jq_counter': '.Body.Data.Site.E_Total', 'jq_power': '.Body.Data.Site.P_PV'}
2021-12-30 20:12:58: PV kWh : .Body.Data.Site.E_Total (LV2) at 24 main modules/wr2_json/main.sh
2021-12-30 20:12:58: PV Watt: .Body.Data.Site.P_PV (LV2) at 23 main modules/wr2_json/main.sh
2021-12-30 20:12:58: PV URL : http://192.168.2.181/solar_api/v1/GetPowerFlowRealtimeData.fcgi (LV2) at 22 main modules/wr2_json/main.sh
2021-12-30 20:12:58: RET: 0 (LV2) at 25 main modules/wr_fronius/main.sh
AttributeError: 'PreparedRequest' object has no attribute 'host'
    return "Die Verbindung zum Server {} ist fehlgeschlagen. Überprüfe Adresse und Netzwerk.".format(e.request.host)
  File "/var/www/html/openWB/packages/helpermodules/exceptions/requests.py", line 8, in handle_connection_error
    result = entry.handler(exception)
  File "/var/www/html/openWB/packages/helpermodules/exceptions/registry.py", line 31, in translate_exception
    return exceptions.get_default_exception_registry().translate_exception(exception)
  File "/var/www/html/openWB/packages/modules/common/fault_state.py", line 80, in from_exception
    fault_state = FaultState.from_exception(exception)
  File "/var/www/html/openWB/packages/modules/common/component_context.py", line 41, in __exit__
    self._components[component].update(self.bat_configured)
  File "/var/www/html/openWB/packages/modules/fronius/device.py", line 96, in update
    dev.update()
  File "/var/www/html/openWB/packages/modules/fronius/device.py", line 147, in read_legacy
    parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
  File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
    args.RUN(args)
  File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 33, in run_using_positional_cli_args
    run_using_positional_cli_args(read_legacy)
  File "/var/www/html/openWB/packages/modules/fronius/device.py", line 152, in <module>
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

requests.exceptions.ConnectTimeout: HTTPConnectionPool(host='192.168.2.182', port=80): Max retries exceeded with url: /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x75bede70>, 'Connection to 192.168.2.182 timed out. (connect timeout=3)'))
    raise ConnectTimeout(e, request=request)
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 479, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 609, in send
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python3/dist-packages/requests/sessions.py", line 488, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 56, in request
    return request('get', url, params=params, **kwargs)
  File "/usr/lib/python3/dist-packages/requests/api.py", line 70, in get
    params=params, timeout=3)
  File "/var/www/html/openWB/packages/modules/fronius/inverter.py", line 90, in __get_wr2
    power2, counter2 = self.__get_wr2()
  File "/var/www/html/openWB/packages/modules/fronius/inverter.py", line 57, in update
    power_inverter = self._components[component].update(self.bat_configured)
  File "/var/www/html/openWB/packages/modules/fronius/device.py", line 68, in update
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

requests.packages.urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='192.168.2.182', port=80): Max retries exceeded with url: /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System (Caused by ConnectTimeoutError(<requests.packages.urllib3.connection.HTTPConnection object at 0x75bede70>, 'Connection to 192.168.2.182 timed out. (connect timeout=3)'))
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
  File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 363, in increment
    _stacktrace=sys.exc_info()[2])
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 643, in urlopen
    timeout=timeout
  File "/usr/lib/python3/dist-packages/requests/adapters.py", line 423, in send
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

requests.packages.urllib3.exceptions.ConnectTimeoutError: (<requests.packages.urllib3.connection.HTTPConnection object at 0x75bede70>, 'Connection to 192.168.2.182 timed out. (connect timeout=3)')
    (self.host, self.timeout))
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 143, in _new_conn
    conn = self._new_conn()
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 163, in connect
    self.connect()
  File "/usr/lib/python3.5/http/client.py", line 877, in send
    self.send(msg)
  File "/usr/lib/python3.5/http/client.py", line 934, in _send_output
    self._send_output(message_body)
  File "/usr/lib/python3.5/http/client.py", line 1103, in endheaders
    self.endheaders(body)
  File "/usr/lib/python3.5/http/client.py", line 1152, in _send_request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python3.5/http/client.py", line 1107, in request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 361, in _make_request
    chunked=chunked)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 594, in urlopen
Traceback (most recent call last):

During handling of the above exception, another exception occurred:

socket.timeout: timed out
    sock.connect(sa)
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 88, in create_connection
    raise err
  File "/usr/lib/python3/dist-packages/urllib3/util/connection.py", line 98, in create_connection
    (self.host, self.port), self.timeout, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 138, in _new_conn
Traceback (most recent call last):
2021-12-30 20:12:58: PID: 11991: root: Fehler im Fronius Skript
2021-12-30 20:12:55: PID: 11991: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.182
2021-12-30 20:12:55: PID: 11991: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 953
2021-12-30 20:12:55: PID: 11991: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180
2021-12-30 20:12:55: PID: 11991: root: Komponente Fronius Wechselrichter auslesen.
2021-12-30 20:12:55: PID: 11991: root: Start device reading {'component1': <modules.fronius.inverter.FroniusInverter object at 0x75c3fed0>}
2021-12-30 20:12:55: PID: 11991: root: Fronius IP-Adresse: 192.168.2.180
2021-12-30 20:12:52: WR IP2: 192.168.2.182 (LV2) at 20 main modules/wr_fronius/main.sh
2021-12-30 20:12:52: WR Gen 24: 0 (LV2) at 19 main modules/wr_fronius/main.sh
2021-12-30 20:12:52: WR IP: 192.168.2.180 (LV2) at 18 main modules/wr_fronius/main.sh
2021-12-30 20:12:51: RET: 0 (LV2) at 29 main modules/wr2_json/main.sh

TypeError: float() argument must be a string or a number, not 'NoneType'
    power = float(jq.compile(config["jq_power"]).input(response).first())
  File "/var/www/html/openWB/packages/modules/json/inverter.py", line 37, in update
    self._components[component].update(response)
  File "/var/www/html/openWB/packages/modules/json/device.py", line 65, in update
Traceback (most recent call last):
2021-12-30 20:12:51: PID: 11807: root: Json Wechselrichter: FaultState FaultStateLevel.ERROR, FaultStr <class 'TypeError'> float() argument must be a string or a number, not 'NoneType', Traceback: 
2021-12-30 20:12:50: PID: 11807: root: Komponente Json Wechselrichter auslesen.

}
   }
      "Timestamp" : "2021-12-30T20:12:50+01:00"
      },
         "UserMessage" : ""
         "Reason" : "",
         "Code" : 0,
      "Status" : {
      "RequestArguments" : {},
   "Head" : {
   },
      }
         "Version" : "12"
         },
            "rel_SelfConsumption" : null
            "rel_Autonomy" : null,
            "P_PV" : null,
            "P_Load" : null,
            "P_Grid" : null,
            "P_Akku" : null,
            "Mode" : "produce-only",
            "Meter_Location" : "unknown",
            "E_Year" : 10756291,
            "E_Total" : 3373.1305555555555,
            "E_Day" : 1474.2000732421875,
         "Site" : {
         },
            }
Vielleicht kannst du da noch mal draufschauen ? :D

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Verfasst: Do Dez 30, 2021 9:22 pm
von vuffiraa
Ok, wie ist den deine Konfiguration?
WR1 bleibt immer an, Wr2 und WR3 schalten sich ohne PV ab?
Ich sehe, dass da auch noch das JSON-Modul ein Problem hat, das muss auch mit einem abgeschalteten WR umgehen können.
Für den WR2 schaue ich noch mal ins Fronius-Modul.

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Verfasst: Do Dez 30, 2021 9:39 pm
von mempfh
Stimmt der WR1 bleibt an die anderen schlafen
Ja ich weiß das das json modul damit noch ein problem hat, hier muß ich noch det bitten das er das bei gelegenheit mal fixt. Bisher hat das aber diese saldierung nicht verursacht, muß also vom pv modul 1 kommen

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Verfasst: Do Dez 30, 2021 10:04 pm
von derNeueDet
mempfh hat geschrieben: Do Dez 30, 2021 9:39 pm Stimmt der WR1 bleibt an die anderen schlafen
Ja ich weiß das das json modul damit noch ein problem hat, hier muß ich noch det bitten das er das bei gelegenheit mal fixt. Bisher hat das aber diese saldierung nicht verursacht, muß also vom pv modul 1 kommen
Du kannst es vorerst mal nach dem Rezept von Yankee probieren.

viewtopic.php?f=9&t=4388&p=52715&hilit=Json#p52715

Ich bin in durch die Struktur der neuen Module noch nicht durch gestiegen.

VG
Det

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Verfasst: Fr Dez 31, 2021 7:31 am
von mempfh
derNeueDet hat geschrieben: Do Dez 30, 2021 10:04 pm Du kannst es vorerst mal nach dem Rezept von Yankee probieren.

viewtopic.php?f=9&t=4388&p=52715&hilit=Json#p52715
Ich habe das mal so wie von Yankee reinkopiert, bekomme aber Fehlermeldungen:

Code: Alles auswählen

/var/www/html/openWB/loadconfig.sh: Zeile 8: export: `.': Ist kein gültiger Bezeichner.
/var/www/html/openWB/loadconfig.sh: Zeile 8: export: `0': Ist kein gültiger Bezeichner.
/var/www/html/openWB/loadconfig.sh: Zeile 8: export: `==': Ist kein gültiger Bezeichner.
/var/www/html/openWB/loadconfig.sh: Zeile 8: export: `.': Ist kein gültiger Bezeichner.
/var/www/html/openWB/loadconfig.sh: Zeile 8: export: `|': Ist kein gültiger Bezeichner.
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 125, in read_input_registers
    resp = client.read_input_registers(0x00,2, unit=sdmid)
  File "/var/www/html/openWB/modules/mpm3pmll/readmpm3pm.py", line 93, in <module>
Traceback (most recent call last):
2021-12-31 08:28:13: **** FATAL ********************************* (LV0)
2021-12-31 08:28:13: **** FATAL Regulation loop needs 12 seconds (LV0)
2021-12-31 08:28:13: **** FATAL ********************************* (LV0)
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2021-12-31 08:28:12: Modbus EVSE read CP1 issue - using previous state '' (LV0)
loadvars.sh: Zeile 120: /var/www/html/openWB/ramdisk/evseplugstate: Datei oder Verzeichnis nicht gefunden
AttributeError: 'NoneType' object has no attribute 'interCharTimeout'
    self.socket.interCharTimeout = self.inter_char_timeout
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 476, in connect
    if not self.connect():
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/sync.py", line 106, in execute
    return self.execute(request)
  File "/usr/local/lib/python2.7/dist-packages/pymodbus/client/common.py", line 114, in read_holding_registers
    request = client.read_holding_registers(readreg,reganzahl,unit=modbusid)
  File "runs/readmodbus.py", line 17, in <module>
Traceback (most recent call last):
War das so richtig?

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Verfasst: Fr Dez 31, 2021 8:15 am
von derNeueDet
Hmm, das wird nicht richtig aufgelöst. Welche openWB Version hast du gerade am laufen?
Ich hab das gerade bei mir getestet, da geht es. Sieht so aus, als ob in der openwb.config was daneben liegt.
Evtl. fehlen da Quotes.

VG
Det

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Verfasst: Fr Dez 31, 2021 9:53 am
von mempfh
Die Nightly von gestern
Auf meiner standard+ läuft die stable. Ich probier's da mal was dann kommt