Difference between revisions of "Valt Motion Sensor"

From IVS Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
=Wiring=
 
=Wiring=
The motion sensor should come prewired with three leads between the case and the sensor. These leads will most likely need to be cut and extended using three conductor wire. The leads on your motion sensor may not be the same colors as those pictured here. The leads should already be connected at both ends, so simply cut the leads, strip the ends and splice in an extension connecting same colors. The table below is for reference only and matches the colors in the pictures
+
The motion sensor should come prewired with three leads between the case and the sensor. These leads will most likely need to be cut and extended using three conductor wire. The leads on your motion sensor may not be the same colors as those pictured here. The leads should already be connected at both ends, so simply cut the leads, strip the ends, and splice in an extension connecting same colors. The table below is for reference only and matches the colors in the pictures.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 21: Line 21:
 
*The sensitivity dial may need to be adjusted to suit your environment. The default setting is approximately 50%.
 
*The sensitivity dial may need to be adjusted to suit your environment. The default setting is approximately 50%.
 
*The delay dial should always be turned as far counterclockwise as possible.
 
*The delay dial should always be turned as far counterclockwise as possible.
*The jumper should be set to H.
+
*The jumper should be set to '''H'''.
  
 
=Connecting to the Motion Sensor=
 
=Connecting to the Motion Sensor=
Line 30: Line 30:
  
 
===Manually Setting an IP Address===
 
===Manually Setting an IP Address===
In order to set the ip address manually you must be connected to the SmartButton using the ivsadmin user. The ivsuser account can not change any settings. If you are connecting from the console, type the following to change accounts. You will be prompted for the ivsadmin password. <pre>su ivsadmin</pre>
+
In order to set the IP address manually, you must be connected to the SmartButton using the ivsadmin user. The ivsuser account can not change any settings. If you are connecting from the console, type the following to change accounts. You will then be prompted for the ivsadmin password: <pre>su ivsadmin</pre>
# Type the following and press enter <pre>sudo nano /etc/dhcpcd.conf</pre>
+
# Type the following, and press Enter: <pre>sudo nano /etc/dhcpcd.conf</pre>
# Scroll down until you find the section for interface eth0.
+
# Scroll down until you find the section for interface '''eth0'''.
# Remove the # at the start of the lines for static ip_address, static routers, and static domain_name_servers.
+
# Remove the '''#''' at the start of the lines for static ip_address, static routers, and static domain_name_servers.
# Update the ip configuration to reflect the correct settings for your environment.
+
# Update the IP configuration to reflect the correct settings for your environment.
 
#:[[File:SmartButton2.png]]
 
#:[[File:SmartButton2.png]]
# Comment out the remaining lines in the file by adding a # to the start of the line.
+
# Comment out the remaining lines in the file by adding a '''#''' to the start of the line.
 
#:[[File:SmartButton3.png]]
 
#:[[File:SmartButton3.png]]
  
 
=Configuration=
 
=Configuration=
# Connect the to Valt Motion sensor via SSH
+
# Connect the to Valt Motion sensor via SSH.
 
#: You will need a certificate from IVS to complete the connection. Please contact IVS Support to obtain this certificate.
 
#: You will need a certificate from IVS to complete the connection. Please contact IVS Support to obtain this certificate.
#Type the following and press enter: <pre>sudo nano /home/ivsuser/.bashrc</pre>
+
#Type the following, and press Enter: <pre>sudo nano /home/ivsuser/.bashrc</pre>
 
#: [[File:MotionSensor1.png]]
 
#: [[File:MotionSensor1.png]]
 
# Enter the password when prompted.
 
# Enter the password when prompted.
Line 69: Line 69:
 
|}
 
|}
  
Save the file by pressing CTRL-X and then entering Y to save. You will be prompted for the file name, do not change it and press enter.
+
Save the file by pressing '''CTRL-X''' and then entering '''Y''' to save. You will be prompted for the file name, do not change it and press Enter.
  
Reboot the Motion Sensor (sudo reboot) and it should begin functioning normally
+
Reboot the Motion Sensor (''sudo reboot''), and it should begin functioning normally.
  
 
=Notes=
 
=Notes=
 
*The motion sensor will start a recording as soon as motion is detected. Recording will continue until no motion has been detected for the number of seconds specified in the delay setting. Once that time period has elapsed a stop command will be sent to the Valt server.
 
*The motion sensor will start a recording as soon as motion is detected. Recording will continue until no motion has been detected for the number of seconds specified in the delay setting. Once that time period has elapsed a stop command will be sent to the Valt server.
*Delay will need to be tailored to your environment. A 300 second delay (5 minutes) was used to great success during testing for an interview room.
+
*Delays will need to be tailored to your environment. A 300 second delay (5 minutes) was used to great success during testing for an interview room.
 
*The motion sensor will not stop a recording started through the web interface.
 
*The motion sensor will not stop a recording started through the web interface.
 
*It is recommended to create a local service account in Valt for use with the Valt Motion Sensor.
 
*It is recommended to create a local service account in Valt for use with the Valt Motion Sensor.
*IVS recommends placing the main Valt Motion Sensor unit a minimum of five feet from actual sensor as PIR sensors are susceptible to RF interference which can cause false positions.
+
*IVS recommends placing the main Valt Motion Sensor unit a minimum of five feet from actual sensor, as PIR sensors are susceptible to RF interference which can cause false positions.

Latest revision as of 10:59, 7 May 2019

Wiring

The motion sensor should come prewired with three leads between the case and the sensor. These leads will most likely need to be cut and extended using three conductor wire. The leads on your motion sensor may not be the same colors as those pictured here. The leads should already be connected at both ends, so simply cut the leads, strip the ends, and splice in an extension connecting same colors. The table below is for reference only and matches the colors in the pictures.

Red 5 Volt
Black Ground
Yellow Sensor


MotionSensor5.jpg MotionSensor6.png MotionSensor4.jpg

  • The sensitivity dial may need to be adjusted to suit your environment. The default setting is approximately 50%.
  • The delay dial should always be turned as far counterclockwise as possible.
  • The jumper should be set to H.

Connecting to the Motion Sensor

  1. Connect the Valt Motion Sensor to the network.
    The sensor is POE powered and requires an 802.3af POE compliant switch.
  2. The Valt Motion Sensor should obtain an IP address automatically.
    The IP address should be listed in your DHCP leases on the DHCP server. The name of the device is MotionSensor. If you do not have DHCP, the device will default to an IP address of 192.168.0.91.

Manually Setting an IP Address

In order to set the IP address manually, you must be connected to the SmartButton using the ivsadmin user. The ivsuser account can not change any settings. If you are connecting from the console, type the following to change accounts. You will then be prompted for the ivsadmin password:
su ivsadmin
  1. Type the following, and press Enter:
    sudo nano /etc/dhcpcd.conf
  2. Scroll down until you find the section for interface eth0.
  3. Remove the # at the start of the lines for static ip_address, static routers, and static domain_name_servers.
  4. Update the IP configuration to reflect the correct settings for your environment.
    SmartButton2.png
  5. Comment out the remaining lines in the file by adding a # to the start of the line.
    SmartButton3.png

Configuration

  1. Connect the to Valt Motion sensor via SSH.
    You will need a certificate from IVS to complete the connection. Please contact IVS Support to obtain this certificate.
  2. Type the following, and press Enter:
    sudo nano /home/ivsuser/.bashrc
    MotionSensor1.png
  3. Enter the password when prompted.
  4. Scroll down to the bottom of the file.
    MotionSensor3.png
  5. Modify the last command in the file to match your environment. The settings are listed below.
-s Server IP Address or DNS entry
-u Valt Username
-p Valt Password
-r Valt Room Number
-d Delay in Seconds
--ssl True if using https, otherwise omit.

Save the file by pressing CTRL-X and then entering Y to save. You will be prompted for the file name, do not change it and press Enter.

Reboot the Motion Sensor (sudo reboot), and it should begin functioning normally.

Notes

  • The motion sensor will start a recording as soon as motion is detected. Recording will continue until no motion has been detected for the number of seconds specified in the delay setting. Once that time period has elapsed a stop command will be sent to the Valt server.
  • Delays will need to be tailored to your environment. A 300 second delay (5 minutes) was used to great success during testing for an interview room.
  • The motion sensor will not stop a recording started through the web interface.
  • It is recommended to create a local service account in Valt for use with the Valt Motion Sensor.
  • IVS recommends placing the main Valt Motion Sensor unit a minimum of five feet from actual sensor, as PIR sensors are susceptible to RF interference which can cause false positions.