Problems with "USB"-Bindings (Z-Wave and SmartMeter) after OH2.5 Upgrade

Hi There,

I’ve used the holidays for upgrading my slave system to OH2.5.

From now, both bindings accessing usb-devices (Z-Wave and my both SmartMeters) are not working correctly.

Z-Wave Binding is restarting time and time again (106 Occurrences of the “Starting ZWave…” String in one log rotation)

2020-01-02 18:58:26.214 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null
2020-01-02 18:58:28.063 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port ‘/dev/ttyACM0’
2020-01-02 18:58:28.312 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2020-01-02 18:58:28.689 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2020-01-02 18:58:28.691 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2020-01-02 18:58:32.472 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Stopped ZWave serial handler

And both SmartMeters are getting initialized correctly after startup (and deliver values) but after a short time they try to restart and can’t connect to the USB tty

2020-01-02 18:57:25.372 [INFO ] [ding.smartmeter.internal.MeterDevice] - Opening connection to smartmeter:meter:pv
2020-01-02 18:57:25.377 [WARN ] [ding.smartmeter.internal.MeterDevice] - Failed to read: Error at SerialConnector.openConnection: unable to open port /dev/ttyUSB1… Closing connection and trying again in 2 seconds…; smartmeter:meter:pv
java.io.IOException: Error at SerialConnector.openConnection: unable to open port /dev/ttyUSB1.

Any idea what went wrong and if I can get this fixed without downgrading to 2.4?

Bests
Pascal

Did you have restdocs installed? Its location moved and the old entry in addons.config in userdata needs to be deleted. The loader is restarting all addons every minute trying to load the invalid one. yahooweather is no longer valid either since the service was shut down last year.

2 Likes

In addition to what Bruce mentioned above you may need to restart OH a few times before all the errors go away. Took me 1 reboot and 3 restarts.

Thank you. I didn’t know, that this has something todo with the restdocs problem.

If you wish you can install restdocs through the UI. It moved from miscellaneous to user interfaces.