Difference between revisions of "Privacy Switch"

From IVS Wiki
Jump to: navigation, search
(Primary Camera Rules)
(Primary Camera Rules)
Line 239: Line 239:
 
#: PTZ: 192.168.0.151
 
#: PTZ: 192.168.0.151
 
# Save your changes.
 
# Save your changes.
 +
# Open Access Camera Management
 +
# Click on the '''Add Camera from Address''' icon.
 +
#: [[File:Privacy14.png]]
 +
# Enter the IP address of the camera
 +
#: [[File:Privacy15.png]]
 +
# Click OK
 +
# Enter the username and password for the camera.
 +
#: [[File:Privacy16.png]]
 +
# Click OK
 +
# The camera should now appear in your list of devices.
 +
#: [[File:Privacy18.png]]
 +
# Right click on the camera and select Configure Devices, Configure from the menu.
 +
#: [[File:Privacy19.png]]
 +
# Click the '''Configuration File''' button.
 +
#: [[File:Privacy20.png]]
 +
# Browse to where you saved the configuration file and select it.
 +
#: [[File:Privacy28.png]]
 +
# Click Open
 +
# Click the '''Action Rules''' tab
 +
#: [[File:Privacy29.png]]
 +
# Click Next
 +
#: [[File:Privacy30.png]]
 +
# Click Finish
 +
# When the rules have successfully loaded you will receive a message at the bottom of the window.
 +
#: [[File:Privacy24.png]]
  
 
=Variations=
 
=Variations=

Revision as of 12:41, 28 December 2016

Overview

The privacy switch is a customizable solution for placing the cameras connected to the Valt system in privacy mode. The instructions below will outline how to configure a privacy switch that will stay illuminated while the switch is in the off position. Flipping the switch to the on position will extinguish the light and engage privacy mode. The switch and LED are independent and the behavior can be customized. See the variations section at the bottom of this article for more information.

These instruction are written for use with a camera with 4 IO ports. Port 1 and 2 are reserved for use with the Valt Recording Start/Stop button.

Compatible Cameras

The privacy switch should be usable with any axis camera with at least one free input and one free output. The Camera must be running firmware version 5.50 or higher. To use with a camera that does not have 4 I/O ports, you will need to adjust the event rules.

  • Axis P5514
  • Axis P5515
  • Axis P5414
  • Axis P5415
  • Axis F41

Warning: The privacy switch is not currently compatible with the Axis P3364.

Required Parts and Tools

  • Single Pole Single Throw Switch
  • LED (Instead of an LED you can use an illuminated switch, but it must be independent)
    Privacy7.jpg
  • Mud Ring or Single Gang Box
  • Face Plate
  • Wire Cutters/Strippers
  • 22/4 solid unshielded plenum

Installation

  1. Cut a hole in the wall where the privacy switch will be mounted.
  2. Inset the mud ring into the hole and attach it.
  3. Run 22/4 from the camera to the hole.
  4. Strip the outer insulation from both ends of the 22/4.
    Privacy1.jpg
  5. Strip approximately 1/4 inch of insulation off of each wire in the 22/4 on the camera side
    Privacy2.jpg
  6. Insert the wires into the IO connector on the camera according to the chart below.
    Privacy3.jpg
    Pin 1: Green
    Pin 2: Red
    Pin 5: Yellow
    Pin 6: Black
    See the chart at the end of this section for a direct mapping between the switch and I/O connector
  7. Strip approximately 1/2 inch of insulation off each wire in the 22/4 on the switch side.
    Privacy4.jpg
  8. Splice the wires to the switch according to the chart below.
    Privacy5.jpg
    Green - Switch
    Yellow - Switch
    Red - LED Positive
    Black - LED Ground
    Connections should be soldered, or connected with B connectors
    Privacy6.jpg
  9. Attach the switch to the mud ring.


Wiring Map

I/O Privacy Switch Phoenix Connector
Switch Pin 1
+ Pin 2
Switch Pin 5
- Pin 6

Configuration

Prior to configuring the cameras for use with the privacy switch, make sure that the cameras have already been set up with a valid IP address and are configured according to Valt specifications.

Fixed Camera

Configure Camera

Set Privacy Mask

  1. Open a web browser
  2. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of your camera.
    http://ipaddress/axis-cgi/privacymask.cgi?action=add&name=mask1&width=100&height=100
  3. Press enter to submit the address
  4. The mask should now be created. You can verify this by browsing to the IP address of the camera. The live view should show a black screen.
    Privacy8.png
  5. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of your camera.
    http://ipaddress/axis-cgi/param.cgi?action=update&Image.I0.Overlay.MaskWindows.M0.Enabled=no
  6. This should disable the mask you created. You can verify this by browsing to the ip address of the camera. The live view should show a live view from the camera.
    Privacy9.png

I/O Ports

  1. Open a web browser
  2. Navigate to the IP address of the camera.
  3. If prompted enter the username and password for the camera.
  4. Click on Setup in the upper right hand corner of the window.
    Privacy10.png
  5. Click on System Options.
    Privacy11.png
  6. Click on Ports & Devices
    Privacy12.png
  7. Change I/O Port 4 to Output
    Privacy13.png
  8. Click Save

Load Rules

  1. Download the camera rules using the links below.
    Fixed: https://ivs.box.com/shared/static/wr8sx4oxruykuhpftj0o8ff80s3y7lap.cfg
    PTZ: https://ivs.box.com/shared/static/2yleyfngk6erpoxki06a1u1e84hxlmxd.cfg
  2. Open Access Camera Management
  3. Click on the Add Camera from Address icon.
    Privacy14.png
  4. Enter the IP address of the camera
    Privacy15.png
  5. Click OK
  6. Enter the username and password for the camera.
    Privacy16.png
  7. Click OK
  8. The camera should now appear in your list of devices.
    Privacy18.png
  9. Right click on the camera and select Configure Devices, Configure from the menu.
    Privacy19.png
  10. Click the Configuration File button.
    Privacy20.png
  11. Browse to where you saved the configuration file and select it.
    Privacy21.png
  12. Click Open
  13. Click the Action Rules tab
    Privacy22.png
  14. Click Next
    Privacy23.png
  15. Click Finish
  16. When the rules have successfully loaded you will receive a message at the bottom of the window.
    Privacy24.png

PTZ Camera

Configure Camera

Set Privacy Location

  1. Open a web browser
  2. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of your camera.
    http://ipaddress/axis-cgi/com/ptzconfig.cgi?setserverpresetname=Privacy&home=yes
  3. Press enter to submit the address

Set Privacy Mask

  1. Open a web browser
  2. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of your camera.
    http://ipaddress/axis-cgi/privacymask.cgi?action=add&name=mask1&width=100&height=100
  3. Press enter to submit the address
  4. The mask should now be created. You can verify this by browsing to the IP address of the camera. The live view should show a black screen.
    Privacy8.png
  5. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of your camera.
    http://ipaddress/axis-cgi/param.cgi?action=update&Image.I0.Overlay.MaskWindows.M0.Enabled=no
  6. This should disable the mask you created. You can verify this by browsing to the ip address of the camera. The live view should show a live view from the camera.
    Privacy9.png

I/O Ports

  1. Open a web browser
  2. Navigate to the IP address of the camera.
  3. If prompted enter the username and password for the camera.
  4. Click on Setup in the upper right hand corner of the window.
    Privacy10.png
  5. Click on System Options.
    Privacy11.png
  6. Click on Ports & Devices
    Privacy12.png
  7. Change I/O Port 4 to Output
    Privacy13.png
  8. Click Save

Load Rules

  1. Download the camera rules using the links below.
    Fixed: https://ivs.box.com/shared/static/wr8sx4oxruykuhpftj0o8ff80s3y7lap.cfg
    PTZ: https://ivs.box.com/shared/static/2yleyfngk6erpoxki06a1u1e84hxlmxd.cfg
  2. Open Access Camera Management
  3. Click on the Add Camera from Address icon.
    Privacy14.png
  4. Enter the IP address of the camera
    Privacy15.png
  5. Click OK
  6. Enter the username and password for the camera.
    Privacy16.png
  7. Click OK
  8. The camera should now appear in your list of devices.
    Privacy18.png
  9. Right click on the camera and select Configure Devices, Configure from the menu.
    Privacy19.png
  10. Click the Configuration File button.
    Privacy20.png
  11. Browse to where you saved the configuration file and select it.
    Privacy25.png
  12. Click Open
  13. Click the Action Rules tab
    Privacy26.png
  14. Click Next
    Privacy27.png
  15. Click Finish
  16. When the rules have successfully loaded you will receive a message at the bottom of the window.
    Privacy24.png

Multiple Cameras

A single privacy switch can be used to trigger privacy mode on multiple cameras. In order to accomplish this, each camera must be configured and then rules must be created in the camera attached to the switch to trigger privacy mode on the other cameras. These rules are similar to the rules used with the primary camera, but vary slightly. Follow the steps below for each additional camera that you wish to include on the privacy switch.

Configure Additional Camera

Fixed Camera

Set Privacy Location

  1. Open a web browser
  2. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of the additional camera.
    http://ipaddress/axis-cgi/com/ptzconfig.cgi?setserverpresetname=Privacy&home=yes
  3. Press enter to submit the address

Set Privacy Mask

  1. Open a web browser
  2. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of your camera.
    http://ipaddress/axis-cgi/privacymask.cgi?action=add&name=mask1&width=100&height=100
  3. Press enter to submit the address
  4. The mask should now be created. You can verify this by browsing to the IP address of the camera. The live view should show a black screen.
    Privacy8.png
  5. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of your camera.
    http://ipaddress/axis-cgi/param.cgi?action=update&Image.I0.Overlay.MaskWindows.M0.Enabled=no
  6. This should disable the mask you created. You can verify this by browsing to the ip address of the camera. The live view should show a live view from the camera.
    Privacy9.png

PTZ Camera

Set Privacy Location

  1. Open a web browser
  2. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of your camera.
    http://ipaddress/axis-cgi/com/ptzconfig.cgi?setserverpresetname=Privacy&home=yes
  3. Press enter to submit the address

Set Privacy Mask

  1. Open a web browser
  2. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of your camera.
    http://ipaddress/axis-cgi/privacymask.cgi?action=add&name=mask1&width=100&height=100
  3. Press enter to submit the address
  4. The mask should now be created. You can verify this by browsing to the IP address of the camera. The live view should show a black screen.
    Privacy8.png
  5. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of your camera.
    http://ipaddress/axis-cgi/param.cgi?action=update&Image.I0.Overlay.MaskWindows.M0.Enabled=no
  6. This should disable the mask you created. You can verify this by browsing to the ip address of the camera. The live view should show a live view from the camera.
    Privacy9.png

Primary Camera Rules

The following steps must be completed on the camera that the switch is connected to.

  1. Download the camera rules using the links below.
    Fixed: https://ivs.box.com/shared/static/m6v788q972qp0ftwtrpz4e7xzoypjldt.cfg
    PTZ: https://ivs.box.com/shared/static/vemi0sszdt2vo3fd8a7d1mqpmlrb5rj4.cfg
  2. Open the rules in a text editor
  3. Find and replace all instances of the below IP address with the IP address of your additional camera.
    Fixed: 192.168.0.64
    PTZ: 192.168.0.151
  4. Save your changes.
  5. Open Access Camera Management
  6. Click on the Add Camera from Address icon.
    Privacy14.png
  7. Enter the IP address of the camera
    Privacy15.png
  8. Click OK
  9. Enter the username and password for the camera.
    Privacy16.png
  10. Click OK
  11. The camera should now appear in your list of devices.
    Privacy18.png
  12. Right click on the camera and select Configure Devices, Configure from the menu.
    Privacy19.png
  13. Click the Configuration File button.
    Privacy20.png
  14. Browse to where you saved the configuration file and select it.
    Privacy28.png
  15. Click Open
  16. Click the Action Rules tab
    Privacy29.png
  17. Click Next
    Privacy30.png
  18. Click Finish
  19. When the rules have successfully loaded you will receive a message at the bottom of the window.
    Privacy24.png

Variations