githubEdit

desktop-arrow-downSoftware Installation

Software installation for the Traffic Monitor.

Whether you Build Your Own Device (DIY) or buy a pre-built unit, these are the instructions to perform a fresh install.

Preparation

circle-check
  1. Install Raspberry Pi OS (64-bit lite) using RPi Imagerarrow-up-right (read the RPi getting startedarrow-up-right).

    • You will need an SD card or microSD card reader on your host machine.

    • (Recommended) OS customizationarrow-up-right to set up your WiFi credentials and username and password to access the device headless; i.e. SSH with no monitor or keyboard.

  2. Insert the microSD card into the Raspberry Pi and boot.

    • Note: The first boot may take several minutes before it is fully online.

Install the Traffic Monitor software

circle-exclamation
circle-info

The Traffic Monitor software is installed via an Ansiblearrow-up-right deploy script. This allows you to perform a local installation or remote installation from a host computer to 1 or more devices simultaneously!

Local installation

(Most common installation method)

  1. Connect to your device and executing the following commands via a terminal:

    1. sudo apt update && sudo apt install -y git

    2. git clone https://github.com/glossyio/traffic-monitor

    3. bash traffic-monitor/script/tmsetup.sh

  2. Follow instructions and restart when prompted.

Remote Installation

Install the TM software to 1 or more devices simultaneously using our Ansible deploy script. This allows you to deploy or update a whole fleet of Traffic Monitors with common configuration files in a single command!

circle-check
  1. On your host machine, download TM OSS software and set up any configurations you want to send:

    1. git clone https://github.com/glossyio/traffic-monitor

  2. Run the install script from your host machine with your device IP address(es) space-separated with -H, enter username specified on OS setup (needs to be the same across all devices) with -l, and prompt for password with -k:

    1. bash traffic-monitor/script/tmsetup.sh -H <ip_address> -l <ssh_username> -k

  3. Continue to Deployment and Mounting Guide and Setup Guide for each device.

Next Steps

  1. Deploy your device: See the Deployment and Mounting Guide.

  2. Set up zones, location, and enable your sensors: See Setup Guide.

  3. Start capturing roadway usage data!

Last updated

Was this helpful?