Internet Stability Monitor
A monitor that reads my cable modem's own error counters every 30 seconds, built to prove my internet drops were the ISP's problem.
My internet kept having micro dropoffs. Not long enough to notice while browsing, but apps that need a stable connection, like TeamViewer, kept losing it. It happened about every 30 minutes and lasted a fraction of a second. My ISP had already replaced the hardware once, and it didn't fix anything.
So I stopped guessing and started measuring. Internet Stability Monitor watches the connection from two sides: from my PC, and from inside the cable modem itself.

Asking the modem instead of the ISP
The first piece was a probe on my Windows PC. It pings the router, the ISP's first hop, 1.1.1.1 and 8.8.8.8 every 2 seconds, and checks HTTP and DNS every 5. When an outside target drops, it fires a traceroute right away. Drops that happen while the PC is asleep get flagged as sleep artifacts, so they don't count.
The probe can tell you that a drop happened, but not why. The why was inside the modem. A cable modem keeps its own DOCSIS stats for every channel: signal, noise, and how many blocks of data it had to throw away because they arrived too damaged to fix. I found the API the modem's admin page uses and wrote a scraper that reads it every 30 seconds.
The modem only gives running totals, though. To turn them into something you can chart, the dashboard compares the oldest and newest sample from the last 5 minutes for each channel:
1for key, lst in by_chan.items():2 if len(lst) < 2:3 continue4 # lst sorted DESC by ts5 new_ts, new_unc, new_corr = lst[0]6 old_ts, old_unc, old_corr = lst[-1]7 dt = max(new_ts - old_ts, 1e-6)8 out[key] = {9 "unc_per_sec": max(0, new_unc - old_unc) / dt,10 "corr_per_sec": max(0, new_corr - old_corr) / dt,11 "dt_s": dt,12 "latest_ts": new_ts,13 "samples": len(lst),14 }
To collect around the clock, the scraper and the Flask dashboard moved into Docker on my homelab, so it doesn't depend on my PC being awake. The database lives on the HDD instead of the boot SSD. A healthcheck marks the scraper unhealthy if no new samples arrive for 5 minutes, and a cleanup container trims old rows every week.
What a month of data said
I let it run from May 23 to June 26. That's 4,134,667 channel readings and 20,322 events from the modem's own log, covering 804 of 810 possible hours.
Channel 25 at 266 MHz couldn't correct 90.65% of its data blocks. Nine out of ten were lost. A cluster of channels between 706 and 754 MHz sat between 35% and 60%. On a healthy line that number should be close to zero. Meanwhile the basic signal levels at home were within spec, which points at the cable network outside, not my equipment.
I wrote it all up in a report for the ISP (in Danish) and asked for a technician to measure the line. They gave me a new router instead.
New router, new login
The new one is a Sagemcom FAST3896, and it speaks a completely different API than the old Technicolor. Different endpoints, and a different login: a SHA-512 nonce chain instead of PBKDF2. I worked out the login flow from the router's own Angular bundle and checked it byte for byte against a real browser login before I let it near the live session.
The new scraper writes into the exact same tables as the old one, so the dashboard and the report generator didn't need a single change. The Technicolor code is still there in case I ever need to roll back.
The part I like most is still the dashboard. It was pretty cool to see the whole thing and all the data in the graphs.
What's next
The new router made it better, so I stopped the monitor in July.