I want use vera to send commands. But I cannot seem to find out how to do it.
I am using auto remote and tasker to control my harmony ultimate.
Can anybody point me in the right direction on how to create a device or an automation scene that can send http commands?
system
2
Hi,
Take a look on this : http://wiki.micasaverde.com/index.php/Luup_Scenes_Events#Access_the_web
For more informations, search on Google for luasocket
Searching the forum for the same phrase should yield you many results as well.
OK thank you. I found many results regarding sending http commands to vera but not the other way around. In my defence I am still a newbie to vera 
You’ll need to search for luasocket. It will very depending on the http connection type on how to use it.
chixxi
6
As posted before, search the forum, best is to use google.
A simple way ist to add a piece of lua code to a scene like this example:
luup.inet.wget("http://www.google.com")
Ok thanks for all your help. I found the following code and it worked like a charm with that.
i was using: – 5 Second timeout
local status, result = luup.inet.wget(“http://www.google.com”, 5)
It was working fine from the Lua test code in the develope apps section. Using it in scenes seemed to give a dilay of about half a minute.
But simple is good so i adopted your code and it works perfectly. I am now able to control my harmony ultimate from Vera 
[sub]www.duppeditten.com[/sub]