Originally Posted by SAS_VA
Roomie SDK? i am aware of the DDK haven’t seen the SDK. The DDK has samples of XML but doesn’t provide any clarity how to insure the HTML header has the fixed authentication string then the command needed. Can you provide link if I had missed it thanks in advance.
Yes, I meant the DDK, sorry for the confusion. There is a new one out for V6 but it hasn't changed too much from 5.5.
I have two devices that I use custom IP control commands for. I tested each of them by manually entering commands from a telnet client before I did any XML development, just to make sure I fully understood the commands and responses. It turns out that one of my devices accepts telnet commands without any authentication, so that one was easy.
My other device requires an authentication string to be sent at the start of a telnet session. That string begins with "id" and then can be any string I define in the setup. I initially tried sending this as just another command from the Activity setup but learned that Roomie times out the telnet session after 15 seconds of no activity, so after the initial Activity commands at startup, none of the rest of my control commands worked after 15 seconds. What I then learned from support is that using a /key of ".AUTH x STATUS" and a /string with "id" and my defined auth string would solve it. This command gets sent every time before a button push command is sent, so it reestablishes the telnet session. The "x" is the /key field just defines the sequence the commands are sent in, so if, for example, you have a device that requires both an id and password for authentication, you would use ".AUTH 1 STATUS" to send the id string and ".AUTH 2 STATUS" to send the password string.
I've pasted a sample of my XML for a Trinnov Altitude 32 below. Since the Trinnov only requires a single authentication string, I only used .AUTH 1 STATUS.
<key>.AUTH 1 STATUS</key>
I hope this helps.