Difference between revisions of "Axis Module"
IVSWikiBlue (talk | contribs) (Created page with "==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,...") |
IVSWikiBlue (talk | contribs) (→privacyenabled) |
||
Line 3: | Line 3: | ||
Connects to the axis camera and returns True if the privacy mask is enabled and False if it is not. | Connects to the axis camera and returns True if the privacy mask is enabled and False if it is not. | ||
===Parameters=== | ===Parameters=== | ||
− | axis.privacyenabled(camera,username,password) | + | <pre>axis.privacyenabled(camera,username,password)</pre> |
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 23: | Line 23: | ||
|} | |} | ||
===Example=== | ===Example=== | ||
− | if axis.privacyenabled('192.168.0.90','root','pass'): | + | <pre>if axis.privacyenabled('192.168.0.90','root','pass'):</pre> |
+ | |||
==enableprivacy== | ==enableprivacy== | ||
===Usage=== | ===Usage=== |
Revision as of 07:12, 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"):