Vera Home Automation Tutorials

Share any commands you know or look here to find commands for your devices.
Post Reply
User avatar
Cheesegeezer
Posts: 27
Joined: Wed Mar 02, 2016 10:15 pm
Location: On an oil rig somewhere

Vera Home Automation Tutorials

Post by Cheesegeezer » Wed Apr 13, 2016 9:09 pm

As the title suggests here is the place to post any useful information regarding integration of Vera Home Automation with DemoPad. This first post will be updated with links to guides within this thread.

I have been playing a lot and have quite a lot working now, so will fill these in very shortly, plus i have more to add to the pot. But feel free to add more.

Vera Tutorial Links:
0. Basic Vera Setup as a device
1. Turning on a Binary Light - http://demopad.com/forum/viewtopic.php? ... 9123#p9123
2. Turning on a Dimmable Light - http://demopad.com/forum/viewtopic.php? ... 9122#p9124
3. Setting the dim level - http://demopad.com/forum/viewtopic.php? ... 9122#p9125
4. Running a Vera scene - http://demopad.com/forum/viewtopic.php? ... 9122#p9126
5. Enabling 2 way feedback - http://demopad.com/forum/viewtopic.php? ... 9122#p9127

SETTING UP YOUR VERA CONTROLLER AS A DEVICE IN DEMOPAD

1. Connect the WAN port on your VERA to a spare LAN port on your router. This will put VERA on your home network and assign it an IP address.
2. The MAC address of your VERA unit should be on a sticker on the underside the unit. Note this down.

Note: My Main Router is a TPLink so the following info is for setting up on this type of router. Google is your friend if you have a different router :)

3. Go to your routers Web page and log in, then navigate to your DHCP section and open a list of connected devices or DHCP Client List. This should show you a list of all devices on the network. It should have a Device Name(sometimes this is "unknown") a MAC Address and an IP address in the list. Find the MAC address of your VERA unit and note down the IP Address.

Image

4. Then go to the section where you can make your VERA a permanent address, therefore if there is a power cut, etc when your router boots up it will ensure that your VERA always keeps the same address.

On the TP link it is the "Address Reservation" Tab is directly under the DHCP Client List so click on that. Then click add new and enter the information requested, which is generally MAC address and the IP address you want to assign the VERA unit. Hit save and you will be prompted to reboot the Router before changes take effect.

Image

So that's that for the router side. Setting up the Vera as a new device in DemoPad is easy.

5. Select the Devices Folder and Click on New Device. Once "New Device 01" appears in the drop down. Click on the Name and rename it to something appropriate.

Image

6. Enter the IP address you have assigned on the Router and enter 3480 as the Port Number.

Image
Last edited by Cheesegeezer on Thu Feb 09, 2017 1:38 pm, edited 7 times in total.

User avatar
Cheesegeezer
Posts: 27
Joined: Wed Mar 02, 2016 10:15 pm
Location: On an oil rig somewhere

Re: Vera Home Automation Tutorials

Post by Cheesegeezer » Wed Apr 13, 2016 9:10 pm

1. Turning on a Binary Light

To add a command we need the following info.

Information needed: IP address of VERA Controller. VERA Device Id of the Binary switch.

1. To find out the Device Id simply go to a web browser and type in the IP address of your VERA Controller, Log in if necessary.
2. Click on Devices and click the arrow you want to find device Id of
Image

3. Select Advanced from the list

Image

4. Bingo there is your device number

Image

Now we have all the information required to enter a command in demopad

5. Select your vera controller in the Device list in DemoPad and the click the View/Edit button in the Pre-defined Commands. A new window will open.
Image

6. Give your Command an Appropriate name and add in the following in the Command Data Window. Where you need to enter the device id and your VERA ip address. If you wish to switch the light on set the 1 colored in red to 1 or to switch off set the 1 in red to 0(zero).

GET /data_request?id=action&DeviceNum=<The DeviceId>&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=1 HTTP/1.1
Host: <YourVERA_IP_Address>

7. Once you have filled in the Command Data Window correctly, Click the ADD button to the left, click on the Command and click the Test button.
Your device should switch on or off depending on what the binary command was set to.
Last edited by Cheesegeezer on Thu Feb 09, 2017 2:04 pm, edited 3 times in total.

User avatar
Cheesegeezer
Posts: 27
Joined: Wed Mar 02, 2016 10:15 pm
Location: On an oil rig somewhere

Re: Vera Home Automation Tutorials

Post by Cheesegeezer » Wed Apr 13, 2016 9:10 pm

Reserved 2 - Turning on a Dimmable light

User avatar
Cheesegeezer
Posts: 27
Joined: Wed Mar 02, 2016 10:15 pm
Location: On an oil rig somewhere

Re: Vera Home Automation Tutorials

Post by Cheesegeezer » Wed Apr 13, 2016 9:11 pm

Reserved 3 - Setting a dim level

User avatar
Cheesegeezer
Posts: 27
Joined: Wed Mar 02, 2016 10:15 pm
Location: On an oil rig somewhere

Re: Vera Home Automation Tutorials

Post by Cheesegeezer » Wed Apr 13, 2016 9:11 pm

Reserved 4 - Running a Scene

User avatar
Cheesegeezer
Posts: 27
Joined: Wed Mar 02, 2016 10:15 pm
Location: On an oil rig somewhere

Re: Vera Home Automation Tutorials

Post by Cheesegeezer » Wed Apr 13, 2016 9:12 pm

Reserved 5 - Getting 2 way feedback to work

dari
Posts: 1
Joined: Sun Oct 29, 2017 7:34 pm

Re: Vera Home Automation Tutorials

Post by dari » Sun Mar 04, 2018 7:13 pm

Is it possible to set a dim level ?
Can someone tell me how to set a dim level for vera zwave

Post Reply