@ssalonen Thanks for your help.
I’ve set the polling period to 60s to simplify debugging.
After just changing the polling rate I got a few Errors on the Binding and the things, but afterwards the polling started working again without any restart.
2020-08-25 22:13:32.404 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'manuel.things'
2020-08-25 22:13:33.023 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Error getting a new connection for endpoint ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502]. Error was: java.lang.InterruptedException null
2020-08-25 22:13:33.027 [WARN ] [rt.modbus.internal.ModbusManagerImpl] - Could not connect to endpoint ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502] -- aborting request ModbusPollerThingHandler.ModbusPollerReadRequest@16f2547[slaveId=1,functionCode=READ_MULTIPLE_REGISTERS,start=0,length=104,maxTries=3] [operation ID 382e2da7-da45-4de0-83c0-ee33f6d06340]
2020-08-25 22:13:33.064 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:SelfConsumption 'E3DC SelfConsumption' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.075 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:Autarky 'E3DC Autarky' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.097 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:SoC 'E3DC Battery SoC' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.113 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:Emergency_Power_Status 'E3DC Emergency Power' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.129 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:EMS_Charge_Lock 'E3DC EMS charging locked' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.481 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:EMS_DisCharge_Lock 'E3DC EMS discharging locked' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.487 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:EMS_Emergency_Power 'E3DC EMS emergency enabled' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.494 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:EMS_Wather_Based 'E3DC EMS weather based charging' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.500 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:EMS_Output_Cut 'E3DC EMS output cut' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.506 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:EMS_Charge_Lock_Time 'E3DC EMS charge lock time' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.512 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:EMS_DisCharge_Lock_Time 'E3DC EMS discharge lock time' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.519 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:String1_Voltage 'E3DC String 1 Voltage' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.525 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:String2_Voltage 'E3DC String 2 Voltage' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.532 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:String3_Voltage 'E3DC String 3 Voltage' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.539 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:String1_Current 'E3DC String 1 Current' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.546 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:String2_Current 'E3DC String 2 Current' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.553 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:String3_Current 'E3DC String 3 Current' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.560 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:String1_Power 'E3DC String 1 Power' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.566 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:String2_Power 'E3DC String 2 Power' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
2020-08-25 22:13:33.573 [ERROR] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:String3_Power 'E3DC String 3 Power' had ModbusConnectionException error on read: ModbusConnectionException(Error connecting to endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502])
The debug logs are coming in now, I’ll report tomorrow after the poll stops again.
2020-08-25 22:27:25.492 [DEBUG] [rt.modbus.internal.ModbusManagerImpl] - Executing scheduled (60000ms) poll task BasicPollTask@1a0f798[request=ModbusPollerThingHandler.ModbusPollerReadRequest@a26408[slaveId=1,functionCode=READ_MULTIPLE_REGISTERS,start=0,length=104,maxTries=3],endpoint=ModbusTCPSlaveEndpoint@ab6d37[address=192.168.2.141,port=502],resultCallback=org.openhab.binding.modbus.handler.ModbusPollerThingHandler$ReadCallbackDelegator@3c127f,failureCallback=org.openhab.binding.modbus.handler.ModbusPollerThingHandler$ReadCallbackDelegator@3c127f]. Current millis: 1598387245491
2020-08-25 22:27:25.508 [DEBUG] [bus.handler.ModbusPollerThingHandler] - Thing modbus:poller:e3dc:polling received response PollResult(result=AsyncModbusReadResult(request = ModbusPollerThingHandler.ModbusPollerReadRequest@a26408[slaveId=1,functionCode=READ_MULTIPLE_REGISTERS,start=0,length=104,maxTries=3], registers = ModbusRegisterArrayImpl(e3 dc 01 02 00 88 45 33 2f 44 43 20 47 6d 62 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 31 30 20 45 20 41 49 4f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50 31 30 2d 37 30 32 30 32 33 30 31 30 30 32 39 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50 31 30 5f 32 30 32 30 5f 30 36 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f5 62 ff ff 0a ae 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 63 63 00 1d 00 02 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 37 00 3e 00 00 00 00 00 00 00 00 00 00 00 00 00 00)))
2020-08-25 22:27:25.517 [DEBUG] [ernal.handler.ModbusDataThingHandler] - Thing modbus:data:e3dc:polling:Consumption channels updated: {modbus:data:e3dc:polling:Consumption:number=2734}. readValueType=int32_swap, readIndex=Optional[71], readSubIndex(or 0)=0, extractIndex=71 -> numeric value 2734 and boolValue=true. Registers ModbusRegisterArrayImpl(e3 dc 01 02 00 88 45 33 2f 44 43 20 47 6d 62 48 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 53 31 30 20 45 20 41 49 4f 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50 31 30 2d 37 30 32 30 32 33 30 31 30 30 32 39 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 50 31 30 5f 32 30 32 30 5f 30 36 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 f5 62 ff ff 0a ae 00 00 00 10 00 00 00 00 00 00 00 00 00 00 00 00 00 00 63 63 00 1d 00 02 00 04 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 37 00 3e 00 00 00 00 00 00 00 00 00 00 00 00 00 00) for request ModbusPollerThingHandler.ModbusPollerReadRequest@a26408[slaveId=1,functionCode=READ_MULTIPLE_REGISTERS,start=0,length=104,maxTries=3]
2020-08-25 22:27:25.522 [DEBUG] [rt.modbus.internal.ModbusManagerImpl] - Modbus operation ended, timing info: {total: 28 ms, connection: 6, transaction=9, callback=13} [operation ID ebf33f83-c5a1-46b4-a5b0-237184900aca]
@rossko57 I will try fixing the modbus binding first and will probably look at the E3DC Modbus Binding afterwards.
And the chart doesn’t quite show a lot details, all the Wattage values stay the same as the things are not updating.
It seems like the binding mentions the same original post where I got the modbus / E3DC bases from. Thanks for the heads up.