Axis Module: Difference between revisions
Jump to navigation
Jump to search
IVSWikiBlue (talk | contribs) |
IVSWikiBlue (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
==privacyenabled== | ==privacyenabled== | ||
===Usage=== | ===Usage=== | ||
Connects to the | 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 | |IP address of the Axis camera. | ||
|- | |- | ||
|username | |username | ||
| Line 27: | Line 27: | ||
==enableprivacy== | ==enableprivacy== | ||
===Usage=== | ===Usage=== | ||
Connects to the | Connects to the Axis camera and does the following: | ||
* Enables the | * Enables the Privacy Mask | ||
* Mutes the | * 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 | |IP address of the Axis camera. | ||
|- | |- | ||
|username | |username | ||
| Line 57: | Line 57: | ||
==disableprivacy== | ==disableprivacy== | ||
===Usage=== | ===Usage=== | ||
Connects to the | Connects to the Axis camera and does the following: | ||
* Disables the | * Disables the Privacy Mask | ||
* Unmutes the | * Unmutes the Audio | ||
* 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 71: | Line 71: | ||
|camera | |camera | ||
|String | |String | ||
|IP address of the | |IP address of the Axis camera. | ||
|- | |- | ||
|username | |username | ||
| 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=== | ||
Connects to the | Connects to the Axis camera and does the following: | ||
* Enables the | * Enables the Privacy Mask | ||
* Mutes the | * 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 100: | Line 101: | ||
|camera | |camera | ||
|String | |String | ||
|IP address of the | |IP address of the Axis camera. | ||
|- | |- | ||
|username | |username | ||
| Line 112: | Line 113: | ||
|preset | |preset | ||
|String | |String | ||
|Name of the preset previous defined in the '''camera.''' This is primarily used as part of the | |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 17: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"):