This page last changed on Jun 25, 2015 by thndr.

I am setting up a system, and from what ive read I cant figure out if OpenRemote will work for me. I have z-wave devices. What I am trying to figure out is this. I understand OpenRemote interfaces between a huge number of protocols and controls z-wave devices. It will also display sensor statuses on the remote.

I do not need a remote, rather just a controller. But I need something powerful and configurable.

So what I am asking is whether or not the OpenRemote only polls the sensors when requested by the (web, android, etc) UI or does it constantly monitor for changes (ie Motion) and then do whatever macro or command I have programmed? What I really need is something like ISY994iZw but I want my server to the be (only) interface.

Thanks!

Yes, the OR controller always monitors and controls your devices without any UI defined / connected.
You can have a standalone controller with rules for the logic and no UI.

Posted by ebariaux at Jun 26, 2015 08:00

I cant seem to get it to work. I am getting an error about Vera controller (of which is not configured). I found one reference from the mailing list to this bug that has apparantly been fixed. I have tried multiple computers. I also get an error after uploading the file when I click "Reload Congifuration and celar cache" I get "Failed to reload configuration and clear cache!"

The log for the Vera error is below. I can make this go away by editing the controller.xml and removing the Vera line. I still see no Z-Wave traffic. InControl will connect to the Z-Stick even when OpenRemote is running, leading me to believe its not connecting to the Z-Stick.

2015-06-26 19:50:17,689 INFO main: Initialized JUL to LOG4J Redirector.
2015-06-26 19:50:17,692 INFO main: Programmatically set 'useParentHandlers=false' in 'OpenRemote.Controller' log category.
2015-06-26 19:50:19,052 DEBUG main: Adding shutdown hook to manage unclosed DSC connections in case of controller exit.
2015-06-26 19:50:19,214 INFO Controller Auto\-Discovery: Created IP discover multicast server !
2015-06-26 19:50:19,215 INFO Controller Auto\-Discovery: Joined a group : 224.0.1.100:3333
2015-06-26 19:50:19,215 INFO Controller Auto\-Discovery: Listening on 224.0.1.100:3333
2015-06-26 19:50:19,258 INFO Cluster UDP: UDP Server : Starting UDP server...
2015-06-26 19:50:19,259 INFO Cluster UDP: UDP Server : Started UDP server successfully.
2015-06-26 19:50:19,261 INFO Cluster TCP: TCP Server : starting for receiving groupmember urls...
2015-06-26 19:50:19,261 INFO Cluster TCP: TCP Server : started successfully for receiving groupmember urls...
2015-06-26 19:50:19,261 INFO Cluster TCP: TCP Server : Waiting for groupmember response...
2015-06-26 19:50:19,269 INFO main:

********************************************************************************

Controller definition was not found in this OpenRemote Controller instance.

If you are starting the controller for the first time, please use your web
browser to connect to the controller home page and synchronize it with your
online account.

********************************************************************************

Could not find a controller definition to load at path '..\webapps\controller\controller.xml' (for version 2.0)
2015-06-26 19:50:19,281 INFO main: Controller Definition File Watcher for Default Deployer started.
2015-06-26 19:52:33,284 INFO main: Initialized JUL to LOG4J Redirector.
2015-06-26 19:52:33,307 INFO main: Programmatically set 'useParentHandlers=false' in 'OpenRemote.Controller' log category.
2015-06-26 19:52:34,221 DEBUG main: Adding shutdown hook to manage unclosed DSC connections in case of controller exit.
2015-06-26 19:52:34,407 INFO Cluster UDP: UDP Server : Starting UDP server...
2015-06-26 19:52:34,409 INFO Cluster UDP: UDP Server : Started UDP server successfully.
2015-06-26 19:52:34,471 INFO main:

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

DEPLOYING NEW CONTROLLER RUNTIME...

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

2015-06-26 19:52:34,631 INFO Cluster TCP: TCP Server : starting for receiving groupmember urls...
2015-06-26 19:52:34,631 INFO Cluster TCP: TCP Server : started successfully for receiving groupmember urls...
2015-06-26 19:52:34,631 INFO Cluster TCP: TCP Server : Waiting for groupmember response...
2015-06-26 19:52:34,632 INFO Controller Auto\-Discovery: Created IP discover multicast server !
2015-06-26 19:52:34,632 INFO Controller Auto\-Discovery: Joined a group : 224.0.1.100:3333
2015-06-26 19:52:34,632 INFO Controller Auto\-Discovery: Listening on 224.0.1.100:3333
2015-06-26 19:52:34,687 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:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
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:872)
at org.openremote.controller.service.Deployer.startController(Deployer.java:350)
at org.openremote.controller.spring.SpringContext.initializeController(SpringContext.java:109)
at org.openremote.controller.service.ServiceContext.init(ServiceContext.java:427)
at org.openremote.controller.bootstrap.Startup.loadServiceContext(Startup.java:88)
at org.openremote.controller.bootstrap.servlet.ServletStartup.initializeServiceContext(ServletStartup.java:195)
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:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2015-06-26 19:52:34,775 INFO main: No rule definitions found in 'C:\openremote\webapps\controller\rules'.
2015-06-26 19:52:34,777 INFO main: Initialized event processor : Drools Rule Engine
2015-06-26 19:52:34,891 INFO main: Initialized event processor : RRD4J Data Logger
2015-06-26 19:52:34,892 INFO main: Initialized event processor : EmonCMS Data Logger
2015-06-26 19:52:34,894 INFO main: Startup complete.
2015-06-26 19:52:34,894 INFO main: Controller Definition File Watcher for Default Deployer started.

Posted by thndr at Jun 27, 2015 01:58

You can safely forget about the Vera error if you're not using Vera. It's annoying but does not prevent the system from working.

As for Z-Wave, which controller and zwave.jar version are you using.
There is a thread on the forums about our v2 Z-Wave stack, I believe this has the most appropriate information.

Posted by ebariaux at Jul 01, 2015 13:01
Document generated by Confluence on Jun 05, 2016 09:34