OmegaQuest Posted January 11, 2012 Posted January 11, 2012 Is there a URL suck as: http://ISYIP/rest/status/device=command (such as "on" or something). Obviously this URL should somehow have the username/password included such as: http://ISYIP/rest/status?user=test;pass ... ;device=12 43 54;command=on I am working on a touchscreen for my house, and I want to create a few buttons to "Click" that will run a command on my "Internal Webpage". I would prefer to do this with HTML or Batch script only, no ASP/PHP. Thanks
OmegaQuest Posted January 11, 2012 Author Posted January 11, 2012 My main problem is getting the username/password auto added into the URL
bmercier Posted January 11, 2012 Posted January 11, 2012 Look at this post from nstein. It allows to have your web page on another web server, and pass the rest requests to ISY and pass the user/pw at the same time. viewtopic.php?f=63&t=v6729&start=15 Benoit
OmegaQuest Posted January 11, 2012 Author Posted January 11, 2012 That uses a differant webserver then a direct link to the ISY itself. That also requieres PHP. I am looking for a stright URL that I can put into a program (basically just an HTML page) that if an "Internal" user clicks it, it turns the device I hard coded into the link on or off. Thanks
hoopty Posted January 11, 2012 Posted January 11, 2012 I believe this is the format you're looking for. http://Username:Password@ISYIP/rest/status/deviceid
OmegaQuest Posted January 12, 2012 Author Posted January 12, 2012 I believe this is the format you're looking for. http://Username:Password@ISYIP/rest/status/deviceid Microsoft took that feature out of Windows 7 and IE8+ Thanks
hoopty Posted January 13, 2012 Posted January 13, 2012 Well that sucks. Works in Win 7 with Firefox...
oceanman93 Posted February 18, 2012 Posted February 18, 2012 You can use a Mac OSX or linux direct command as well: curl -u user:password -s http://ISY_IP_ADDRESS:ISY_PORT/rest/vars/set/// wget could be used as well.
Recommended Posts