Bandwidth Analytics

Track data usage by hour, day, or month with nlbwmon and vnStat integration.

The Statistics tab provides detailed bandwidth usage analytics, helping you understand traffic patterns and identify heavy consumers.

Data Sources πŸ”—

nlbwmon (Primary) πŸ”—

nlbwmon is a lightweight bandwidth monitor for OpenWRT. It tracks per-device traffic and categorizes it by protocol.

WRTune fetches nlbwmon data via the file ubus namespace, executing nlbw commands on the router.

vnStat (Historical) πŸ”—

vnStat provides long-term traffic history. WRTune uses it for daily and monthly data views.

Views πŸ”—

Hourly View πŸ”—

Shows traffic per hour for the current day as interactive bar charts. Useful for spotting peak usage times.

Daily View πŸ”—

Displays daily totals over the past 30 days. Helps identify trends and unusual spikes.

Monthly View πŸ”—

Shows monthly aggregates. Useful for long-term capacity planning.

Top Consumers πŸ”—

Identifies which devices are using the most bandwidth:

  • Sorted list by total data transferred
  • Shows both upload and download per device
  • Tapping a device filters the charts to show only that device’s traffic

Traffic Categories πŸ”—

nlbwmon classifies traffic into categories:

  • Streaming β€” Video and music services
  • Browsing β€” Web traffic
  • Gaming β€” Game-related traffic
  • Downloads β€” File transfers and updates
  • Other β€” Unclassified traffic

Category breakdowns are shown as pie charts or stacked bars.

Package Detection πŸ”—

WRTune automatically checks if nlbwmon and vnStat are installed on your router.

:::tip Results are cached per router IP under nlbwmon_installed_{ip}. Only positive results are cached β€” failures are re-checked on next load. Use the β€œCheck Again” button to force a re-check. :::

Migration Note πŸ”—

If you upgraded from an older version of WRTune (pre v2.2.1), the nlbwmon_installed cache key was migrated from a global key to a per-router scoped key. This runs silently and preserves your cached install state.