Seite 1 von 1

MQTT - faultState/faultStr

Verfasst: Fr Okt 22, 2021 5:01 pm
von ch.eick
Hallo zusammen,

ich bekomme andauernd wechselnde inhalte in den zwei Registern.
faultState wechselt zwischen blank und 0 und
faultStr wechselt zwischen blank und "Kein Fehler"

Code: Alles auswählen

| 2021-10-22 18:46:45 | lp_2_faultState |             |
| 2021-10-22 18:46:55 | lp_2_faultStr   | Kein Fehler |
| 2021-10-22 18:46:55 | lp_2_faultState | 0           |
Dadurch werden im lesenden System dauernd Events erzeugt.
Wie kann man das ändern, das nicht andauernd "blank" gesendet wird?

VG
Christian

Re: MQTT - faultState/faultStr

Verfasst: Sa Okt 23, 2021 2:28 pm
von ch.eick
So, da ich jetzt auch weiß wo die Logs zu finden sind, kommt hier mal das MQTT Log

openWB ist jetzt auf 1.9.249 nightly

Hier stehen die Meldungen, die ich schon sehr häufig finde, wenn keim Fehler da ist. Im UNIX kommen nur Meldungen, wenn was los ist ;-) :-)
Auf der MQTT Client Seite kommen dann noch zusätzlich die ganzen leeren Meldungen, also mit "Blank"

Code: Alles auswählen

2021-10-23 14:54:36 Topic: openWB/set/lp/2/faultStr Message: Kein Fehler
2021-10-23 14:54:36 Topic: openWB/set/lp/2/faultState Message: 0
2021-10-23 14:54:25 Topic: openWB/set/lp/2/faultStr Message: Kein Fehler
2021-10-23 14:54:25 Topic: openWB/set/lp/2/faultState Message: 0
2021-10-23 14:54:16 Topic: openWB/set/lp/2/faultStr Message: Kein Fehler
2021-10-23 14:54:16 Topic: openWB/set/lp/2/faultState Message: 0
2021-10-23 14:54:06 Topic: openWB/set/lp/2/faultStr Message: Kein Fehler
2021-10-23 14:54:06 Topic: openWB/set/lp/2/faultState Message: 0
2021-10-23 14:53:55 Topic: openWB/set/lp/2/faultStr Message: Kein Fehler
2021-10-23 14:53:55 Topic: openWB/set/lp/2/faultState Message: 0
2021-10-23 14:53:45 Topic: openWB/set/lp/2/faultStr Message: Kein Fehler
2021-10-23 14:53:45 Topic: openWB/set/lp/2/faultState Message: 0
2021-10-23 14:53:35 Topic: openWB/set/lp/2/faultStr Message: Kein Fehler
2021-10-23 14:53:35 Topic: openWB/set/lp/2/faultState Message: 0

Re: MQTT - faultState/faultStr

Verfasst: Di Nov 02, 2021 9:22 pm
von maus73
Moin zusammen, ich habe gestern meine OpenWB in Betrieb genommen. Echt Super ..
Jetzt bin ich dabei diese mit IOBroker zu verbinden. Hierbei ist mir aufgefallen, dass ich die gleichen Einträge im Log sehen:

Code: Alles auswählen

2021-11-02 22:19:57 Topic: openWB/set/lp/1/socFaultStr Message: Kein Fehler
2021-11-02 22:19:57 Topic: openWB/set/lp/1/socFaultState Message: 0
2021-11-02 22:19:47 Topic: openWB/set/lp/1/socFaultStr Message: Kein Fehler
2021-11-02 22:19:47 Topic: openWB/set/lp/1/socFaultState Message: 0
2021-11-02 22:19:37 Topic: openWB/set/lp/1/socFaultStr Message: Kein Fehler
2021-11-02 22:19:37 Topic: openWB/set/lp/1/socFaultState Message: 0
2021-11-02 22:19:27 Topic: openWB/set/lp/1/socFaultStr Message: Kein Fehler
2021-11-02 22:19:27 Topic: openWB/set/lp/1/socFaultState Message: 0
2021-11-02 22:19:17 Topic: openWB/set/lp/1/socFaultStr Message: Kein Fehler
2021-11-02 22:19:17 Topic: openWB/set/lp/1/socFaultState Message: 0
Hat jemand eine Idee wie ich das abschalten kann?

Details: Ich habe IOBroker und OpenWB wie hier beschrieben eingerichtet:
https://github.com/snaptec/openWB/wiki/ ... oker-&-vis
openWB Version: 1.9.244

Re: MQTT - faultState/faultStr

Verfasst: Mi Nov 03, 2021 6:31 pm
von ch.eick
Hallo.

Das liegt ja nicht am IOBroker oder FHEM, da werden ja nur die MQTT Messages empfangen, aber schauen wir mal ob sich jemand vom Support mal meldet.

VG
Christian

Re: MQTT - faultState/faultStr

Verfasst: Di Nov 09, 2021 8:54 am
von LutzB
Warum abboniert ihr Topics mit "set" im Pfad? Nehmt doch einfach "openWB/lp/1/socFaultStr" bzw. "openWB/lp/1/socFaultState", wenn es unbedingt sein muss. Dann kommen auch die Blanks nicht mit rüber, die die retained Topics im Set-Zweig entfernen.

Re: MQTT - faultState/faultStr

Verfasst: Mi Nov 10, 2021 7:32 am
von ch.eick
LutzB hat geschrieben: Di Nov 09, 2021 8:54 am Warum abonniert ihr Topics mit "set" im Pfad? Nehmt doch einfach "openWB/lp/1/socFaultStr" bzw. "openWB/lp/1/socFaultState", wenn es unbedingt sein muss. Dann kommen auch die Blanks nicht mit rüber, die die retained Topics im Set-Zweig entfernen.
Ich bin noch ganz neu bei dem MQTT und die Liste der abonnierten Topics ist glaube ich aus einem autocreate entstanden.
Wofür sind denn die mit "set" im Namen?
Gibt es da eine fertige Liste mit Erklärung was wofür ist?

VG
Christian

Re: MQTT - faultState/faultStr

Verfasst: Mi Nov 10, 2021 8:57 am
von Amok83
"Set" tut wie es heißt, es setzt Werte.
Damit kann man die openWB also steuern bzw. Einstellungen verändern.

Re: MQTT - faultState/faultStr

Verfasst: Do Feb 22, 2024 1:41 pm
von Saladir
Hallo zusammen,

ich greife mal diesen älteren Thread wieder auf, da ich die gleichen Fehlermeldungen im Mqtt Log der openWB bekomme.

openWB Version? -> installierte Version: 1.9.304.0
openWB Variante? (Selbst installiert, Standalone, series1/2) -> Selbst installiert, Standalone
Wenn selbst installiert, welches OS? -> Debian Stretch

Hier der entsprechende Mqtt Log

Code: Alles auswählen

2024-02-22 14:37:21,739: Topic: openWB/set/evu/None/faultState, Message: 0
2024-02-22 14:37:21,698: Topic: openWB/set/evu/None/faultStr, Message: "Kein Fehler."
2024-02-22 14:37:21,479: Topic: openWB/set/pv/1/faultState, Message: 0
2024-02-22 14:37:21,436: Topic: openWB/set/pv/1/faultStr, Message: "Kein Fehler."
2024-02-22 14:37:11,683: Topic: openWB/set/evu/None/faultState, Message: 0
2024-02-22 14:37:11,641: Topic: openWB/set/evu/None/faultStr, Message: "Kein Fehler."
2024-02-22 14:37:11,491: Topic: openWB/set/pv/1/faultState, Message: 0
2024-02-22 14:37:11,448: Topic: openWB/set/pv/1/faultStr, Message: "Kein Fehler."
2024-02-22 14:37:01,687: Topic: openWB/set/evu/None/faultState, Message: 0
2024-02-22 14:37:01,646: Topic: openWB/set/evu/None/faultStr, Message: "Kein Fehler."
2024-02-22 14:37:01,479: Topic: openWB/set/pv/1/faultState, Message: 0
2024-02-22 14:37:01,437: Topic: openWB/set/pv/1/faultStr, Message: "Kein Fehler."
Und hier der Debug Log:

Code: Alles auswählen

runs/pubmqtt.sh: Zeile 297: / 1000: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"/ 1000\").
(standard_in) 1: syntax error
2024-02-22 14:37:22: PID: 10638: **** Regulation loop needs 1 seconds (LV2) at 62 cleanup /var/www/html/openWB/regel.sh
2024-02-22 14:37:22: PID: 10638: Überschuss 559; mindestens 1400 (LV1) at 104 nurpvlademodus nurpv.sh
2024-02-22 14:37:22: PID: 10638: uberschuss 559 wattbezug -559 ladestatus 0 llsoll 0 pvwatt -1429 mindestuberschussphasen 1400 wattkombiniert 559 schaltschwelle 230 (LV2) at 586 main /var/www/html/openWB/regel.sh
2024-02-22 14:37:22: PID: 10638: anzahlphasen 1 (LV1) at 585 main /var/www/html/openWB/regel.sh
2024-02-22 14:37:22: PID: 10638: Timing Umschaltung: 480 / 480 (LV1) at 17 u1p3pswitch u1p3p.sh
2024-02-22 14:37:22: PID: 10638: automatische Umschaltung aktiv (LV1) at 16 u1p3pswitch u1p3p.sh
2024-02-22 14:37:22: PID: 10638: Zeit zum abfragen aller Werte 1 Sekunden (LV1) at 186 main /var/www/html/openWB/regel.sh
2024-02-22 14:37:21: PID: 10638: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2024-02-22 14:37:21: PID: 10638: plugstatlp1 1 plugstatlp2 0 plugstatlp3 0 (LV1) at 1273 loadvars loadvars.sh
2024-02-22 14:37:21: PID: 10638: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1272 loadvars loadvars.sh
2024-02-22 14:37:21: PID: 10638: EVU 1:V/-0A 2: V/-0A 3: V/-1A (LV1) at 1271 loadvars loadvars.sh
2024-02-22 14:37:21: PID: 10638: lla3 0 llv3 0 llas13  llas23  soclp1 55 soclp2  (LV1) at 1270 loadvars loadvars.sh
2024-02-22 14:37:21: PID: 10638: lla2 0 llv2 0 llas12  llas22  sofortll null hausverbrauch 870 wattbezug -559 uberschuss 559 (LV1) at 1269 loadvars loadvars.sh
2024-02-22 14:37:21: PID: 10638: lla1 0 llv1 0 llas11  llas21  mindestuberschuss 1400 abschaltuberschuss 0 lademodus 2 (LV1) at 1268 loadvars loadvars.sh
2024-02-22 14:37:21: PID: 10638: pv1watt -1429 pv2watt  pvwatt -1429 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 16 (LV1) at 1267 loadvars loadvars.sh
2024-02-22 14:37:21: PID: 2400: legacy run server: Completed running command in 0.11s: ["modules.devices.fronius.device","counter_sm","192.168.178.46","1","0","none"]
2024-02-22 14:37:21: PID: 2400: soc.modules.common.store._api: Saving CounterState(power_factors=[-0.74, -0.281, -0.766], exported=23497.305077599885, currents=[-0.7863284608770422, -0.4214625703158806, -1.2102297355873428], imported=20380.72779146663, frequency=50, powers=[-182.9, -97.4, -279.2], power=-559.6, voltages=[232.6, 231.1, 230.7])
2024-02-22 14:37:21: PID: 2400: modules.common.simcount._simcount: imported: 0 Wh, exported: 1.54447 Wh, new state: SimCounterState(exported=23497.305077599885, power=-559.6, timestamp=1708609041.6903138, imported=20380.72779146663)
2024-02-22 14:37:21: PID: 2400: modules.common.simcount._calculate: power did not change sign. Total energy: -1.54447
2024-02-22 14:37:21: PID: 2400: modules.common.simcount._calculate: time passed: 0.00279314, power1: -546.3, power2: -559.6
2024-02-22 14:37:21: PID: 2400: modules.common.simcount._simcount: Previous state: SimCounterState(exported=23495.76061024321, power=-546.3, timestamp=1708609031.635006, imported=20380.72779146663)
2024-02-22 14:37:21: PID: 2400: modules.devices.fronius.counter_sm: Einbauort: MeterLocation.grid

}
}
"Timestamp" : "2024-02-22T14:37:21+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "1",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 230.69999999999999
"Voltage_AC_Phase_2" : 231.09999999999999,
"Voltage_AC_Phase_1" : 232.59999999999999,
"Voltage_AC_PhaseToPhase_31" : 399.10000000000002,
"Voltage_AC_PhaseToPhase_23" : 401.89999999999998,
"Voltage_AC_PhaseToPhase_12" : 401.5,
"Visible" : 1,
"TimeStamp" : 1708609040,
"PowerReal_P_Sum" : -559.60000000000002,
"PowerReal_P_Phase_3" : -279.19999999999999,
"PowerReal_P_Phase_2" : -97.400000000000006,
"PowerReal_P_Phase_1" : -182.90000000000001,
"PowerReactive_Q_Sum" : -733.5,
"PowerReactive_Q_Phase_3" : -234.19999999999999,
"PowerReactive_Q_Phase_2" : -333.19999999999999,
"PowerReactive_Q_Phase_1" : -166.09999999999999,
"PowerFactor_Sum" : -0.60699999999999998,
"PowerFactor_Phase_3" : -0.76600000000000001,
"PowerFactor_Phase_2" : -0.28100000000000003,
"PowerFactor_Phase_1" : -0.73999999999999999,
"PowerApparent_S_Sum" : 958.79999999999995,
"PowerApparent_S_Phase_3" : 364.39999999999998,
"PowerApparent_S_Phase_2" : 347.10000000000002,
"PowerApparent_S_Phase_1" : 247.09999999999999,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 50,
"EnergyReal_WAC_Sum_Produced" : 473205,
"EnergyReal_WAC_Sum_Consumed" : 5848442,
"EnergyReal_WAC_Plus_Absolute" : 5848442,
"EnergyReal_WAC_Minus_Absolute" : 473205,
"EnergyReactive_VArAC_Sum_Produced" : 3624056,
"EnergyReactive_VArAC_Sum_Consumed" : 100761,
"Enable" : 1,
},
"Serial" : "708968948"
"Model" : "Smart Meter TS 65A-3",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Sum" : -4.6240000000000006,
"Current_AC_Phase_3" : -1.7490000000000001,
"Current_AC_Phase_2" : -1.675,
"Current_AC_Phase_1" : -1.2,
"Data" : {
"Body" : {
2024-02-22 14:37:21: PID: 2400: soc.modules.common.req: Get-Response: {
2024-02-22 14:37:21: PID: 2400: urllib3.connectionpool: http://192.168.178.46:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=1 HTTP/1.1" 200 2343
2024-02-22 14:37:21: PID: 2400: urllib3.connectionpool: Starting new HTTP connection (1): 192.168.178.46:80
2024-02-22 14:37:21: PID: 2400: soc.modules.common.component_context: Update Komponenten ['Fronius SM Zähler']
2024-02-22 14:37:21: PID: 2400: modules.devices.fronius.device: Start device reading {'componentNone': <modules.devices.fronius.counter_sm.FroniusSmCounter object at 0xf4a5ebac>}
2024-02-22 14:37:21: PID: 2400: modules.devices.fronius.device: Fronius IP-Adresse: 192.168.178.46
2024-02-22 14:37:21: PID: 2400: legacy run server: Received command ["modules.devices.fronius.device","counter_sm","192.168.178.46","1","0","none"]
2024-02-22 14:37:21: PID: 10888: WR Speicher: none (LV2) at 17 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:21: PID: 10888: WR IP2: none (LV2) at 16 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:21: PID: 10888: WR Var2: 0 (LV2) at 15 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:21: PID: 10888: WR Erzeugung: 1 (LV2) at 14 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:21: PID: 10888: WR IP: 192.168.178.46 (LV2) at 13 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:21: PID: 2400: legacy run server: Completed running command in 0.06s: ["modules.devices.fronius.device","inverter","192.168.178.46","0","0","none","1"]
2024-02-22 14:37:21: PID: 2400: soc.modules.common.store._api: Saving InverterState(exported=48640.204290200076, currents=[0.0, 0.0, 0.0], power=-1429.0, dc_power=None)
2024-02-22 14:37:21: PID: 2400: modules.common.simcount._simcount: imported: 0 Wh, exported: 3.9505 Wh, new state: SimCounterState(exported=48640.204290200076, power=-1429.0, timestamp=1708609041.430412, imported=0.0)
2024-02-22 14:37:21: PID: 2400: modules.common.simcount._calculate: power did not change sign. Total energy: -3.9505
2024-02-22 14:37:21: PID: 2400: modules.common.simcount._calculate: time passed: 0.00277423, power1: -1419, power2: -1429
2024-02-22 14:37:21: PID: 2400: modules.common.simcount._simcount: Previous state: SimCounterState(exported=48636.253793314565, power=-1419.0, timestamp=1708609031.4432008, imported=0.0)

}
}
"Timestamp" : "2024-02-22T14:37:21+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
"RequestArguments" : {},
"Head" : {
},
}
"Version" : "12"
},
"rel_SelfConsumption" : 60.839748075577326
"rel_Autonomy" : 100,
"P_PV" : 1429,
"P_Load" : -869.39999999999998,
"P_Grid" : -559.60000000000002,
"P_Akku" : null,
"Mode" : "meter",
"Meter_Location" : "grid",
"E_Year" : 816892.1875,
"E_Total" : 3943100,
"E_Day" : 7363,
"Site" : {
},
}
"P" : 1429
"E_Year" : 816892.1875,
"E_Total" : 3943100,
"E_Day" : 7363,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2024-02-22 14:37:21: PID: 2400: soc.modules.common.req: Get-Response: {
2024-02-22 14:37:21: PID: 2400: urllib3.connectionpool: http://192.168.178.46:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 935
2024-02-22 14:37:21: PID: 2400: urllib3.connectionpool: Starting new HTTP connection (1): 192.168.178.46:80
2024-02-22 14:37:21: PID: 2400: soc.modules.common.component_context: Update Komponente ['Fronius Wechselrichter']
2024-02-22 14:37:21: PID: 2400: modules.devices.fronius.device: Fronius IP-Adresse: 192.168.178.46
2024-02-22 14:37:21: PID: 2400: legacy run server: Received command ["modules.devices.fronius.device","inverter","192.168.178.46","0","0","none","1"]
2024-02-22 14:37:21: PID: 10809: WR Speicher: none (LV2) at 15 main modules/wr_fronius/main.sh
2024-02-22 14:37:21: PID: 10809: WR IP2: none (LV2) at 14 main modules/wr_fronius/main.sh
2024-02-22 14:37:21: PID: 10809: WR IP: 192.168.178.46 (LV2) at 13 main modules/wr_fronius/main.sh
2024-02-22 14:37:21: PID: 10638: **** Regulation loop start **** (LV1) at 77 main /var/www/html/openWB/regel.sh
runs/pubmqtt.sh: Zeile 297: / 1000: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"/ 1000\").
(standard_in) 1: syntax error
2024-02-22 14:37:12: PID: 9318: **** Regulation loop needs 1 seconds (LV2) at 62 cleanup /var/www/html/openWB/regel.sh
2024-02-22 14:37:12: PID: 9318: Überschuss 546; mindestens 1400 (LV1) at 104 nurpvlademodus nurpv.sh
2024-02-22 14:37:12: PID: 9318: uberschuss 546 wattbezug -546 ladestatus 0 llsoll 0 pvwatt -1419 mindestuberschussphasen 1400 wattkombiniert 546 schaltschwelle 230 (LV2) at 586 main /var/www/html/openWB/regel.sh
2024-02-22 14:37:12: PID: 9318: anzahlphasen 1 (LV1) at 585 main /var/www/html/openWB/regel.sh
2024-02-22 14:37:12: PID: 9318: Timing Umschaltung: 480 / 480 (LV1) at 17 u1p3pswitch u1p3p.sh
2024-02-22 14:37:12: PID: 9318: automatische Umschaltung aktiv (LV1) at 16 u1p3pswitch u1p3p.sh
2024-02-22 14:37:12: PID: 9318: Zeit zum abfragen aller Werte 1 Sekunden (LV1) at 186 main /var/www/html/openWB/regel.sh
2024-02-22 14:37:11: PID: 9318: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2024-02-22 14:37:11: PID: 9318: plugstatlp1 1 plugstatlp2 0 plugstatlp3 0 (LV1) at 1273 loadvars loadvars.sh
2024-02-22 14:37:11: PID: 9318: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1272 loadvars loadvars.sh
2024-02-22 14:37:11: PID: 9318: EVU 1:V/-0A 2: V/-0A 3: V/-1A (LV1) at 1271 loadvars loadvars.sh
2024-02-22 14:37:11: PID: 9318: lla3 0 llv3 0 llas13  llas23  soclp1 55 soclp2  (LV1) at 1270 loadvars loadvars.sh
2024-02-22 14:37:11: PID: 9318: lla2 0 llv2 0 llas12  llas22  sofortll null hausverbrauch 873 wattbezug -546 uberschuss 546 (LV1) at 1269 loadvars loadvars.sh
2024-02-22 14:37:11: PID: 9318: lla1 0 llv1 0 llas11  llas21  mindestuberschuss 1400 abschaltuberschuss 0 lademodus 2 (LV1) at 1268 loadvars loadvars.sh
2024-02-22 14:37:11: PID: 9318: pv1watt -1419 pv2watt  pvwatt -1419 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 16 (LV1) at 1267 loadvars loadvars.sh
2024-02-22 14:37:11: PID: 2400: legacy run server: Completed running command in 0.05s: ["modules.devices.fronius.device","counter_sm","192.168.178.46","1","0","none"]
2024-02-22 14:37:11: PID: 2400: soc.modules.common.store._api: Saving CounterState(power_factors=[-0.734, -0.265, -0.762], exported=23495.76061024321, currents=[-0.7717110920034393, -0.39532871972318345, -1.1937581274382314], imported=20380.72779146663, frequency=50, powers=[-179.5, -91.4, -275.4], power=-546.3, voltages=[232.6, 231.2, 230.7])
2024-02-22 14:37:11: PID: 2400: modules.common.simcount._simcount: imported: 0 Wh, exported: 1.5218 Wh, new state: SimCounterState(exported=23495.76061024321, power=-546.3, timestamp=1708609031.635006, imported=20380.72779146663)
2024-02-22 14:37:11: PID: 2400: modules.common.simcount._calculate: power did not change sign. Total energy: -1.5218
2024-02-22 14:37:11: PID: 2400: modules.common.simcount._calculate: time passed: 0.0027765, power1: -549.9, power2: -546.3
2024-02-22 14:37:11: PID: 2400: modules.common.simcount._simcount: Previous state: SimCounterState(exported=23494.238810636827, power=-549.9, timestamp=1708609021.6396062, imported=20380.72779146663)
2024-02-22 14:37:11: PID: 2400: modules.devices.fronius.counter_sm: Einbauort: MeterLocation.grid

}
}
"Timestamp" : "2024-02-22T14:37:11+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "1",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 230.69999999999999
"Voltage_AC_Phase_2" : 231.19999999999999,
"Voltage_AC_Phase_1" : 232.59999999999999,
"Voltage_AC_PhaseToPhase_31" : 399.10000000000002,
"Voltage_AC_PhaseToPhase_23" : 402,
"Voltage_AC_PhaseToPhase_12" : 401.60000000000002,
"Visible" : 1,
"TimeStamp" : 1708609030,
"PowerReal_P_Sum" : -546.29999999999995,
"PowerReal_P_Phase_3" : -275.39999999999998,
"PowerReal_P_Phase_2" : -91.400000000000006,
"PowerReal_P_Phase_1" : -179.5,
"PowerReactive_Q_Sum" : -733.20000000000005,
"PowerReactive_Q_Phase_3" : -233.90000000000001,
"PowerReactive_Q_Phase_2" : -333.19999999999999,
"PowerReactive_Q_Phase_1" : -166,
"PowerFactor_Sum" : -0.59699999999999998,
"PowerFactor_Phase_3" : -0.76200000000000001,
"PowerFactor_Phase_2" : -0.26500000000000001,
"PowerFactor_Phase_1" : -0.73399999999999999,
"PowerApparent_S_Sum" : 951.5,
"PowerApparent_S_Phase_3" : 361.39999999999998,
"PowerApparent_S_Phase_2" : 345.5,
"PowerApparent_S_Phase_1" : 244.5,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 50,
"EnergyReal_WAC_Sum_Produced" : 473204,
"EnergyReal_WAC_Sum_Consumed" : 5848442,
"EnergyReal_WAC_Plus_Absolute" : 5848442,
"EnergyReal_WAC_Minus_Absolute" : 473204,
"EnergyReactive_VArAC_Sum_Produced" : 3624054,
"EnergyReactive_VArAC_Sum_Consumed" : 100761,
"Enable" : 1,
},
"Serial" : "708968948"
"Model" : "Smart Meter TS 65A-3",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Sum" : -4.5999999999999996,
"Current_AC_Phase_3" : -1.7370000000000001,
"Current_AC_Phase_2" : -1.673,
"Current_AC_Phase_1" : -1.1899999999999999,
"Data" : {
"Body" : {
2024-02-22 14:37:11: PID: 2400: soc.modules.common.req: Get-Response: {
2024-02-22 14:37:11: PID: 2400: urllib3.connectionpool: http://192.168.178.46:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=1 HTTP/1.1" 200 2302
2024-02-22 14:37:11: PID: 2400: urllib3.connectionpool: Starting new HTTP connection (1): 192.168.178.46:80
2024-02-22 14:37:11: PID: 2400: soc.modules.common.component_context: Update Komponenten ['Fronius SM Zähler']
2024-02-22 14:37:11: PID: 2400: modules.devices.fronius.device: Start device reading {'componentNone': <modules.devices.fronius.counter_sm.FroniusSmCounter object at 0xf5c92f2c>}
2024-02-22 14:37:11: PID: 2400: modules.devices.fronius.device: Fronius IP-Adresse: 192.168.178.46
2024-02-22 14:37:11: PID: 2400: legacy run server: Received command ["modules.devices.fronius.device","counter_sm","192.168.178.46","1","0","none"]
2024-02-22 14:37:11: PID: 9568: WR Speicher: none (LV2) at 17 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:11: PID: 9568: WR IP2: none (LV2) at 16 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:11: PID: 9568: WR Var2: 0 (LV2) at 15 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:11: PID: 9568: WR Erzeugung: 1 (LV2) at 14 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:11: PID: 9568: WR IP: 192.168.178.46 (LV2) at 13 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:11: PID: 2400: legacy run server: Completed running command in 0.07s: ["modules.devices.fronius.device","inverter","192.168.178.46","0","0","none","1"]
2024-02-22 14:37:11: PID: 2400: soc.modules.common.store._api: Saving InverterState(exported=48636.253793314565, currents=[0.0, 0.0, 0.0], power=-1419.0, dc_power=None)
2024-02-22 14:37:11: PID: 2400: modules.common.simcount._simcount: imported: 0 Wh, exported: 3.94624 Wh, new state: SimCounterState(exported=48636.253793314565, power=-1419.0, timestamp=1708609031.4432008, imported=0.0)
2024-02-22 14:37:11: PID: 2400: modules.common.simcount._calculate: power did not change sign. Total energy: -3.94624
2024-02-22 14:37:11: PID: 2400: modules.common.simcount._calculate: time passed: 0.002781, power1: -1419, power2: -1419
2024-02-22 14:37:11: PID: 2400: modules.common.simcount._simcount: Previous state: SimCounterState(exported=48632.30755759683, power=-1419.0, timestamp=1708609021.4316092, imported=0.0)

}
}
"Timestamp" : "2024-02-22T14:37:11+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
"RequestArguments" : {},
"Head" : {
},
}
"Version" : "12"
},
"rel_SelfConsumption" : 61.670190274841438
"rel_Autonomy" : 100,
"P_PV" : 1419,
"P_Load" : -875.10000000000002,
"P_Grid" : -543.89999999999998,
"P_Akku" : null,
"Mode" : "meter",
"Meter_Location" : "grid",
"E_Year" : 816887.3125,
"E_Total" : 3943100,
"E_Day" : 7359,
"Site" : {
},
}
"P" : 1419
"E_Year" : 816887.3125,
"E_Total" : 3943100,
"E_Day" : 7359,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2024-02-22 14:37:11: PID: 2400: soc.modules.common.req: Get-Response: {
2024-02-22 14:37:11: PID: 2400: urllib3.connectionpool: http://192.168.178.46:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 935
2024-02-22 14:37:11: PID: 2400: urllib3.connectionpool: Starting new HTTP connection (1): 192.168.178.46:80
2024-02-22 14:37:11: PID: 2400: soc.modules.common.component_context: Update Komponente ['Fronius Wechselrichter']
2024-02-22 14:37:11: PID: 2400: modules.devices.fronius.device: Fronius IP-Adresse: 192.168.178.46
2024-02-22 14:37:11: PID: 2400: legacy run server: Received command ["modules.devices.fronius.device","inverter","192.168.178.46","0","0","none","1"]
2024-02-22 14:37:11: PID: 9489: WR Speicher: none (LV2) at 15 main modules/wr_fronius/main.sh
2024-02-22 14:37:11: PID: 9489: WR IP2: none (LV2) at 14 main modules/wr_fronius/main.sh
2024-02-22 14:37:11: PID: 9489: WR IP: 192.168.178.46 (LV2) at 13 main modules/wr_fronius/main.sh
2024-02-22 14:37:11: PID: 9318: **** Regulation loop start **** (LV1) at 77 main /var/www/html/openWB/regel.sh
runs/pubmqtt.sh: Zeile 297: / 1000: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"/ 1000\").
(standard_in) 1: syntax error
2024-02-22 14:37:02: PID: 7989: **** Regulation loop needs 1 seconds (LV2) at 62 cleanup /var/www/html/openWB/regel.sh
2024-02-22 14:37:02: PID: 7989: Überschuss 549; mindestens 1400 (LV1) at 104 nurpvlademodus nurpv.sh
2024-02-22 14:37:02: PID: 7989: uberschuss 549 wattbezug -549 ladestatus 0 llsoll 0 pvwatt -1419 mindestuberschussphasen 1400 wattkombiniert 549 schaltschwelle 230 (LV2) at 586 main /var/www/html/openWB/regel.sh
2024-02-22 14:37:02: PID: 7989: anzahlphasen 1 (LV1) at 585 main /var/www/html/openWB/regel.sh
2024-02-22 14:37:02: PID: 7989: Timing Umschaltung: 480 / 480 (LV1) at 17 u1p3pswitch u1p3p.sh
2024-02-22 14:37:02: PID: 7989: automatische Umschaltung aktiv (LV1) at 16 u1p3pswitch u1p3p.sh
2024-02-22 14:37:02: PID: 7989: Zeit zum abfragen aller Werte 1 Sekunden (LV1) at 186 main /var/www/html/openWB/regel.sh
2024-02-22 14:37:01: PID: 7989: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2024-02-22 14:37:01: PID: 7989: plugstatlp1 1 plugstatlp2 0 plugstatlp3 0 (LV1) at 1273 loadvars loadvars.sh
2024-02-22 14:37:01: PID: 7989: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1272 loadvars loadvars.sh
2024-02-22 14:37:01: PID: 7989: EVU 1:V/-0A 2: V/-0A 3: V/-1A (LV1) at 1271 loadvars loadvars.sh
2024-02-22 14:37:01: PID: 7989: lla3 0 llv3 0 llas13  llas23  soclp1 55 soclp2  (LV1) at 1270 loadvars loadvars.sh
2024-02-22 14:37:01: PID: 7989: lla2 0 llv2 0 llas12  llas22  sofortll null hausverbrauch 870 wattbezug -549 uberschuss 549 (LV1) at 1269 loadvars loadvars.sh
2024-02-22 14:37:01: PID: 7989: lla1 0 llv1 0 llas11  llas21  mindestuberschuss 1400 abschaltuberschuss 0 lademodus 2 (LV1) at 1268 loadvars loadvars.sh
2024-02-22 14:37:01: PID: 7989: pv1watt -1419 pv2watt  pvwatt -1419 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 16 (LV1) at 1267 loadvars loadvars.sh
2024-02-22 14:37:01: PID: 2400: legacy run server: Completed running command in 0.07s: ["modules.devices.fronius.device","counter_sm","192.168.178.46","1","0","none"]
2024-02-22 14:37:01: PID: 2400: soc.modules.common.store._api: Saving CounterState(power_factors=[-0.739, -0.263, -0.764], exported=23494.238810636827, currents=[-0.7827956989247312, -0.3929035049762008, -1.2007805724197744], imported=20380.72779146663, frequency=50, powers=[-182, -90.8, -276.9], power=-549.9, voltages=[232.5, 231.1, 230.6])
2024-02-22 14:37:01: PID: 2400: modules.common.simcount._simcount: imported: 0 Wh, exported: 1.44523 Wh, new state: SimCounterState(exported=23494.238810636827, power=-549.9, timestamp=1708609021.6396062, imported=20380.72779146663)
2024-02-22 14:37:01: PID: 2400: modules.common.simcount._calculate: power did not change sign. Total energy: -1.44523
2024-02-22 14:37:01: PID: 2400: modules.common.simcount._calculate: time passed: 0.00260332, power1: -560.4, power2: -549.9
2024-02-22 14:37:01: PID: 2400: modules.common.simcount._simcount: Previous state: SimCounterState(exported=23492.79357936836, power=-560.4, timestamp=1708609012.267666, imported=20380.72779146663)
2024-02-22 14:37:01: PID: 2400: modules.devices.fronius.counter_sm: Einbauort: MeterLocation.grid

}
}
"Timestamp" : "2024-02-22T14:37:01+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "1",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 230.59999999999999
"Voltage_AC_Phase_2" : 231.09999999999999,
"Voltage_AC_Phase_1" : 232.5,
"Voltage_AC_PhaseToPhase_31" : 401,
"Voltage_AC_PhaseToPhase_23" : 401.80000000000001,
"Voltage_AC_PhaseToPhase_12" : 399.39999999999998,
"Visible" : 1,
"TimeStamp" : 1708609020,
"PowerReal_P_Sum" : -549.89999999999998,
"PowerReal_P_Phase_3" : -276.89999999999998,
"PowerReal_P_Phase_2" : -90.799999999999997,
"PowerReal_P_Phase_1" : -182,
"PowerReactive_Q_Sum" : -733.89999999999998,
"PowerReactive_Q_Phase_3" : -234.09999999999999,
"PowerReactive_Q_Phase_2" : -333.89999999999998,
"PowerReactive_Q_Phase_1" : -165.80000000000001,
"PowerFactor_Sum" : -0.59999999999999998,
"PowerFactor_Phase_3" : -0.76400000000000001,
"PowerFactor_Phase_2" : -0.26300000000000001,
"PowerFactor_Phase_1" : -0.73899999999999999,
"PowerApparent_S_Sum" : 955.10000000000002,
"PowerApparent_S_Phase_3" : 362.69999999999999,
"PowerApparent_S_Phase_2" : 346,
"PowerApparent_S_Phase_1" : 246.30000000000001,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 50,
"EnergyReal_WAC_Sum_Produced" : 473202,
"EnergyReal_WAC_Sum_Consumed" : 5848442,
"EnergyReal_WAC_Plus_Absolute" : 5848442,
"EnergyReal_WAC_Minus_Absolute" : 473202,
"EnergyReactive_VArAC_Sum_Produced" : 3624052,
"EnergyReactive_VArAC_Sum_Consumed" : 100761,
"Enable" : 1,
},
"Serial" : "708968948"
"Model" : "Smart Meter TS 65A-3",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Sum" : -4.6059999999999999,
"Current_AC_Phase_3" : -1.742,
"Current_AC_Phase_2" : -1.6719999999999999,
"Current_AC_Phase_1" : -1.1919999999999999,
"Data" : {
"Body" : {
2024-02-22 14:37:01: PID: 2400: soc.modules.common.req: Get-Response: {
2024-02-22 14:37:01: PID: 2400: urllib3.connectionpool: http://192.168.178.46:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=1 HTTP/1.1" 200 2326
2024-02-22 14:37:01: PID: 2400: urllib3.connectionpool: Starting new HTTP connection (1): 192.168.178.46:80
2024-02-22 14:37:01: PID: 2400: soc.modules.common.component_context: Update Komponenten ['Fronius SM Zähler']
2024-02-22 14:37:01: PID: 2400: modules.devices.fronius.device: Start device reading {'componentNone': <modules.devices.fronius.counter_sm.FroniusSmCounter object at 0xf5cfe5ec>}
2024-02-22 14:37:01: PID: 2400: modules.devices.fronius.device: Fronius IP-Adresse: 192.168.178.46
2024-02-22 14:37:01: PID: 2400: legacy run server: Received command ["modules.devices.fronius.device","counter_sm","192.168.178.46","1","0","none"]
2024-02-22 14:37:01: PID: 8248: WR Speicher: none (LV2) at 17 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:01: PID: 8248: WR IP2: none (LV2) at 16 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:01: PID: 8248: WR Var2: 0 (LV2) at 15 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:01: PID: 8248: WR Erzeugung: 1 (LV2) at 14 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:01: PID: 8248: WR IP: 192.168.178.46 (LV2) at 13 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:37:01: PID: 2400: legacy run server: Completed running command in 0.05s: ["modules.devices.fronius.device","inverter","192.168.178.46","0","0","none","1"]
2024-02-22 14:37:01: PID: 2400: soc.modules.common.store._api: Saving InverterState(exported=48632.30755759683, currents=[0.0, 0.0, 0.0], power=-1419.0, dc_power=None)
2024-02-22 14:37:01: PID: 2400: modules.common.simcount._simcount: imported: 0 Wh, exported: 3.75537 Wh, new state: SimCounterState(exported=48632.30755759683, power=-1419.0, timestamp=1708609021.4316092, imported=0.0)
2024-02-22 14:37:01: PID: 2400: modules.common.simcount._calculate: power did not change sign. Total energy: -3.75537
2024-02-22 14:37:01: PID: 2400: modules.common.simcount._calculate: time passed: 0.00263812, power1: -1428, power2: -1419
2024-02-22 14:37:01: PID: 2400: modules.common.simcount._simcount: Previous state: SimCounterState(exported=48628.55218804177, power=-1428.0, timestamp=1708609011.9343626, imported=0.0)

}
}
"Timestamp" : "2024-02-22T14:37:01+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
"RequestArguments" : {},
"Head" : {
},
}
"Version" : "12"
},
"rel_SelfConsumption" : 61.247357293868923
"rel_Autonomy" : 100,
"P_PV" : 1419,
"P_Load" : -869.10000000000002,
"P_Grid" : -549.89999999999998,
"P_Akku" : null,
"Mode" : "meter",
"Meter_Location" : "grid",
"E_Year" : 816884,
"E_Total" : 3943089.75,
"E_Day" : 7355,
"Site" : {
},
}
"P" : 1419
"E_Year" : 816884,
"E_Total" : 3943089.75,
"E_Day" : 7355,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2024-02-22 14:37:01: PID: 2400: soc.modules.common.req: Get-Response: {
2024-02-22 14:37:01: PID: 2400: urllib3.connectionpool: http://192.168.178.46:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 931
2024-02-22 14:37:01: PID: 2400: urllib3.connectionpool: Starting new HTTP connection (1): 192.168.178.46:80
2024-02-22 14:37:01: PID: 2400: soc.modules.common.component_context: Update Komponente ['Fronius Wechselrichter']
2024-02-22 14:37:01: PID: 2400: modules.devices.fronius.device: Fronius IP-Adresse: 192.168.178.46
2024-02-22 14:37:01: PID: 2400: legacy run server: Received command ["modules.devices.fronius.device","inverter","192.168.178.46","0","0","none","1"]
2024-02-22 14:37:01: PID: 8169: WR Speicher: none (LV2) at 15 main modules/wr_fronius/main.sh
2024-02-22 14:37:01: PID: 8169: WR IP2: none (LV2) at 14 main modules/wr_fronius/main.sh
2024-02-22 14:37:01: PID: 8169: WR IP: 192.168.178.46 (LV2) at 13 main modules/wr_fronius/main.sh
2024-02-22 14:37:01: PID: 7989: **** Regulation loop start **** (LV1) at 77 main /var/www/html/openWB/regel.sh
runs/pubmqtt.sh: Zeile 297: / 1000: Syntax Fehler: Operator erwartet. (Fehlerverursachendes Zeichen ist \"/ 1000\").
(standard_in) 1: syntax error
2024-02-22 14:36:53: PID: 6658: **** Regulation loop needs 2 seconds (LV2) at 62 cleanup /var/www/html/openWB/regel.sh
2024-02-22 14:36:53: PID: 6658: Überschuss 560; mindestens 1400 (LV1) at 104 nurpvlademodus nurpv.sh
2024-02-22 14:36:53: PID: 6658: uberschuss 560 wattbezug -560 ladestatus 0 llsoll 0 pvwatt -1428 mindestuberschussphasen 1400 wattkombiniert 560 schaltschwelle 230 (LV2) at 586 main /var/www/html/openWB/regel.sh
2024-02-22 14:36:53: PID: 6658: anzahlphasen 1 (LV1) at 585 main /var/www/html/openWB/regel.sh
2024-02-22 14:36:52: PID: 6658: Timing Umschaltung: 480 / 480 (LV1) at 17 u1p3pswitch u1p3p.sh
2024-02-22 14:36:52: PID: 6658: automatische Umschaltung aktiv (LV1) at 16 u1p3pswitch u1p3p.sh
2024-02-22 14:36:52: PID: 6658: Zeit zum abfragen aller Werte 1 Sekunden (LV1) at 186 main /var/www/html/openWB/regel.sh
2024-02-22 14:36:52: PID: 6658: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2024-02-22 14:36:52: PID: 6658: plugstatlp1 1 plugstatlp2 0 plugstatlp3 0 (LV1) at 1273 loadvars loadvars.sh
2024-02-22 14:36:52: PID: 6658: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1272 loadvars loadvars.sh
2024-02-22 14:36:52: PID: 6658: EVU 1:V/-0A 2: V/-0A 3: V/-1A (LV1) at 1271 loadvars loadvars.sh
2024-02-22 14:36:52: PID: 6658: lla3 0 llv3 0 llas13  llas23  soclp1 55 soclp2  (LV1) at 1270 loadvars loadvars.sh
2024-02-22 14:36:52: PID: 6658: lla2 0 llv2 0 llas12  llas22  sofortll null hausverbrauch 868 wattbezug -560 uberschuss 560 (LV1) at 1269 loadvars loadvars.sh
2024-02-22 14:36:52: PID: 6658: lla1 0 llv1 0 llas11  llas21  mindestuberschuss 1400 abschaltuberschuss 0 lademodus 2 (LV1) at 1268 loadvars loadvars.sh
2024-02-22 14:36:52: PID: 6658: pv1watt -1428 pv2watt  pvwatt -1428 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 16 (LV1) at 1267 loadvars loadvars.sh
2024-02-22 14:36:52: PID: 2400: legacy run server: Completed running command in 0.18s: ["modules.devices.fronius.device","counter_sm","192.168.178.46","1","0","none"]
2024-02-22 14:36:52: PID: 2400: soc.modules.common.store._api: Saving CounterState(power_factors=[-0.741, -0.279, -0.767], exported=23492.79357936836, currents=[-0.787709497206704, -0.41936878512753994, -1.2136974425661031], imported=20380.72779146663, frequency=50, powers=[-183.3, -97, -280], power=-560.4, voltages=[232.7, 231.3, 230.7])
2024-02-22 14:36:52: PID: 2400: modules.common.simcount._simcount: imported: 0 Wh, exported: 1.57488 Wh, new state: SimCounterState(exported=23492.79357936836, power=-560.4, timestamp=1708609012.267666, imported=20380.72779146663)
2024-02-22 14:36:52: PID: 2400: modules.common.simcount._calculate: power did not change sign. Total energy: -1.57488
2024-02-22 14:36:52: PID: 2400: modules.common.simcount._calculate: time passed: 0.00278272, power1: -571.5, power2: -560.4
2024-02-22 14:36:52: PID: 2400: modules.common.simcount._simcount: Previous state: SimCounterState(exported=23491.218696175383, power=-571.5, timestamp=1708609002.2498562, imported=20380.72779146663)
2024-02-22 14:36:52: PID: 2400: modules.devices.fronius.counter_sm: Einbauort: MeterLocation.grid

}
}
"Timestamp" : "2024-02-22T14:36:52+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
},
"Scope" : "Device"
"DeviceId" : "1",
"DeviceClass" : "Meter",
"RequestArguments" : {
"Head" : {
},
}
"Voltage_AC_Phase_3" : 230.69999999999999
"Voltage_AC_Phase_2" : 231.30000000000001,
"Voltage_AC_Phase_1" : 232.69999999999999,
"Voltage_AC_PhaseToPhase_31" : 401.30000000000001,
"Voltage_AC_PhaseToPhase_23" : 400.10000000000002,
"Voltage_AC_PhaseToPhase_12" : 401.80000000000001,
"Visible" : 1,
"TimeStamp" : 1708609011,
"PowerReal_P_Sum" : -560.39999999999998,
"PowerReal_P_Phase_3" : -280,
"PowerReal_P_Phase_2" : -97,
"PowerReal_P_Phase_1" : -183.30000000000001,
"PowerReactive_Q_Sum" : -734.10000000000002,
"PowerReactive_Q_Phase_3" : -233.90000000000001,
"PowerReactive_Q_Phase_2" : -334,
"PowerReactive_Q_Phase_1" : -166.19999999999999,
"PowerFactor_Sum" : -0.60699999999999998,
"PowerFactor_Phase_3" : -0.76700000000000002,
"PowerFactor_Phase_2" : -0.27900000000000003,
"PowerFactor_Phase_1" : -0.74099999999999999,
"PowerApparent_S_Sum" : 960.20000000000005,
"PowerApparent_S_Phase_3" : 364.80000000000001,
"PowerApparent_S_Phase_2" : 347.80000000000001,
"PowerApparent_S_Phase_1" : 247.40000000000001,
"Meter_Location_Current" : 0,
"Frequency_Phase_Average" : 50,
"EnergyReal_WAC_Sum_Produced" : 473201,
"EnergyReal_WAC_Sum_Consumed" : 5848442,
"EnergyReal_WAC_Plus_Absolute" : 5848442,
"EnergyReal_WAC_Minus_Absolute" : 473201,
"EnergyReactive_VArAC_Sum_Produced" : 3624050,
"EnergyReactive_VArAC_Sum_Consumed" : 100761,
"Enable" : 1,
},
"Serial" : "708968948"
"Model" : "Smart Meter TS 65A-3",
"Manufacturer" : "Fronius",
"Details" : {
"Current_AC_Sum" : -4.6200000000000001,
"Current_AC_Phase_3" : -1.748,
"Current_AC_Phase_2" : -1.6739999999999999,
"Current_AC_Phase_1" : -1.198,
"Data" : {
"Body" : {
2024-02-22 14:36:52: PID: 2400: soc.modules.common.req: Get-Response: {
2024-02-22 14:36:52: PID: 2400: urllib3.connectionpool: http://192.168.178.46:80 "GET /solar_api/v1/GetMeterRealtimeData.cgi?Scope=Device&DeviceId=1 HTTP/1.1" 200 2325
2024-02-22 14:36:52: PID: 2400: urllib3.connectionpool: Starting new HTTP connection (1): 192.168.178.46:80
2024-02-22 14:36:52: PID: 2400: soc.modules.common.component_context: Update Komponenten ['Fronius SM Zähler']
2024-02-22 14:36:52: PID: 2400: modules.devices.fronius.device: Start device reading {'componentNone': <modules.devices.fronius.counter_sm.FroniusSmCounter object at 0xf49dc64c>}
2024-02-22 14:36:52: PID: 2400: modules.devices.fronius.device: Fronius IP-Adresse: 192.168.178.46
2024-02-22 14:36:52: PID: 2400: legacy run server: Received command ["modules.devices.fronius.device","counter_sm","192.168.178.46","1","0","none"]
2024-02-22 14:36:52: PID: 6909: WR Speicher: none (LV2) at 17 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:36:52: PID: 6909: WR IP2: none (LV2) at 16 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:36:52: PID: 6909: WR Var2: 0 (LV2) at 15 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:36:52: PID: 6909: WR Erzeugung: 1 (LV2) at 14 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:36:52: PID: 6909: WR IP: 192.168.178.46 (LV2) at 13 main modules/bezug_fronius_sm/main.sh
2024-02-22 14:36:51: PID: 2400: legacy run server: Completed running command in 0.08s: ["modules.devices.fronius.device","inverter","192.168.178.46","0","0","none","1"]
2024-02-22 14:36:51: PID: 2400: soc.modules.common.store._api: Saving InverterState(exported=48628.55218804177, currents=[0.0, 0.0, 0.0], power=-1428.0, dc_power=None)
2024-02-22 14:36:51: PID: 2400: modules.common.simcount._simcount: imported: 0 Wh, exported: 3.9641 Wh, new state: SimCounterState(exported=48628.55218804177, power=-1428.0, timestamp=1708609011.9343626, imported=0.0)
2024-02-22 14:36:51: PID: 2400: modules.common.simcount._calculate: power did not change sign. Total energy: -3.9641
2024-02-22 14:36:51: PID: 2400: modules.common.simcount._calculate: time passed: 0.00277016, power1: -1434, power2: -1428
2024-02-22 14:36:51: PID: 2400: modules.common.simcount._simcount: Previous state: SimCounterState(exported=48624.58808760401, power=-1434.0, timestamp=1708609001.961783, imported=0.0)

}
}
"Timestamp" : "2024-02-22T14:36:51+01:00"
},
"UserMessage" : ""
"Reason" : "",
"Code" : 0,
"Status" : {
"RequestArguments" : {},
"Head" : {
},
}
"Version" : "12"
},
"rel_SelfConsumption" : 60.483193277310932
"rel_Autonomy" : 100,
"P_PV" : 1428,
"P_Load" : -863.70000000000005,
"P_Grid" : -564.29999999999995,
"P_Akku" : null,
"Mode" : "meter",
"Meter_Location" : "grid",
"E_Year" : 816879.9375,
"E_Total" : 3943089.75,
"E_Day" : 7351,
"Site" : {
},
}
"P" : 1428
"E_Year" : 816879.9375,
"E_Total" : 3943089.75,
"E_Day" : 7351,
"DT" : 232,
"1" : {
"Inverters" : {
"Data" : {
"Body" : {
2024-02-22 14:36:51: PID: 2400: soc.modules.common.req: Get-Response: {
2024-02-22 14:36:51: PID: 2400: urllib3.connectionpool: http://192.168.178.46:80 "GET /solar_api/v1/GetPowerFlowRealtimeData.fcgi?Scope=System HTTP/1.1" 200 941
2024-02-22 14:36:51: PID: 2400: urllib3.connectionpool: Starting new HTTP connection (1): 192.168.178.46:80
2024-02-22 14:36:51: PID: 2400: soc.modules.common.component_context: Update Komponente ['Fronius Wechselrichter']
2024-02-22 14:36:51: PID: 2400: modules.devices.fronius.device: Fronius IP-Adresse: 192.168.178.46
2024-02-22 14:36:51: PID: 2400: legacy run server: Log level changed WARNING -> DEBUG
2024-02-22 14:36:51: PID: 6830: WR Speicher: none (LV2) at 15 main modules/wr_fronius/main.sh
2024-02-22 14:36:51: PID: 6830: WR IP2: none (LV2) at 14 main modules/wr_fronius/main.sh
2024-02-22 14:36:51: PID: 6830: WR IP: 192.168.178.46 (LV2) at 13 main modules/wr_fronius/main.sh
2024-02-22 14:36:51: PID: 6658: **** Regulation loop start **** (LV1) at 77 main /var/www/html/openWB/regel.sh

Außerdem kam als ich gerade die mqtt Brücke entfernt habe das hier:

Code: Alles auswählen

ValueError: invalid literal for int() with base 10: b'null'
    if (int(msg.payload) >= 1 and int(msg.payload) <= 2050):
  File "/var/www/html/openWB/runs/mqttsub.py", line 1045, in on_message
Traceback (most recent call last):
2024-02-22 14:27:24,143: Error handling MQTT-Message
2024-02-22 14:27:24,143: Topic: openWB/set/graph/RequestYearGraphv1, Message: null
ValueError: invalid literal for int() with base 10: b'null'
    if (int(msg.payload) >= 1 and int(msg.payload) <= 205012):
  File "/var/www/html/openWB/runs/mqttsub.py", line 1009, in on_message
Traceback (most recent call last):
2024-02-22 14:27:24,103: Error handling MQTT-Message
2024-02-22 14:27:24,103: Topic: openWB/set/graph/RequestMonthGraphv1, Message: null
2024-02-22 14:27:24,088: Topic: openWB/set/graph/RequestDayGraph, Message: 0
2024-02-22 14:27:22,095: Topic: openWB/set/evu/None/faultState, Message: 0
2024-02-22 14:27:22,052: Topic: openWB/set/evu/None/faultStr, Message: "Kein Fehler."
2024-02-22 14:27:21,715: Topic: openWB/set/pv/1/faultState, Message: 0
2024-02-22 14:27:21,673: Topic: openWB/set/pv/1/faultStr, Message: "Kein Fehler."
2024-02-22 14:27:20,026: Topic: openWB/set/graph/RequestMonthLadelog, Message: 0
ValueError: invalid literal for int() with base 10: b'null'
    if (int(msg.payload) >= 1 and int(msg.payload) <= 2050):
  File "/var/www/html/openWB/runs/mqttsub.py", line 1045, in on_message
Traceback (most recent call last):
2024-02-22 14:27:20,026: Error handling MQTT-Message
2024-02-22 14:27:20,026: Topic: openWB/set/graph/RequestYearGraphv1, Message: null
ValueError: invalid literal for int() with base 10: b'null'
    if (int(msg.payload) >= 1 and int(msg.payload) <= 205012):
  File "/var/www/html/openWB/runs/mqttsub.py", line 1009, in on_message
Traceback (most recent call last):
2024-02-22 14:27:20,025: Error handling MQTT-MessageValueError: invalid literal for int() with base 10: b'null'
    if (int(msg.payload) >= 1 and int(msg.payload) <= 2050):
  File "/var/www/html/openWB/runs/mqttsub.py", line 1045, in on_message
Traceback (most recent call last):
2024-02-22 14:27:24,143: Error handling MQTT-Message
2024-02-22 14:27:24,143: Topic: openWB/set/graph/RequestYearGraphv1, Message: null
ValueError: invalid literal for int() with base 10: b'null'
    if (int(msg.payload) >= 1 and int(msg.payload) <= 205012):
  File "/var/www/html/openWB/runs/mqttsub.py", line 1009, in on_message
Traceback (most recent call last):
2024-02-22 14:27:24,103: Error handling MQTT-Message
2024-02-22 14:27:24,103: Topic: openWB/set/graph/RequestMonthGraphv1, Message: null
2024-02-22 14:27:24,088: Topic: openWB/set/graph/RequestDayGraph, Message: 0
2024-02-22 14:27:22,095: Topic: openWB/set/evu/None/faultState, Message: 0
2024-02-22 14:27:22,052: Topic: openWB/set/evu/None/faultStr, Message: "Kein Fehler."
2024-02-22 14:27:21,715: Topic: openWB/set/pv/1/faultState, Message: 0
2024-02-22 14:27:21,673: Topic: openWB/set/pv/1/faultStr, Message: "Kein Fehler."
2024-02-22 14:27:20,026: Topic: openWB/set/graph/RequestMonthLadelog, Message: 0
ValueError: invalid literal for int() with base 10: b'null'
    if (int(msg.payload) >= 1 and int(msg.payload) <= 2050):
  File "/var/www/html/openWB/runs/mqttsub.py", line 1045, in on_message
Traceback (most recent call last):
2024-02-22 14:27:20,026: Error handling MQTT-Message
2024-02-22 14:27:20,026: Topic: openWB/set/graph/RequestYearGraphv1, Message: null
ValueError: invalid literal for int() with base 10: b'null'
    if (int(msg.payload) >= 1 and int(msg.payload) <= 205012):
  File "/var/www/html/openWB/runs/mqttsub.py", line 1009, in on_message
Traceback (most recent call last):
2024-02-22 14:27:20,025: Error handling MQTT-Message
Danke schonmal :)