Difference between revisions of "IVS Wiki:Configuring a Privacy Switch"
IVSWikiBlue (talk | contribs) |
IVSWikiBlue (talk | contribs) |
||
Line 90: | Line 90: | ||
}} | }} | ||
− | {{hr | + | {{hr}} |
<h1>Add Recipients</h1> | <h1>Add Recipients</h1> | ||
Line 117: | Line 117: | ||
</ol> | </ol> | ||
}} | }} | ||
+ | |||
+ | {{hr}} | ||
+ | |||
+ | <h1>Add Privacy Event Rules</h1> | ||
+ | {{Manual lvl 2 | title = Privacy Off | content = | ||
+ | <ol> | ||
+ | <li>Go to <b>System</b> → <b>Events</b> → <b>Rules</b>.</li> | ||
+ | <li>Select <b>Add a rule</b>.</li> | ||
+ | <li>Set <b>Name</b> to <b>Privacy Off</b>.</li> | ||
+ | <li>Set <b>Condition</b> to <b>Digital input is active</b> or <b>I/O → Digital input</b>. <em>(Firmware Dependent)</em></li> | ||
+ | <li>In the <b>Port</b> section, select the port the privacy switch trigger is connected to <em>(white wire)</em>.</li> | ||
+ | <li>Set <b>Action</b> to <b>Send notification through HTTP</b>.</li> | ||
+ | <li>Set the Recipient.</li> | ||
+ | <li>The <b>Query string suffix</b> will be of the form <code>name=value</code> for each parameter <b>name</b> and <b>value</b>, with an ampersand (&) between each name/value pair.</li> | ||
+ | </ol> | ||
+ | The suffix should be composed of the following pairs: | ||
+ | <table class="wikitable" style="width:100%"> | ||
+ | <tr> | ||
+ | <th>Name</th> | ||
+ | <th>Value</th> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>action</td> | ||
+ | <td>update</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>Image.I0.Overlay.MaskWindows.M0.Enabled</td> | ||
+ | <td>no</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>AudioSource.A0.InputGain</td> | ||
+ | <td>0</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>PTZ.Various.V1.PanEnabled</td> | ||
+ | <td>true</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>PTZ.Various.V1.TiltEnabled</td> | ||
+ | <td>true</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>PTZ.Various.V1.ZoomEnabled</td> | ||
+ | <td>true</td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td>autofocus</td> | ||
+ | <td>on</td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | |||
+ | |||
+ | The completed suffix should be (ignore word wrapping): | ||
+ | <pre> | ||
+ | action=update&Image.I0.Overlay.MaskWindows.M0.Enabled=no& AudioSource.A0.InputGain=0&PTZ.Various.V1.PanEnabled=true& PTZ.Various.V1.TiltEnabled=true&TZ.Various.V1.ZoomEnabled=true | ||
+ | </pre> | ||
+ | }} | ||
+ | {{Manual lvl 2 | title = Privacy On| content = }} | ||
+ | {{Manual lvl 2 | title = LED Toggle | content = }} | ||
+ | {{Manual lvl 2 | title = PTZ Rules | content = }} | ||
+ | {{Manual lvl 3 | title = PTZ Privacy | content = }} | ||
+ | {{Manual lvl 3 | title = PTZ Home | content = }} | ||
}} | }} |
Revision as of 15:28, 31 March 2025
Prepare all Cameras
On each camera in the room:
Set the I/O Ports
The Input/Output (I/O) ports will be wired to the Privacy Switch. These are used to determine which mode the camera should be in and outputs power to the Privacy Switch to light up the LED.
- Go to System → Accessories.
- Ensure that Ports 1 & 3 are set as Input and 2 & 4 are set as Output.
Port 1 | Input | Port 2 | Output | |
---|---|---|---|---|
Port 3 | Input | Port 4 | Output |
✎Some cameras will only have ports 1 & 2.
Set the PTZ Presets
If there are any PTZ cameras in the room, you will need to set the preset positions on those cameras. These locations will help drive the camera to its Privacy Position and Home Position.
- Pan/Tilt/Zoom your camera to the desired angle.
- Go to PTZ → Preset Positions.
- Select Preset Positions → Create preset position.
- Home Position
- Set a typical angle that would capture the room normally.
- In the Name field enter Home.
- Privacy Position
- Typically, this involves having the PTZ face the wall.
- In the Name field enter Privacy.
✎The Home preset may already exist. If this is the case, hit the Edit button on the existing Home preset instead of creating a new preset.
✎The exact position does not matter for functionality, but having the camera visibly face the wall can help to ensure visual privacy even if the mask is off.
Set the Privacy Mask
The Privacy Mask will be used to block the view
While your camera is in the Privacy Position:
- Video → Privacy Masks → Hit the plus (+) button) to add a Mask.
- Have the mask cover the entire view.
- Name the mask Privacy.
⚠Make sure this is the first/only mask!
Add Recipients
Add Recipients
- Go to System → Events → Recipients.
- Select Add Recipient.
- In the Name field, enter the name of the camera.
- It is common to use "Self" for the main camera.
- In the Type field, select HTTP.
- The URL of the recipient will be in the form:
http://CAMERA_IP/axis-cgi/param.cgi
⚠Repeat this process on all cameras in the room that the privacy switch would be activating.
Remote PTZ Recipient
For remote PTZ cameras, separate PTZ Control recipients need to be made alongside the standard recipient of the form:
http://CAMERA_IP/axis-cgi/com/ptz.cgi
- Enter in the corresponding Username and Password for the recipient camera.
- Hit the Test button.
- If the camera responds that everything is okay, hit the Save button to save your recipient.
⚠Repeat this process on all PTZ cameras in the room that the privacy switch would be activating.
Add Privacy Event Rules
Privacy Off
- Go to System → Events → Rules.
- Select Add a rule.
- Set Name to Privacy Off.
- Set Condition to Digital input is active or I/O → Digital input. (Firmware Dependent)
- In the Port section, select the port the privacy switch trigger is connected to (white wire).
- Set Action to Send notification through HTTP.
- Set the Recipient.
- The Query string suffix will be of the form
name=value
for each parameter name and value, with an ampersand (&) between each name/value pair.
The suffix should be composed of the following pairs:
Name | Value |
---|---|
action | update |
Image.I0.Overlay.MaskWindows.M0.Enabled | no |
AudioSource.A0.InputGain | 0 |
PTZ.Various.V1.PanEnabled | true |
PTZ.Various.V1.TiltEnabled | true |
PTZ.Various.V1.ZoomEnabled | true |
autofocus | on |
The completed suffix should be (ignore word wrapping):
action=update&Image.I0.Overlay.MaskWindows.M0.Enabled=no& AudioSource.A0.InputGain=0&PTZ.Various.V1.PanEnabled=true& PTZ.Various.V1.TiltEnabled=true&TZ.Various.V1.ZoomEnabled=true