Hello, I’m currently trying to connect my openremote instance with multiple Kostal Pikos using ModbusTCP. After figuting out how to connect oto them im now facing the issue that the connection randomly drops. It once ran for almost an hour without issue but did so only once.
The msot common error i get is this one:
Failed to start protocol ‘Modbus TCP Protocol[modbus-tcp://192.168.1.11:1502?unit-identifier=1]’: ModbusTcpAgent{id=‘7BvhRJYpUlbQXgxMcxAiLj’, name=‘ModbusTCPAgentLink’, type =‘ModbusTcpAgent’, parentId=‘7Ii52ONUaVmWHtQPrfFLKf’, realm=‘master’} msg=org.apache.plc4x.java.api.exceptions.PlcConnectionException: Error creating channel.
Together with:
Failed to create PLC4X connection for protocol instance: ModbusTcpAgent{id=‘7BvhRJYpUlbQXgxMcxAiLj’, name=‘ModbusTCPAgentLink’, type =‘ModbusTcpAgent’, parentId=‘7Ii52ONUaVmWHtQPrfFLKf’, realm=‘master’} – org.apache.plc4x.java.api.exceptions.PlcConnectionException: Error creating channel.
I can ping all the devices without issue and the ports etc. are also correctly configured.
It works sometimes for a short period and i cant figure out what im doing wrong. Any help is much appreciated