Software 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
Install Raspberry Pi OS (64-bit lite) using RPi Imager.
Recommended: OS customization to set up your WiFi credentials and username and password to access the device headless; i.e. SSH with no monitor or keyboard.
Insert the microSD card and boot up the Raspberry Pi device.
Note: The first boot may take a few minutes before it is fully online.
Install the Traffic Monitor software
An internet connection is required to install system dependencies, build the required Docker containers, download drivers, and more. After installation, the traffic monitor can run fully offline.
Local installation
Connect to your device and executing the following commands via a terminal:
sudo apt update && sudo apt install -y gitgit clone https://github.com/glossyio/traffic-monitorbash traffic-monitor/script/tmsetup.sh
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!
Before you can perform remote installation, ensure the following:
Your host machine is able to run
bashcommands (Linux or Mac)Raspberry Pi OS is installed on each device
the device is running and online
you have the device IP address or resolvable host name from your host to the device
On your host machine, download TM OSS software and set up any configurations you want to send:
git clone https://github.com/glossyio/traffic-monitor
Run the install script from your host machine with your device IP address(es), enter username specified on OS setup (needs to be the same across all devices, and prompt for password):
bash traffic-monitor/script/tmsetup.sh -H <ip_address> -l <ssh_username> -k
Continue to Deployment and Mounting Guide and Setup Guide for each device.
Next Steps
Deploy your device: See the Deployment and Mounting Guide.
Set up zones, location, and enable your sensors: See Setup Guide.
Start capturing roadway usage data!
Last updated
Was this helpful?

