Hello, i have a problem with the connection of the heat recovery unit via MODBUS TCP/IP.
I use Modbus 1.x binding.
In modbus.cfg have:
tcp.slave1.connection=192.168.0.89:502 tcp.slave1.type=holding tcp.slave1.id=5 tcp.slave1.start=10709 tcp.slave1.length=1 tcp.slave1.valuetype=int16
Holding register H10709 is read/write for mode. (0=off, 1=auto, 2=cirkulation)
items.item:
String RekupMode "Rezim:[%s]" {modbus="slave1:0"}
home.sitemap:
Switch item=RekupMode mappings=[0=“off”, 1 = “Auto”, 2 = “Cirkulation”]
when changing the mode I see in the log:
13:40:22.756 [WARN ] [b.binding.modbus.internal.ModbusSlave] - ModbusSlave (slave1): Error getting a new connection for endpoint ModbusTCPSlaveEndpoint@806c64[address=192.168.0.89,port=502]. Error was: Pool not open
13:40:22.757 [WARN ] [b.binding.modbus.internal.ModbusSlave] - ModbusSlave (slave1) not connected -- aborting read request net.wimpi.modbus.msg.ReadMultipleRegistersRequest@a16c21. Endpoint ModbusTCPSlaveEndpoint@806c64[address=192.168.0.89,port=502]
13:40:35.369 [INFO ] [smarthome.event.ItemCommandEvent ] - Item 'RekupMode' received command 0
13:40:35.371 [WARN ] [b.binding.modbus.internal.ModbusSlave] - Item RekupMode received unsupported command: 0. Not setting register.
Thanks