Pent:
My friend thanks a lot for your help. I was able to make this work. i actually was using the wrong paths. Found the right ones here
http://www.universal-devices.com/mwiki/index.php?title=ISY-99i_Series_INSTEON:REST_Interface If you can help me. I am not very proficient with tasker. I am learning as I go and reading forums and how tos. But now I have made it work. With this
To turn OFF device 1D A6 79 (A Lamp)
A1:
HTTP Get [ Server:Port:username:pass...@xx.xxx.x.xxx:xxx
Path:/rest/nodes/1D A6 79 1/cmd/DOF Attributes: Cookies: Timeout:10 Mime Type:
Output File: ] To turn ON
A1:
HTTP Get [ Server:Port:username:pass...@xx.xxx.x.xxx:xxx
Path:/rest/nodes/1D A6 79 1/cmd/DON Attributes: Cookies: Timeout:10 Mime Type:
Output File: ]
Now this are 2 separate tasks and I have to trigger one or the other depending on if the lamp is on or off.
I would like to have the one single task that can trigger the right command depending on the state of the device using this
/rest/status/<node> -- returns the status for the given node
So if the status of
1D A6 79 is On it will trigger the command To turn OFF device 1D A6 79 (A Lamp)
A1:
HTTP Get [ Server:Port:username:pass...@xx.xxx.x.xxx:xxx
Path:/rest/nodes/1D A6 79 1/cmd/DOF Attributes: Cookies: Timeout:10 Mime Type:
Output File: ] If is off it will trigger the other task
I would really appreciate your help.
Thanks.
On Tuesday, December 4, 2012 8:55:00 AM UTC-5, Ruy Aguilar wrote:
This is the description I got .
A1: HTTP Get [ Server:Port:username:password@192.168.1.xx:xxx
Path:WEB/INDEX.HTM#/nodes/1D A6 79 1/cmd/DOF Attributes: Cookies: Timeout:10
Mime Type: Output File: ]