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,...") |
(No difference)
|
Revision as of 15:22, 19 December 2018
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"):