OH2 + Zwave + MySensors

I’ve had OH2 + Zwave working fine.

However I’ve now attended to add the MySensors binding which is causing some issues.

Baiscally my Zwave device has stop working.

It seems the openhab-transport-serialis causing the issue when using both bindings.

A comma-separated list of miscellaneous services to install (e.g. “myopenhab”)

misc = openhab-transport-serial

Are there any issues with the openhab-transport-serial and Zwave + MySensors

It seems the zwave serial doesnt want to go online for some reason.
‘zwave:serial_zstick:156314a589a’ changed from INITIALIZING to UNINITIALIZED (HANDLER_MISSING_ERROR)

Please provide a log so we can see what the issue is.

I’m not sure I understand the issue about the serial driver in the addons file - you shouldn’t need to include the serial driver as this is already specified in the feature file. So, when the zwave binding is installed, it will automatically install the serial bundle.

I also don’t think there’s a general problem with having multiple bindings using the serial port. I have two bundles using the serial driver - zwave and the meteostick binding - and it works without any problem.

Hmmm. I’ve managed to get Zwave and Mysensors binding work after removing those statements from the services.cfg (I’m using the dep package).

Bit lost why I’m getting zwave errors after updating to the latest build:

root@openhab:/usr/share/openhab2/addons# ls -l
total 5244
-rw-r–r-- 1 openhab openhab 39958 Jan 26 2016 org.openhab.binding.mysensors-2.0.0-SNAPSHOT.jar
-rwxrw-rw- 1 openhab openhab 1127705 Jul 31 00:32 org.openhab.binding.zwave-2.0.0-SNAPSHOT.jar
-rw-r–r-- 1 openhab openhab 4193121 Jun 19 19:05 org.openhab.ui.habmin_0.1.6.jar

P.S. I cant get my mysensors things linking working at the moment.

2016-07-31 00:34:29.015 [INFO ] [arthome.ui.paper.internal.PaperUIApp] - Started Paper UI at /ui
2016-07-31 00:34:29.227 [INFO ] [.dashboard.internal.DashboardService] - Started dashboard at /start
2016-07-31 00:34:29.415 [INFO ] [ui.habmin.internal.servlet.HABminApp] - Started HABmin servlet at /habmin
2016-07-31 00:34:29.588 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Connecting to serial port '/dev/ttyACM0’
2016-07-31 00:34:29.702 [INFO ] [ing.zwave.handler.ZWaveSerialHandler] - Serial port is initialized
2016-07-31 00:34:29.712 [INFO ] [mmandclass.ZWaveSecurityCommandClass] - Update networkKey
2016-07-31 00:34:29.778 [INFO ] [ve.internal.protocol.ZWaveController] - Starting ZWave controller
2016-07-31 00:34:29.779 [INFO ] [ve.internal.protocol.ZWaveController] - ZWave timeout is set to 5000ms. Soft reset is false.
2016-07-31 00:34:30.074 [ERROR] [org.openhab.binding.zwave ] - FrameworkEvent ERROR - org.openhab.binding.zwave
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.zwave [207]
Another singleton bundle selected: osgi.identity; osgi.identity=“org.openhab.binding.zwave”; type=“osgi.bundle”; version:Version=“2.0.0.201607060105”; singleton:=“true”

at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)[org.eclipse.osgi-3.10.2.v20150203-1939.jar:]

2016-07-31 00:34:30.216 [INFO ] [assic.internal.servlet.WebAppServlet] - Started Classic UI at /classicui/app
2016-07-31 00:34:30.237 [INFO ] [basic.internal.servlet.WebAppServlet] - Started Basic UI at /basicui/app
2016-07-31 00:34:30.330 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.sitemap’
2016-07-31 00:34:30.674 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'demo.things’
2016-07-31 00:34:30.747 [ERROR] [org.apache.felix.configadmin ] - [org.osgi.service.cm.ManagedService, id=296, bundle=115/mvn:org.eclipse.smarthome.model/org.eclipse.smarthome.model.core/0.9.0-SNAPSHOT]: Unexpected problem updating configuration org.eclipse.smarthome.folder
java.lang.IllegalArgumentException: Given uid must not be null.
at org.eclipse.smarthome.core.thing.UID.splitToSegments(UID.java:48)[102:org.eclipse.smarthome.core.thing:0.9.0.201607061527]
at org.eclipse.smarthome.core.thing.UID.(UID.java:43)[102:org.eclipse.smarthome.core.thing:0.9.0.201607061527]
at org.eclipse.smarthome.core.thing.ThingUID.(ThingUID.java:139)[102:org.eclipse.smarthome.core.thing:0.9.0.201607061527]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.createThing(GenericThingProvider.java:276)[126:org.eclipse.smarthome.model.thing:0.9.0.201607061527]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.createThing(GenericThingProvider.java:254)[126:org.eclipse.smarthome.model.thing:0.9.0.201607061527]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.access$5(GenericThingProvider.java:253)[126:org.eclipse.smarthome.model.thing:0.9.0.201607061527]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider$3.apply(GenericThingProvider.java:244)[126:org.eclipse.smarthome.model.thing:0.9.0.201607061527]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider$3.apply(GenericThingProvider.java:1)[126:org.eclipse.smarthome.model.thing:0.9.0.201607061527]
at org.eclipse.xtext.xbase.lib.IteratorExtensions.forEach(IteratorExtensions.java:363)[139:org.eclipse.xtext.xbase.lib:2.9.2]
at org.eclipse.xtext.xbase.lib.IterableExtensions.forEach(IterableExtensions.java:333)[139:org.eclipse.xtext.xbase.lib:2.9.2]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.createThingsFromModel(GenericThingProvider.java:247)[126:org.eclipse.smarthome.model.thing:0.9.0.201607061527]
at org.eclipse.smarthome.model.thing.internal.GenericThingProvider.modelChanged(GenericThingProvider.java:637)[126:org.eclipse.smarthome.model.thing:0.9.0.201607061527]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:201)[115:org.eclipse.smarthome.model.core:0.9.0.201607061527]
at org.eclipse.smarthome.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:97)[115:org.eclipse.smarthome.model.core:0.9.0.201607061527]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.checkFile(FolderObserver.java:240)[115:org.eclipse.smarthome.model.core:0.9.0.201607061527]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.notifyUpdateToModelRepo(FolderObserver.java:169)[115:org.eclipse.smarthome.model.core:0.9.0.201607061527]
at org.eclipse.smarthome.model.core.internal.folder.FolderObserver.updated(FolderObserver.java:150)[115:org.eclipse.smarthome.model.core:0.9.0.201607061527]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updated(ManagedServiceTracker.java:189)[7:org.apache.felix.configadmin:1.8.8]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.updateService(ManagedServiceTracker.java:152)[7:org.apache.felix.configadmin:1.8.8]
at org.apache.felix.cm.impl.helper.ManagedServiceTracker.provideConfiguration(ManagedServiceTracker.java:85)[7:org.apache.felix.configadmin:1.8.8]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.provide(ConfigurationManager.java:1444)[7:org.apache.felix.configadmin:1.8.8]
at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1400)[7:org.apache.felix.configadmin:1.8.8]
at org.apache.felix.cm.impl.UpdateThread.run0(UpdateThread.java:143)[7:org.apache.felix.configadmin:1.8.8]
at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:110)[7:org.apache.felix.configadmin:1.8.8]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_91]
2016-07-31 00:34:32.914 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 1: Node found
2016-07-31 00:34:32.915 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 2: Node found
2016-07-31 00:34:32.915 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 3: Node found
2016-07-31 00:34:32.915 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 4: Node found
2016-07-31 00:34:32.915 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 5: Node found
2016-07-31 00:34:32.915 [INFO ] [age.SerialApiGetInitDataMessageClass] - NODE 6: Node found
2016-07-31 00:34:32.916 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller using Controller API
2016-07-31 00:34:32.916 [INFO ] [age.SerialApiGetInitDataMessageClass] - ZWave Controller is Primary Controller
2016-07-31 00:34:32.916 [INFO ] [age.SerialApiGetInitDataMessageClass] - ------------Number of Nodes Found Registered to ZWave Controller------------
2016-07-31 00:34:32.916 [INFO ] [age.SerialApiGetInitDataMessageClass] - # Nodes = 6
2016-07-31 00:34:32.917 [INFO ] [age.SerialApiGetInitDataMessageClass] - ----------------------------------------------------------------------------
2016-07-31 00:34:32.940 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 4: Initialising Thing Node…
2016-07-31 00:34:32.941 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 6: Initialising Thing Node…
2016-07-31 00:34:32.941 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 5: Initialising Thing Node…
2016-07-31 00:34:32.947 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 3: Initialising Thing Node…
2016-07-31 00:34:32.947 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 2: Initialising Thing Node…
2016-07-31 00:34:38.556 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 5: Timeout while sending message. Requeueing - 0 attempts left!
2016-07-31 00:34:38.558 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 5: Got an error while sending data. Resending message.
2016-07-31 00:34:38.718 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 5: No converter set for channel zwave:device:1563158fc65:node5:switch_dimmer
2016-07-31 00:34:40.007 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 5: Initialising Thing Node…
2016-07-31 00:34:40.023 [WARN ] [ding.zwave.handler.ZWaveThingHandler] - NODE 5: Initialising Thing Node…
2016-07-31 00:34:45.085 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 4: Timeout while sending message. Requeueing - 2 attempts left!
2016-07-31 00:34:45.086 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 4: Got an error while sending data. Resending message.
2016-07-31 00:34:50.087 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 4: Timeout while sending message. Requeueing - 1 attempts left!
2016-07-31 00:34:50.088 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 4: Got an error while sending data. Resending message.
2016-07-31 00:34:55.090 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 4: Timeout while sending message. Requeueing - 0 attempts left!
2016-07-31 00:34:55.090 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 4: Got an error while sending data. Resending message.
2016-07-31 00:35:00.091 [WARN ] [ocol.ZWaveController$ZWaveSendThread] - NODE 4: Too many retries. Discarding message: Message: class=SendData[0x13], type=Request[0x00], priority=Config, dest=4, callback=18, payload=04 03 70 05 02
2016-07-31 00:35:05.092 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 4: Timeout while sending message. Requeueing - 2 attempts left!
2016-07-31 00:35:05.093 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 4: Got an error while sending data. Resending message.
2016-07-31 00:35:10.094 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 4: Timeout while sending message. Requeueing - 1 attempts left!
2016-07-31 00:35:10.094 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 4: Got an error while sending data. Resending message.
2016-07-31 00:35:15.095 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 4: Timeout while sending message. Requeueing - 0 attempts left!
2016-07-31 00:35:15.096 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 4: Got an error while sending data. Resending message.
2016-07-31 00:35:20.097 [WARN ] [ocol.ZWaveController$ZWaveSendThread] - NODE 4: Too many retries. Discarding message: Message: class=SendData[0x13], type=Request[0x00], priority=Config, dest=4, callback=23, payload=04 03 70 05 02
2016-07-31 00:35:25.098 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 4: Timeout while sending message. Requeueing - 2 attempts left!
2016-07-31 00:35:25.098 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 4: Got an error while sending data. Resending message.
2016-07-31 00:35:30.099 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 4: Timeout while sending message. Requeueing - 1 attempts left!
2016-07-31 00:35:30.100 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 4: Got an error while sending data. Resending message.
2016-07-31 00:35:35.101 [ERROR] [ocol.ZWaveController$ZWaveSendThread] - NODE 4: Timeout while sending message. Requeueing - 0 attempts left!
2016-07-31 00:35:35.101 [ERROR] [l.serialmessage.SendDataMessageClass] - NODE 4: Got an error while sending data. Resending message.

Actually the zwave error was because I stupidly put the zwave.binding into the addons directory as well as this already exists in the offline dep file.