Trying to add a new device, I unplug the zstick, pair the device and readd it, things arent coming back online.
OH2.3 and the Zwave development binding.
Fibaro FGMS-001 Z-Wave Plus Motion Sensor
17:57:12.995 [ERROR] [home.core.thing.internal.ThingManager] - Exception occurred while disposing handler of thing 'zwave:serial_zstick:512': The service has been unregistered
java.lang.IllegalStateException: The service has been unregistered
at org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.unregister(ServiceRegistrationImpl.java:206) [?:?]
at org.openhab.binding.zwave.handler.ZWaveControllerHandler.dispose(ZWaveControllerHandler.java:241) [223:org.openhab.binding.zwave:2.4.0.201807071112]
at org.openhab.binding.zwave.handler.ZWaveSerialHandler.dispose(ZWaveSerialHandler.java:133) [223:org.openhab.binding.zwave:2.4.0.201807071112]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:?]
at org.eclipse.smarthome.core.internal.common.AbstractInvocationHandler.invokeDirect(AbstractInvocationHandler.java:153) [101:org.eclipse.smarthome.core:0.10.0.oh230]
at org.eclipse.smarthome.core.internal.common.Invocation.call(Invocation.java:53) [101:org.eclipse.smarthome.core:0.10.0.oh230]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
at java.lang.Thread.run(Thread.java:748) [?:?]
Looks like your zwave stick is not online anymore.
Check the correct serial port, sometimes when readding the stick the port changes.
You may create symlinks to avoid that …
You could always just do the inclusion through OH (Habmin or PaperUI). I don’t think a udev rule will fix this for you, but I could be wrong. Before you unplug the controller, shutdown OH. Stopping the binding may work too.
There is nothing done in HABmin, your problem is your operating system. HABmin just shows what your operating system is providing.
As you have more than one symlink I guess you have somehow messed up your system:
/dev/ttyUSB-ZStick
/dev/ttyUSB-ZWAVE
If you are only using one usb stick there is no need to use symlinks at all.