View unanswered posts | View active topics It is currently Sun May 19, 2013 11:47 pm



Reply to topic  [ 3 posts ] 
 what happened to simple URL device control? 
Author Message

Joined: Mar 03, 2007
Posts: 11
Post 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


Mon Jan 25, 2010 6:12 pm
Profile

Joined: Mar 03, 2007
Posts: 11
Post 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


Mon Jan 25, 2010 6:20 pm
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6642
Location: Austin, Texas
Post 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)
Image


Mon Jan 25, 2010 6:46 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.