Hi,
i just upgraded my modbus setup to the new 2.x Binding.
Actually it works like a charm, but i got several errors when OH is starting up.
My thing configuration:
Bridge modbus:tcp:seTCP [ host="192.168.178.95", port=502, id=1 ] {
Bridge poller holding [ start=100, length=110, refresh=60000, type="holding" ] {
Thing data holding100 [ readStart="100", readValueType="uint16" ]
Thing data holding101 [ readStart="101", readValueType="uint16" ]
Thing data holding107 [ readStart="107", readValueType="uint16" ]
Thing data holding206 [ readStart="206", readValueType="uint16" ]
}
}
And the items:
Number PVProdLiveRaw { channel="modbus:data:seTCP:holding:holding100:number" }
Number PVProdLiveScale { channel="modbus:data:seTCP:holding:holding101:number" }
Number PVConLiveRaw { channel="modbus:data:seTCP:holding:holding206:number" }
Number PVStatusRaw { channel="modbus:data:seTCP:holding:holding107:number" }
The Errors i get on startup:
2018-12-30 10:33:22.663 [INFO ] [rt.modbus.internal.ModbusManagerImpl] - Modbus manager activated
2018-12-30 10:33:23.976 [ERROR] [org.openhab.binding.modbus ] - bundle org.openhab.binding.modbus:2.5.0.201812241153 (241)[org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService(34)] : Could not load implementation object class org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService
java.lang.ClassNotFoundException: org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService cannot be found by org.openhab.binding.modbus_2.5.0.201812241153
2018-12-30 10:33:25.718 [ERROR] [org.openhab.binding.modbus ] - FrameworkEvent ERROR - org.openhab.binding.modbus
org.osgi.framework.ServiceException: Exception in org.apache.felix.scr.impl.manager.SingleComponentManager.getService()
2018-12-30 10:33:29.271 [ERROR] [org.openhab.binding.modbus ] - bundle org.openhab.binding.modbus:2.5.0.201812241153 (241)[org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService(34)] : Could not load implementation object class org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService
java.lang.ClassNotFoundException: org.openhab.binding.modbus.discovery.internal.ModbusDiscoveryService cannot be found by org.openhab.binding.modbus_2.5.0.201812241153
2018-12-30 10:33:29.308 [ERROR] [org.openhab.binding.modbus ] - FrameworkEvent ERROR - org.openhab.binding.modbus
org.osgi.framework.ServiceException: Exception in org.apache.felix.scr.impl.manager.SingleComponentManager.getService()
And thats it… After these Errors everything is ok.
But how can i get rid of these Errors?
I’m using OH 2.5 #1475 on RPi 3.
Best Regards