what happened to simple URL device control?

Posted on
Mon Jan 25, 2010 6:12 pm
mhoyt offline
Posts: 11
Joined: Mar 03, 2007

what happened to simple URL device control?

Hi,

I recently upgraded to Indigo 4 and some software I wrote (that worked with Indigo 3) to remotely toggle some devices via control page URL's no longer works with Indigo 4.0.

I used to build and send the following URL string to turn off Heater1:

http://<indigohost>:8176/turnoff?device=Heater1&reloadPage=0

I'm getting an undefined page request now in the event logs. I've searched through the stuff here and I'm not seeing any simple examples of how to control (on/off) a simple appliance type device with Indigo 4. Did I miss it? Can anybody offer me some help?

thanks,

Mike

Posted on
Mon Jan 25, 2010 6:20 pm
mhoyt offline
Posts: 11
Joined: Mar 03, 2007

Re: what happened to simple URL device control?

I think I figured it out. Does this look correct?:

(to turn off Heater2)

http://<indigohost>:8176/devices/Heater2?isOn=0&_method=put

Posted on
Mon Jan 25, 2010 6:46 pm
jay (support) offline
Site Admin
User avatar
Posts: 18220
Joined: Mar 19, 2008
Location: Austin, Texas

Re: what happened to simple URL device control?

mhoyt wrote:
I think I figured it out. Does this look correct?:

(to turn off Heater2)

http://<indigohost>:8176/devices/Heater2?isOn=0&_method=put


For 4.0, we formalized the URLs into a RESTful API.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 5 guests