githubEdit

Dev Environment

Set up to contribute back to the Traffic Monitor project

The Traffic Monitor software is completely open source, so you are welcome to modify your devices to fit your needs. If you think others will benefit from your changes, you are welcome to join the community and contribute back!

The Traffic Monitor OSS repoarrow-up-right is set up as a monorepoarrow-up-right containing everything to get the TM up and running.

Node-RED logic

Node-REDarrow-up-right provides the primary logic engine to the Traffic Monitor including:

  • Accepting input from other applications, such as Frigate for object detection, and sensors such as the radar for speed measurement.

  • Enriching events by attaching speed

  • Saving payloads and data internally

  • Sending data to downstream applications

To get started developing:

  1. Access the Node-RED interface: http://<you_ip>:1880 and enter the default username and password.

  2. Start a New Project and Clone [your fork of] the traffic-monitor repo. This will completely reset the current project, so ensure you have saved any changes.

  3. Change flows.json and package.json to the docker/node-red-tm/data directory locations so changes will be incorporated

  4. Commit changes to the [forked] repo in a new branch.

  5. PR changes following the Contributing guidelines.

Last updated

Was this helpful?