Difference between revisions of "Axis Module"

From IVS Wiki
Jump to: navigation, search
(disableprivacy)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
==privacyenabled==
 
==privacyenabled==
 
===Usage===
 
===Usage===
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, or False if it is not.
 
===Parameters===
 
===Parameters===
 
<pre>axis.privacyenabled(camera,username,password)</pre>
 
<pre>axis.privacyenabled(camera,username,password)</pre>
Line 12: Line 12:
 
|camera
 
|camera
 
|String
 
|String
|IP address of the axis camera.
+
|IP address of the Axis camera.
 
|-
 
|-
 
|username
 
|username
Line 27: Line 27:
 
==enableprivacy==
 
==enableprivacy==
 
===Usage===
 
===Usage===
Connects to the axis camera and does the following:
+
Connects to the Axis camera and does the following:
* Enables the privacy mask
+
* Enables the Privacy Mask
* Mutes the audio
+
* Mutes the Audio
 
* Moves the cameras to a Privacy preset.
 
* Moves the cameras to a Privacy preset.
 
* Disables PTZ Functionality
 
* Disables PTZ Functionality
Line 42: Line 42:
 
|camera
 
|camera
 
|String
 
|String
|IP address of the axis camera.
+
|IP address of the Axis camera.
 
|-
 
|-
 
|username
 
|username
Line 57: Line 57:
 
==disableprivacy==
 
==disableprivacy==
 
===Usage===
 
===Usage===
Connects to the axis camera and does the following:
+
Connects to the Axis camera and does the following:
* Disables the privacy mask
+
* Disables the Privacy Mask
* Unmutes the audio
+
* Unmutes the Audio
 
* Enables PTZ Functionality
 
* Enables PTZ Functionality
 
===Parameters===
 
===Parameters===
Line 71: Line 71:
 
|camera
 
|camera
 
|String
 
|String
|IP address of the axis camera.
+
|IP address of the Axis camera.
 
|-
 
|-
 
|username
 
|username
Line 86: Line 86:
 
==gotopreset==
 
==gotopreset==
 
===Usage===
 
===Usage===
Connects to the axis camera and does the following:
+
Connects to the Axis camera and does the following:
* Enables the privacy mask
+
* Enables the Privacy Mask
* Mutes the audio
+
* Mutes the Audio
 
* Moves the cameras to a Privacy preset.
 
* Moves the cameras to a Privacy preset.
 
* 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 101: Line 101:
 
|camera
 
|camera
 
|String
 
|String
|IP address of the axis camera.
+
|IP address of the Axis camera.
 
|-
 
|-
 
|username
 
|username
Line 113: Line 113:
 
|preset
 
|preset
 
|String
 
|String
|Name of the preset previous defined in the '''camera.''' This is primarily used as part of the enable privacy subroutine.
+
|Name of the preset previous defined in the '''camera.''' This is primarily used as part of the Enable Privacy subroutine.
 
|}
 
|}
 
===Example===
 
===Example===
axis.gotopreset('192.168.0.90','root','pass',"Preset1"):
+
<pre>axis.gotopreset('192.168.0.90','root','pass',"Preset1"):</pre>

Latest revision as of 12:57, 17 May 2019

privacyenabled

Usage

Connects to the Axis camera and returns True if the Privacy Mask is Enabled, or 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"):