This page last changed on Apr 10, 2014 by ckbsmart.

I am running a OpenRemote-Controller-Pro1.0.12 on a WINDOWS 7 64bit machine with Java 1.6.0_45. I used to run a free version but I decided to switch because I thought Vera integration is no longer available for testing.

With the free version everything worked fine until few days back when I started to get th following error:

ERROR HTTP\-Thread\-1: Error executing command '/6/click' : Vera client is not s
tarted
org.openremote.controller.exception.NoSuchCommandException: Vera client is not s
tarted
at org.openremote.controller.protocol.vera.VeraCommandBuilder.build(Unkn
own Source)
at org.openremote.controller.command.CommandFactory.getCommand(Unknown S
ource)
at org.openremote.controller.component.control.button.ButtonBuilder.buil
d(Unknown Source)
at org.openremote.controller.component.ComponentFactory.getComponent(Unk
nown Source)
at org.openremote.controller.service.impl.ControlCommandServiceImpl.getC
ontrol(Unknown Source)
at org.openremote.controller.service.impl.ControlCommandServiceImpl.trig
ger(Unknown Source)
at org.openremote.controller.rest.ControlCommandRESTServlet.handleReques
t(Unknown Source)
at org.openremote.controller.rest.RESTAPI.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.openremote.controller.rest.support.json.JSONCallbackFilter.doFilt
er(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterIntern
al(CharacterEncodingFilter.java:78)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerR
equestFilter.java:77)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoin
t.java:354)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExec
utor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:918)
at java.lang.Thread.run(Thread.java:662)

At the time I blamed the free version for the error. After buying the Pro version and installed it I saw that I get the same error.

What can I do?

Best regards,
Cristina Chira

Do you see an error message like "Could not start VeraClient: ...." in the vera log (<OpenRemote Controller>/logs/vera/vera.log ?
Is your Vera configuration OK (OpenRemote Designer > Config for Controller > vera > vera.address: <IP Address>) ?

Posted by rhitz at Apr 11, 2014 08:42

Yes I do see that error. Vera worked until few days back and has the same configurations(ip) set as it did before. I just run OP and saw that nothing was working and I got the error while pressing the button that the command is not found. I even tried from running the OR from another Pc and the same error. I have Vera 3 with UI5, no upgrade or change was performed on my side. I set the ip to: 192.168.1.164 as I use to access Vera from browser.

Posted by ckbsmart at Apr 11, 2014 10:54

The Vera protocol implementation loads a configuration XML from the Vera controller at start time. You could try to load this XML manually in order to test the communication with the Vera controller. Open your web browser (e.g. Chrome) and insert the following URL:

http://<Vera controller IP address>:3480/data_request?id=lu_sdata&output_format=xml

Does the browser load the XML ?

Posted by rhitz at Apr 11, 2014 20:35

Yes if i use http://IP:3480/data_request?id=status&output_format=xml the browser returns the XML.

Posted by ckbsmart at Apr 14, 2014 13:42

I am not sure what happened now, but Vera started to communicate again with OR. I did not do anything so, I did not change anything.

Posted by ckbsmart at Apr 14, 2014 13:49

As I've mentioned the Vera protocol implementation tries to load a configuration XML from the Vera controller at startup time of the controller. It tries to load the XML only once (at startup time), and if it fails the Z-Wave commands do not work. There is no polling. That means if you start the OpenRemote controller, the Vera controller should also be started. It doesn't help to start the Vera controller afterwards. Maybe the problem is gone because you've restarted the OpenRemote controller.

Posted by rhitz at Apr 14, 2014 16:17

I'm trying to setup my Vera Controller with OR but I'm getting the following error:

ERROR main: Could not parse Vera status file. Vera protocol is not started
java.lang.NumberFormatException: For input string: "33.0"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:458)
at java.lang.Integer.parseInt(Integer.java:499)
etc etc etc

So I enabled debugging for veru and looked at the very log file and this what I've found:

DEBUG 2014-07-17 21:31:21,717 (Vera): Vera device - GenericDevice- with id: 24 and category: Unknown created.
DEBUG 2014-07-17 21:31:21,717 (Vera): Vera device - Dimmer- with id: 29 and category: DimmableLight created.
DEBUG 2014-07-17 21:31:21,718 (Vera): Vera device - TemperatureSensor- with id: 39 and category: TemperatureSensor created.
DEBUG 2014-07-17 21:31:21,718 (Vera): Vera device - GenericDevice- with id: 38 and category: Unknown created.
DEBUG 2014-07-17 21:31:21,718 (Vera): Vera device - GenericDevice- with id: 55 and category: Unknown created.
DEBUG 2014-07-17 21:31:21,718 (Vera): Vera device - GenericDevice- with id: 56 and category: Unknown created.
ERROR 2014-07-17 21:31:21,724 (Vera): Could not parse Vera status file. Vera protocol is not started
java.lang.NumberFormatException: For input string: "33.0"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:458)
at java.lang.Integer.parseInt(Integer.java:499)

OR throws the error at same place every time I start the OR service which is at the end vera last device from the <devices></devices> returned by (http://xx.xx.xx.xx:3480/data_request?id=lu_sdata&output_format=xml)

Can anyone shed some light as of why this is happening and how can I correct this behavior?

Posted by ronluna at Jul 18, 2014 03:04

did u ever find answer to this problem.
I never get a single reply from OR community ever so far - its so funny not sure if anything wrong with my nick

Posted by gdhiraj2015 at May 28, 2015 09:57
Document generated by Confluence on Jun 05, 2016 09:39