ModBus Binding to Oekofen Pelletmatic

Hello,

I try to get Information from my Oekofen Pelletmatic via ModBus, but I not able to get a stable connection.

First of all the Oekofen seems to by okay. The connection with the ANANAS Tool was succesful.

Here are my settings:

I’m using OH2 on a Raspi2

modbus.cfg:

tcp.Slave.connection=192.168.178.48:502:60:0:0:3:100
tcp.Slave.type=holding //Advice from the Oekofen Support (who is very quick answering by the way) 
tcp.Slave.id=1
tcp.Slave.start=1
tcp.Slave.length=1
tcp.Slave.postundefinedonreaderror=true

I’ve played around with several values but the result was always the same:
openhab.log:

2018-03-12 17:11:00.810 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 1/3 error: I/O exception - failed to read.. Request: net.wimpi.modbus.msg.ReadMultipleRegistersRequest@1eb91a3 (unit id 1 & transaction 44988). Address: /192.168.178.48:502
2018-03-12 17:11:00.875 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 2/3 error: I/O exception - failed to write: Broken pipe. Request: net.wimpi.modbus.msg.ReadMultipleRegistersRequest@1eb91a3 (unit id 1 & transaction 44989). Address: /192.168.178.48:502
2018-03-12 17:11:00.941 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute try 3/3 error: I/O exception - failed to write: Broken pipe. Request: net.wimpi.modbus.msg.ReadMultipleRegistersRequest@1eb91a3 (unit id 1 & transaction 44990). Address: /192.168.178.48:502
2018-03-12 17:11:00.946 [ERROR] [wimpi.modbus.io.ModbusTCPTransaction] - execute reached max tries 3, throwing last error: I/O exception - failed to write: Broken pipe. Request: net.wimpi.modbus.msg.ReadMultipleRegistersRequest@1eb91a3 (unit id 1 & transaction 44990). Address: /192.168.178.48:502
2018-03-12 17:11:00.960 [ERROR] [.binding.modbus.internal.ModbusSlave] - ModbusSlave (Slave): Error getting modbus data for request net.wimpi.modbus.msg.ReadMultipleRegistersRequest@1eb91a3. Error: Executing transaction failed (tried 3 times). Endpoint ModbusTCPSlaveEndpoint@1e11053[address=192.168.178.48,port=502]. Connection: TCPMasterConnection@102617a[socket=Socket[addr=/192.168.178.48,port=502,localport=59184]]

I’ve tried to get more information in the Logs, (Trace, debug) but this is all what’s possible.

The Screen at the Pelletmatic always toggle between:
“Waiting for Client” and “Connected with Client”

I didn’t add the Items yet, because I first want to make sure, that the connection is okay. Is this a problem?

A few weeks ago i read the the SW from Oekofen could be the Problem, but this ist up to date now (Ver. 2.09)

Thanks for your help…

Solved by using

https://community.openhab.org/t/modbus-openhab2-binding-available-for-alpha-testing/27657/303