Wednesday, December 2, 2009

Re: Insteon ISY-99i and Command Fusion

0 comments
Posted a little how-to guide in our wiki for anyone else who is
looking for examples of controlling devices via HTTP requests using
iViewer:
http://www.commandfusion.com/wiki/index.php?title=GuiDesigner:System_Manager:Commands:HTTP_Request_Commands

Jarrod

On Dec 3, 2:03 am, Jarrod Bell <jar...@guilink.com> wrote:
> Just found out that some systems may also require the carriage return
> character along with the newline character, so the command would look
> like:
>
> GET /rest/nodes/99999/cmd/DON HTTP/1.1\x0D\x0AHOST: 192.xxx.x.x\x0D
> \x0AAuthorization: Basic YWRtaW46YWRtaW4=\x0D\x0A\x0D\x0A
>
> (all one line)
>
> Jarrod
>
> On Nov 24, 4:29 pm, Jarrod Bell <jar...@guilink.com> wrote:
>
>
>
> > Try:
>
> > GET /rest/nodes/99999/cmd/DON HTTP/1.0\x0AHOST: 192.xxx.x.x
> > \x0AAuthorization: Basic YWRtaW46YWRtaW4=\x0A\x0A
>
> > Just remember any newline requires the \x0A hex character
>
> > Looks like your on the right track.
>
> > Jarrod
>
> > On Nov 24, 3:14 pm, Shad <deg01...@gmail.com> wrote:
>
> > > It looks like this HTTP structure will work but i need to send my
> > > authentication information also. This information would be my username
> > > and password that is base64 encoded.
>
> > > A example would be
>
> > > User name: admin
> > > Password: admin.
>
> > > Using the linkhttp://www.motobit.com/util/base64-decoder-encoder.asp
> > > which is a good free base64 decoder i get YWRtaW46YWRtaW4=
>
> > > This makes the whole http structure look like
>
> > > GET /rest/nodes/99999/cmd/DON HTTP/1.0\x0AHOST: 192.xxx.x.x
> > > Authorization: Basic  YWRtaW46YWRtaW4=\x0A\x0A
>
> > > My questions are.
>
> > > Does this look right?
>
> > > How do i put this in Command Fusion, Can i just put it all on one line
> > > in the command value portion of guidesigner?
> > > A example of what it would look like written out on one line for
> > > command fusion would be greatly appreciated if possible.
>
> > > Thanks
> > > Shad

--

You received this message because you are subscribed to the Google Groups "CommandFusion" group.
To post to this group, send email to commandfusion@googlegroups.com.
To unsubscribe from this group, send email to commandfusion+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/commandfusion?hl=en.

Comments

0 comments to "Re: Insteon ISY-99i and Command Fusion"

Post a Comment

 

Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted into Blogger Template by Bloganol dot com