LogoLogo
GitHub
  • Welcome to smart city traffic monitoring
  • Getting Started
  • Build Your Own Device (DIY)
    • Recommended Hardware
    • Assembly Instructions
    • Software Installation
  • Deployment and Mounting Guide
  • Setup Guide
  • Configuration
    • Config Overview
    • Frigate Config
    • Node-RED Config
  • Development
    • Dev Environment
    • Contributing
  • Help & FAQ
    • Frequently Asked Questions
    • Where can I get support?
  • Sensor Payloads
    • Events Payload
    • Radar Payload
    • Air Quality (AQ) Payload
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Build Your Own Device (DIY)

Software Installation

Software installation for the Traffic Monitor.

Last updated 3 months ago

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:

  1. Assemble your device (see Recommended Hardware).

  2. Install (Full Install) Bookworm (latest).

    • Full Install required for all components to run properly. Lite is missing H.264 codec for libcamera.

    • Recommend to instructions and follow the 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.

  3. Access your Raspberry Pi: See .

  4. Install the Traffic Monitor software:

    1. Run git clone https://github.com/glossyio/traffic-monitor into your home folder (or any folder)

    2. Run cd traffic-monitor

    3. Run sudo chmod +x script/* to enable scripts

    4. Run ./script/bootstrap to fulfill dependencies. Note: System will reboot after this script.

    5. After reboot, log into the device and cd traffic-monitor to continue.

    6. Run ./script/setup to set up project in an initial state

    7. 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.

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

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

  7. Start capturing roadway usage data!

Raspberry Pi OS
Install using Imager
OS customization
Setup Guide