Difference between revisions of "Axis Module"

From IVS Wiki
Jump to: navigation, search
(enableprivacy)
(disableprivacy)
Line 62: Line 62:
 
* Enables PTZ Functionality
 
* Enables PTZ Functionality
 
===Parameters===
 
===Parameters===
axis.disabledprivacy(camera,username,password)
+
<pre>axis.disabledprivacy(camera,username,password)</pre>
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 82: Line 82:
 
|}
 
|}
 
===Example===
 
===Example===
axis.disableprivacy('192.168.0.90','root','pass')
+
<pre>axis.disableprivacy('192.168.0.90','root','pass')</pre>
 +
 
 
==gotopreset==
 
==gotopreset==
 
===Usage===
 
===Usage===

Revision as of 07:31, 24 April 2019

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"):