🌧️ About The Creek Stream
There's a concrete flood channel behind my house. Most of the year it's a trickle. When a real storm rolls through Santa Barbara it gets loud, fast, and a little bit scary.
So I pointed a camera at it and started streaming it to YouTube. Video alone doesn't tell you much, though. Is the water actually rising? How hard is it raining right now? Is this storm a big one? I wanted the answers on screen, next to the water.

What's On Screen
The bar across the top has five cells. All the charts share the same 24-hour window, so a burst of rain lines up with the creek's response a little later.
- Downstream gauge: how high the water is above the creek's dry-season level, from USGS gauge 11120000 on Atascadero Creek. The pill next to it says whether the level is rising, falling, or steady over the last hour, and turns red if it's rising faster than a foot an hour.
- Rain rate: how hard it's raining right now, in inches per hour.
- Storm total: how much rain has fallen this storm. The weather station decides when a storm starts and ends.
- Temperature: right now, plus today's low and high.
- Wind: current speed, the latest gust, and the biggest gust since midnight.
The footer shows when the data last updated and when the next refresh is. If anything goes stale, that cell's label turns red and a note shows up in the footer. No note means everything is current.
The gauge is downstream
The gauge isn't on camera. It's a short way downstream, where Atascadero Creek collects water from a lot more than my little channel. That's why it can read a few inches up while the camera shows a puddle. Instead of the raw gauge height, the big number is the height above 4.07 ft, the median level from August through October. Zero means dry-season normal, and the number climbs from there. For a sense of scale, the biggest storm in the past year put the gauge at 15.23 ft (+11.16 on the overlay).
How It Works
The data comes from two places: the public USGS API for the gauge, and my Ecowitt weather station by way of Home Assistant.
- A small Python server runs on the streaming Mac. It asks Home Assistant for the station's readings every minute and USGS every five, caches the answers, and saves the last good copy to disk so a restart mid-storm still has something to show. It's standard-library Python, nothing to install.
- OBS loads the overlay as a Browser Source. It's a plain HTML page that polls the local server every five seconds and draws the bar. The Home Assistant token stays on the server, never in OBS.
- The overlay follows the light outside. It works out where the sun is and switches between day, golden hour, blue hour, and night themes, and it goes dark whenever the camera flips to black-and-white night vision.
People watching on YouTube never touch any of this. They get the video, so a big audience costs the same as an empty one.
USGS posts new gauge readings in batches about every 15 minutes, so the gauge number is usually 5 to 20 minutes behind the camera. The weather numbers are within a minute or so.
The Timelapse
The storm on November 30 and December 1 was a good first test, so I turned 48 hours of camera footage into a 2 minute timelapse. Watch it here, or on YouTube in 4K.
The camera is a Reolink RLC-810A recording to an NVR (that's an affiliate link, and as an Amazon Associate I earn from qualifying purchases). A script called timelapse.py does the rest.
- It reads the times in the clip filenames and picks one frame every 48 seconds, so clips of different lengths don't change the speed.
- It averages 4 seconds of footage into each frame. That smooths the water and fades the rain. The camera's clock would smear, so that part comes from a single frame.
- ffmpeg stitches the frames into a 4K video. Time with no footage is cut.
The water on camera peaked around 6:25 AM on Tuesday. The downstream gauge peaked at 6:50 AM, at 8.44 ft (+4.37 on the overlay). I added the high-water line afterward, placed by eye from the footage.
Wrap Up
The whole thing is on GitHub at samgutentag/stream-gauge. If you've got a camera on a creek, a river, or a storm drain, and there's a USGS gauge nearby, swap in your own site number and sensor names and point OBS at it. If your camera records to a Reolink NVR, try timelapse.py on your next storm.