Status Page

Network → Bandix → Status is the main dashboard. It shows every LAN device the backend has seen, its live LAN and WAN speeds and totals, a realtime chart, and on-demand traffic statistics for any date range. It is also where you rename devices, delete them, and open the per-device rate-limit and quota dialog.

This page describes each part of the dashboard from top to bottom, how often it refreshes and how its numbers are calculated.

Page Layout

Part What it shows Refresh
Header Title, installed versions, Update available badge Once on load
Notice bar "Rate limiting only applies to WAN traffic." and Online Devices: online / total Every second
Summary cards LAN Traffic, WAN Traffic, Total for all devices Every second
Realtime Traffic Trends Upload/download rate chart Every second
Device List One row (or card on mobile) per device Every second
Traffic Statistics Device Usage Ranking and Traffic Timeline Only when you query

All views use LuCI's polling (poll.add), so they pause when LuCI's global auto-refresh is paused.

Header and Update Badge

The header shows the versions of luci-app-bandix and bandix as reported by the getVersion method. When the page loads, it also calls checkUpdate, which asks the GitHub API (from the router) for the latest release of both projects. If either is newer than what is installed, an Update available badge appears; clicking it opens the Settings page, where the update can be installed. See Updates and Maintenance.

Note: This means each Status page load makes two outgoing HTTPS requests from the router to api.github.com. If the router has no internet access, the check simply fails silently.

Online Devices Counter

A device counts as online when its last-seen timestamp (last) is no older than bandix.traffic.offline_timeout seconds (default 600, ten minutes). The comparison uses the browser's clock against the backend timestamp, so a large clock difference between router and browser skews the result. Timestamps smaller than 10¹² are treated as seconds and converted to milliseconds.

The counter reads Online Devices: X / Y, where Y is the number of devices in the backend's list, including offline ones.

Summary Cards

The three cards add up all devices:

Card Fields summed per device
LAN Traffic l_rx_r, l_tx_r (rates) and l_rx_b, l_tx_b (bytes)
WAN Traffic w_rx_r, w_tx_r and w_rx_b, w_tx_b
Total t_rx_r, t_tx_r and t_rx_b, t_tx_b

Hovering the LAN card shows an explanation: LAN traffic is seen from the subnet's point of view, so upload and download are always equal (one device's upload is another's download), and traffic between two devices switched in hardware (for example PC to NAS) may not be seen at all.

A canvas chart of upload and download rates, one point per second, kept in the backend's memory for the window set by traffic_realtime_window (10, 15 or 30 minutes, or 1 hour). The badge on the right of the chart header shows the window, for example "Last 10 Minutes".

Controls:

Control Options
Select Device All Devices (default) or one device
Type Total (default), LAN Traffic, WAN Traffic

Interacting with the chart:

  • Hover shows a tooltip with the time and rates under the cursor.
  • Zoom: keep the mouse over the chart for one second, then use the mouse wheel. The zoom factor goes from 1× to 10× and is centered on the cursor; a Zoom badge shows the current factor. Moving the mouse off the chart resets the zoom.

The data comes from getMetrics. If the backend cannot be reached, the RPC plugin returns an empty series with retention_seconds 600.

Device List

Columns

Column Content
Device Info Online indicator, hostname (or IP) and IPv4 address, with badges for the uplink interface, Wi-Fi band and channel; in detailed mode also LAN IPv6 addresses, MAC address and last online time
LAN Traffic LAN upload (↑) and download (↓) speed, each followed by its total for the selected period in parentheses
WAN Traffic WAN upload and download speed with their totals, in the same format
Rules / Quota Active schedule rule limits, or "No active rule"; quota summary
Actions Settings (opens the device dialog) and ✕ (delete the device)

The Wi-Fi band badge is derived from w_freq: 2400–2499 MHz is shown as 2.4 GHz, 4900–5924 MHz as 5 GHz, 5925–7125 MHz as 6 GHz. The channel badge appears only for Wi-Fi devices with a channel above 0. The interface badge shows uplink (for example phy0-ap0 or lan2) when the backend reports one.

On screens 768 px wide or narrower, the list is drawn as expandable cards and always uses simple mode.

Period

The Period selector chooses which totals the list shows:

Option Range sent to the backend
All No range (lifetime totals)
Today 00:00:00.000 to 23:59:59.999 today
This Week Monday 00:00 to Sunday 23:59:59.999 of the current week
This Month First to last day of the current month
This Year 1 January to 31 December of the current year

Ranges are computed in the browser's local time zone and sent as start_ms/end_ms to getStatus. The choice is remembered in localStorage (bandix_device_period).

Display Mode

Simple Mode (default) keeps rows compact. Detailed Mode adds, under the device name, the device's LAN IPv6 addresses (only when at least one device has IPv6; hover shows all addresses), its MAC address and its last online time, both relative ("5 min ago") and exact. The choice is stored as bandix_device_mode.

Sorting

Click a column header to sort:

Header Sort key Notes
Device Info online Online devices first, then by IPv4 address, then MAC
LAN Traffic (speed half) lan_speed Sum of LAN upload and download rate
LAN Traffic (traffic half) lan_traffic LAN bytes for the selected period
WAN Traffic (speed half) wan_speed Sum of WAN upload and download rate
WAN Traffic (traffic half) wan_traffic WAN bytes for the selected period

The LAN and WAN headers are split: hover shows Sort by Speed and Sort by Traffic. Clicking a new key sorts descending; clicking the same key again toggles the order. For the speed and traffic keys, online devices always stay above offline devices. The default is online, descending. The choice is stored as bandix_sort_by and bandix_sort_order.

Global Rate Limit Badge

Next to the display mode is the Global Rate Limit badge, which reads Enabled (n) or Disabled (n), where n is the number of whitelisted devices, or Unavailable if the backend did not answer. Clicking it opens the global rate limit dialog described in Rate Limits.

Selecting and Deleting Devices

The Select all checkbox and per-row checkboxes next to the Device List title select devices for batch deletion. See Devices and Hostnames.

Traffic Statistics

The lower part of the page holds two independent tools. Neither refreshes automatically: each query runs when you click a preset, Query or Reset.

Device Usage Ranking

Ranks devices by traffic for a date range.

Control Options
Start Date / End Date Date pickers
Network Type WAN Traffic (first option), LAN Traffic, Total
Presets Today, Yesterday, This Week, Last Week, This Month, Last Month, Last 7 Days, Last 30 Days, Last 90 Days, Last Year
Query / Reset Run with the chosen dates / return to the default range

The start date must be earlier than the end date ("Start date must be earlier than end date"), and both must be set ("Please select both start and end dates"). The table shows rank, device, share in percent and upload/download/total bytes. By default only the top 10 devices are listed ("Showing top 10 of N devices"); Show All expands the list and Show Top 10 collapses it again.

Without explicit dates, the backend's default range is used.

Traffic Timeline

A bar chart of traffic increments over time, with the same date controls, presets and network type selector, plus:

Control Options
Aggregation Hourly (default), Daily
Device All Devices or one device

Hovering a bar shows a tooltip with the bytes transferred in that interval and rate statistics (average, maximum, minimum and the 90th, 95th and 99th percentiles) for upload and download, limited to the sections matching the selected network type. The chart supports the same delayed mouse-wheel zoom as the realtime chart.

Long ranges are fetched in chunks to stay within LuCI's RPC timeouts:

Aggregation Chunk size
Hourly 14 days
Daily 60 days

While chunks load, the chart area shows "Loading in chunks, please wait... (done/total)". The partial results are merged in the browser.

Long-term data is sampled hourly by the backend. Without persistence (traffic_enable_storage), it is lost on every backend restart. See Configuration.

Speed and Size Formatting

Rates follow bandix.traffic.speed_unit:

speed_unit Units Base
bytes (default) B/s, KiB/s, MiB/s, GiB/s, TiB/s 1024
bits bps, kbps, Mbps, Gbps, Tbps 1000

Byte totals are always shown in binary units (B, KiB, MiB, GiB, TiB).

Themes

The page detects the active LuCI theme and adjusts its colors. It has explicit handling for the Bootstrap (light and dark), Material, Argon, Aurora and Kucat themes; for Argon and Kucat it reads the light/dark mode from the theme's own UCI configuration (argon or kucat).

See Also