Skip to content
This repository has been archived by the owner on Sep 4, 2023. It is now read-only.

Latest commit

 

History

History
19 lines (11 loc) · 856 Bytes

README.md

File metadata and controls

19 lines (11 loc) · 856 Bytes

Stories in Ready Codeship Status for rickymoorhouse/trafficpi

trafficpi

Script to use the Raspberry Pi & LedBorg to show traffic conditions

Run as follows:

python trafficpi.pi --location=10501

The LedBorg will then display a colour based on the traffic conditions at that time.

Example location codes

  • 10501 - M3 to M275 along the M27 Eastbound
  • 10710 - M275 to M3 along the M27 Westbound

TODO: Add support for combined routes, where the journey is split in the source data TODO: Change the defaults to be based on percentage of clear journey time or expected journey time