I am trying to figure out how to install the add in. I am not sure where to place the jar file on a Debian system Is anyone working on Modbus for ver2?
I believe there is work being done on Modbus 2 binding, but right now you need to use the openHAB 1 binding. There are two ways to get it installed. You could manually place it in the addons/ directory, or you can install it via paper UI. Once installed you place your configuration in conf/services/modbus.cfg and it can look something like:
poll=50
tcp.water.connection=10.88.64.45:502:0:600000:0:3:100
tcp.water.length=55
tcp.water.type=coil
tcp.basement.connection=10.88.64.46:502:0:600000:0:3:100
tcp.basement.length=55
tcp.basement.type=coil
tcp.basement_ponet.connection=10.88.64.46:502:0:600000:0:3:100
tcp.basement_ponet.start=2072
tcp.basement_ponet.length=8
tcp.basement_ponet.type=coil
tcp.first.connection=10.88.64.47:502:0:600000:0:3:100
tcp.first.length=55
tcp.first.type=coil
tcp.first_ponet.connection=10.88.64.47:502:0:600000:0:3:100
tcp.first_ponet.start=2072
tcp.first_ponet.length=8
tcp.first_ponet.type=coil
tcp.second.connection=10.88.64.48:502:0:600000:0:3:100
tcp.second.length=55
tcp.second.type=coil
tcp.second_ponet.connection=10.88.64.48:502:0:600000:0:3:100
tcp.second_ponet.start=2072
tcp.second_ponet.length=8
tcp.second_ponet.type=coil
tcp.shed.connection=10.88.64.49:502:0:600000:0:3:100
tcp.shed.length=55
tcp.shed.type=coil
I will try using UI I do not see the add-on folder
Thanks I plan to use arduino on modbus tcp to control relays
I only see HAB 2.0 add-ons in paperUI