This is working quite well:
Bridge modbus:tcp:EPEVER [ host="192.168.125.128", port=502, id=1, timeBetweenTransactionsMillis=500, timeBetweenReconnectMillis=500, reconnectAfterMillis=0 ] {
Bridge poller realtime_data1 [start=12548, length=14, refresh=1000, type="input"] {
Thing data 3104 "Battery voltage" @ "EPEVER" [readStart="12548", readValueType="int16", readTransform="JS(divide100.js)"]
Thing data 310C "Load Voltage" @ "EPEVER" [readStart="12556", readValueType="int16", readTransform="JS(divide100.js)"]
Thing data 3110 "Battery Temperature" @ "EPEVER" [readStart="12560", readValueType="int16", readTransform="JS(divide100.js)"]
Thing data 3111 "Temperature inside equipment" @ "EPEVER" [readStart="12561", readValueType="int16", readTransform="JS(divide100.js)"]
}
Bridge poller realtime_data3 [start=12570, length=1, refresh=1000, type="input"] {
Thing data 311A "Battery SOC" @ "EPEVER" [readStart="12570", readValueType="int16" ]
}
Bridge poller switch_value [start=2, length=1, maxTries=5, refresh=1000, type="coil"] {
Thing data 0002 [ readStart="2", readValueType="bit" , writeStart="2", writeValueType="bit", writeType="coil"]
}
}
What is not working:
Bridge poller switch_value -> if i switch this via openhab everything is messed up again.
Switching this one works fine, as long as refresh=0 on all three pollers.
Here the errors:
2018-04-12 13:31:52.021 [ome.event.ItemCommandEvent] - Item 'EPEVER_0002_switch' received command ON
2018-04-12 13:31:52.029 [vent.ItemStateChangedEvent] - EPEVER_0002_switch changed from OFF to ON
2018-04-12 13:31:52.620 [vent.ItemStateChangedEvent] - EPEVER_3104_number changed from 25.41 to 25.4
2018-04-12 13:31:52.628 [vent.ItemStateChangedEvent] - EPEVER_3104_lastReadSuccess changed from 2018-04-12T13:31:50.699+0200 to 2018-04-12T13:31:52.607+0200
==> /var/log/openhab2/openhab.log <==
2018-04-12 13:31:55.975 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.WriteCoilRequest@14d83b2 (unit id 1 & transaction 1368). Address: /192.168.125.128:502
2018-04-12 13:31:55.981 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.WriteCoilRequest@14d83b2 (unit id 1 & transaction 1368). Address: /192.168.125.128:502
2018-04-12 13:31:55.987 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 1 out of 3 failed when executing request (ModbusWriteCoilRequestBlueprintImpl@16cfbe8[slaveId=1,reference=2,functionCode=WRITE_COIL,bits=SingleBitArray(true),maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID a3b517fc-a961-4b70-9e03-da7db4788fa2]
2018-04-12 13:31:59.508 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@19a58b4 (unit id 1 & transaction 1369). Address: /192.168.125.128:502
2018-04-12 13:31:59.512 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@19a58b4 (unit id 1 & transaction 1369). Address: /192.168.125.128:502
2018-04-12 13:31:59.516 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 1 out of 3 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@1a7eaf3[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12570,length=1,maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 78742dd4-f1ab-44b6-b123-1ee072ab1ef0]
2018-04-12 13:32:03.057 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@1c8087b (unit id 1 & transaction 1370). Address: /192.168.125.128:502
2018-04-12 13:32:03.060 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@1c8087b (unit id 1 & transaction 1370). Address: /192.168.125.128:502
2018-04-12 13:32:03.064 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 1 out of 5 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@120789[slaveId=1,functionCode=READ_COILS,start=2,length=1,maxTries=5]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 514012bb-82d2-4df6-a91c-d89314f1864a]
2018-04-12 13:32:06.579 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@a34c50 (unit id 1 & transaction 1371). Address: /192.168.125.128:502
2018-04-12 13:32:06.583 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@a34c50 (unit id 1 & transaction 1371). Address: /192.168.125.128:502
2018-04-12 13:32:06.588 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 1 out of 3 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 80ae9bed-4f8c-4556-af00-806f7aa4f8b5]
2018-04-12 13:32:10.103 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.WriteCoilRequest@11d027b (unit id 1 & transaction 1372). Address: /192.168.125.128:502
2018-04-12 13:32:10.108 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.WriteCoilRequest@11d027b (unit id 1 & transaction 1372). Address: /192.168.125.128:502
2018-04-12 13:32:10.114 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 2 out of 3 failed when executing request (ModbusWriteCoilRequestBlueprintImpl@16cfbe8[slaveId=1,reference=2,functionCode=WRITE_COIL,bits=SingleBitArray(true),maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID a3b517fc-a961-4b70-9e03-da7db4788fa2]
2018-04-12 13:32:13.629 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@e331fd (unit id 1 & transaction 1373). Address: /192.168.125.128:502
2018-04-12 13:32:13.631 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@e331fd (unit id 1 & transaction 1373). Address: /192.168.125.128:502
2018-04-12 13:32:13.635 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 2 out of 3 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@1a7eaf3[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12570,length=1,maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 78742dd4-f1ab-44b6-b123-1ee072ab1ef0]
2018-04-12 13:32:17.152 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@3eb32e (unit id 1 & transaction 1374). Address: /192.168.125.128:502
2018-04-12 13:32:17.155 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@3eb32e (unit id 1 & transaction 1374). Address: /192.168.125.128:502
2018-04-12 13:32:17.158 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 2 out of 5 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@120789[slaveId=1,functionCode=READ_COILS,start=2,length=1,maxTries=5]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 514012bb-82d2-4df6-a91c-d89314f1864a]
2018-04-12 13:32:20.672 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@1102a80 (unit id 1 & transaction 1375). Address: /192.168.125.128:502
2018-04-12 13:32:20.676 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@1102a80 (unit id 1 & transaction 1375). Address: /192.168.125.128:502
2018-04-12 13:32:20.683 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 2 out of 3 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 80ae9bed-4f8c-4556-af00-806f7aa4f8b5]
2018-04-12 13:32:24.198 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.WriteCoilRequest@1ce13b7 (unit id 1 & transaction 1376). Address: /192.168.125.128:502
2018-04-12 13:32:24.203 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.WriteCoilRequest@1ce13b7 (unit id 1 & transaction 1376). Address: /192.168.125.128:502
2018-04-12 13:32:24.209 [ERROR] [rt.modbus.internal.ModbusManagerImpl] - Last try 3 failed when executing request (ModbusWriteCoilRequestBlueprintImpl@16cfbe8[slaveId=1,reference=2,functionCode=WRITE_COIL,bits=SingleBitArray(true),maxTries=3]). Aborting. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID a3b517fc-a961-4b70-9e03-da7db4788fa2]
2018-04-12 13:32:24.224 [ERROR] [odbus.handler.ModbusDataThingHandler] - Thing modbus:data:EPEVER:switch_value:0002 'Modbus data' had ModbusSlaveIOExceptionImpl error on write: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null)
==> /var/log/openhab2/events.log <==
2018-04-12 13:32:24.243 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:switch_value:0002' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with write. Request: ModbusWriteCoilRequestBlueprintImpl@16cfbe8[slaveId=1,reference=2,functionCode=WRITE_COIL,bits=SingleBitArray(true),maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null
==> /var/log/openhab2/openhab.log <==
2018-04-12 13:32:27.725 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@bea531 (unit id 1 & transaction 1377). Address: /192.168.125.128:502
2018-04-12 13:32:27.728 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@bea531 (unit id 1 & transaction 1377). Address: /192.168.125.128:502
2018-04-12 13:32:27.733 [ERROR] [rt.modbus.internal.ModbusManagerImpl] - Last try 3 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@1a7eaf3[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12570,length=1,maxTries=3]). Aborting. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 78742dd4-f1ab-44b6-b123-1ee072ab1ef0]
2018-04-12 13:32:27.744 [ERROR] [odbus.handler.ModbusDataThingHandler] - Thing modbus:data:EPEVER:realtime_data3:311A 'Battery SOC' had ModbusSlaveIOExceptionImpl error on read: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null)
==> /var/log/openhab2/events.log <==
2018-04-12 13:32:27.763 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data3:311A' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@1a7eaf3[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12570,length=1,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null
2018-04-12 13:32:27.770 [hingStatusInfoChangedEvent] - 'modbus:poller:EPEVER:realtime_data3' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error with read: org.openhab.io.transport.modbus.internal.ModbusSlaveIOExceptionImpl: null
2018-04-12 13:32:27.777 [vent.ItemStateChangedEvent] - EPEVER_311A_lastReadError changed from 2018-04-12T13:21:34.559+0200 to 2018-04-12T13:32:27.749+0200
2018-04-12 13:32:27.785 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data3:311A' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@1a7eaf3[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12570,length=1,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null to OFFLINE: Thing disposed -- bridge initializing?
2018-04-12 13:32:27.794 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data3:311A' changed from OFFLINE: Thing disposed -- bridge initializing? to ONLINE
==> /var/log/openhab2/openhab.log <==
2018-04-12 13:32:31.256 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@598f3c (unit id 1 & transaction 1378). Address: /192.168.125.128:502
2018-04-12 13:32:31.261 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@598f3c (unit id 1 & transaction 1378). Address: /192.168.125.128:502
2018-04-12 13:32:31.265 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 3 out of 5 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@120789[slaveId=1,functionCode=READ_COILS,start=2,length=1,maxTries=5]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 514012bb-82d2-4df6-a91c-d89314f1864a]
2018-04-12 13:32:34.779 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@15f4246 (unit id 1 & transaction 1379). Address: /192.168.125.128:502
2018-04-12 13:32:34.782 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@15f4246 (unit id 1 & transaction 1379). Address: /192.168.125.128:502
2018-04-12 13:32:34.787 [ERROR] [rt.modbus.internal.ModbusManagerImpl] - Last try 3 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]). Aborting. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 80ae9bed-4f8c-4556-af00-806f7aa4f8b5]
2018-04-12 13:32:34.799 [ERROR] [odbus.handler.ModbusDataThingHandler] - Thing modbus:data:EPEVER:realtime_data1:3104 'Battery voltage' had ModbusSlaveIOExceptionImpl error on read: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null)
2018-04-12 13:32:34.813 [ERROR] [odbus.handler.ModbusDataThingHandler] - Thing modbus:data:EPEVER:realtime_data1:310C 'Load Voltage' had ModbusSlaveIOExceptionImpl error on read: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null)
2018-04-12 13:32:34.824 [ERROR] [odbus.handler.ModbusDataThingHandler] - Thing modbus:data:EPEVER:realtime_data1:3110 'Battery Temperature' had ModbusSlaveIOExceptionImpl error on read: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null)
==> /var/log/openhab2/events.log <==
2018-04-12 13:32:34.827 [vent.ItemStateChangedEvent] - EPEVER_3104_lastReadError changed from 2018-04-12T13:21:34.670+0200 to 2018-04-12T13:32:34.805+0200
==> /var/log/openhab2/openhab.log <==
2018-04-12 13:32:34.837 [ERROR] [odbus.handler.ModbusDataThingHandler] - Thing modbus:data:EPEVER:realtime_data1:3111 'Temperature inside equipment' had ModbusSlaveIOExceptionImpl error on read: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null)
==> /var/log/openhab2/events.log <==
2018-04-12 13:32:34.858 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:3104' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null
2018-04-12 13:32:34.871 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:3104' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null to OFFLINE: Thing disposed -- bridge initializing?
2018-04-12 13:32:34.885 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:310C' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null
2018-04-12 13:32:34.902 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:3104' changed from OFFLINE: Thing disposed -- bridge initializing? to ONLINE
2018-04-12 13:32:34.909 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:3110' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null
2018-04-12 13:32:34.913 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:3111' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null
2018-04-12 13:32:34.920 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:3110' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null to OFFLINE: Thing disposed -- bridge initializing?
2018-04-12 13:32:34.924 [hingStatusInfoChangedEvent] - 'modbus:poller:EPEVER:realtime_data1' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Error with read: org.openhab.io.transport.modbus.internal.ModbusSlaveIOExceptionImpl: null
2018-04-12 13:32:34.931 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:310C' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null to OFFLINE: Thing disposed -- bridge initializing?
2018-04-12 13:32:34.936 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:3110' changed from OFFLINE: Thing disposed -- bridge initializing? to ONLINE
2018-04-12 13:32:34.946 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:310C' changed from OFFLINE: Thing disposed -- bridge initializing? to ONLINE
2018-04-12 13:32:34.951 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:3111' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null to OFFLINE: Thing disposed -- bridge initializing?
2018-04-12 13:32:34.958 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:realtime_data1:3111' changed from OFFLINE: Thing disposed -- bridge initializing? to ONLINE
==> /var/log/openhab2/openhab.log <==
2018-04-12 13:32:38.303 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@1c5a0c8 (unit id 1 & transaction 1380). Address: /192.168.125.128:502
2018-04-12 13:32:38.310 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@1c5a0c8 (unit id 1 & transaction 1380). Address: /192.168.125.128:502
2018-04-12 13:32:38.315 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 1 out of 3 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@1a7eaf3[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12570,length=1,maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 797c7f52-d1a5-4ee2-98f7-954589d4229c]
2018-04-12 13:32:41.828 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@76a09c (unit id 1 & transaction 1381). Address: /192.168.125.128:502
2018-04-12 13:32:41.830 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@76a09c (unit id 1 & transaction 1381). Address: /192.168.125.128:502
2018-04-12 13:32:41.833 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 4 out of 5 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@120789[slaveId=1,functionCode=READ_COILS,start=2,length=1,maxTries=5]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 514012bb-82d2-4df6-a91c-d89314f1864a]
2018-04-12 13:32:45.347 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@104b945 (unit id 1 & transaction 1382). Address: /192.168.125.128:502
2018-04-12 13:32:45.351 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@104b945 (unit id 1 & transaction 1382). Address: /192.168.125.128:502
2018-04-12 13:32:45.355 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 1 out of 3 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@43e080[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12548,length=14,maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID ae28db66-88a7-4193-922e-eb0154efea0b]
2018-04-12 13:32:48.868 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@218dbe (unit id 1 & transaction 1383). Address: /192.168.125.128:502
2018-04-12 13:32:48.870 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadInputRegistersRequest@218dbe (unit id 1 & transaction 1383). Address: /192.168.125.128:502
2018-04-12 13:32:48.874 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Try 2 out of 3 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@1a7eaf3[slaveId=1,functionCode=READ_INPUT_REGISTERS,start=12570,length=1,maxTries=3]). Will try again soon. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 797c7f52-d1a5-4ee2-98f7-954589d4229c]
2018-04-12 13:32:52.396 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/1 error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@4a33cb (unit id 1 & transaction 1384). Address: /192.168.125.128:502
2018-04-12 13:32:52.401 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 1, throwing last error: I/O exception: SocketTimeoutException Read timed out. Request: net.wimpi.modbus.msg.ReadCoilsRequest@4a33cb (unit id 1 & transaction 1384). Address: /192.168.125.128:502
2018-04-12 13:32:52.407 [ERROR] [rt.modbus.internal.ModbusManagerImpl] - Last try 5 failed when executing request (ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@120789[slaveId=1,functionCode=READ_COILS,start=2,length=1,maxTries=5]). Aborting. Error was I/O error, so reseting the connection. Error details: net.wimpi.modbus.ModbusIOException I/O exception: SocketTimeoutException Read timed out [operation ID 514012bb-82d2-4df6-a91c-d89314f1864a]
2018-04-12 13:32:52.422 [ERROR] [odbus.handler.ModbusDataThingHandler] - Thing modbus:data:EPEVER:switch_value:0002 'Modbus data' had ModbusSlaveIOExceptionImpl error on read: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null)
==> /var/log/openhab2/events.log <==
2018-04-12 13:32:52.440 [vent.ItemStateChangedEvent] - EPEVER_0002_lastReadError changed from 2018-04-12T13:21:34.739+0200 to 2018-04-12T13:32:52.426+0200
2018-04-12 13:32:52.451 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:switch_value:0002' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@120789[slaveId=1,functionCode=READ_COILS,start=2,length=1,maxTries=5]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null to OFFLINE: Thing disposed -- bridge initializing?
2018-04-12 13:32:52.456 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:switch_value:0002' changed from OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with write. Request: ModbusWriteCoilRequestBlueprintImpl@16cfbe8[slaveId=1,reference=2,functionCode=WRITE_COIL,bits=SingleBitArray(true),maxTries=3]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null to OFFLINE (COMMUNICATION_ERROR): Error (ModbusSlaveIOExceptionImpl) with read. Request: ModbusPollerThingHandlerImpl.ModbusPollerReadRequest@120789[slaveId=1,functionCode=READ_COILS,start=2,length=1,maxTries=5]. Description: ModbusSlaveIOException(cause=ModbusIOException, EOF=false, message='I/O exception: SocketTimeoutException Read timed out', cause=null). Message: null
2018-04-12 13:32:52.462 [hingStatusInfoChangedEvent] - 'modbus:data:EPEVER:switch_value:0002' changed from OFFLINE: Thing disposed -- bridge initializing? to ONLINE
After 5 Minutes off errors i restartet the Tracer - everything working well again.
Any hints here?
Thank you - Tom