Difference between revisions of "Axis Module"
IVSWikiBlue (talk | contribs) (→disableprivacy) |
IVSWikiBlue (talk | contribs) (→gotopreset) |
||
Line 92: | Line 92: | ||
* Disables PTZ Functionality | * Disables PTZ Functionality | ||
===Parameters=== | ===Parameters=== | ||
− | axis.gotopreset(camera,username,password,preset) | + | <pre>axis.gotopreset(camera,username,password,preset)</pre> |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 116: | Line 116: | ||
|} | |} | ||
===Example=== | ===Example=== | ||
− | axis.gotopreset('192.168.0.90','root','pass',"Preset1"): | + | <pre>axis.gotopreset('192.168.0.90','root','pass',"Preset1"):</pre> |
Revision as of 07:31, 24 April 2019
Contents
privacyenabled
Usage
Connects to the axis camera and returns True if the privacy mask is enabled and False if it is not.
Parameters
axis.privacyenabled(camera,username,password)
Parameter | Type | Value |
camera | String | IP address of the axis camera. |
username | String | Valt Username |
password | String | Valt Password |
Example
if axis.privacyenabled('192.168.0.90','root','pass'):
enableprivacy
Usage
Connects to the axis camera and does the following:
- Enables the privacy mask
- Mutes the audio
- Moves the cameras to a Privacy preset.
- Disables PTZ Functionality
Parameters
axis.enabledprivacy(camera,username,password)
Parameter | Type | Value |
camera | String | IP address of the axis camera. |
username | String | Valt Username |
password | String | Valt Password |
Example
axis.enableprivacy('192.168.0.90','root','pass')
disableprivacy
Usage
Connects to the axis camera and does the following:
- Disables the privacy mask
- Unmutes the audio
- Enables PTZ Functionality
Parameters
axis.disabledprivacy(camera,username,password)
Parameter | Type | Value |
camera | String | IP address of the axis camera. |
username | String | Valt Username |
password | String | Valt Password |
Example
axis.disableprivacy('192.168.0.90','root','pass')
gotopreset
Usage
Connects to the axis camera and does the following:
- Enables the privacy mask
- Mutes the audio
- Moves the cameras to a Privacy preset.
- Disables PTZ Functionality
Parameters
axis.gotopreset(camera,username,password,preset)
Parameter | Type | Value |
camera | String | IP address of the axis camera. |
username | String | Valt Username |
password | String | Valt Password |
preset | String | Name of the preset previous defined in the camera. This is primarily used as part of the enable privacy subroutine. |
Example
axis.gotopreset('192.168.0.90','root','pass',"Preset1"):