Some people drive like maniacs past our door. Complaining doesn't do much without data, so we pointed our UniFi doorbell camera at the road and built a small app around it.
How it works
- The doorbell streams its camera feed to the app;
- Object tracking follows each vehicle through the frame;
- Two virtual gates are drawn across the road, with a measured distance between them;
- Distance divided by the time between the gates gives the speed.
The dashboard shows every pass with its direction, speed, time of day and vehicle type, plus the median, the 85th percentile and how many go over 60.
What one afternoon showed
106 passes, 44 of them over the limit. The median was 57.4 km/h and the 85th percentile 68.8 km/h, so most people are fine and a sizeable group isn't.
The record so far is 131.4 km/h, more than double the limit. The five fastest passes all went west, and all after dark.
Estimates, not radar
It's a camera, so these are estimates and not legal measurements. But at 131 km/h the margin of error doesn't really matter.
Why we built it
Because we could, in an afternoon. It's the kind of quick, useful build we like: a real problem, hardware you already own, and a working answer the same day. 🏁