Software Installation
Software installation for the Traffic Monitor.
Last updated
Was this helpful?
Software installation for the Traffic Monitor.
Last updated
Was this helpful?
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 .
Install the Traffic Monitor software:
Run git clone https://github.com/glossyio/traffic-monitor
into your home folder (or any folder)
Run cd traffic-monitor
Run sudo chmod +x script/*
to enable scripts
Run ./script/bootstrap
to fulfill dependencies. Note: System will reboot after this script.
After reboot, log into the device and cd traffic-monitor
to continue.
Run ./script/setup
to set up project in an initial state
Run ./script/server
to start the application
./script/update
is 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!