This page last changed on Apr 06, 2013 by juha.

I follow the guide link to setup OR for vera user: OpenRemote 2.0 How To - Micasaverde Vera. Now, I can use OR to send http command to control On/OFf switch , Dimmer , However i can not get any status of them.

I use rules in " config for controller" to poll and copy status of vera to /webapps/controler/vera.xml. It work well because i see the vera.xml update each second. ( Ip of my vera is: 192.168.2.101)

Make command for status Ip of my pc( running controler) is: 192.168.2.116, use URL: http://192.168.2.116:8688/controller/vera.xml AND XPath Expression://devices/device[@id='15']/@status

Make sensor from above command for status:

and make switch: id of Z-wave switch is 15.

I also try to use browser to open :http://192.168.2.116:8688/controller/vera.xml, but can not connect.

Could you please give me a help.


RULES.png (image/png)
Status Command.png (image/png)
Sensor.png (image/png)
Switch.png (image/png)

Any help Please. I am running OR controller on Win7.

Best regards

Posted by aqt at Apr 05, 2013 19:09

Can you send a copy of the vera xml?

Posted by juha at Apr 06, 2013 17:13

Thanks Mr. Juha
It seam that it is a problem with OR controller run on my Win 7 laptop. I try poll directly to vera by sensor( replace ip server+port 8688 by vera IP address+ port 3480) but it also not update status of switch. Attach is my vera.xml( i copy from webapps/controller/vera.xml)

  <?xml version="1.0" ?> 
  <root full="1" version="*1.5.408*" model="MiCasaVerde VeraLite" zwave_heal="1" temperature="F" serial_number="35106681" fwd1="fwd7.mios.com" fwd2="fwd6.mios.com" ir="0" irtx="" loadtime="1365261173" dataversion="261174670" state="1" comment="Push Notification[28]: Running Lua Startup">
  <sections>
    <section name="My Home" id="1" /> 
  </sections>
  <rooms>
   <room name="Phòng khách" id="1" section="1" /> 
   <room name="Phòng ngủ" id="3" section="1" /> 
   <room name="Phòng xem phim" id="2" section="1" /> 
  </rooms>
  <scenes>
   <scene name="ARM AWAY" id="4" room="0" active="1" /> 
   <scene active="0" name="An Ninh Tầng 5" id="2" room="0" /> 
   <scene name="Báo động" id="1" room="0" active="0" /> 
   <scene active="0" name="Hủy Báo Động" id="3" room="0" /> 
  </scenes>
  <devices>
   <device name="Caddx NX584 Security System" altid="" id="16" category="22" subcategory="-1" room="0" parent="0" batterylevel="100" /> 
   <device name="dvd" altid="" id="12" category="15" subcategory="0" room="0" parent="0" codesets="428,429,430,431,432,433,434,435,436,437,438,439" codeset="428" remote="1" /> 
   <device name="Partition 1" altid="Partition-1bis" id="19" category="23" subcategory="-1" room="0" parent="16" chimeenabled="0" alarm="None" state="-1" comment="" armmode="Armed" detailedarmmode="Armed" lastuser="User 98" alarmmemory="0" /> 
   <device name="Push Notification" altid="" id="28" category="1" subcategory="0" room="0" parent="0" status="0" /> 
   <device name="Zone 1" altid="Zone-1" id="20" category="4" subcategory="4" room="0" parent="16" armed="1" tripped="0" /> 
   <device name="Zone 2" altid="Zone-2" id="21" category="4" subcategory="4" room="0" parent="16" armed="1" tripped="0" /> 
   <device name="Zone 3" altid="Zone-3" id="22" category="4" subcategory="4" room="0" parent="16" armed="1" tripped="0" /> 
   <device name="Zone 4" altid="Zone-4" id="23" category="4" subcategory="4" room="0" parent="16" armed="1" tripped="0" /> 
   <device name="Zone 5" altid="Zone-5" id="24" category="4" subcategory="3" room="0" parent="16" armed="1" batterylevel="100" tripped="0" /> 
   <device name="Zone 6" altid="Zone-6" id="25" category="4" subcategory="3" room="0" parent="16" armed="1" batterylevel="100" tripped="1" /> 
   <device name="Zone 7" altid="Zone-7" id="26" category="4" subcategory="3" room="0" parent="16" armed="1" tripped="0" /> 
   <device name="Zone 8" altid="Zone-8" id="27" category="4" subcategory="3" room="0" parent="16" armed="1" tripped="0" /> 
   <device name="ĐÈN A" altid="2" id="14" category="3" subcategory="0" room="1" parent="1" status="0" state="-1" comment="" /> 
   <device name="Đèn B" altid="3" id="15" category="2" subcategory="0" room="2" parent="1" level="0" status="0" state="-1" comment="" /> 
   </devices>
  <categories>
   <categorie name="Interface" id="1" /> 
   <categorie name="Dimmable Light" id="2" /> 
   <categorie name="Switch" id="3" /> 
   <categorie name="Sensor" id="4" /> 
   <categorie name="A/V" id="15" /> 
   <categorie name="Alarm Panel" id="22" /> 
   <categorie name="Alarm Partition" id="23" /> 
  </categories>
 </root>

Thanks & best regards,

Posted by aqt at Apr 06, 2013 17:52

It looks like the copy process which takes the vera.xml and put's it into the controller's webapp folder did not work.
Do you see something in the log files?

Posted by mredeker at Apr 07, 2013 20:07

Thanks, i try with Raspberry Pi, it is working( feedback status ok). But using rule is not good, it run and stop after a hour. So i build a server to run php cript on a Pc--> WORKING OK.

I have a queries that Can i install controller and a php server on a same Raspberry?, i try some hours but it still does not work.

Posted by aqt at Apr 10, 2013 07:45

I don't knwo about PHP but controller runs on Pi. There are plenty of forum entries about it and a How-To: http://www.openremote.org/display/docs/OpenRemote+2.0+How+To+-+Install+Controller+on+Raspberry+Pi
We have a new version of the vera protocol which is coming out soon. Then you don't need to copy the very file anymore.

Posted by mredeker at Apr 10, 2013 08:39
Document generated by Confluence on Jun 05, 2016 09:41