loading
 
How to set up the API and the Logitech_Orbit module
Thomas Brady from United States  [6 posts]
13 year
I have a client (in Adobe AIR) connected to the socket. I have confirmed that the socket is receiving my requests. I'm getting the <response>ok</response> back just fine.

What I'm trying to do is PTZ a Logitech Orbit. I'm sending:
<request>
    <set_parameter>
        <module>Logitech_Orbit</module>
        <name>command</name>
        <value>1</value>
    </set_parameter>
</request>

I have also tried "move" instead of "command", as well as "move_map". None of this is doing anything. I'm sure that I just don't understand how to interact with modules.

I just want to be able to issue "left" "right" "up" "down" "zoom in" and "zoom out" commands from my client.
Anonymous 13 year
You probably first want to add the Logitech Orbit module and type in something into the variable field. That variable can then be set using the API to different values. So if you type the word "move" in that module's Variable field you can then set the variable using

<request>
    <set_variable>
        <name>move</name>
        <value>1</value>
    </set_variable>
</request>

which will change the variable 'move' to 1.

STeven.
Thomas Brady from United States  [6 posts] 13 year
Thanks! That worked.

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index