Re: Rückmeldungen Beta 1.9.254
Verfasst: So Feb 13, 2022 12:25 pm
Bei mir wird beim umschalten von 1 auf mehrphasig immer sofort zurück geschaltet, kann mir das Verhalten nicht erklären?
Da gab es während der Nightlies ein paar Änderungen, bei denen anscheinend die Beschreibung nicht angepasst wurde. Ich korrigiere das gleich.Fkouz hat geschrieben: ↑So Feb 13, 2022 12:13 pmHm, die kommen doch aber negativ und als INT rein?!Code: Alles auswählen
Per MQTT zu schreiben: openWB/set/pv/1/W PV-Leistung in Watt, int, negativ
Oder meinst du etwas Anderes?Code: Alles auswählen
2022-02-13 13:13:02 Topic: openWB/set/pv/1/W Message: -6534
2022-02-13 13_25_34-openWB Status.png
Code: Alles auswählen
if (msg.topic == "openWB/set/pv/1/W"):
if (float(msg.payload) >= -10000000 and float(msg.payload) <= 100000000):
if (float(msg.payload) > 1):
pvwatt=int(float(msg.payload.decode("utf-8"))) * -1
else:
pvwatt=int(float(msg.payload.decode("utf-8")))
f = open('/var/www/html/openWB/ramdisk/pvwatt', 'w')
f.write(str(pvwatt))
f.close()
Code: Alles auswählen
elif subtopic == "W":
value = abs(float(msg.payload))
if value <= 100000000:
pv.power.write(float(msg.payload))
Ist ein bekanntes Problem in der 1.x: https://www.openwb.de/forum/viewtopic.php?f=9&t=4746
Code: Alles auswählen
2022-02-14 17:48:08: Calling SoC-Module <modules/soc_mqtt/main.sh> (LV2) at 7 run_soc_module loadvars.sh
2022-02-14 17:48:06: PID: 28099: SolarEdge: Update completed successfully
2022-02-14 17:48:06: PID: 28099: ValueStore: Saving InverterState(power=0, currents=[1.08, 1.12, 1.09], counter=14517103.0)
2022-02-14 17:48:06: PID: 28099: SolarEdge: slave=1: power=6740*10^-1, energy=14517103*10^0, currents=[108, 112, 109] * 10^-2
2022-02-14 17:48:06: PID: 28099: pymodbus.payload: [108, 112, 109, 65534]
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Getting transaction 5
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Adding transaction 5
2022-02-14 17:48:06: PID: 28099: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-14 17:48:06: PID: 28099: pymodbus.framer.socket_framer: Processing: 0x0 0x5 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x6c 0x0 0x70 0x0 0x6d 0xff 0xfe
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: RECV: 0x0 0x5 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x6c 0x0 0x70 0x0 0x6d 0xff 0xfe
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-14 17:48:06: PID: 28099: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: SEND: 0x0 0x5 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Running transaction 5
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-14 17:48:06: PID: 28099: pymodbus.payload: [b'\x00\xdd', b'\x83o']
2022-02-14 17:48:06: PID: 28099: pymodbus.payload: [221, 33647, 0]
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Getting transaction 4
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Adding transaction 4
2022-02-14 17:48:06: PID: 28099: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-14 17:48:06: PID: 28099: pymodbus.framer.socket_framer: Processing: 0x0 0x4 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x0 0xdd 0x83 0x6f 0x0 0x0
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: RECV: 0x0 0x4 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x0 0xdd 0x83 0x6f 0x0 0x0
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-14 17:48:06: PID: 28099: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: SEND: 0x0 0x4 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x3
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Running transaction 4
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-14 17:48:06: PID: 28099: pymodbus.payload: [6740, 65535]
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Getting transaction 3
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Adding transaction 3
2022-02-14 17:48:06: PID: 28099: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-14 17:48:06: PID: 28099: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x1a 0x54 0xff 0xff
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x1a 0x54 0xff 0xff
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-14 17:48:06: PID: 28099: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Running transaction 3
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-14 17:48:06: PID: 28099: ValueStore: Saving BatState(exported=0, power=-749.0, soc=93.0, imported=0)
2022-02-14 17:48:06: PID: 28099: SolarEdge: Battery SoCs=[93.0], powers=[-749.0]
2022-02-14 17:48:06: PID: 28099: pymodbus.payload: [b'\xc4;', b'@\x00']
2022-02-14 17:48:06: PID: 28099: pymodbus.payload: [16384, 50235]
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Getting transaction 2
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Adding transaction 2
2022-02-14 17:48:06: PID: 28099: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-14 17:48:06: PID: 28099: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x40 0x0 0xc4 0x3b
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x40 0x0 0xc4 0x3b
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-14 17:48:06: PID: 28099: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0xf5 0x74 0x0 0x2
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Running transaction 2
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-14 17:48:06: PID: 28099: pymodbus.payload: [b'B\xba', b'\x00\x00']
2022-02-14 17:48:06: PID: 28099: pymodbus.payload: [0, 17082]
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Getting transaction 1
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Adding transaction 1
2022-02-14 17:48:06: PID: 28099: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-14 17:48:06: PID: 28099: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x42 0xba
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x42 0xba
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-14 17:48:06: PID: 28099: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0xf5 0x84 0x0 0x2
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Running transaction 1
2022-02-14 17:48:06: PID: 28099: pymodbus.transaction: Current transaction state - IDLE
2022-02-14 17:48:06: PID: 28099: SolarEdge: Beginning update
2022-02-14 17:48:05: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2022-02-14 17:48:05: **** FATAL Regulation loop needs 13 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2022-02-14 17:48:05: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2022-02-14 17:48:04: uberschuss 35 wattbezug -35 ladestatus 0 llsoll 0 pvwatt 0 mindestuberschussphasen 1350 wattkombiniert 35 schaltschwelle 1 (LV2) at 575 main /var/www/html/openWB/regel.sh
2022-02-14 17:48:04: anzahlphasen 1 (LV1) at 574 main /var/www/html/openWB/regel.sh
2022-02-14 17:48:04: Timing Umschaltung: 480 / 480 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-02-14 17:48:04: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-02-14 17:48:03: Zeit zum abfragen aller Werte 11 Sekunden (LV1) at 176 main /var/www/html/openWB/regel.sh
2022-02-14 17:48:03: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1275 loadvars loadvars.sh
2022-02-14 17:48:03: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1274 loadvars loadvars.sh
2022-02-14 17:48:03: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1273 loadvars loadvars.sh
2022-02-14 17:48:03: EVU 1:V/-1A 2: V/1A 3: V/1A (LV1) at 1272 loadvars loadvars.sh
2022-02-14 17:48:03: lla3 0 llv3 226.0 llas13 0 llas23 soclp1 78 soclp2 85 (LV1) at 1271 loadvars loadvars.sh
2022-02-14 17:48:03: lla2 0 llv2 225.2 llas12 0 llas22 sofortll 16 hausverbrauch 711 wattbezug -35 uberschuss 35 (LV1) at 1270 loadvars loadvars.sh
2022-02-14 17:48:03: lla1 0 llv1 225.3 llas11 0 llas21 mindestuberschuss 1350 abschaltuberschuss 0 lademodus 4 (LV1) at 1269 loadvars loadvars.sh
2022-02-14 17:48:03: pv1watt 0 pv2watt pvwatt 0 ladeleistung 0 llalt 0 nachtladen 0 nachtladen 0 minimalA 6 maximalA 16 (LV1) at 1268 loadvars loadvars.sh
2022-02-14 17:48:03: speicherleistung -746 speichersoc 93 (LV1) at 1263 loadvars loadvars.sh
2022-02-14 17:48:02: PID: 27863: SolarEdge EVU: Update completed successfully
2022-02-14 17:48:02: PID: 27863: ValueStore: Saving CounterState(power=-35.0, voltages=[226.48000000000002, 225.71, 225.63], imported=4796579, powers=[-133.0, -10.0, 109.0], currents=[-1.3, 1.6, 1.1], frequency=49.95, power_factors=[-0.3881, 0.0758, 0.4803], exported=4790791)
2022-02-14 17:48:02: PID: 27863: pymodbus.payload: [b'\x00I', b'\x1a\x07']
2022-02-14 17:48:02: PID: 27863: pymodbus.payload: [73, 6663]
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Getting transaction 7
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Adding transaction 7
2022-02-14 17:48:02: PID: 27863: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-14 17:48:02: PID: 27863: pymodbus.framer.socket_framer: Processing: 0x0 0x7 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x49 0x1a 0x7
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: RECV: 0x0 0x7 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x49 0x1a 0x7
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-14 17:48:02: PID: 27863: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: SEND: 0x0 0x7 0x0 0x0 0x0 0x6 0x1 0x3 0x9d 0x22 0x0 0x2
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Running transaction 7
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-14 17:48:02: PID: 27863: pymodbus.payload: [b'\x00I', b'0\xa3']
2022-02-14 17:48:02: PID: 27863: pymodbus.payload: [73, 12451]
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Getting transaction 6
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Adding transaction 6
2022-02-14 17:48:02: PID: 27863: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-14 17:48:02: PID: 27863: pymodbus.framer.socket_framer: Processing: 0x0 0x6 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x49 0x30 0xa3
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: RECV: 0x0 0x6 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x49 0x30 0xa3
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-14 17:48:02: PID: 27863: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: SEND: 0x0 0x6 0x0 0x0 0x0 0x6 0x1 0x3 0x9d 0x2a 0x0 0x2
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Running transaction 6
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-02-14 17:48:02: PID: 27863: pymodbus.payload: [61655, 758, 4803, 65534]
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Getting transaction 5
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Adding transaction 5
2022-02-14 17:48:02: PID: 27863: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-02-14 17:48:02: PID: 27863: pymodbus.framer.socket_framer: Processing: 0x0 0x5 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0xf0 0xd7 0x2 0xf6 0x12 0xc3 0xff 0xfe
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: RECV: 0x0 0x5 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0xf0 0xd7 0x2 0xf6 0x12 0xc3 0xff 0xfe
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-02-14 17:48:02: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-02-14 17:48:02: PID: 27863: pymodbus.client.sync: New Transaction state 'SENDING'
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: SEND: 0x0 0x5 0x0 0x0 0x0 0x6 0x1 0x3 0x9d 0x1e 0x0 0x4
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Running transaction 5
2022-02-14 17:48:02: PID: 27863: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE