Privacy Switch

From IVS Wiki
Revision as of 16:14, 13 November 2020 by IVSWikiBlue (talk | contribs) (Compatible Cameras)
Jump to: navigation, search

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.

  • AXIS P1364/65

AXIS Cam.png Axis P3235-LVE AXIS Cam.png Axis P3245

  • AXIS P3301
  • AXIS P3304

AXIS Cam.png Axis P3364/P3365* AXIS Cam.png Axis P3374-V/P3375-V*

  • AXIS Q3504/05 MK II
  • AXIS Q3518
  • AXIS P3935-LR

AXIS Cam.png Axis F41 AXIS Cam.png Axis M5525 AXIS Cam.png Axis P5635-E MK II

  • AXIS P5635-E Mk II

AXIS Cam.png Axis P5655 AXIS Cam.png Axis Q8414-LVS*


* These cameras can only be used with a single ancillary device (ie: Button or privacy switch). To use these with a camera that does not have 4 I/O ports, you will need to adjust the event rules.

Required Parts and Tools

  • VALT Privacy Switch and faceplate
    PrivacySwitch2.jpg
  • Mud Ring or Single Gang Box
  • Wire Cutters/Strippers
  • 22/4 solid unshielded plenum
  • Jab Saw (used to cut hole)
  • Wire fishing poles or tape

Wire Diagrams by Camera

AXIS Cam.png Axis P3235

AXIS Cam.png Axis P3245

AXIS Cam.png Axis P3364/P3365

AXIS Cam.png Axis P3374/P3375

AXIS Cam.png Axis F41

AXIS Cam.png Axis P5414/P5415

AXIS Cam.png Axis M5525

AXIS Cam.png Axis P5635

AXIS Cam.png Axis P5655

AXIS Cam.png Axis V5914/V5915

AXIS Cam.png Axis Q8414

Wire Diagrams by Camera

Axis-camerasmall.png Axis P3235

Axis-camerasmall.png Axis P3245

Axis-camerasmall.png Axis P3364/P3365

Axis-camerasmall.png Axis P3374/P3375

Axis-camerasmall.png Axis F41

Axis-camerasmall.png Axis P5414/P5415

Axis-camerasmall.png Axis M5525

Axis-camerasmall.png Axis P5635

Axis-camerasmall.png Axis P5655

Axis-camerasmall.png Axis V5914/V5915

Axis-camerasmall.png Axis Q8414

Installation Instructions

  1. Cut a hole in the wall where the privacy switch will be mounted.
  2. Insert 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.
    PrivacySwitch3.jpg
    PrivacyButton StartButton.png
    Green - Green
    Yellow - Yellow
    Red - Red
    Black - Black
    Connections should be connected with B connectors
  9. Attach the switch to the mud ring.


Wiring Map

Privacy Switch Lead Color Phoenix Connector
Switch Green Pin 1
+ Red Pin 2
Switch Yellow Pin 5
- Black 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

Load Rules

  • If you prefer to configure the camera for Privacy manually, skip to SET PRIVACY MASK.
  1. Download the camera rules, using the links below:
    P3364: https://ivs.box.com/shared/static/b4wbmbyzwi3laz030hb33lidsmz64btp.cfg
    Fixed: https://ivs.box.com/shared/static/wr8sx4oxruykuhpftj0o8ff80s3y7lap.cfg
  2. Open Access Device Manager.
  3. Click on the Add Device from Address icon or Add Devices from IP Range.
    Privacy14.png
  4. Enter the IP address of the camera or the IP range using a * for the last quartet if adding multiple.
    Privacy15.png
  5. Click OK.
  6. Enter the username and password for the camera(s).
    Privacy16.png
  7. Click OK.
  8. The camera(s) should now appear in the list of devices.
    Privacy18.png
  9. Right click on the camera(s), and select Configure Devices. Configure from the menu.
    Privacy19.png
  10. Click the Configuration File button.
    Privacy20.png
  11. Browse to where configuration file is saved, and select it.
    Privacy21.png
  12. Click Open.
  13. Click Next.
    Privacy23.png
  14. Click Finish.
  15. When the rules have successfully loaded, a message will display at the bottom of the window.
    Privacy24.png

Set Privacy Mask

This can be done through the API or through the web browser of the camera.

Via API

  1. Open a web browser.
  2. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of the 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. This can verified 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 the camera:
    http://ipaddress/axis-cgi/param.cgi?action=update&Image.I0.Overlay.MaskWindows.M0.Enabled=no
  6. This should disable the mask created. This can be verified by browsing to the IP address of the camera. The live view should show a live view from the camera.
    Privacy9.png

Via Web Interface

Perform these steps only if configuring the mask via API fails.

  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 Video & Audio.
    Privacy11.png
  6. Click on Privacy Mask.
    Privacy36.png
  7. Click Add.
  8. Enter Privacy in the Mask name field.
  9. Expand the blue box slowly using a mouse until it covers the entire image.
    Privacy37.png
  10. Click Save.
  11. Click on the Privacy mask just created.
    Privacy38.png
  12. Click Enable/Disable.

Add Recipient

Some of the rules point to a recipient at a specific IP address, so the camera must have a recipient set up for itself.

  1. Click on Setup in the upper right hand corner of the window.
    Privacy10.png
  2. Click on Events.
  3. Click on Recipients.
  4. Click on Add.
    Add Self in the name field
    In Recipient, type
http://127.0.0.1/axis-cgi/param.cgi

or

http://IPADDRESS/axis-cgi/param.cgi
  1. Type in the login credentials for the camera.
    Click Test.
    Click Close.

Manual Set up of Privacy Rules

This is how to create the privacy rules if loading the config file doesn't work properly.

Update 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 2 to Output. For an F41, change I/O Port 4 to Output. For a camera who's ports do not alternate, simply rename the output "Output 2".
    Privacy13.png
  8. Click Save.

Privacy Rules for Fixed

Privacy Off Rules

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


  • If during the course of audio testing, the cameras have been set to gain other than 0, you must also update the gain value in these rules.

PrivacyOff.png


Privacy On Rules

Name Value
action update
Image.I0.Overlay.MaskWindows.M0.Enabled yes
AudioSource.A0.InputGain mute
PTZ.Various.V1.PanEnabled false
PTZ.Various.V1.TiltEnabled false
PTZ.Various.V1.ZoomEnabled false

PrivacyOn.png


LED On

PrivacyLedOn.png


LED Off

PrivacyLedOff.png

PTZ Camera

Load Rules

  • If you prefer to configure the camera for Privacy manually, skip to SET PRIVACY LOCATION.
  1. Download the camera rules using the links below:
    PTZ: https://ivs.box.com/shared/static/2yleyfngk6erpoxki06a1u1e84hxlmxd.cfg
  2. Open Access Device Manager.
  3. Click on the Add Device from Address icon or Add Devices from IP Range.
    Privacy14.png
  4. Enter the IP address of the camera or the IP range using a * for the last quartet if adding multiple.
    Privacy15.png
  5. Click OK.
  6. Enter the username and password for the camera(s).
    Privacy16.png
  7. Click OK.
  8. The camera(s) should now appear in the list of devices.
    Privacy18.png
  9. Right click on the camera(s) and select Configure Devices. Configure from the menu.
    Privacy19.png
  10. Click the Configuration File button.
    Privacy20.png
  11. Browse to where the configuration file is saved and select it.
    Privacy25.png
  12. Click Open.
  13. Click Next.
    Privacy27.png
  14. Click Finish.
  15. When the rules have successfully loaded, a message will display at the bottom of the window

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 camera:
    http://ipaddress/axis-cgi/com/ptzconfig.cgi?setserverpresetname=Privacy&home=yes
  3. Press Enter to submit the address.

Set Privacy Mask

This can be done through the API or through the web browser of the camera.

Via API

  1. Open a web browser.
  2. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of the 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. This can be verified 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 the camera:
    http://ipaddress/axis-cgi/param.cgi?action=update&Image.I0.Overlay.MaskWindows.M0.Enabled=no
  6. This should disable the mask created. This can be verified by browsing to the IP address of the camera. The live view should show a live view from the camera.
    Privacy9.png

Via Web Interface

Perform these steps only if configuring the mask via API fails.

  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 Video & Audio.
    Privacy11.png
  6. Click on Privacy Mask.
    Privacy36.png
  7. Click Add.
  8. Enter Privacy in the Mask name field.
  9. Expand the blue box slowly using a mouse until it covers the entire image.
    Privacy37.png
  10. Click Save.
  11. Click on the Privacy mask just created.
    Privacy38.png
  12. Click Enable/Disable.

Add Recipient

Some of the rules point to a recipient at a specific IP address, so the camera must have a recipient set up for itself.

  1. Click on Setup in the upper right hand corner of the window.
    Privacy10.png
  2. Click on Events.
  3. Click on Recipients.
  4. Click on Add.
    Add Self in the name field
    In Recipient, type
http://127.0.0.1/axis-cgi/param.cgi

or

http://IPADDRESS/axis-cgi/param.cgi
  1. Type in the login credentials for the camera.
    Click Test.
    Click Close.

Manual Set up of Privacy Rules

This is how to create the privacy rules if loading the config file doesn't work properly.

Update 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.

Privacy Rules for PTZ

Privacy Off Rules

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


PrivacyOff.png

Privacy On Rules

Name Value
action update
Image.I0.Overlay.MaskWindows.M0.Enabled yes
AudioSource.A0.InputGain mute
PTZ.Various.V1.PanEnabled false
PTZ.Various.V1.TiltEnabled false
PTZ.Various.V1.ZoomEnabled false

PrivacyOn.png


Privacy PTZ

PrivacyPTZ.png


LED On

PrivacyLedOn.png


LED Off

PrivacyLedOff.png

Multiple Cameras (Main is a Fixed Cam)

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 MAIN CAMERA (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 to configure a room with multiple cameras.

Configure Main Camera

Load Rules

  • If you prefer to configure the camera for Privacy manually, skip to SET PRIVACY MASK.
  1. Download the camera rules, using the links below:
    P3364: https://ivs.box.com/shared/static/b4wbmbyzwi3laz030hb33lidsmz64btp.cfg
    Fixed: https://ivs.box.com/shared/static/wr8sx4oxruykuhpftj0o8ff80s3y7lap.cfg
  2. Open Access Device Manager.
  3. Click on the Add Device from Address icon or Add Devices from IP Range.
    Privacy14.png
  4. Enter the IP address of the camera or the IP range using a * for the last quartet if adding multiple.
    Privacy15.png
  5. Click OK.
  6. Enter the username and password for the camera(s).
    Privacy16.png
  7. Click OK.
  8. The camera(s) should now appear in the list of devices.
    Privacy18.png
  9. Right click on the camera(s), and select Configure Devices. Configure from the menu.
    Privacy19.png
  10. Click the Configuration File button.
    Privacy20.png
  11. Browse to where configuration file is saved, and select it.
    Privacy21.png
  12. Click Open.
  13. Click Next.
    Privacy23.png
  14. Click Finish.
  15. When the rules have successfully loaded, a message will display at the bottom of the window.
    Privacy24.png

Set Privacy Mask

This can be done through the API or through the web browser of the camera.

Via API

  1. Open a web browser.
  2. Copy and paste the following link into the address bar. Replace ipaddress with the ip address of the 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. This can verified 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 the camera:
    http://ipaddress/axis-cgi/param.cgi?action=update&Image.I0.Overlay.MaskWindows.M0.Enabled=no
  6. This should disable the mask created. This can be verified by browsing to the IP address of the camera. The live view should show a live view from the camera.
    Privacy9.png

Via Web Interface

Perform these steps only if configuring the mask via API fails.

  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 Video & Audio.
    Privacy11.png
  6. Click on Privacy Mask.
    Privacy36.png
  7. Click Add.
  8. Enter Privacy in the Mask name field.
  9. Expand the blue box slowly using a mouse until it covers the entire image.
    Privacy37.png
  10. Click Save.
  11. Click on the Privacy mask just created.
    Privacy38.png
  12. Click Enable/Disable.

Add Recipients

Some of the rules point to a recipient at a specific IP address, so the camera must have a recipient set up for each camera, including itself.

  1. Click on Setup in the upper right hand corner of the window.
    Privacy10.png
  2. Click on Events.
  3. Click on Recipients.
  4. Click on Add.
    Add Self in the name field
    In Recipient, type
http://127.0.0.1/axis-cgi/param.cgi

or

http://IPADDRESS/axis-cgi/param.cgi
  1. Type in the login credentials for the camera.
    Click Test.
    Click Close.
    Add a recipient for each remote camera, replacing IPADDRESS with the IP of the cameras.

Manual Set up of Privacy Rules

This is how to create the privacy rules if loading the config file doesn't work properly.

Update 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 2 to Output. For an F41, change I/O Port 4 to Output. For a camera who's ports do not alternate, simply rename the output "Output 2".
    Privacy13.png
  8. Click Save.

Privacy Rules for Fixed

Privacy Off Rules

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


  • If during the course of audio testing, the cameras have been set to gain other than 0, you must also update the gain value in these rules.

PrivacyOff.png


Privacy On Rules

Name Value
action update
Image.I0.Overlay.MaskWindows.M0.Enabled yes
AudioSource.A0.InputGain mute
PTZ.Various.V1.PanEnabled false
PTZ.Various.V1.TiltEnabled false
PTZ.Various.V1.ZoomEnabled false

PrivacyOn.png


LED On

PrivacyLedOn.png


LED Off

PrivacyLedOff.png


Load Rules

Load the rules for remote cameras via a config file here: (links to download config files). To complete this manually, simply copy all events (except for LED rules). Then update the recipient for the copies to the remote cameras.


Configure Additional Camera

Click on the appropriate link for the initial configuration of the Remote Camera(s) before moving on (links to config pages with only Privacy Mask and/or Privacy Preset) That's it for remote cams.

Multiple Cameras (Main is a PTZ Cam)

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 MAIN CAMERA (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 to configure a room with multiple cameras.

Configure Main Camera

Click on the appropriate link for the initial configuration of the Main Camera before moving on (links to config pages with all steps) In addition to this initial configuration, the Main Camera also needs a recipient for each remote camera, as well as a set of privacy rules for each remote camera within the room.

Add Recipients

Load Rules

Load the rules for remote cameras via a config file here: (links to download config files). To complete this manually, simply copy all events (except for LED rules). Then update the recipient for the copies to the remote cameras.


Configure Additional Camera

Click on the appropriate link for the initial configuration of the Remote Camera(s) before moving on (links to config pages with only Privacy Mask and/or Privacy Preset) That's it for remote cams.

Variations

LED Lit to Show Privacy Mode Engaged

This variation can be accomplished by reversing the triggers on the output rules.

  1. Configure the cameras and load the rules as outlined above.
  2. Open a web browser
  3. Navigate to the IP address of the primary camera.
  4. If prompted enter the username and password for the camera.
  5. Click on Setup in the upper right hand corner of the window.
    Privacy10.png
  6. Click on Events.
    Privacy11.png
  7. Click on the Output Active rule
    Privacy32.png
  8. Click Modify
    Privacy33.png
  9. Under trigger conditions, change Active from No to Yes
  10. Click OK
  11. Click on the Output Off Rule
    Privacy34.png
  12. Click Modify
    Privacy35.png
  13. Under trigger conditions, change Active from Yes to No
  14. Click OK

Privacy Mode Engaged by Flipping Switch Off

This variation can be accomplished by reversing the triggers on all rules.

  1. Configure the cameras and load the rules as outlined above.
  2. Open a web browser
  3. Navigate to the IP address of the primary camera.
  4. If prompted enter the username and password for the camera.
  5. Click on Setup in the upper right hand corner of the window.
    Privacy10.png
  6. Click on Events.
    Privacy11.png
  7. Click on the first rule
    Privacy32.png
  8. Click Modify
    Privacy33.png
  9. Under trigger conditions reverse the Active condition.
    1. If currently set to Yes, change to No
    2. If currently set to No, change to Yes
  10. Click OK
  11. Repeat this process for every rule.

New Structure

Privacy Button 2020-Present (under construction)

Click to Navigate to This Page

Privacy Switch 2013-2019 (under construction)

Click to Navigate to This Page