Subject: | API for controlling motion remotely using XML-RPC |
---|---|
Version: | 3.1.14 |
Status: | Released |
Author: | Jeroen Vreeken (pe1rxq@amsat.org) |
Author: | Kenneth Lavrsen (kenneth@lavrsen.dk) |
Date: | 2004-May-05 |
Several of the following function calls have an thread argument. When a value of 0 is used the effect of the function will be global. Each individual thread is number from 1 up.
Function name: | motion.info |
---|---|
Description: | Get basic information about the motion instance connected |
Arguments: | none |
Return value(s): | (si) Motion version Number of active threads |
Function name: | motion.conf.list |
---|---|
Description: | Get a list of all config parameters |
Arguments: | none |
Return value(s): | array of {s:s,s:s,s:s} option: config option name type: parameter type help: help text describing option (incl headers) |
Function name: | motion.conf.get |
---|---|
Description: | Get the value of a config option |
Arguments: | (is) thread number config option name |
Return value(s): | (is) success(0 on success, negative on error), value |
Function name: | motion.conf.set |
---|---|
Description: | Get the value of a config option |
Arguments: | (iss) thread number config option name new value |
Return value(s): | none |
Function name: | motion.conf.write |
---|---|
Description: | Write current config setting to config file(s) |
Arguments: | none |
Return value(s): | none |
Function name: | motion.action.makemovie |
---|---|
Description: | Convert all current jpegs to an mpeg movie (only if berkeley mpeg_encode is used) or stop the current movie and start a new one (if ffmpeg is used) |
Arguments: | (i) thread number |
Return value(s): | none |
Function name: | motion.action.snapshot |
---|---|
Description: | Take a snapshot |
Arguments: | (i) thread number |
Return value(s): | none |
Function name: | motion.action.quit |
---|---|
Description: | Quit |
Arguments: | none |
Return value(s): | none |
Function name: | motion.detection.pause |
---|---|
Description: | Stop detecting motion |
Arguments: | (i) thread number |
Return value(s): | none |
Function name: | motion.detection.resume |
---|---|
Description: | Start detection motion (again) |
Arguments: | (i) thread number |
Return value(s): | none |
Function name: | motion.track.auto |
---|---|
Description: | Enable/disable automatic motion tracking. |
Arguments: | (ii) thread number enable |
Return value(s): | none |
Function name: | motion.track.set |
---|---|
Description: | Move camera to an absolute position in degrees. |
Arguments: | (iii) thread number pan tilt |
Return value(s): | none |
Function name: | motion.track.pan |
---|---|
Description: | Move pan relativly to current position in degrees. |
Arguments: | (ii) thread number steps |
Return value(s): | none |
Function name: | motion.track.tilt |
---|---|
Description: | Move tilt relativly to current position in degrees. |
Arguments: | (ii) thread number steps |
Return value(s): | none |