Difference between revisions of "Axis Module"
IVSWikiBlue (talk | contribs) (→privacyenabled) |
IVSWikiBlue (talk | contribs) (→enableprivacy) |
||
Line 33: | Line 33: | ||
* Disables PTZ Functionality | * Disables PTZ Functionality | ||
===Parameters=== | ===Parameters=== | ||
− | axis.enabledprivacy(camera,username,password) | + | <pre>axis.enabledprivacy(camera,username,password)</pre> |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 53: | Line 53: | ||
|} | |} | ||
===Example=== | ===Example=== | ||
− | axis.enableprivacy('192.168.0.90','root','pass') | + | <pre>axis.enableprivacy('192.168.0.90','root','pass')</pre> |
+ | |||
==disableprivacy== | ==disableprivacy== | ||
===Usage=== | ===Usage=== |
Revision as of 07:13, 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"):