Anybody got any experience integrating irule with Vera using a HTTP Gateway?
Thanks in advance
Dave Hage
Anybody got any experience integrating irule with Vera using a HTTP Gateway?
Thanks in advance
Dave Hage
I did some tests with it, and it worked quite well. While it doesn’t “learn” your devices, you can easily set up buttons to send commands to vera port 3480 like this:
I believe the command is “data_request?id=lu_action&DeviceNum=69&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=1” and you set up your gateway on the remote with vera’s IP address and port to use if I remember correctly.
Playing with openremote.org 's Open Remote now, so I can do similar things on Android, but miss iRule’s simplicity of building the panels… may go back and pay for the builder license… I used it only during the 14 day demo period to see if it would work… and with the iTach / Vera setup it worked very well!
Jamie
Keep in mind however, that you won’t see the status of your devices in your remote… they are send only, and won’t show you the current state of say a light, or thermostat.
But the panels you can build are simply BEAUTIFUL!
Many thanks guys, very useful
Regards
Dave Hage
Having a bit of trouble getting this to work, can you remember if you set up Vera in iRule as a “network gateway” or an “http gateway”, one gives the option of a port number, which I’m not sure is necessary. Does Vera listen on all ports for http commands?, I’m not much of a programmer, and the Vera documentation leaves a bit to be desired, to say the least,
Thanks in advance
Dave Hage
Okay this is from memory, as my ipod is at home, and I no longer have access to the builder online app, as my trial period has expired…
but, I think I used http gateway… in the builder the command was like :
data_request?id=lu_action&DeviceNum=69&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=1
(where DeviceNum=69 (69 being the number of the device you want to control))
and on the ipod settings, where you add gateways, the gateway was :
http://ip_of_vera:3480 (just included the port number like that…)
Will take a look at it tonight if ipod still lets me access the gateway assignments.
Here’s the step-by-step walkthrough for creating the device, adding commands, and setting up the gateway:
http://www.iruleathome.com/tutorials/http-gateway.html
In step 4, the command (data field, lower left) is like this:
data_request?id=lu_action&DeviceNum=69&serviceId=urn:upnp-org:serviceId:SwitchPower1&action=SetTarget&newTargetValue=1
and in step 7, the address is like this:
192.168.0.200:3480/ (use your Vera’s ip address, but the :3480 needs to stay, as that’s the port you will use)
Hope this helps, and lemme know how it goes.
Many thanks Jamie, I’ll give it a go.
Regards
Dave Hage
Jamie,
Many thanks, works perfectly, I love the interface of iRule, have managed to run scene via the buttons on iRule as well.
A quick question, still struggling with the syntax for a dimmable light.
Many thanks
Dave Hage
still struggling with the syntax for a dimmable light.
data_request?id=lu_action&output_format=json&DeviceNum=46&serviceId=urn:upnp-org:serviceId:Dimming1&action=SetLoadLevelTarget&newLoadlevelTarget=10
Thanks Guys, all working now, even have the Vera UI as a page within iRule, works great on an iPad.
Regards
Dave Hage
can iRule control from internet( not local network) the veralite???
Potentially with UI5, but most definitely not with UI7 and how authentication works with it. I went through the authentication configuration and it is not a simple username and password via the URL.
BTW - I bought the Vera module for iRule and am VERY disappointed with it. I highly recommend not purchasing it. Sure, a fancy thermostat view on your tablet is nice, but it is buggy and is slow to login and display data.
Best Home Automation shopping experience. Shop at Ezlo!
© 2024 Ezlo Innovation, All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules