Rockridge Trapezoid Telraam Sensors
Our focus is on data. To support that—and to help you stay focused on the numbers too—we've made it straightforward to get the figures yourself, without having to take our word for it.
We lay this out in three layers: chart views on Telraam's public pages (any 14-day period you select), our consolidated Excel file with the complete dataset, and—when you want to rebuild everything from scratch—Python scripts against Telraam's API.
What is Telraam?
Telraam is like PurpleAir for traffic: neighbor-hosted sensors that continuously count and classify road users (cars, bikes, pedestrians), then publish the data publicly. A sensor sits in an upper window, connects to the internet, and streams counts to Telraam's cloud platform. The household powers it and provides connectivity—Telraam's servers handle everything else.
The data comes straight from Telraam's platform. We don't control it, the neighbor hosting the device doesn't control it, and no one can edit historical counts after they're published. What you see on Telraam's public pages is what we download and summarize in our workbook.
Public Telraam pages
Each sensor has a public page where you can select any 14-day window and view traffic counts in chart form. Choose your dates, click Update, and the chart refreshes with data for that period.
This is the fastest way to spot-check: pick a date range you care about and see what the sensor reported.
Motorized daily totals from Telraam data.
Download the consolidated Excel file
Our workbook contains the complete dataset from all three sensors. Open it in Excel, Numbers, LibreOffice, or Google Sheets.
How it's organized
The workbook has ten sheets: one Summary sheet and three sheets per sensor (Martin, Hillegass, Colby).
Summary sheet: Calculates key metrics across all three sensors—weekday averages, peak weeks, busiest single days, and percentiles. Each cell shows the formula used, so you can click in and trace where the numbers come from.
For each sensor, three sheets:
[Sensor]_data— Hourly raw counts straight from Telraam's API. Each row is one hour: timestamp, pedestrian count, bike count, car count, large vehicle count, and speed data.[Sensor]_daily— Daily totals. Each row is one calendar day. The formulas sum all hourly records from the_datasheet for that date (usingSUMIFSto match the date range). Also calculates weekday number (1 = Monday through 7 = Sunday) and assigns an ISO week key (like2025-W33).[Sensor]_weekly— Weekly averages. Each row is one ISO week (Monday-to-Sunday). The formula averages all daily motorized vehicle counts from the_dailysheet that match that week key.
The Summary sheet pulls from these daily and weekly sheets—weekday averages use AVERAGEIFS to filter Monday–Friday only; peak weeks use MAX on the weekly averages; busiest single day finds the highest daily total.
Cross-checking the workbook
Find a value you want to verify. Open the matching sensor on Telraam (Layer 1), select a 14-day span covering the same dates, click Update, and compare the chart to the workbook. You're validating our copy against Telraam's live data.
The formulas are standard Excel—no macros, no hidden logic. Click into any cell to see how it calculates. If something isn't clear: [email protected]
Python: rebuild the workbook from scratch
Layers 1 and 2 let you view and verify the data. Layer 3 lets you generate it yourself using Telraam's API.
We publish Python scripts that authenticate to Telraam's API, pull all traffic reports, write CSVs, and regenerate the consolidated Excel file using our same pipeline.
All code lives under telraam_code/ in our GitHub repository:
Files
| File | Purpose |
|---|---|
telraam_support.py |
Shared helpers for API requests, CSV handling, path resolution |
telraam_pull_martin.pytelraam_pull_hillegass.pytelraam_pull_colby.py |
Fetch data from Telraam API → daily and hourly CSVs |
telraam_merge_adt_workbook.py |
Merge hourly CSVs into existing workbook template |
telraam_rebuild_adt_workbook.py |
Build fresh workbook from daily CSVs (no template needed) |
local_config.example.json |
Configuration template—copy and customize |
Setup
- Configure your data directory via
TELRAAM_DATA_DIRenvironment variable ortelraam_code/local_config.json - Add your Telraam API token via
TELRAAM_API_KEYor~/.config/telraam/telraam - Install dependencies:
pip install openpyxl requests(Python 3.10+)
Under your data directory, pull scripts write CSVs to API_Data/.
Typical workflow
cd /path/to/lowerrockridgeslowstreets.github.io python3 telraam_code/telraam_pull_martin.py python3 telraam_code/telraam_pull_hillegass.py python3 telraam_code/telraam_pull_colby.py # Option A: Update existing workbook with hourly data python3 telraam_code/telraam_merge_adt_workbook.py # Option B: Build fresh workbook from daily CSVs python3 telraam_code/telraam_rebuild_adt_workbook.py
Questions about the scripts: [email protected]