Jump to content

Controlling Insteon System via command fusion URL


deg01004

Recommended Posts

Hi,

I'm looking at controlling a Insteon lighting system via iphone through the Command fusion application.

 

I am wondering if i can send commands to the ISY-99i through wifi and have them be completed by the program details portion of the administrative console.

 

For Example if my IP for the ISY-99i on my wifi is 192.168.1.5 and the device is a light switch 01.A1.9B Could i send a command such as lighton to the ISY-99i in this format;

 

http://192.168.1.5/01.A1.9b/lighton.

 

Could this be interpreted by the ISY-99i similar to a X10 command but with a program like this:

 

If

wifi 'Lighton' received

 

then

Set scene '01.a1.9b' on

 

Else

no action

 

Is something like this possible. I know that there is a application for the iphone to control lights but i would like one program (command fusion) to take care of all my home automation needs.

 

I am a newbie so maybe this isn't even possible and i will need to do it with the IR version of the ISY-99i amd global cache.

 

Thanks

deg01004

Link to comment

Hi deg01004,

 

These tasks could be accomplished using ISY-99i's REST interface. Take a look at the documentation on this wiki page.

 

For Example if my IP for the ISY-99i on my wifi is 192.168.1.5 and the device is a light switch 01.A1.9B Could i send a command such as lighton to the ISY-99i in this format;

 

http://192.168.1.5/01.A1.9b/lighton.

 

Pretty much. The url syntax would look like this:

 

http://192.168.1.5/rest/nodes/99999/cmd/DON

 

The reason I replaced "01.A1.9" with the placeholder "99999" is that ISY assigns a unique node ID to each object. You can get a list of all objects by calling /rest/nodes.

 

Could this be interpreted by the ISY-99i similar to a X10 command but with a program like this:

 

If

wifi 'Lighton' received

 

then

Set scene '01.a1.9b' on

 

Else

no action

 

The best way to accomplish this would be to call the desired program via REST:

 

http://192.168.1.5/rest/program/9999/runThen

 

Again, this example uses the placeholder "9999" because programs are also referenced by their node IDs.

 

Cheers,

-Jim

Link to comment

Thanks for the info. The ISY-99i looks like what i would want due to the rest feature and many other reasons.

 

If i were to type

http://192.168.1.5/rest/nodes/99999/cmd/DON

from a standard web broswer connected to my network would it turn on the light?

 

Does this bypass the security login and password or do i have to connect a device to the ISY in some way?

 

Thanks for the great info.

deg01004

Link to comment

Hi deg01004,

 

Yes it does turn on the device with address 99999. And, NO, your browser will be challenged with HTTP BASIC Auth.

 

It's always best to use HTTPS when accessing ISY remotely.

 

With kind regards,

Michel

 

Thanks for the info. The ISY-99i looks like what i would want due to the rest feature and many other reasons.

 

If i were to type

http://192.168.1.5/rest/nodes/99999/cmd/DON

from a standard web broswer connected to my network would it turn on the light?

 

Does this bypass the security login and password or do i have to connect a device to the ISY in some way?

 

Thanks for the great info.

deg01004

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...