Axis Module
Contents
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"):