OpenHab 3 and ModBus

Error : method 'void (java.lang.String, int)’ not found

I got this error on OpenHab 3 and not with OpenHab 2 with the same config on the same machine

Bridge modbus:tcp:PLC1 [ host=“”, port=502, id=1 ]
Bridge poller coils [ start=0, length=9, refresh=1, type=“coil” ]
Thing data digital2 [ readStart=“1”, readValueType=“bit”, writeStart=“1”, writeValueType=“bit”, writeType=“coil” ]

someone have an idea ?


Do you have custom modbus bundles installed? Sounds like a possible version mismatch

No, Nothing and it’s works on OpenHab 2 on the same machine

Please confirm that this is the openHAB 3.0 release, not a snapshot or milestone.

Can you also list the bundle version numbers with

bundle:list -s|grep modbus

In the openHAB console