Re: OpenWB - Solaredge Konfiguration
Verfasst: So Jan 09, 2022 6:50 pm
@yankee
Hier nochmal der gewünschte Log mit Einstellung auf langsam. Ist das so okay für Dich?
Hier nochmal der gewünschte Log mit Einstellung auf langsam. Ist das so okay für Dich?
Code: Alles auswählen
2022-01-09 19:46:25: PID: 23162: SolarEdge: Update completed successfully
2022-01-09 19:46:25: PID: 23162: root: PV Watt: 0
2022-01-09 19:46:25: PID: 23162: SolarEdge: slave=1: power=0*10^0, energy=34598164*10^0, currents=[0, 0, 0] * 10^-2
2022-01-09 19:46:25: PID: 23162: pymodbus.payload: [0, 0, 0, 65534]
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Getting transaction 3
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Adding transaction 3
2022-01-09 19:46:25: PID: 23162: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:46:25: PID: 23162: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:46:25: PID: 23162: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Running transaction 3
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-01-09 19:46:25: PID: 23162: pymodbus.payload: [b'\x02\x0f', b'\xed\x14']
2022-01-09 19:46:25: PID: 23162: pymodbus.payload: [527, 60692, 0]
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Getting transaction 2
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Adding transaction 2
2022-01-09 19:46:25: PID: 23162: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:46:25: PID: 23162: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x2 0xf 0xed 0x14 0x0 0x0
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x2 0xf 0xed 0x14 0x0 0x0
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:46:25: PID: 23162: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x3
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Running transaction 2
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-01-09 19:46:25: PID: 23162: pymodbus.payload: [0, 0]
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Getting transaction 1
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Adding transaction 1
2022-01-09 19:46:25: PID: 23162: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:46:25: PID: 23162: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2022-01-09 19:46:25: PID: 23162: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:46:24: PID: 23162: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:46:24: PID: 23162: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:46:24: PID: 23162: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2022-01-09 19:46:24: PID: 23162: pymodbus.transaction: Running transaction 1
2022-01-09 19:46:24: PID: 23162: pymodbus.transaction: Current transaction state - IDLE
2022-01-09 19:46:24: PID: 23162: SolarEdge: Beginning update
2022-01-09 19:46:22: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-09 19:46:12: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:46:12: **** FATAL Regulation loop needs 11 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:46:12: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:46:12: Sofort ladung bei minimal A 6 Ladeleistung zu gering (LV1) at 88 sofortlademodus sofortlademodus.sh
2022-01-09 19:46:12: **** Regulation loop needs 1 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:46:12: Timing Umschaltung: 60 / 900 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-01-09 19:46:12: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-01-09 19:46:12: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-09 19:46:11: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2022-01-09 19:46:11: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2022-01-09 19:46:11: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2022-01-09 19:46:11: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2022-01-09 19:46:11: lla3 0 llv3 231.5 llas13 llas23 soclp1 29 soclp2 (LV1) at 1280 loadvars loadvars.sh
2022-01-09 19:46:11: lla2 0 llv2 228.9 llas12 llas22 sofortll 32 hausverbrauch 0 wattbezug 0 uberschuss 0 (LV1) at 1279 loadvars loadvars.sh
2022-01-09 19:46:11: lla1 0 llv1 229.3 llas11 llas21 mindestuberschuss 1320 abschaltuberschuss 0 lademodus 0 (LV1) at 1278 loadvars loadvars.sh
2022-01-09 19:46:11: pv1watt 0 pv2watt pvwatt 0 ladeleistung 0 llalt 6 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2022-01-09 19:46:11: speicherleistung 0 speichersoc -340282346638528859811704183484516925440 (LV1) at 1272 loadvars loadvars.sh
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Exception Response(131, 3, IllegalAddress)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)
str(e)) from e
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 97, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
client.read_holding_registers(address, [ModbusDataType.INT_16] * (count+1), unit=slaveid)
File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 26, in read_scaled_int16
powers = [-power for power in read_scaled_int16(40206, 4)]
File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 32, in update
parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
args.RUN(args)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 34, in run_using_positional_cli_args
run_using_positional_cli_args(update)
File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 71, in <module>
Traceback (most recent call last):
The above exception was the direct cause of the following exception:
modules.common.fault_state.FaultState: ('modules.common.modbus Exception Response(131, 3, IllegalAddress)', <FaultStateLevel.ERROR: 2>)
raise FaultState.error(__name__+" "+str(response))
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 81, in __read_registers
Traceback (most recent call last):
2022-01-09 19:46:10: PID: 21954: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:46:10: PID: 21954: pymodbus.transaction: Getting transaction 1
2022-01-09 19:46:10: PID: 21954: pymodbus.transaction: Adding transaction 1
2022-01-09 19:46:10: PID: 21954: pymodbus.factory: Factory Response[131]
2022-01-09 19:46:10: PID: 21954: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x3 0x1 0x83 0x2
2022-01-09 19:46:10: PID: 21954: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x3 0x1 0x83 0x2
2022-01-09 19:46:10: PID: 21954: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:46:10: PID: 21954: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:46:10: PID: 21954: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:46:10: PID: 21954: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9d 0xe 0x0 0x5
2022-01-09 19:46:10: PID: 21954: pymodbus.transaction: Running transaction 1
2022-01-09 19:46:10: PID: 21954: pymodbus.transaction: Current transaction state - IDLE
2022-01-09 19:46:10: PID: 21954: SolarEdge EVU: Beginning update
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.102:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 119, in __enter__
self.delegate.__enter__()
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 48, in __enter__
with ModbusClient(address) as client:
File "/var/www/html/openWB/modules/speicher_solaredge/solaredge.py", line 33, in main
parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
args.RUN(args)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 34, in run_using_positional_cli_args
run_using_positional_cli_args(main)
File "/var/www/html/openWB/modules/speicher_solaredge/solaredge.py", line 40, in <module>
Traceback (most recent call last):
2022-01-09 19:46:07: PID: 21915: pymodbus.client.sync: Connection to (192.168.178.102, 502) failed: [Errno 111] Connection refused
2022-01-09 19:46:07: PID: 21915: SolarEdge Battery: Beginning update
2022-01-09 19:46:05: PID: 21904: SolarEdge: Update completed successfully
2022-01-09 19:46:05: PID: 21904: root: PV Watt: 0
2022-01-09 19:46:05: PID: 21904: SolarEdge: slave=1: power=0*10^0, energy=34598164*10^0, currents=[0, 0, 0] * 10^-2
2022-01-09 19:46:05: PID: 21904: pymodbus.payload: [0, 0, 0, 65534]
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Getting transaction 3
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Adding transaction 3
2022-01-09 19:46:05: PID: 21904: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:46:05: PID: 21904: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:46:05: PID: 21904: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Running transaction 3
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-01-09 19:46:05: PID: 21904: pymodbus.payload: [b'\x02\x0f', b'\xed\x14']
2022-01-09 19:46:05: PID: 21904: pymodbus.payload: [527, 60692, 0]
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Getting transaction 2
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Adding transaction 2
2022-01-09 19:46:05: PID: 21904: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:46:05: PID: 21904: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x2 0xf 0xed 0x14 0x0 0x0
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x2 0xf 0xed 0x14 0x0 0x0
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:46:05: PID: 21904: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x3
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Running transaction 2
2022-01-09 19:46:05: PID: 21904: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-01-09 19:46:05: PID: 21904: pymodbus.payload: [0, 0]
2022-01-09 19:46:04: PID: 21904: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:46:04: PID: 21904: pymodbus.transaction: Getting transaction 1
2022-01-09 19:46:04: PID: 21904: pymodbus.transaction: Adding transaction 1
2022-01-09 19:46:04: PID: 21904: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:46:04: PID: 21904: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2022-01-09 19:46:04: PID: 21904: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2022-01-09 19:46:04: PID: 21904: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:46:04: PID: 21904: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:46:04: PID: 21904: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:46:04: PID: 21904: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2022-01-09 19:46:04: PID: 21904: pymodbus.transaction: Running transaction 1
2022-01-09 19:46:04: PID: 21904: pymodbus.transaction: Current transaction state - IDLE
2022-01-09 19:46:04: PID: 21904: SolarEdge: Beginning update
2022-01-09 19:46:02: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-09 19:45:52: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:45:52: **** FATAL Regulation loop needs 11 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:45:52: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:45:52: Sofort ladung bei minimal A 6 Ladeleistung zu gering (LV1) at 88 sofortlademodus sofortlademodus.sh
2022-01-09 19:45:52: Timing Umschaltung: 60 / 900 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-01-09 19:45:52: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-01-09 19:45:51: **** Regulation loop needs 0 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:45:51: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-09 19:45:51: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2022-01-09 19:45:51: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2022-01-09 19:45:51: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2022-01-09 19:45:51: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2022-01-09 19:45:51: lla3 0 llv3 231.5 llas13 llas23 soclp1 29 soclp2 (LV1) at 1280 loadvars loadvars.sh
2022-01-09 19:45:51: lla2 0 llv2 229.6 llas12 llas22 sofortll 32 hausverbrauch 0 wattbezug 0 uberschuss 0 (LV1) at 1279 loadvars loadvars.sh
2022-01-09 19:45:51: lla1 0 llv1 229.0 llas11 llas21 mindestuberschuss 1320 abschaltuberschuss 0 lademodus 0 (LV1) at 1278 loadvars loadvars.sh
2022-01-09 19:45:51: pv1watt 0 pv2watt pvwatt 0 ladeleistung 0 llalt 6 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2022-01-09 19:45:51: speicherleistung 0 speichersoc -340282346638528859811704183484516925440 (LV1) at 1272 loadvars loadvars.sh
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Exception Response(131, 3, IllegalAddress)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)
str(e)) from e
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 97, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
client.read_holding_registers(address, [ModbusDataType.INT_16] * (count+1), unit=slaveid)
File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 26, in read_scaled_int16
powers = [-power for power in read_scaled_int16(40206, 4)]
File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 32, in update
parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
args.RUN(args)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 34, in run_using_positional_cli_args
run_using_positional_cli_args(update)
File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 71, in <module>
Traceback (most recent call last):
The above exception was the direct cause of the following exception:
modules.common.fault_state.FaultState: ('modules.common.modbus Exception Response(131, 3, IllegalAddress)', <FaultStateLevel.ERROR: 2>)
raise FaultState.error(__name__+" "+str(response))
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 81, in __read_registers
Traceback (most recent call last):
2022-01-09 19:45:50: PID: 20663: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:45:50: PID: 20663: pymodbus.transaction: Getting transaction 1
2022-01-09 19:45:50: PID: 20663: pymodbus.transaction: Adding transaction 1
2022-01-09 19:45:50: PID: 20663: pymodbus.factory: Factory Response[131]
2022-01-09 19:45:50: PID: 20663: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x3 0x1 0x83 0x2
2022-01-09 19:45:50: PID: 20663: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x3 0x1 0x83 0x2
2022-01-09 19:45:50: PID: 20663: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:45:50: PID: 20663: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:45:50: PID: 20663: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:45:50: PID: 20663: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9d 0xe 0x0 0x5
2022-01-09 19:45:50: PID: 20663: pymodbus.transaction: Running transaction 1
2022-01-09 19:45:50: PID: 20663: pymodbus.transaction: Current transaction state - IDLE
2022-01-09 19:45:50: PID: 20663: SolarEdge EVU: Beginning update
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.102:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 119, in __enter__
self.delegate.__enter__()
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 48, in __enter__
with ModbusClient(address) as client:
File "/var/www/html/openWB/modules/speicher_solaredge/solaredge.py", line 33, in main
parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
args.RUN(args)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 34, in run_using_positional_cli_args
run_using_positional_cli_args(main)
File "/var/www/html/openWB/modules/speicher_solaredge/solaredge.py", line 40, in <module>
Traceback (most recent call last):
2022-01-09 19:45:47: PID: 20624: pymodbus.client.sync: Connection to (192.168.178.102, 502) failed: [Errno 111] Connection refused
2022-01-09 19:45:47: PID: 20624: SolarEdge Battery: Beginning update
2022-01-09 19:45:45: PID: 20613: SolarEdge: Update completed successfully
2022-01-09 19:45:45: PID: 20613: root: PV Watt: 0
2022-01-09 19:45:45: PID: 20613: SolarEdge: slave=1: power=0*10^0, energy=34598164*10^0, currents=[0, 0, 0] * 10^-2
2022-01-09 19:45:45: PID: 20613: pymodbus.payload: [0, 0, 0, 65534]
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Getting transaction 3
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Adding transaction 3
2022-01-09 19:45:45: PID: 20613: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:45:45: PID: 20613: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:45:45: PID: 20613: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Running transaction 3
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-01-09 19:45:45: PID: 20613: pymodbus.payload: [b'\x02\x0f', b'\xed\x14']
2022-01-09 19:45:45: PID: 20613: pymodbus.payload: [527, 60692, 0]
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Getting transaction 2
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Adding transaction 2
2022-01-09 19:45:45: PID: 20613: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:45:45: PID: 20613: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x2 0xf 0xed 0x14 0x0 0x0
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x2 0xf 0xed 0x14 0x0 0x0
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:45:45: PID: 20613: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x3
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Running transaction 2
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-01-09 19:45:45: PID: 20613: pymodbus.payload: [0, 0]
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Getting transaction 1
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Adding transaction 1
2022-01-09 19:45:45: PID: 20613: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:45:45: PID: 20613: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2022-01-09 19:45:45: PID: 20613: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:45:44: PID: 20613: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:45:44: PID: 20613: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:45:44: PID: 20613: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2022-01-09 19:45:44: PID: 20613: pymodbus.transaction: Running transaction 1
2022-01-09 19:45:44: PID: 20613: pymodbus.transaction: Current transaction state - IDLE
2022-01-09 19:45:44: PID: 20613: SolarEdge: Beginning update
2022-01-09 19:45:41: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-09 19:45:32: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:45:32: **** FATAL Regulation loop needs 11 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:45:32: **** FATAL ********************************* (LV0) at 59 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:45:32: Sofort ladung bei minimal A 6 Ladeleistung zu gering (LV1) at 88 sofortlademodus sofortlademodus.sh
2022-01-09 19:45:32: Timing Umschaltung: 60 / 900 (LV1) at 15 u1p3pswitch u1p3p.sh
2022-01-09 19:45:32: automatische Umschaltung aktiv (LV1) at 14 u1p3pswitch u1p3p.sh
2022-01-09 19:45:32: **** Regulation loop needs 1 seconds (LV0) at 55 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:45:31: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-09 19:45:31: chargestatlp1 0 chargestatlp2 0 chargestatlp3 0 (LV1) at 1284 loadvars loadvars.sh
2022-01-09 19:45:31: plugstatlp1 0 plugstatlp2 0 plugstatlp3 0 (LV1) at 1283 loadvars loadvars.sh
2022-01-09 19:45:31: lp1enabled 1 lp2enabled 1 lp3enabled 1 (LV1) at 1282 loadvars loadvars.sh
2022-01-09 19:45:31: EVU 1:V/0A 2: V/0A 3: V/0A (LV1) at 1281 loadvars loadvars.sh
2022-01-09 19:45:31: lla3 0 llv3 231.6 llas13 llas23 soclp1 29 soclp2 (LV1) at 1280 loadvars loadvars.sh
2022-01-09 19:45:31: lla2 0 llv2 229.9 llas12 llas22 sofortll 32 hausverbrauch 0 wattbezug 0 uberschuss 0 (LV1) at 1279 loadvars loadvars.sh
2022-01-09 19:45:31: lla1 0 llv1 229.5 llas11 llas21 mindestuberschuss 1320 abschaltuberschuss 0 lademodus 0 (LV1) at 1278 loadvars loadvars.sh
2022-01-09 19:45:31: pv1watt 0 pv2watt pvwatt 0 ladeleistung 0 llalt 6 nachtladen 0 nachtladen 0 minimalA 6 maximalA 32 (LV1) at 1277 loadvars loadvars.sh
2022-01-09 19:45:31: speicherleistung 0 speichersoc -340282346638528859811704183484516925440 (LV1) at 1272 loadvars loadvars.sh
modules.common.fault_state.FaultState: ("modules.common.modbus <class 'modules.common.fault_state.FaultState'> ('modules.common.modbus Exception Response(131, 3, IllegalAddress)', <FaultStateLevel.ERROR: 2>)", <FaultStateLevel.ERROR: 2>)
str(e)) from e
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 97, in __read_registers
self.delegate.read_holding_registers, address, types, byteorder, wordorder, **kwargs
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 115, in read_holding_registers
client.read_holding_registers(address, [ModbusDataType.INT_16] * (count+1), unit=slaveid)
File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 26, in read_scaled_int16
powers = [-power for power in read_scaled_int16(40206, 4)]
File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 32, in update
parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
args.RUN(args)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 34, in run_using_positional_cli_args
run_using_positional_cli_args(update)
File "/var/www/html/openWB/modules/bezug_solaredge/solaredge.py", line 71, in <module>
Traceback (most recent call last):
The above exception was the direct cause of the following exception:
modules.common.fault_state.FaultState: ('modules.common.modbus Exception Response(131, 3, IllegalAddress)', <FaultStateLevel.ERROR: 2>)
raise FaultState.error(__name__+" "+str(response))
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 81, in __read_registers
Traceback (most recent call last):
2022-01-09 19:45:30: PID: 19409: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:45:30: PID: 19409: pymodbus.transaction: Getting transaction 1
2022-01-09 19:45:30: PID: 19409: pymodbus.transaction: Adding transaction 1
2022-01-09 19:45:30: PID: 19409: pymodbus.factory: Factory Response[131]
2022-01-09 19:45:30: PID: 19409: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x3 0x1 0x83 0x2
2022-01-09 19:45:30: PID: 19409: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x3 0x1 0x83 0x2
2022-01-09 19:45:30: PID: 19409: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:45:30: PID: 19409: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:45:30: PID: 19409: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:45:30: PID: 19409: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9d 0xe 0x0 0x5
2022-01-09 19:45:30: PID: 19409: pymodbus.transaction: Running transaction 1
2022-01-09 19:45:30: PID: 19409: pymodbus.transaction: Current transaction state - IDLE
2022-01-09 19:45:30: PID: 19409: SolarEdge EVU: Beginning update
pymodbus.exceptions.ConnectionException: Modbus Error: [Connection] Failed to connect[ModbusTcpClient(192.168.178.102:502)]
raise ConnectionException("Failed to connect[%s]" % (self.__str__()))
File "/usr/local/lib/python3.5/dist-packages/pymodbus/client/sync.py", line 119, in __enter__
self.delegate.__enter__()
File "/var/www/html/openWB/packages/modules/common/modbus.py", line 48, in __enter__
with ModbusClient(address) as client:
File "/var/www/html/openWB/modules/speicher_solaredge/solaredge.py", line 33, in main
parser.set_defaults(RUN=lambda args: function(*[getattr(args, argument_name) for argument_name in arg_spec.args]))
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 19, in <lambda>
args.RUN(args)
File "/var/www/html/openWB/packages/helpermodules/cli/_run_using_positional_cli_args.py", line 34, in run_using_positional_cli_args
run_using_positional_cli_args(main)
File "/var/www/html/openWB/modules/speicher_solaredge/solaredge.py", line 40, in <module>
Traceback (most recent call last):
2022-01-09 19:45:27: PID: 19370: pymodbus.client.sync: Connection to (192.168.178.102, 502) failed: [Errno 111] Connection refused
2022-01-09 19:45:27: PID: 19370: SolarEdge Battery: Beginning update
2022-01-09 19:45:24: PID: 19359: SolarEdge: Update completed successfully
2022-01-09 19:45:24: PID: 19359: root: PV Watt: 0
2022-01-09 19:45:24: PID: 19359: SolarEdge: slave=1: power=0*10^0, energy=34598164*10^0, currents=[0, 0, 0] * 10^-2
2022-01-09 19:45:24: PID: 19359: pymodbus.payload: [0, 0, 0, 65534]
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Getting transaction 3
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Adding transaction 3
2022-01-09 19:45:24: PID: 19359: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:45:24: PID: 19359: pymodbus.framer.socket_framer: Processing: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: RECV: 0x0 0x3 0x0 0x0 0x0 0xb 0x1 0x3 0x8 0x0 0x0 0x0 0x0 0x0 0x0 0xff 0xfe
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:45:24: PID: 19359: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: SEND: 0x0 0x3 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x88 0x0 0x4
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Running transaction 3
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-01-09 19:45:24: PID: 19359: pymodbus.payload: [b'\x02\x0f', b'\xed\x14']
2022-01-09 19:45:24: PID: 19359: pymodbus.payload: [527, 60692, 0]
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Getting transaction 2
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Adding transaction 2
2022-01-09 19:45:24: PID: 19359: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:45:24: PID: 19359: pymodbus.framer.socket_framer: Processing: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x2 0xf 0xed 0x14 0x0 0x0
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: RECV: 0x0 0x2 0x0 0x0 0x0 0x9 0x1 0x3 0x6 0x2 0xf 0xed 0x14 0x0 0x0
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:45:24: PID: 19359: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: SEND: 0x0 0x2 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x9d 0x0 0x3
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Running transaction 2
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Current transaction state - TRANSACTION_COMPLETE
2022-01-09 19:45:24: PID: 19359: pymodbus.payload: [0, 0]
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Changing transaction state from 'PROCESSING REPLY' to 'TRANSACTION_COMPLETE'
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Getting transaction 1
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Adding transaction 1
2022-01-09 19:45:24: PID: 19359: pymodbus.factory: Factory Response[ReadHoldingRegistersResponse: 3]
2022-01-09 19:45:24: PID: 19359: pymodbus.framer.socket_framer: Processing: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: RECV: 0x0 0x1 0x0 0x0 0x0 0x7 0x1 0x3 0x4 0x0 0x0 0x0 0x0
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Changing transaction state from 'WAITING FOR REPLY' to 'PROCESSING REPLY'
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Changing transaction state from 'SENDING' to 'WAITING FOR REPLY'
2022-01-09 19:45:24: PID: 19359: pymodbus.client.sync: New Transaction state 'SENDING'
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: SEND: 0x0 0x1 0x0 0x0 0x0 0x6 0x1 0x3 0x9c 0x93 0x0 0x2
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Running transaction 1
2022-01-09 19:45:24: PID: 19359: pymodbus.transaction: Current transaction state - IDLE
2022-01-09 19:45:24: PID: 19359: SolarEdge: Beginning update
2022-01-09 19:45:21: **** Regulation loop start **** (LV1) at 70 main /var/www/html/openWB/regel.sh
2022-01-09 19:45:12: **** FATAL ********************************* (LV0) at 61 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:45:12: **** FATAL Regulation loop needs 11 seconds (LV0) at 60 cleanup /var/www/html/openWB/regel.sh
2022-01-09 19:45:12: ****