Author Topic: Demo Pad integration see sample command  (Read 2423 times)

Offline wichiepr

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
Demo Pad integration see sample command
« on: November 10, 2011, 02:38:37 pm »
Does anybody have work with DemosPad software? They said that the support the Get command and that is possible to use the application. Please give some feedback if you have and idea to use that apps.  I may join forces to work on that.
Here is a sample command they send me:I've just done another search & found that you can control Vera2 with
standard http GET commands, like this:

http://<Vera_IP>:3480/data_request?id=lu_action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=<SceneNum>

We have the 'send data to website' function for commands like this, or you
can set up a device in our software & send the command:

GET
/data_request?id=lu_action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=<SceneNum>
HTTP/1.1\x0D\x0AHost:www.example.com\x0D\x0A\x0D\x0A

to achieve the same result...
« Last Edit: November 10, 2011, 03:22:41 pm by wichiepr »

Offline dulstone

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
Re: Demo Pad integration see sample command
« Reply #1 on: February 14, 2012, 03:04:46 pm »
Hi

On the demo pad action list for the scene 2 button as an example, choose :

Action Type : Send data to a website
Web Data : http://<your vera ip address>:3480/data_request?id=lu_action&serviceId=urn:micasaverde-com:serviceId:HomeAutomationGateway1&action=RunScene&SceneNum=2

And click "Add", this will operate vera scene 2 when pressed. (If you click the configure symbol of a scene in vera UI, it tells you the scene number)

I've tried and failed to get Demopad to speak with vera via GET commands. If anyone can enlighten me it would be much appreciated, and if you know how to capture status feedback into Demopad that would be a really bonus !!!

Rob.

Offline cw-kid

  • Hero Member
  • *****
  • Posts: 1510
  • Karma: +12/-2
Re: Demo Pad integration see sample command
« Reply #2 on: July 24, 2018, 02:39:58 pm »
Just installed Demopad to have a look.

These commands worked to turn on / off an appliance plug. The IP address is that of Vera and the devicenum is the device number in Vera you want to control.

ON:

Code: [Select]
GET /data_request?id=action&DeviceNum=50&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=1 HTTP/1.1\x0D\x0AHost: 192.168.1.100\x0D\x0A\x0D\x0A
OFF:

Code: [Select]
GET /data_request?id=action&DeviceNum=50&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=0 HTTP/1.1\x0D\x0AHost: 192.168.0.1.100\x0D\x0A\x0D\x0A
Looks quite complex though to use the Demopad designer and build your own GUI. Plus it seems to be for iOS device which I don't have.