Difference between revisions of "Room Monitor"
IVSWikiBlue (talk | contribs) (→Touch.sh) |
IVSWikiBlue (talk | contribs) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
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. | 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= | =Requirements= | ||
− | * The VALT room monitor must be able to communicate with the | + | * 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. | * 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= | =Touch.sh= | ||
The VALT room monitor is driven by a bash script touch.sh. This script accepts the following command line arguments: | The VALT room monitor is driven by a bash script touch.sh. This script accepts the following command line arguments: | ||
Line 27: | Line 27: | ||
|- | |- | ||
|align=center| -ssl | |align=center| -ssl | ||
− | |align=left| Enable https mode | + | |align=left| Enable https mode |
+ | (This value must be set to on) | ||
+ | |||
+ | ex: -ssl on | ||
|- | |- | ||
|align=center| -c | |align=center| -c | ||
Line 48: | Line 51: | ||
Username: pi | Username: pi | ||
− | Password: | + | Password: admin51 |
The automatic start of the touch.sh script is configured via /home/pi/.bashrc. | The automatic start of the touch.sh script is configured via /home/pi/.bashrc. |
Latest revision as of 15:00, 18 April 2019
Contents
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
- Connect to the VALT room monitor via SSH
- Type sudo nano /etc/network/interfaces
- Locate the following line:
- iface eth0 inet manual
- 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
- Connect to the VALT room monitor via SSH
- Type sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
- At the bottom of the file add the following lines. Make sure to substitute your SSID and password
- network={
- ssid="yourssid"
- psk="yourpassword"
- }
- network={
Configuring the VALT Room Monitor
- Connect to the VALT room monitor via SSH
- Type sudo nano /home/pi/.bashrc
- Scroll to the bottom of the file
- 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
- Change the line to reflect the information for your environment. See the chart above for information on command line arguments