This page last changed on Mar 08, 2015 by dirandad.

Hello,

I just past the last weekends trying to make working Openremote on my qnap with zwave device but without results...

My NAS : QNAP HS-210
My Zwave Dongle : Aeon Z Stick 2E (tested on a windows platform : working well)

The tutorial i Have follow : http://www.openremote.org/pages/viewpage.action?pageId=23592977&focusedCommentId=23593011#comment-23593011

and also this one :

http://forum.qnap.com/viewtopic.php?f=306&t=80225&sid=45322821fa5c480da71739eb0f77b90f

Result :

Everythings seems to be good execpt that i haven't any log in zwave.log ! (of course, I'm in debug mode)

dmesg :

[ 239.357184] usbcore: registered new interface driver dvb_usb_af9015
[ 243.756967] usbcore: registered new interface driver dvb_usb_dib0700
[ 244.139048] usbcore: registered new interface driver dvb_usb_rtl2832u
[ 244.702160] usbcore: registered new interface driver dvb_usb_rtl28xxu
[ 245.475029] usbcore: registered new interface driver it913x
[ 246.265458] usbcore: registered new interface driver dvb_usb_af9035
[ 246.667475] usbcore: registered new interface driver dvb_usb_dtt200u
[ 267.917827] usbcore: registered new interface driver usbserial
[ 267.923686] usbserial: USB Serial Driver core
[ 268.028777] usbcore: registered new interface driver ftdi_sio
[ 268.085886] USB Serial support registered for FTDI USB Serial Device
[ 268.092480] ftdi_sio: v1.6.0:USB FTDI Serial Converters Driver
[ 268.217196] usbcore: registered new interface driver pl2303
[ 268.258448] USB Serial support registered for pl2303
[ 268.371086] usbcore: registered new interface driver cp210x
[ 268.392230] USB Serial support registered for cp210x
[ 268.397301] cp210x 1-1.3:1.0: cp210x converter detected
[ 268.537314] usb 1-1.3: reset full-speed USB device number 3 using orion-ehci
[ 268.736585] usb 1-1.3: cp210x converter now attached to ttyUSB0

Particularity on HS-210, usb are in /etc/usb/ttyUSB0 (I have then adapt openremote.sh and zwave configuration in OR)
Except this point, the zwave dongle seems to be installed correctly at linux level ? (How can we try it ?)

boot.log :

DEBUG 2015-03-08 18:47:56,871 : Deployer 'Default Deployer' initialized.
DEBUG 2015-03-08 18:47:57,735 : Runtime object model has not been initialized. Using default configuration only.
DEBUG 2015-03-08 18:47:57,783 : Runtime object model has not been initialized. Using default configuration only.
DEBUG 2015-03-08 18:47:57,784 : Runtime object model has not been initialized. Using default configuration only.
DEBUG 2015-03-08 18:47:57,819 : Runtime object model has not been initialized. Using default configuration only.
INFO 2015-03-08 18:47:57,846 :

--------------------------------------------------------------------

DEPLOYING NEW CONTROLLER RUNTIME...

--------------------------------------------------------------------

DEBUG 2015-03-08 18:48:09,064 : Initializing event processor: Drools Rule Engine
INFO 2015-03-08 18:48:09,075 : No rule definitions found in '/share/MD0_DATA/.qpkg/OpenRemote/OpenRemote/webapps/controller/rules'.
INFO 2015-03-08 18:48:09,076 : Initialized event processor : Drools Rule Engine
DEBUG 2015-03-08 18:48:09,077 : Initializing event processor: RRD4J Data Logger
INFO 2015-03-08 18:48:09,857 : Initialized event processor : RRD4J Data Logger
DEBUG 2015-03-08 18:48:09,858 : Initializing event processor: EmonCMS Data Logger
INFO 2015-03-08 18:48:09,858 : Initialized event processor : EmonCMS Data Logger
INFO 2015-03-08 18:48:09,880 : Startup complete.
INFO 2015-03-08 18:48:09,905 : Controller Definition File Watcher for Default Deployer started.

dev.log

2015-03-08 18:47:49,594 INFO main: Initialized JUL to LOG4J Redirector.
2015-03-08 18:47:49,624 INFO main: Programmatically set 'useParentHandlers=false' in 'OpenRemote.Controller' log category.
2015-03-08 18:47:56,469 DEBUG main: Adding shutdown hook to manage unclosed DSC connections in case of controller exit.
2015-03-08 18:47:56,871 DEBUG main: Deployer 'Default Deployer' initialized.
2015-03-08 18:47:57,735 DEBUG main: Runtime object model has not been initialized. Using default configuration only.
2015-03-08 18:47:57,764 INFO Controller Auto\-Discovery: Created IP discover multicast server !
2015-03-08 18:47:57,769 INFO Controller Auto\-Discovery: Joined a group : 224.0.1.100:3333
2015-03-08 18:47:57,780 INFO Controller Auto\-Discovery: Listening on 224.0.1.100:3333
2015-03-08 18:47:57,783 DEBUG main: Runtime object model has not been initialized. Using default configuration only.
2015-03-08 18:47:57,784 DEBUG main: Runtime object model has not been initialized. Using default configuration only.
2015-03-08 18:47:57,785 INFO Cluster UDP: UDP Server : Starting UDP server...
2015-03-08 18:47:57,787 INFO Cluster UDP: UDP Server : Started UDP server successfully.
2015-03-08 18:47:57,819 DEBUG main: Runtime object model has not been initialized. Using default configuration only.
2015-03-08 18:47:57,820 INFO Cluster TCP: TCP Server : starting for receiving groupmember urls...
2015-03-08 18:47:57,821 INFO Cluster TCP: TCP Server : started successfully for receiving groupmember urls...
2015-03-08 18:47:57,821 INFO Cluster TCP: TCP Server : Waiting for groupmember response...
2015-03-08 18:47:57,846 INFO main:

--------------------------------------------------------------------

DEPLOYING NEW CONTROLLER RUNTIME...

--------------------------------------------------------------------

2015-03-08 18:48:09,037 ERROR main: Could not start VeraClient:
java.lang.IllegalArgumentException: Host name may not be null
at org.apache.http.HttpHost.<init>(HttpHost.java:83)
at org.apache.http.impl.client.AbstractHttpClient.determineTarget(AbstractHttpClient.java:586)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:708)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:700)
at org.openremote.controller.protocol.vera.VeraClient.requestStatus(VeraClient.java:244)
at org.openremote.controller.protocol.vera.VeraClient.startVeraClient(VeraClient.java:79)
at org.openremote.controller.protocol.vera.VeraCommandBuilder.startVeraClient(VeraCommandBuilder.java:155)
at org.openremote.controller.protocol.vera.VeraCommandBuilder.<init>(VeraCommandBuilder.java:68)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.openremote.controller.command.CommandFactory.updateCommandBuilders(CommandFactory.java:104)
at org.openremote.controller.deployer.Version20ModelBuilder.build(Version20ModelBuilder.java:552)
at org.openremote.controller.deployer.AbstractModelBuilder.buildModel(AbstractModelBuilder.java:154)
at org.openremote.controller.service.Deployer.startup(Deployer.java:858)
at org.openremote.controller.service.Deployer.startController(Deployer.java:336)
at org.openremote.controller.spring.SpringContext.initializeController(SpringContext.java:109)
at org.openremote.controller.service.ServiceContext.init(ServiceContext.java:383)
at org.openremote.controller.bootstrap.Startup.loadServiceContext(Startup.java:85)
at org.openremote.controller.bootstrap.servlet.ServletStartup.initializeServiceContext(ServletStartup.java:190)
at org.openremote.controller.bootstrap.servlet.ServletStartup.contextInitialized(ServletStartup.java:109)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3843)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:578)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2015-03-08 18:48:09,064 DEBUG main: Initializing event processor: Drools Rule Engine
2015-03-08 18:48:09,075 INFO main: No rule definitions found in '/share/MD0_DATA/.qpkg/OpenRemote/OpenRemote/webapps/controller/rules'.
2015-03-08 18:48:09,076 INFO main: Initialized event processor : Drools Rule Engine
2015-03-08 18:48:09,077 DEBUG main: Initializing event processor: RRD4J Data Logger
2015-03-08 18:48:09,857 INFO main: Initialized event processor : RRD4J Data Logger
2015-03-08 18:48:09,858 DEBUG main: Initializing event processor: EmonCMS Data Logger
2015-03-08 18:48:09,858 INFO main: Initialized event processor : EmonCMS Data Logger
2015-03-08 18:48:09,880 INFO main: Startup complete.
2015-03-08 18:48:09,905 INFO main: Controller Definition File Watcher for Default Deployer started.

Here, the vera error seem to be a bug since I haven't configurate any vera parameters...

Any Idea ??

Thank you

Maybe the Z-Wave protocol is not initialized because there are no Z-Wave commands. So create a Z-Wave command (and also a sensor) in the OpenRemote Designer.

Also note that there is a New Z-Wave 2.0.0+Release (see known issues section).

Posted by rhitz at Mar 09, 2015 20:25
Document generated by Confluence on Jun 05, 2016 09:33