5iver / openHAB-utils

Utilities for use with openHAB
15 stars 7 forks source link

v1.2.3 cannot uninstall Z-Wave binding on 2.5M4 #6

Closed bwosborne2 closed 4 years ago

bwosborne2 commented 4 years ago

The script times out. Here are the zwave debug log entries. uninstall.txt

The script works fine if the old binding is uninstalled first.

vicricker commented 4 years ago

It times out on OH 2.4 as well.

bwosborne2 commented 4 years ago

i remember it working on 2.4. did you have OpenHAB running? OH needs to be running for the script to uninstall the binding.

vicricker commented 4 years ago

Yes, it was running. I just followed your suggestion and uninstalled Z-Wave from Paper UI, then ran the script again. It worked fine.

Not sure that it helps, but every time I ran the script, this was written to the log: 2019-11-06 17:52:15.825 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Stopped ZWave serial handler 2019-11-06 17:52:17.801 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/zwave' 2019-11-06 17:52:17.817 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized 2019-11-06 17:52:17.834 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller 2019-11-06 17:52:17.835 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.

5iver commented 4 years ago

This should be resolved now.

mechalas commented 3 years ago

I am having this exact same problem, working off of the script in the master branch.

2021-04-04 16:06:24.093 [WARN ] [core.thing.internal.ThingManagerImpl] - Disposing handler for thing 'zwave:serial_zstick:a76e918228' takes more than 5000ms.
2021-04-04 16:06:30.914 [INFO ] [zwave.handler.ZWaveControllerHandler] - Attempting to add listener when controller is null
2021-04-04 16:06:36.005 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2021-04-04 16:06:36.006 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.

So it may not be fully resolved.