Room Monitor

From IVS Wiki
Jump to: navigation, search

Overview

The VALT room monitor accessory displays the video feed from a single Axis ip camera and allows for remote starting and stopping of recordings for a single room in the VALT software.

Requirements

  • The VALT room monitor must be able to communicate with the VALT server on port 80 and port 554.
  • The VALT room monitor requires a network connection and power. Power can be provided over POE if using a physical network connection and a special POE dongle.

Touch.sh

The VALT room monitor is driven by a bash script touch.sh. This script accepts the following command line arguments:

Argument Function
-s VALT Server IP Address
-u Username for VALT service account
-p Password for VALT service account
-r VALT Room ID
-n VALT Recording Name
-ssl Enable https mode

(This value must be set to on)

ex: -ssl on

-c Camera IP Address
-cu Camera Username
-cp Camera Password

The camera IP address, username and password must be specified. If the server information is not specified, the room monitor will still display a video feed, but the ability to start and stop recordings by touching the screen will not function.

Autostart

The VALT room monitor is configured to automatically login and start the touch.sh script.

The default credentials for automatic login are below. This account cannot be used to access the VALT room monitor via SSH.

Username: pi

Password: admin51

The automatic start of the touch.sh script is configured via /home/pi/.bashrc.

Network Configuration

By default the VALT room monitor is configured to receive an address via DHCP on the ethernet interface.

Ethernet

  1. Connect to the VALT room monitor via SSH
  2. Type sudo nano /etc/network/interfaces
  3. Locate the following line:
    iface eth0 inet manual
  4. Change the line to something similar to the following adding the necessary lines before and substituting your ip information.
    iface eth0 inet static
    address 192.168.0.2
    netmask 255.255.255.0
    gateway 192.168.0.1
    dns-nameservers 8.8.8.8 8.8.4.4

Wireless

  1. Connect to the VALT room monitor via SSH
  2. Type sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
  3. At the bottom of the file add the following lines. Make sure to substitute your SSID and password
    network={
    ssid="yourssid"
    psk="yourpassword"
    }

Configuring the VALT Room Monitor

  1. Connect to the VALT room monitor via SSH
  2. Type sudo nano /home/pi/.bashrc
  3. Scroll to the bottom of the file
  4. You will see the following line:
    sudo /usr/local/ivs/touch.sh -s 192.168.0.76 -u admin -p admin -r 1 -c 192.168.0.50 -cu root -cp admin51 -n pi
  5. Change the line to reflect the information for your environment. See the chart above for information on command line arguments