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 start from scratch with the open source Traffic Monitor:
Assemble your device (see Recommended Hardware).
Install Raspberry Pi OS (Full Install) Bookworm (latest).
Full Install required for all components to run properly. Lite is missing H.264 codec for libcamera.
Recommend to Install using Imager instructions and follow the OS customization to set up your Wi-Fi credentials and username and password to access the device headless (no monitor or keyboard).
The first boot may take a few minutes before it is fully online.
Access your Raspberry Pi: See Setup Guide.
Install the Traffic Monitor software:
Run
git clone https://github.com/glossyio/traffic-monitorinto your home folder (or any folder)Run
cd traffic-monitorRun
sudo chmod +x script/*to enable scriptsRun
./script/bootstrapto fulfill dependencies. Note: System will reboot after this script.After reboot, log into the device and
cd traffic-monitorto continue.Run
./script/setupto set up project in an initial stateRun
./script/serverto start the application./script/updateis not required on initial setup but may be used if you change Docker configurations. This does not yet automatically update the traffic monitor.
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?

