Your data plan, solved: per-device usage, forecasts and alerts with Bandalf
A data cap tracker that knows which device is eating your plan. How Bandalf measures per-device bandwidth usage, forecasts the end of your cycle, spots a device acting unlike itself, and stays quiet when you've asked it to.
If your home internet has a data cap, you know the feeling: the ISP’s app says you’ve used 80% and there are ten days left, and you have no idea whether it was the TV, the console, or a laptop syncing photos all night.
Bandalf answers that. This post shows how. (New here? Start with Getting started.)
Per-device usage, from your router
Bandalf reads your router every 60 seconds and turns its counters into usage per device, kept in five-minute buckets on your Mac. From those it builds the day, the week and the billing cycle, for each device and for the whole home.
A few details that make the numbers trustworthy:
- Measured from the device’s side. Download is what the device received, whatever the router calls it.
- Decimal gigabytes, as ISPs count, so Bandalf agrees with your bill.
- Restarts handled. When a router reboots and its counters reset, Bandalf notices and doesn’t count it as a burst of traffic or a loss.
- Calendar days, so a daylight-saving day is still one day.
Per-device counts come from Jio AirFiber, OpenWrt (with nlbwmon), UniFi and MikroTik. FRITZ!Box, ASUS, NETGEAR and UPnP report the household total, which Bandalf tracks against the plan in the same way.
The forecast
The Overview shows what you’ve used this cycle against your cap, and what you’ll have used by the end of the cycle at today’s pace. The status is one of three: on track, watch, or over. If you’re heading over, it tells you the day you’d hit the cap.
Alerts arrive at 80% and again at 100% of your cap, each once per cycle, so you hear about it while there’s still time to act. Separately, a device that pulls more than 2 GB within an hour gets its own heads-up.
The morning digest
Every morning, at the hour you pick, Bandalf sends a short summary: yesterday’s data and the busiest devices, where you stand on the plan and the forecast, anything that joined the network, and the security state. A few plain lines, the way a person would tell you.
”Unusual for this device”
Big numbers aren’t the interesting ones. A laptop downloading 20 GB on a Saturday is normal; a smart plug uploading 500 MB at 3 a.m. isn’t.
So Bandalf compares each device with itself. For the hour that just ended, it looks at what that device did at the same time of day over the last two weeks, including the hours either side so a habit that drifts by an hour still counts. It uses the median and the median absolute deviation, so one past spike can’t skew what “normal” means.
An hour is flagged only when all three hold:
- it’s far outside the device’s own usual spread,
- it’s several times its usual amount, and
- it’s above a floor, so a plug going from 2 MB to 12 MB stays quiet.
Uploads get a lower floor than downloads, because a camera or a plug suddenly sending a lot is the more telling change. And Bandalf says nothing until a device has a week of history.
Memory: what you tell it
Numbers don’t know that the PS5 is your son’s, or that the office laptop backs up on Sunday nights. You do. Tell Bandalf, and it remembers.
Memories live on the Memory page as readable Markdown files on your Mac, each with its source: you said it, or Bandalf observed it. You can edit or delete any of them. When an AI assistant thinks something is worth remembering, it can only propose it; the memory doesn’t count until you press Keep.
Rules that change alerts
Some memories are rules. The one most people want first:
quiet-hours 23:00-07:00
During quiet hours, notifications and pop-outs are held. The alerts are still recorded, so nothing is lost; they just don’t wake you up.
Asking about it
Everything above is also available to AI. In Ask Bandalf, or from Claude Code with the plugin, you can ask “which device used the most data this week, and is that normal for it?” and get an answer built from these numbers, with sources. /bandalf:quota-check in Claude Code does the plan check in one go. More in Bandalf and AI.
Limits worth knowing
- Per-device numbers need a router that counts per device (see the list above). On the others you get the household total and every device’s presence, not each one’s share.
- The forecast assumes the rest of the cycle looks like the cycle so far. A big game download tomorrow will move it.
- Baselines need a week of history per device before they speak.
Next: Security for normal people, or back to the Bandalf page.
