Modbus binding doesn't work with multiple slaves in TCP mode

@YMedox I think I pasted wrong link to thread previously – sorry for that!

This is the correct link to download the expiremental version: https://community.openhab.org/t/connection-pooling-in-modbus-binding/5246/31?u=ssalonen. It is prebuilt for you, just install as you would normally. Make sure you have only that new version present in the system.

Please follow these steps (modified from linked thread more suitable for TCP testing) to make the debugging easier.

  • have an minimal configuration (for example two slaves that just read data). I suggest creating separate configuration for these tests for your convenience
  • TRACE level logging enabled
  • latest release version of openhab

When you have issues, please

  • paste the logs here (or even better use pastebin.com for long logs to make this thread more readable)
  • the associated openhab.cfg configuration
  • openhab item definitions.
  • modbus device you are using (I believe you already reported this)

I’ve had positive experiences with the experimental version with Modbus TCP but would be nice to hear it from others as well! I really appreciate if you have time to test the new version.

One more thing: Please report your experiences in the other thread, in order to collect all feedback of the new version there.