Fronius PV-Modul WR2 wird nicht mehr erfasst

Fragen zur Nutzung, Features, usw..
mempfh
Beiträge: 187
Registriert: Fr Apr 10, 2020 11:18 am

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Beitrag von mempfh »

Mit der Nightly von heute 19.55 Uhr ist das Problem weg 👍
PV: 30kWp mit 3 x Fronius Symo 10 und Smartmeter
3 x Victron Multiplus II 5000 mit 19,2kWh Pylontech
Tesla Model 3 LR
8 Shelly 1PM Aktoren für Heizstäbe, WM, GS, TR
1 OpenWB Standard+, 1 OpenWB Pro
vuffiraa
Beiträge: 252
Registriert: Mo Apr 19, 2021 11:26 am

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Beitrag von vuffiraa »

Da sind aber keine neuen Änderung mehr dabei gewesen.
Ich glaube da ist noch was beim Übergang von Erzeugung nach Nachtmodus schief.

Kannst du mir mal das Ergebnis hiervon senden:

Code: Alles auswählen

http://192.168.2.182/solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System
openWB serie 2 custom 11kW
Skoda Enyaq iV80
PV 9,4kWp SSW, Fronius Symo 8.2-3-M, Fronius Smart Meter 63A
mempfh
Beiträge: 187
Registriert: Fr Apr 10, 2020 11:18 am

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Beitrag von mempfh »

vuffiraa hat geschrieben: Do Jan 06, 2022 7:46 pm Da sind aber keine neuen Änderung mehr dabei gewesen.
Ich glaube da ist noch was beim Übergang von Erzeugung nach Nachtmodus schief.

Kannst du mir mal das Ergebnis hiervon senden:

Code: Alles auswählen

http://192.168.2.182/solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System
Im Moment kommt gar nix, da der WR schläft.
Ich habe die aktuelle Nightly wegen der Änderungen am JSON Modul eingespielt.
Ich stell das Ergebnis ein wenn der WR aktiv ist, geht aber erst übermorgen

Edit: Mal sehen ob morgen Abend das Problem wieder da ist
PV: 30kWp mit 3 x Fronius Symo 10 und Smartmeter
3 x Victron Multiplus II 5000 mit 19,2kWh Pylontech
Tesla Model 3 LR
8 Shelly 1PM Aktoren für Heizstäbe, WM, GS, TR
1 OpenWB Standard+, 1 OpenWB Pro
vuffiraa
Beiträge: 252
Registriert: Mo Apr 19, 2021 11:26 am

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Beitrag von vuffiraa »

mempfh hat geschrieben: Do Jan 06, 2022 8:03 pm Im Moment kommt gar nix, da der WR schläft.
Ich habe die aktuelle Nightly wegen der Änderungen am JSON Modul eingespielt.
Ich stell das Ergebnis ein wenn der WR aktiv ist, geht aber erst übermorgen

Edit: Mal sehen ob morgen Abend das Problem wieder da ist
Ich habe gestern Abend mal versucht zu verstehen, was bei dir da so läuft (oder auch nicht).
Das Aufsummieren habe ich nicht hinbekommen, aber leicht wechselnde Erzeugungsdaten, wo keine mehr sein sollten.
Eine Voraussetzung für dein Problem scheint zu sein, dass die WRs noch einen Ertrag übermitteln, bevor sie sich abschalten.

Beim JSON-Modul gibt es definitiv ein Problem. Wenn der WR nicht erreichbar ist, dann bricht die Prozedur ab und es werden die alten Werte aus der Ramdisk weiter verwendet. Beim 2. WR im Fronius-Modul wird sich eigentlich darum gekümmert. Aber insgesamt habe ich noch nicht verstanden, woher das Aufsummieren kommt.

In der 2.0 muss ich dein Szenario mal als 3 Fronius-WR nachstellen. Kennen sich die WRs eigentlich untereinander?
openWB serie 2 custom 11kW
Skoda Enyaq iV80
PV 9,4kWp SSW, Fronius Symo 8.2-3-M, Fronius Smart Meter 63A
mempfh
Beiträge: 187
Registriert: Fr Apr 10, 2020 11:18 am

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Beitrag von mempfh »

So jetzt habe ich mal den Punkt erwischt wo das ganze losgeht. Es hat mit dem Schlafengehen vom WR2 zu tun.

Code: Alles auswählen

"Timestamp" : "2022-01-08T17:24:42+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "0",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 230.19999999999999
"Voltage_AC_Phase_2" : 229.09999999999999,
"Voltage_AC_Phase_1" : 230.40000000000001,
"Voltage_AC_PhaseToPhase_31" : 398.89999999999998,
"Voltage_AC_PhaseToPhase_23" : 397.80000000000001,
"Voltage_AC_PhaseToPhase_12" : 397.89999999999998,
"Visible" : 1,
"TimeStamp" : 1641659081,
"PowerReal_P_Sum" : 633.63999999999999,
"PowerReal_P_Phase_3" : 93.430000000000007,
"PowerReal_P_Phase_2" : 362.20999999999998,
"PowerReal_P_Phase_1" : 178,
"PowerReactive_Q_Sum" : -603.54999999999995,
"PowerReactive_Q_Phase_3" : -223.09,
"PowerReactive_Q_Phase_2" : -285.12,
"PowerReactive_Q_Phase_1" : -95.340000000000003,
"PowerFactor_Sum" : 0.71999999999999997,
"PowerFactor_Phase_3" : 0.38,
"PowerFactor_Phase_2" : 0.78000000000000003,
"PowerFactor_Phase_1" : 0.88,
"PowerApparent_S_Sum" : 874,
"PowerApparent_S_Phase_3" : 265.19039999999995,
"PowerApparent_S_Phase_2" : 496.91789999999997,
"PowerApparent_S_Phase_1" : 218.64959999999999,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 50,
"EnergyReal_WAC_Sum_Produced" : 31189707,
"EnergyReal_WAC_Sum_Consumed" : 5084044,
"EnergyReal_WAC_Plus_Absolute" : 5084044,
"EnergyReal_WAC_Minus_Absolute" : 31189707,
"EnergyReactive_VArAC_Sum_Produced" : 77977790,
"EnergyReactive_VArAC_Sum_Consumed" : 1241750,
"Enable" : 1,
},
"Serial" : "19140444"
"Model" : "Smart Meter 63A",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Phase_3" : 1.1519999999999999,
"Current_AC_Phase_2" : 2.169,
"Current_AC_Phase_1" : 0.94899999999999995,
"Data" : {
"Body" : {
2022-01-08 17:24:46: PID: 2478: root: Get-Response: {
2022-01-08 17:24:46: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2241
2022-01-08 17:24:46: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 17:24:46: PID: 2478: root: Komponente Fronius SM Zähler auslesen.
2022-01-08 17:24:46: PID: 2478: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x72e50c30>}
2022-01-08 17:24:46: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 17:24:46: PID: 2478: legacy run server: Received command ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 17:24:46: WR Speicher: none (LV2) at 28 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:46: WR IP2: 192.168.2.182 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:46: WR MeterLocation: 0 (LV2) at 26 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:46: WR Var2: 0 (LV2) at 25 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:46: WR GEN24: 0 (LV2) at 24 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:46: WR Erzeugung: 0 (LV2) at 23 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:46: WR IP: 192.168.2.180 (LV2) at 22 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:42: PID: 2478: legacy run server: Completed running command in 0.11s: ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 17:24:42: PID: 2478: root: PV Watt: 0

}
}
"Timestamp" : "2022-01-08T17:24:41+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" : 33773.1015625,
"E_Total" : 2276.4276388888889,
"E_Day" : 1090.800048828125,
"Site" : {
},
}
"P" : 0
"E_Year" : 33773.1015625,
"E_Total" : 2276.427734375,
"E_Day" : 1090.800048828125,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 17:24:42: PID: 2478: root: Get-Response: {
2022-01-08 17:24:42: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.182:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 947
2022-01-08 17:24:42: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.182:80

}
}
"Timestamp" : "2022-01-08T17:24:39+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
"RequestArguments" : {},
"Head" : {
},
}
"Version" : "12"
},
"rel_SelfConsumption" : null
"rel_Autonomy" : 0,
"P_PV" : null,
"P_Load" : -668.41999999999996,
"P_Grid" : 668.41999999999996,
"P_Akku" : null,
"Mode" : "meter",
"Meter_Location" : "grid",
"E_Year" : 52541.40234375,
"E_Total" : 6867.7222222222226,
"E_Day" : 173,
"Site" : {
},
}
"P" : 0
"E_Year" : 52541.40234375,
"E_Total" : 6867.72216796875,
"E_Day" : 173,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 17:24:42: PID: 2478: root: Get-Response: {
2022-01-08 17:24:42: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 939
2022-01-08 17:24:42: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 17:24:42: PID: 2478: root: Komponente Fronius Wechselrichter auslesen.
2022-01-08 17:24:42: PID: 2478: root: Start device reading {'component1': <modules.fronius.inverter.FroniusInverter object at 0x72e50110>}
2022-01-08 17:24:42: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 17:24:42: PID: 2478: legacy run server: Received command ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 17:24:42: WR Speicher: none (LV2) at 25 main modules/wr_fronius/main.sh
2022-01-08 17:24:42: WR IP2: 192.168.2.182 (LV2) at 24 main modules/wr_fronius/main.sh
2022-01-08 17:24:42: WR Gen 24: 0 (LV2) at 23 main modules/wr_fronius/main.sh
2022-01-08 17:24:42: WR IP: 192.168.2.180 (LV2) at 22 main modules/wr_fronius/main.sh
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2022-01-08 17:24: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):
2022-01-08 17:24:41: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-08 17:24:38: **** Regulation loop needs 7 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-08 17:24:38: Überschuss -2602; mindestens 1700 (LV1) at 104 nurpvlademodus nurpv.sh
2022-01-08 17:24:38: uberschuss -2602 wattbezug 2602 ladestatus 0 llsoll 0 pvwatt -6 mindestuberschussphasen 1700 wattkombiniert -2602 schaltschwelle 230 (LV2) at 578 main /var/www/html/openWB/regel.sh
2022-01-08 17:24:38: anzahlphasen 1 (LV1) at 577 main /var/www/html/openWB/regel.sh
2022-01-08 17:24:37: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-01-08 17:24:37: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-01-08 17:24:36: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2022-01-08 17:24:36: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2022-01-08 17:24:36: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2022-01-08 17:24:36: EVU 1:V/9A 2: V/1A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2022-01-08 17:24:36: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2022-01-08 17:24:36: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 2608 wattbezug 2602 uberschuss -2602 (LV1) at 1279 loadvars loadvars.sh
2022-01-08 17:24:36: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2022-01-08 17:24:36: pv1watt 0 pv2watt -6 pvwatt -6 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2022-01-08 17:24:36: PID: 2478: legacy run server: Completed running command in 0.28s: ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 17:24:36: PID: 2478: root: EVU Einspeisung: 31189707
2022-01-08 17:24:36: PID: 2478: root: EVU Bezug: 5084039
2022-01-08 17:24:36: PID: 2478: root: EVU Watt: 2602.56
2022-01-08 17:24:36: PID: 2478: root: Fronius SM Leistung[W]: 2602.56
2022-01-08 17:24:36: PID: 2478: root: Einbauort: MeterLocation.grid

}
}
"Timestamp" : "2022-01-08T17:24:33+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "0",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 230.40000000000001
"Voltage_AC_Phase_2" : 230.5,
"Voltage_AC_Phase_1" : 228.40000000000001,
"Voltage_AC_PhaseToPhase_31" : 397.30000000000001,
"Voltage_AC_PhaseToPhase_23" : 399.19999999999999,
"Voltage_AC_PhaseToPhase_12" : 397.39999999999998,
"Visible" : 1,
"TimeStamp" : 1641659072,
"PowerReal_P_Sum" : 2602.5599999999999,
"PowerReal_P_Phase_3" : 92.670000000000002,
"PowerReal_P_Phase_2" : 361.63999999999999,
"PowerReal_P_Phase_1" : 2148.25,
"PowerReactive_Q_Sum" : -605.89999999999998,
"PowerReactive_Q_Phase_3" : -224.09,
"PowerReactive_Q_Phase_2" : -286.06999999999999,
"PowerReactive_Q_Phase_1" : -95.739999999999995,
"PowerFactor_Sum" : 0.96999999999999997,
"PowerFactor_Phase_3" : 0.38,
"PowerFactor_Phase_2" : 0.78000000000000003,
"PowerFactor_Phase_1" : 0.98999999999999999,
"PowerApparent_S_Sum" : 2671,
"PowerApparent_S_Phase_3" : 264.2688,
"PowerApparent_S_Phase_2" : 497.41899999999998,
"PowerApparent_S_Phase_1" : 2151.5280000000002,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 50,
"EnergyReal_WAC_Sum_Produced" : 31189707,
"EnergyReal_WAC_Sum_Consumed" : 5084039,
"EnergyReal_WAC_Plus_Absolute" : 5084039,
"EnergyReal_WAC_Minus_Absolute" : 31189707,
"EnergyReactive_VArAC_Sum_Produced" : 77977770,
"EnergyReactive_VArAC_Sum_Consumed" : 1241750,
"Enable" : 1,
},
"Serial" : "19140444"
"Model" : "Smart Meter 63A",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Phase_3" : 1.147,
"Current_AC_Phase_2" : 2.1579999999999999,
"Current_AC_Phase_1" : 9.4199999999999999,
"Data" : {
"Body" : {
2022-01-08 17:24:36: PID: 2478: root: Get-Response: {
2022-01-08 17:24:36: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2249
2022-01-08 17:24:36: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 17:24:36: PID: 2478: root: Komponente Fronius SM Zähler auslesen.
2022-01-08 17:24:36: PID: 2478: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x72edc0d0>}
2022-01-08 17:24:36: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 17:24:36: PID: 2478: legacy run server: Received command ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 17:24:36: WR Speicher: none (LV2) at 28 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:36: WR IP2: 192.168.2.182 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:36: WR MeterLocation: 0 (LV2) at 26 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:36: WR Var2: 0 (LV2) at 25 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:36: WR GEN24: 0 (LV2) at 24 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:36: WR Erzeugung: 0 (LV2) at 23 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:36: WR IP: 192.168.2.180 (LV2) at 22 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:32: PID: 2478: legacy run server: Completed running command in 0.11s: ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 17:24:32: PID: 2478: root: PV Watt: 0

}
}
"Timestamp" : "2022-01-08T17:24:31+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" : 33773.1015625,
"E_Total" : 2276.4276388888889,
"E_Day" : 1090.800048828125,
"Site" : {
},
}
"P" : 0
"E_Year" : 33773.1015625,
"E_Total" : 2276.427734375,
"E_Day" : 1090.800048828125,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 17:24:32: PID: 2478: root: Get-Response: {
2022-01-08 17:24:32: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.182:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 947
2022-01-08 17:24:32: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.182:80

}
}
"Timestamp" : "2022-01-08T17:24:29+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
"RequestArguments" : {},
"Head" : {
},
}
"Version" : "12"
},
"rel_SelfConsumption" : null
"rel_Autonomy" : 0,
"P_PV" : null,
"P_Load" : -2607.1700000000001,
"P_Grid" : 2607.1700000000001,
"P_Akku" : null,
"Mode" : "meter",
"Meter_Location" : "grid",
"E_Year" : 52541.40234375,
"E_Total" : 6867.7222222222226,
"E_Day" : 173,
"Site" : {
},
}
"P" : 0
"E_Year" : 52541.40234375,
"E_Total" : 6867.72216796875,
"E_Day" : 173,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 17:24:32: PID: 2478: root: Get-Response: {
2022-01-08 17:24:32: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 939
2022-01-08 17:24:32: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 17:24:32: PID: 2478: root: Komponente Fronius Wechselrichter auslesen.
2022-01-08 17:24:32: PID: 2478: root: Start device reading {'component1': <modules.fronius.inverter.FroniusInverter object at 0x747f2a10>}
2022-01-08 17:24:32: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 17:24:32: PID: 2478: legacy run server: Received command ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 17:24:32: WR Speicher: none (LV2) at 25 main modules/wr_fronius/main.sh
2022-01-08 17:24:32: WR IP2: 192.168.2.182 (LV2) at 24 main modules/wr_fronius/main.sh
2022-01-08 17:24:32: WR Gen 24: 0 (LV2) at 23 main modules/wr_fronius/main.sh
2022-01-08 17:24:32: WR IP: 192.168.2.180 (LV2) at 22 main modules/wr_fronius/main.sh
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2022-01-08 17:24:32: 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):
2022-01-08 17:24:32: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-08 17:24:28: **** Regulation loop needs 7 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-08 17:24:27: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-01-08 17:24:27: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-01-08 17:24:26: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2022-01-08 17:24:26: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2022-01-08 17:24:26: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2022-01-08 17:24:26: EVU 1:V/9A 2: V/1A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2022-01-08 17:24:26: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2022-01-08 17:24:26: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 2616 wattbezug 2610 uberschuss -2610 (LV1) at 1279 loadvars loadvars.sh
2022-01-08 17:24:26: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2022-01-08 17:24:26: pv1watt 0 pv2watt -6 pvwatt -6 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2022-01-08 17:24:26: PID: 2478: legacy run server: Completed running command in 0.18s: ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 17:24:26: PID: 2478: root: EVU Einspeisung: 31189707
2022-01-08 17:24:26: PID: 2478: root: EVU Bezug: 5084033
2022-01-08 17:24:26: PID: 2478: root: EVU Watt: 2610.91
2022-01-08 17:24:26: PID: 2478: root: Fronius SM Leistung[W]: 2610.91
2022-01-08 17:24:26: PID: 2478: root: Einbauort: MeterLocation.grid

}
}
"Timestamp" : "2022-01-08T17:24:23+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "0",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 230.80000000000001
"Voltage_AC_Phase_2" : 230,
"Voltage_AC_Phase_1" : 228.5,
"Voltage_AC_PhaseToPhase_31" : 397.80000000000001,
"Voltage_AC_PhaseToPhase_23" : 399.10000000000002,
"Voltage_AC_PhaseToPhase_12" : 397.10000000000002,
"Visible" : 1,
"TimeStamp" : 1641659062,
"PowerReal_P_Sum" : 2610.9099999999999,
"PowerReal_P_Phase_3" : 97.189999999999998,
"PowerReal_P_Phase_2" : 366.61000000000001,
"PowerReal_P_Phase_1" : 2147.1100000000001,
"PowerReactive_Q_Sum" : -608.98000000000002,
"PowerReactive_Q_Phase_3" : -225.41999999999999,
"PowerReactive_Q_Phase_2" : -286.77999999999997,
"PowerReactive_Q_Phase_1" : -96.780000000000001,
"PowerFactor_Sum" : 0.96999999999999997,
"PowerFactor_Phase_3" : 0.39000000000000001,
"PowerFactor_Phase_2" : 0.78000000000000003,
"PowerFactor_Phase_1" : 0.98999999999999999,
"PowerApparent_S_Sum" : 2680,
"PowerApparent_S_Phase_3" : 267.03560000000004,
"PowerApparent_S_Phase_2" : 501.16999999999996,
"PowerApparent_S_Phase_1" : 2150.8705,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 49.899999999999999,
"EnergyReal_WAC_Sum_Produced" : 31189707,
"EnergyReal_WAC_Sum_Consumed" : 5084033,
"EnergyReal_WAC_Plus_Absolute" : 5084033,
"EnergyReal_WAC_Minus_Absolute" : 31189707,
"EnergyReactive_VArAC_Sum_Produced" : 77977760,
"EnergyReactive_VArAC_Sum_Consumed" : 1241750,
"Enable" : 1,
},
"Serial" : "19140444"
"Model" : "Smart Meter 63A",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Phase_3" : 1.157,
"Current_AC_Phase_2" : 2.1789999999999998,
"Current_AC_Phase_1" : 9.4130000000000003,
"Data" : {
"Body" : {
2022-01-08 17:24:26: PID: 2478: root: Get-Response: {
2022-01-08 17:24:26: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2289
2022-01-08 17:24:26: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 17:24:26: PID: 2478: root: Komponente Fronius SM Zähler auslesen.
2022-01-08 17:24:26: PID: 2478: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x73c97250>}
2022-01-08 17:24:26: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 17:24:26: PID: 2478: legacy run server: Received command ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 17:24:26: WR Speicher: none (LV2) at 28 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:26: WR IP2: 192.168.2.182 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:26: WR MeterLocation: 0 (LV2) at 26 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:26: WR Var2: 0 (LV2) at 25 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:26: WR GEN24: 0 (LV2) at 24 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:26: WR Erzeugung: 0 (LV2) at 23 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:26: WR IP: 192.168.2.180 (LV2) at 22 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:23: PID: 2478: legacy run server: Completed running command in 0.18s: ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 17:24:23: PID: 2478: root: PV Watt: 0

}
}
"Timestamp" : "2022-01-08T17:24:21+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" : 33773.1015625,
"E_Total" : 2276.4276388888889,
"E_Day" : 1090.800048828125,
"Site" : {
},
}
"P" : 0
"E_Year" : 33773.1015625,
"E_Total" : 2276.427734375,
"E_Day" : 1090.800048828125,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 17:24:23: PID: 2478: root: Get-Response: {
2022-01-08 17:24:23: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.182:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 947
2022-01-08 17:24:22: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.182:80

}
}
"Timestamp" : "2022-01-08T17:24:19+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
"RequestArguments" : {},
"Head" : {
},
}
"Version" : "12"
},
"rel_SelfConsumption" : null
"rel_Autonomy" : 0,
"P_PV" : null,
"P_Load" : -2615.6199999999999,
"P_Grid" : 2615.6199999999999,
"P_Akku" : null,
"Mode" : "meter",
"Meter_Location" : "grid",
"E_Year" : 52541.40234375,
"E_Total" : 6867.7222222222226,
"E_Day" : 173,
"Site" : {
},
}
"P" : 0
"E_Year" : 52541.40234375,
"E_Total" : 6867.72216796875,
"E_Day" : 173,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 17:24:22: PID: 2478: root: Get-Response: {
2022-01-08 17:24:22: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 939
2022-01-08 17:24:22: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 17:24:22: PID: 2478: root: Komponente Fronius Wechselrichter auslesen.
2022-01-08 17:24:22: PID: 2478: root: Start device reading {'component1': <modules.fronius.inverter.FroniusInverter object at 0x72edc4b0>}
2022-01-08 17:24:22: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 17:24:22: PID: 2478: legacy run server: Received command ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 17:24:22: WR Speicher: none (LV2) at 25 main modules/wr_fronius/main.sh
2022-01-08 17:24:22: WR IP2: 192.168.2.182 (LV2) at 24 main modules/wr_fronius/main.sh
2022-01-08 17:24:22: WR Gen 24: 0 (LV2) at 23 main modules/wr_fronius/main.sh
2022-01-08 17:24:22: WR IP: 192.168.2.180 (LV2) at 22 main modules/wr_fronius/main.sh
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2022-01-08 17:24: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):
2022-01-08 17:24:22: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-08 17:24:17: **** Regulation loop needs 6 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-08 17:24:17: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-01-08 17:24:17: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-01-08 17:24:16: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2022-01-08 17:24:16: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2022-01-08 17:24:16: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2022-01-08 17:24:16: EVU 1:V/9A 2: V/1A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2022-01-08 17:24:16: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2022-01-08 17:24:16: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 2624 wattbezug 2618 uberschuss -2618 (LV1) at 1279 loadvars loadvars.sh
2022-01-08 17:24:16: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2022-01-08 17:24:16: pv1watt 0 pv2watt -6 pvwatt -6 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2022-01-08 17:24:16: PID: 2478: legacy run server: Completed running command in 0.08s: ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 17:24:16: PID: 2478: root: EVU Einspeisung: 31189707
2022-01-08 17:24:16: PID: 2478: root: EVU Bezug: 5084024
2022-01-08 17:24:16: PID: 2478: root: EVU Watt: 2618.7
2022-01-08 17:24:16: PID: 2478: root: Fronius SM Leistung[W]: 2618.7
2022-01-08 17:24:16: PID: 2478: root: Einbauort: MeterLocation.grid

}
}
"Timestamp" : "2022-01-08T17:24:12+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "0",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 230.40000000000001
"Voltage_AC_Phase_2" : 230.40000000000001,
"Voltage_AC_Phase_1" : 228.80000000000001,
"Voltage_AC_PhaseToPhase_31" : 397.69999999999999,
"Voltage_AC_PhaseToPhase_23" : 399.10000000000002,
"Voltage_AC_PhaseToPhase_12" : 397.69999999999999,
"Visible" : 1,
"TimeStamp" : 1641659051,
"PowerReal_P_Sum" : 2618.6999999999998,
"PowerReal_P_Phase_3" : 103.87,
"PowerReal_P_Phase_2" : 363.77999999999997,
"PowerReal_P_Phase_1" : 2151.0500000000002,
"PowerReactive_Q_Sum" : -607.22000000000003,
"PowerReactive_Q_Phase_3" : -224.88999999999999,
"PowerReactive_Q_Phase_2" : -286.62,
"PowerReactive_Q_Phase_1" : -95.709999999999994,
"PowerFactor_Sum" : 0.96999999999999997,
"PowerFactor_Phase_3" : 0.40999999999999998,
"PowerFactor_Phase_2" : 0.78000000000000003,
"PowerFactor_Phase_1" : 0.98999999999999999,
"PowerApparent_S_Sum" : 2687,
"PowerApparent_S_Phase_3" : 271.64160000000004,
"PowerApparent_S_Phase_2" : 499.96800000000002,
"PowerApparent_S_Phase_1" : 2155.0672000000004,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 50,
"EnergyReal_WAC_Sum_Produced" : 31189707,
"EnergyReal_WAC_Sum_Consumed" : 5084024,
"EnergyReal_WAC_Plus_Absolute" : 5084024,
"EnergyReal_WAC_Minus_Absolute" : 31189707,
"EnergyReactive_VArAC_Sum_Produced" : 77977740,
"EnergyReactive_VArAC_Sum_Consumed" : 1241750,
"Enable" : 1,
},
"Serial" : "19140444"
"Model" : "Smart Meter 63A",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Phase_3" : 1.179,
"Current_AC_Phase_2" : 2.1699999999999999,
"Current_AC_Phase_1" : 9.4190000000000005,
"Data" : {
"Body" : {
2022-01-08 17:24:16: PID: 2478: root: Get-Response: {
2022-01-08 17:24:16: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2286
2022-01-08 17:24:16: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 17:24:16: PID: 2478: root: Komponente Fronius SM Zähler auslesen.
2022-01-08 17:24:16: PID: 2478: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x72e686f0>}
2022-01-08 17:24:16: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 17:24:16: PID: 2478: legacy run server: Received command ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 17:24:16: WR Speicher: none (LV2) at 28 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:16: WR IP2: 192.168.2.182 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:16: WR MeterLocation: 0 (LV2) at 26 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:16: WR Var2: 0 (LV2) at 25 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:16: WR GEN24: 0 (LV2) at 24 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:16: WR Erzeugung: 0 (LV2) at 23 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:16: WR IP: 192.168.2.180 (LV2) at 22 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:12: PID: 2478: legacy run server: Completed running command in 0.13s: ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 17:24:12: PID: 2478: root: PV Watt: 0

}
}
"Timestamp" : "2022-01-08T17:24:11+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" : 33773.1015625,
"E_Total" : 2276.4276388888889,
"E_Day" : 1090.800048828125,
"Site" : {
},
}
"P" : 0
"E_Year" : 33773.1015625,
"E_Total" : 2276.427734375,
"E_Day" : 1090.800048828125,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 17:24:12: PID: 2478: root: Get-Response: {
2022-01-08 17:24:12: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.182:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 947
2022-01-08 17:24:12: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.182:80

}
}
"Timestamp" : "2022-01-08T17:24:09+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
"RequestArguments" : {},
"Head" : {
},
}
"Version" : "12"
},
"rel_SelfConsumption" : null
"rel_Autonomy" : 0,
"P_PV" : null,
"P_Load" : -2616.5500000000002,
"P_Grid" : 2616.5500000000002,
"P_Akku" : null,
"Mode" : "meter",
"Meter_Location" : "grid",
"E_Year" : 52541.40234375,
"E_Total" : 6867.7222222222226,
"E_Day" : 173,
"Site" : {
},
}
"P" : 0
"E_Year" : 52541.40234375,
"E_Total" : 6867.72216796875,
"E_Day" : 173,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 17:24:12: PID: 2478: root: Get-Response: {
2022-01-08 17:24:12: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 939
2022-01-08 17:24:12: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 17:24:12: PID: 2478: root: Komponente Fronius Wechselrichter auslesen.
2022-01-08 17:24:12: PID: 2478: root: Start device reading {'component1': <modules.fronius.inverter.FroniusInverter object at 0x72e50470>}
2022-01-08 17:24:12: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 17:24:12: PID: 2478: legacy run server: Received command ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 17:24:12: WR Speicher: none (LV2) at 25 main modules/wr_fronius/main.sh
2022-01-08 17:24:12: WR IP2: 192.168.2.182 (LV2) at 24 main modules/wr_fronius/main.sh
2022-01-08 17:24:12: WR Gen 24: 0 (LV2) at 23 main modules/wr_fronius/main.sh
2022-01-08 17:24:12: WR IP: 192.168.2.180 (LV2) at 22 main modules/wr_fronius/main.sh
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2022-01-08 17:24: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):
2022-01-08 17:24:12: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-08 17:24:07: **** Regulation loop needs 6 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-08 17:24:07: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-01-08 17:24:07: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-01-08 17:24:06: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2022-01-08 17:24:06: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2022-01-08 17:24:06: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2022-01-08 17:24:06: EVU 1:V/9A 2: V/1A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2022-01-08 17:24:06: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2022-01-08 17:24:06: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 2618 wattbezug 2612 uberschuss -2612 (LV1) at 1279 loadvars loadvars.sh
2022-01-08 17:24:06: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2022-01-08 17:24:06: pv1watt 0 pv2watt -6 pvwatt -6 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2022-01-08 17:24:06: PID: 2478: legacy run server: Completed running command in 0.12s: ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 17:24:06: PID: 2478: root: EVU Einspeisung: 31189707
2022-01-08 17:24:06: PID: 2478: root: EVU Bezug: 5084017
2022-01-08 17:24:06: PID: 2478: root: EVU Watt: 2612.96
2022-01-08 17:24:06: PID: 2478: root: Fronius SM Leistung[W]: 2612.96
2022-01-08 17:24:06: PID: 2478: root: Einbauort: MeterLocation.grid

}
}
"Timestamp" : "2022-01-08T17:24:02+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "0",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 230.5
"Voltage_AC_Phase_2" : 231.09999999999999,
"Voltage_AC_Phase_1" : 229,
"Voltage_AC_PhaseToPhase_31" : 397.89999999999998,
"Voltage_AC_PhaseToPhase_23" : 399.80000000000001,
"Voltage_AC_PhaseToPhase_12" : 398.5,
"Visible" : 1,
"TimeStamp" : 1641659041,
"PowerReal_P_Sum" : 2612.96,
"PowerReal_P_Phase_3" : 101.58,
"PowerReal_P_Phase_2" : 366.94,
"PowerReal_P_Phase_1" : 2144.4400000000001,
"PowerReactive_Q_Sum" : -609.87,
"PowerReactive_Q_Phase_3" : -226.99000000000001,
"PowerReactive_Q_Phase_2" : -286.63999999999999,
"PowerReactive_Q_Phase_1" : -96.239999999999995,
"PowerFactor_Sum" : 0.96999999999999997,
"PowerFactor_Phase_3" : 0.40000000000000002,
"PowerFactor_Phase_2" : 0.78000000000000003,
"PowerFactor_Phase_1" : 0.98999999999999999,
"PowerApparent_S_Sum" : 2682,
"PowerApparent_S_Phase_3" : 269.685,
"PowerApparent_S_Phase_2" : 502.87360000000001,
"PowerApparent_S_Phase_1" : 2148.7069999999999,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 50,
"EnergyReal_WAC_Sum_Produced" : 31189707,
"EnergyReal_WAC_Sum_Consumed" : 5084017,
"EnergyReal_WAC_Plus_Absolute" : 5084017,
"EnergyReal_WAC_Minus_Absolute" : 31189707,
"EnergyReactive_VArAC_Sum_Produced" : 77977720,
"EnergyReactive_VArAC_Sum_Consumed" : 1241750,
"Enable" : 1,
},
"Serial" : "19140444"
"Model" : "Smart Meter 63A",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Phase_3" : 1.1699999999999999,
"Current_AC_Phase_2" : 2.1760000000000002,
"Current_AC_Phase_1" : 9.3829999999999991,
"Data" : {
"Body" : {
2022-01-08 17:24:06: PID: 2478: root: Get-Response: {
2022-01-08 17:24:06: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2224
2022-01-08 17:24:06: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 17:24:06: PID: 2478: root: Komponente Fronius SM Zähler auslesen.
2022-01-08 17:24:06: PID: 2478: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x72edc0f0>}
2022-01-08 17:24:06: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 17:24:06: PID: 2478: legacy run server: Received command ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 17:24:06: WR Speicher: none (LV2) at 28 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:06: WR IP2: 192.168.2.182 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:06: WR MeterLocation: 0 (LV2) at 26 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:06: WR Var2: 0 (LV2) at 25 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:06: WR GEN24: 0 (LV2) at 24 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:06: WR Erzeugung: 0 (LV2) at 23 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:06: WR IP: 192.168.2.180 (LV2) at 22 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:24:02: PID: 2478: legacy run server: Completed running command in 0.13s: ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 17:24:02: PID: 2478: root: PV Watt: 0

}
}
"Timestamp" : "2022-01-08T17:24:01+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" : 33773.1015625,
"E_Total" : 2276.4276388888889,
"E_Day" : 1090.800048828125,
"Site" : {
},
}
"P" : 0
"E_Year" : 33773.1015625,
"E_Total" : 2276.427734375,
"E_Day" : 1090.800048828125,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 17:24:02: PID: 2478: root: Get-Response: {
2022-01-08 17:24:02: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.182:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 947
2022-01-08 17:24:02: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.182:80

}
}
"Timestamp" : "2022-01-08T17:23:59+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
"RequestArguments" : {},
"Head" : {
},
}
"Version" : "12"
},
"rel_SelfConsumption" : null
"rel_Autonomy" : 0,
"P_PV" : null,
"P_Load" : -2609.2399999999998,
"P_Grid" : 2609.2399999999998,
"P_Akku" : null,
"Mode" : "meter",
"Meter_Location" : "grid",
"E_Year" : 52541.40234375,
"E_Total" : 6867.7222222222226,
"E_Day" : 173,
"Site" : {
},
}
"P" : 0
"E_Year" : 52541.40234375,
"E_Total" : 6867.72216796875,
"E_Day" : 173,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 17:24:02: PID: 2478: root: Get-Response: {
2022-01-08 17:24:02: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 939
2022-01-08 17:24:02: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 17:24:02: PID: 2478: root: Komponente Fronius Wechselrichter auslesen.
2022-01-08 17:24:02: PID: 2478: root: Start device reading {'component1': <modules.fronius.inverter.FroniusInverter object at 0x72edc7f0>}
2022-01-08 17:24:02: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 17:24:02: PID: 2478: legacy run server: Received command ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 17:24:02: WR Speicher: none (LV2) at 25 main modules/wr_fronius/main.sh
2022-01-08 17:24:02: WR IP2: 192.168.2.182 (LV2) at 24 main modules/wr_fronius/main.sh
2022-01-08 17:24:02: WR Gen 24: 0 (LV2) at 23 main modules/wr_fronius/main.sh
2022-01-08 17:24:02: WR IP: 192.168.2.180 (LV2) at 22 main modules/wr_fronius/main.sh
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2022-01-08 17:24: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):
2022-01-08 17:24:02: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-08 17:23:57: **** Regulation loop needs 6 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-08 17:23:57: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-01-08 17:23:57: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-01-08 17:23:56: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2022-01-08 17:23:56: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2022-01-08 17:23:56: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2022-01-08 17:23:56: EVU 1:V/0A 2: V/1A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2022-01-08 17:23:56: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2022-01-08 17:23:56: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 652 wattbezug 646 uberschuss -646 (LV1) at 1279 loadvars loadvars.sh
2022-01-08 17:23:56: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2022-01-08 17:23:56: pv1watt 0 pv2watt -6 pvwatt -6 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2022-01-08 17:23:56: PID: 2478: legacy run server: Completed running command in 0.08s: ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 17:23:56: PID: 2478: root: EVU Einspeisung: 31189707
2022-01-08 17:23:56: PID: 2478: root: EVU Bezug: 5084012
2022-01-08 17:23:56: PID: 2478: root: EVU Watt: 646.47
2022-01-08 17:23:56: PID: 2478: root: Fronius SM Leistung[W]: 646.47
2022-01-08 17:23:56: PID: 2478: root: Einbauort: MeterLocation.grid

}
}
"Timestamp" : "2022-01-08T17:23:52+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "0",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 230.59999999999999
"Voltage_AC_Phase_2" : 230.59999999999999,
"Voltage_AC_Phase_1" : 231,
"Voltage_AC_PhaseToPhase_31" : 399.80000000000001,
"Voltage_AC_PhaseToPhase_23" : 399.39999999999998,
"Voltage_AC_PhaseToPhase_12" : 399.80000000000001,
"Visible" : 1,
"TimeStamp" : 1641659031,
"PowerReal_P_Sum" : 646.47000000000003,
"PowerReal_P_Phase_3" : 102.89,
"PowerReal_P_Phase_2" : 364.83999999999997,
"PowerReal_P_Phase_1" : 178.74000000000001,
"PowerReactive_Q_Sum" : -608.04999999999995,
"PowerReactive_Q_Phase_3" : -226.47,
"PowerReactive_Q_Phase_2" : -287.20999999999998,
"PowerReactive_Q_Phase_1" : -94.370000000000005,
"PowerFactor_Sum" : 0.71999999999999997,
"PowerFactor_Phase_3" : 0.40999999999999998,
"PowerFactor_Phase_2" : 0.78000000000000003,
"PowerFactor_Phase_1" : 0.88,
"PowerApparent_S_Sum" : 887,
"PowerApparent_S_Phase_3" : 270.49380000000002,
"PowerApparent_S_Phase_2" : 500.40199999999999,
"PowerApparent_S_Phase_1" : 218.75699999999998,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 50,
"EnergyReal_WAC_Sum_Produced" : 31189707,
"EnergyReal_WAC_Sum_Consumed" : 5084012,
"EnergyReal_WAC_Plus_Absolute" : 5084012,
"EnergyReal_WAC_Minus_Absolute" : 31189707,
"EnergyReactive_VArAC_Sum_Produced" : 77977700,
"EnergyReactive_VArAC_Sum_Consumed" : 1241750,
"Enable" : 1,
},
"Serial" : "19140444"
"Model" : "Smart Meter 63A",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Phase_3" : 1.173,
"Current_AC_Phase_2" : 2.1699999999999999,
"Current_AC_Phase_1" : 0.94699999999999995,
"Data" : {
"Body" : {
2022-01-08 17:23:56: PID: 2478: root: Get-Response: {
2022-01-08 17:23:56: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2256
2022-01-08 17:23:56: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 17:23:56: PID: 2478: root: Komponente Fronius SM Zähler auslesen.
2022-01-08 17:23:56: PID: 2478: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x73c97950>}
2022-01-08 17:23:56: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 17:23:56: PID: 2478: legacy run server: Received command ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 17:23:56: WR Speicher: none (LV2) at 28 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:23:56: WR IP2: 192.168.2.182 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:23:56: WR MeterLocation: 0 (LV2) at 26 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:23:56: WR Var2: 0 (LV2) at 25 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:23:56: WR GEN24: 0 (LV2) at 24 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:23:56: WR Erzeugung: 0 (LV2) at 23 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:23:56: WR IP: 192.168.2.180 (LV2) at 22 main modules/bezug_fronius_sm/main.sh
2022-01-08 17:23:52: PID: 2478: legacy run server: Completed running command in 0.12s: ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 17:23:52: PID: 2478: root: PV Watt: 0

}
}
"Timestamp" : "2022-01-08T17:23: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" : 33773.1015625,
"E_Total" : 2276.4276388888889,
"E_Day" : 1090.800048828125,
"Site" : {
},
}
"P" : 0
"E_Year" : 33773.1015625,
"E_Total" : 2276.427734375,
"E_Day" : 1090.800048828125,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 17:23:52: PID: 2478: root: Get-Response: {
2022-01-08 17:23:52: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.182:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 947
2022-01-08 17:23:52: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.182:80
Die Fronius können sich nicht miteinander unterhalten, da sie in verschiendenen Gebäudeteilen arbeiten. Zwei von den WR´s werden per Wlan abgefragt. Das Wlan ist stabil, da laufen auch noch andere Sachen drüber.
Die Fronius Wechselrichter könnten über eine Kabelverbindung miteinander kommunizieren, abgefragt wird dann nur der Master, der die Erzeugungsleistung aufsummiert.
Leider ist das bei mir baulich nicht möglich.
PV: 30kWp mit 3 x Fronius Symo 10 und Smartmeter
3 x Victron Multiplus II 5000 mit 19,2kWh Pylontech
Tesla Model 3 LR
8 Shelly 1PM Aktoren für Heizstäbe, WM, GS, TR
1 OpenWB Standard+, 1 OpenWB Pro
mempfh
Beiträge: 187
Registriert: Fr Apr 10, 2020 11:18 am

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Beitrag von mempfh »

Hier nochmal ein Debug von 45min später:

Code: Alles auswählen

2022-01-08 18:02:01: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-08 18:01:58: **** Regulation loop needs 7 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-08 18:01:57: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-01-08 18:01:57: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-01-08 18:01:56: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2022-01-08 18:01:56: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2022-01-08 18:01:56: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2022-01-08 18:01:56: EVU 1:V/0A 2: V/1A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2022-01-08 18:01:56: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2022-01-08 18:01:56: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 1866 wattbezug 546 uberschuss -546 (LV1) at 1279 loadvars loadvars.sh
2022-01-08 18:01:56: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2022-01-08 18:01:56: pv1watt -1314 pv2watt -6 pvwatt -1320 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2022-01-08 18:01:56: PID: 2478: legacy run server: Completed running command in 0.21s: ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 18:01:56: PID: 2478: root: EVU Einspeisung: 31189707
2022-01-08 18:01:56: PID: 2478: root: EVU Bezug: 5084426
2022-01-08 18:01:56: PID: 2478: root: EVU Watt: 546.16
2022-01-08 18:01:56: PID: 2478: root: Fronius SM Leistung[W]: 546.16
2022-01-08 18:01:56: PID: 2478: root: Einbauort: MeterLocation.grid

}
}
"Timestamp" : "2022-01-08T18:01:52+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "0",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 228.90000000000001
"Voltage_AC_Phase_2" : 230.90000000000001,
"Voltage_AC_Phase_1" : 232.30000000000001,
"Voltage_AC_PhaseToPhase_31" : 399.39999999999998,
"Voltage_AC_PhaseToPhase_23" : 398.19999999999999,
"Voltage_AC_PhaseToPhase_12" : 401.10000000000002,
"Visible" : 1,
"TimeStamp" : 1641661311,
"PowerReal_P_Sum" : 546.15999999999997,
"PowerReal_P_Phase_3" : 122.20999999999999,
"PowerReal_P_Phase_2" : 323.13999999999999,
"PowerReal_P_Phase_1" : 100.81,
"PowerReactive_Q_Sum" : -657.73000000000002,
"PowerReactive_Q_Phase_3" : -228.88999999999999,
"PowerReactive_Q_Phase_2" : -286.5,
"PowerReactive_Q_Phase_1" : -142.34,
"PowerFactor_Sum" : 0.63,
"PowerFactor_Phase_3" : 0.46999999999999997,
"PowerFactor_Phase_2" : 0.73999999999999999,
"PowerFactor_Phase_1" : 0.56999999999999995,
"PowerApparent_S_Sum" : 854,
"PowerApparent_S_Phase_3" : 297.7989,
"PowerApparent_S_Phase_2" : 476.80849999999998,
"PowerApparent_S_Phase_1" : 188.85990000000001,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 50,
"EnergyReal_WAC_Sum_Produced" : 31189707,
"EnergyReal_WAC_Sum_Consumed" : 5084426,
"EnergyReal_WAC_Plus_Absolute" : 5084426,
"EnergyReal_WAC_Minus_Absolute" : 31189707,
"EnergyReactive_VArAC_Sum_Produced" : 77981830,
"EnergyReactive_VArAC_Sum_Consumed" : 1241750,
"Enable" : 1,
},
"Serial" : "19140444"
"Model" : "Smart Meter 63A",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Phase_3" : 1.3009999999999999,
"Current_AC_Phase_2" : 2.0649999999999999,
"Current_AC_Phase_1" : 0.81299999999999994,
"Data" : {
"Body" : {
2022-01-08 18:01:56: PID: 2478: root: Get-Response: {
2022-01-08 18:01:56: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2261
2022-01-08 18:01:56: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 18:01:56: PID: 2478: root: Komponente Fronius SM Zähler auslesen.
2022-01-08 18:01:56: PID: 2478: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x73c97990>}
2022-01-08 18:01:56: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 18:01:56: PID: 2478: legacy run server: Received command ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 18:01:56: WR Speicher: none (LV2) at 28 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:55: WR IP2: 192.168.2.182 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:55: WR MeterLocation: 0 (LV2) at 26 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:55: WR Var2: 0 (LV2) at 25 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:55: WR GEN24: 0 (LV2) at 24 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:55: WR Erzeugung: 0 (LV2) at 23 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:55: WR IP: 192.168.2.180 (LV2) at 22 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:55: PID: 2478: legacy run server: Completed running command in 3.07s: ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 18:01:55: PID: 2478: root: PV Watt: 0
2022-01-08 18:01:52: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.182:80

}
}
"Timestamp" : "2022-01-08T18:01:48+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
"RequestArguments" : {},
"Head" : {
},
}
"Version" : "12"
},
"rel_SelfConsumption" : null
"rel_Autonomy" : 0,
"P_PV" : null,
"P_Load" : -544.52999999999997,
"P_Grid" : 544.52999999999997,
"P_Akku" : null,
"Mode" : "meter",
"Meter_Location" : "grid",
"E_Year" : 52541.40234375,
"E_Total" : 6867.7222222222226,
"E_Day" : 173,
"Site" : {
},
}
"P" : 0
"E_Year" : 52541.40234375,
"E_Total" : 6867.72216796875,
"E_Day" : 173,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 18:01:52: PID: 2478: root: Get-Response: {
2022-01-08 18:01:52: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 939
2022-01-08 18:01:52: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 18:01:52: PID: 2478: root: Komponente Fronius Wechselrichter auslesen.
2022-01-08 18:01:52: PID: 2478: root: Start device reading {'component1': <modules.fronius.inverter.FroniusInverter object at 0x72edc730>}
2022-01-08 18:01:52: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 18:01:52: PID: 2478: legacy run server: Received command ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 18:01:52: WR Speicher: none (LV2) at 25 main modules/wr_fronius/main.sh
2022-01-08 18:01:52: WR IP2: 192.168.2.182 (LV2) at 24 main modules/wr_fronius/main.sh
2022-01-08 18:01:52: WR Gen 24: 0 (LV2) at 23 main modules/wr_fronius/main.sh
2022-01-08 18:01:52: WR IP: 192.168.2.180 (LV2) at 22 main modules/wr_fronius/main.sh
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2022-01-08 18:01:52: 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):
2022-01-08 18:01:51: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-08 18:01:48: **** Regulation loop needs 6 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-08 18:01:47: Timing Umschaltung: 720 / 240 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-01-08 18:01:47: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-01-08 18:01:46: chargestatlp1 	chargestatlp2 0	chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2022-01-08 18:01:46: plugstatlp1 	plugstatlp2 0	plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2022-01-08 18:01:46: lp1enabled 1	lp2enabled 1	lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2022-01-08 18:01:46: EVU 1:V/0A 2: V/1A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2022-01-08 18:01:46: lla3 0	llv3 0	llas13  llas23  soclp1 0 soclp2 (LV1) at 1280 loadvars loadvars.sh
2022-01-08 18:01:46: lla2 0	llv2 0	llas12  llas22  sofortll 32 hausverbrauch 1853 wattbezug 539 uberschuss -539 (LV1) at 1279 loadvars loadvars.sh
2022-01-08 18:01:46: lla1 0	llv1 0	llas11  llas21  mindestuberschuss 1700 abschaltuberschuss -100 lademodus 2 (LV1) at 1278 loadvars loadvars.sh
2022-01-08 18:01:46: pv1watt -1308 pv2watt -6 pvwatt -1314 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2022-01-08 18:01:46: PID: 2478: legacy run server: Completed running command in 0.10s: ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 18:01:46: PID: 2478: root: EVU Einspeisung: 31189707
2022-01-08 18:01:46: PID: 2478: root: EVU Bezug: 5084425
2022-01-08 18:01:46: PID: 2478: root: EVU Watt: 539.53
2022-01-08 18:01:46: PID: 2478: root: Fronius SM Leistung[W]: 539.53
2022-01-08 18:01:46: PID: 2478: root: Einbauort: MeterLocation.grid

}
}
"Timestamp" : "2022-01-08T18:01:42+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "0",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 228.69999999999999
"Voltage_AC_Phase_2" : 230.80000000000001,
"Voltage_AC_Phase_1" : 232.19999999999999,
"Voltage_AC_PhaseToPhase_31" : 399.19999999999999,
"Voltage_AC_PhaseToPhase_23" : 397.89999999999998,
"Voltage_AC_PhaseToPhase_12" : 401,
"Visible" : 1,
"TimeStamp" : 1641661301,
"PowerReal_P_Sum" : 539.52999999999997,
"PowerReal_P_Phase_3" : 119.76000000000001,
"PowerReal_P_Phase_2" : 319.42000000000002,
"PowerReal_P_Phase_1" : 100.34999999999999,
"PowerReactive_Q_Sum" : -653.27999999999997,
"PowerReactive_Q_Phase_3" : -228.38999999999999,
"PowerReactive_Q_Phase_2" : -282.81,
"PowerReactive_Q_Phase_1" : -142.08000000000001,
"PowerFactor_Sum" : 0.63,
"PowerFactor_Phase_3" : 0.46000000000000002,
"PowerFactor_Phase_2" : 0.73999999999999999,
"PowerFactor_Phase_1" : 0.56999999999999995,
"PowerApparent_S_Sum" : 847,
"PowerApparent_S_Phase_3" : 295.48039999999997,
"PowerApparent_S_Phase_2" : 472.21679999999998,
"PowerApparent_S_Phase_1" : 188.77859999999998,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 50,
"EnergyReal_WAC_Sum_Produced" : 31189707,
"EnergyReal_WAC_Sum_Consumed" : 5084425,
"EnergyReal_WAC_Plus_Absolute" : 5084425,
"EnergyReal_WAC_Minus_Absolute" : 31189707,
"EnergyReactive_VArAC_Sum_Produced" : 77981820,
"EnergyReactive_VArAC_Sum_Consumed" : 1241750,
"Enable" : 1,
},
"Serial" : "19140444"
"Model" : "Smart Meter 63A",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Phase_3" : 1.292,
"Current_AC_Phase_2" : 2.0459999999999998,
"Current_AC_Phase_1" : 0.81299999999999994,
"Data" : {
"Body" : {
2022-01-08 18:01:46: PID: 2478: root: Get-Response: {
2022-01-08 18:01:46: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=0 HTTP/1.1" 200 2268
2022-01-08 18:01:46: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 18:01:46: PID: 2478: root: Komponente Fronius SM Zähler auslesen.
2022-01-08 18:01:46: PID: 2478: root: Start device reading {'componentNone': <modules.fronius.counter_sm.FroniusSmCounter object at 0x747fb610>}
2022-01-08 18:01:46: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 18:01:45: PID: 2478: legacy run server: Received command ["modules.fronius.device","counter_sm","192.168.2.180","0","0","0","0","192.168.2.182","none"]
2022-01-08 18:01:45: WR Speicher: none (LV2) at 28 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:45: WR IP2: 192.168.2.182 (LV2) at 27 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:45: WR MeterLocation: 0 (LV2) at 26 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:45: WR Var2: 0 (LV2) at 25 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:45: WR GEN24: 0 (LV2) at 24 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:45: WR Erzeugung: 0 (LV2) at 23 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:45: WR IP: 192.168.2.180 (LV2) at 22 main modules/bezug_fronius_sm/main.sh
2022-01-08 18:01:45: PID: 2478: legacy run server: Completed running command in 3.06s: ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 18:01:45: PID: 2478: root: PV Watt: 0
2022-01-08 18:01:42: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.182:80

}
}
"Timestamp" : "2022-01-08T18:01:38+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
"RequestArguments" : {},
"Head" : {
},
}
"Version" : "12"
},
"rel_SelfConsumption" : null
"rel_Autonomy" : 0,
"P_PV" : null,
"P_Load" : -541.17999999999995,
"P_Grid" : 541.17999999999995,
"P_Akku" : null,
"Mode" : "meter",
"Meter_Location" : "grid",
"E_Year" : 52541.40234375,
"E_Total" : 6867.7222222222226,
"E_Day" : 173,
"Site" : {
},
}
"P" : 0
"E_Year" : 52541.40234375,
"E_Total" : 6867.72216796875,
"E_Day" : 173,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2022-01-08 18:01:42: PID: 2478: root: Get-Response: {
2022-01-08 18:01:42: PID: 2478: requests.packages.urllib3.connectionpool: http://192.168.2.180:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 939
2022-01-08 18:01:42: PID: 2478: requests.packages.urllib3.connectionpool: Starting new HTTP connection (1): 192.168.2.180:80
2022-01-08 18:01:42: PID: 2478: root: Komponente Fronius Wechselrichter auslesen.
2022-01-08 18:01:42: PID: 2478: root: Start device reading {'component1': <modules.fronius.inverter.FroniusInverter object at 0x747f2a10>}
2022-01-08 18:01:42: PID: 2478: root: Fronius IP-Adresse: 192.168.2.180
2022-01-08 18:01:42: PID: 2478: legacy run server: Received command ["modules.fronius.device","inverter","192.168.2.180","0","0","0","0","192.168.2.182","none","1"]
2022-01-08 18:01:42: WR Speicher: none (LV2) at 25 main modules/wr_fronius/main.sh
2022-01-08 18:01:42: WR IP2: 192.168.2.182 (LV2) at 24 main modules/wr_fronius/main.sh
2022-01-08 18:01:42: WR Gen 24: 0 (LV2) at 23 main modules/wr_fronius/main.sh
2022-01-08 18:01:42: WR IP: 192.168.2.180 (LV2) at 22 main modules/wr_fronius/main.sh
loadvars.sh: Zeile 126: [: : Ganzzahliger Ausdruck erwartet.
2022-01-08 18:01: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):
PV: 30kWp mit 3 x Fronius Symo 10 und Smartmeter
3 x Victron Multiplus II 5000 mit 19,2kWh Pylontech
Tesla Model 3 LR
8 Shelly 1PM Aktoren für Heizstäbe, WM, GS, TR
1 OpenWB Standard+, 1 OpenWB Pro
vuffiraa
Beiträge: 252
Registriert: Mo Apr 19, 2021 11:26 am

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Beitrag von vuffiraa »

Ok, also sind es wirklich 3 unabhängige Geräte.

Wie hat es eigentlich mit den Tagessummen bisher funktioniert?
Wenn die WRs abgeschaltet sind, kann ja auch kein Gesamtertrag mehr abgerufen werden. Beim JSON-Modul ist der Zähler bestimmt einfach bis zum nächsten Tag stehen geblieben. Das Fronius-Modul summiert die Zähler normalerweise aber auf, dass heißt mit den Abschalten des 2. WR müsste der Gesamtzählerstand dort am Abend immer gesunken sein. Stimmt das?

Schönen Abend!
openWB serie 2 custom 11kW
Skoda Enyaq iV80
PV 9,4kWp SSW, Fronius Symo 8.2-3-M, Fronius Smart Meter 63A
mempfh
Beiträge: 187
Registriert: Fr Apr 10, 2020 11:18 am

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Beitrag von mempfh »

Also bis zur Nightly so um den 10.Dezember 21 und vor dem Update der Fronius Firmware WR und Datenlogger stimmte der Tagesertrag aller drei WR mit der Fronius App überein. Auch blieben diese Werte bis 24 Uhr in der Nacht erhalten. Somit war wie es sein sollte.
Der Spuk fing erst mit einer neuen Nightly an, daraufhin habe ich das Update in die Fronius geschoben, ab dann ging auch der Tagesertrag nicht mehr.
Mit der Stable 244 funktioniert die summierte PV Produktion aller 3 WR, jedoch ist der Tagesertrag immer bei 0.
Die Werte vom EVU Punkt mit dem Fronius Smartmeter sind OK
PV: 30kWp mit 3 x Fronius Symo 10 und Smartmeter
3 x Victron Multiplus II 5000 mit 19,2kWh Pylontech
Tesla Model 3 LR
8 Shelly 1PM Aktoren für Heizstäbe, WM, GS, TR
1 OpenWB Standard+, 1 OpenWB Pro
vuffiraa
Beiträge: 252
Registriert: Mo Apr 19, 2021 11:26 am

Re: Fronius PV-Modul WR2 wird nicht mehr erfasst

Beitrag von vuffiraa »

Der nächste Versuch steckt in PR #1898.
Damit habe ich vor, die Zählerstände auch im ausgeschalteten Zustand zu erhalten und eine Phantomerzeugung zu vermeiden.

Außerdem hat Fronius ein neues Update für den Datamanager herausgegeben.

VG
openWB serie 2 custom 11kW
Skoda Enyaq iV80
PV 9,4kWp SSW, Fronius Symo 8.2-3-M, Fronius Smart Meter 63A
Antworten