Dashboard & Live Traffic
The Dashboard is the page you land on after signing in to the customer portal. It answers four questions at a glance:
- Am I connected right now? — live download/upload Mbps, refreshing every 3 seconds.
- How much data have I used today and this month? — two circular rings, GB used vs cap.
- How long until my plan expires? — countdown card with days remaining.
- Do I have any issues? — banners for expiring soon, FUP tier hit, balance low, parental block notices.
How to get here
Section titled “How to get here”After login, the Dashboard is the default landing page. You can also reach it from:
- The sidebar → top item (home icon)
- Direct URL:
/customer/dashboard(or simply/customer/) - Mobile app: bottom-bar Home tab
Layout
Section titled “Layout”The Dashboard is organized into four sections, top to bottom:
| Section | What it shows |
|---|---|
| Live traffic widget | Big number — current download Mbps + upload Mbps. Polled every 3 s. |
| Usage rings | Two circular progress rings: daily used vs daily cap, monthly used vs monthly cap. |
| Plan card | Service name, nominal speed, expiry countdown, balance. |
| Banners | Optional alerts: “Plan expires in 3 days”, “Daily cap reached”, “FUP tier 2”, etc. |
Section 1 — Live traffic
Section titled “Section 1 — Live traffic”The big number is what your router is doing right now. The portal asks the operator’s MikroTik (via the API) every 3 seconds for the current PPPoE session’s tx-rate (download) and rx-rate (upload), converts bits/s to Mbps, and displays it.
| State | What you see |
|---|---|
| Online (PPPoE session active) | Live Mbps numbers, a green “Online” dot, current public IP, session uptime. |
| Offline (no active session) | “Offline” indicator. Mbps numbers show 0. |
| NAS unreachable | ”Offline” indicator. The portal can’t reach your router right now; this is usually a brief blip. |
The Mbps numbers are session-level traffic — all your devices added together. You can’t see a per-device breakdown from here (that’s the WiFi tab if you have a TR-069 router).
Section 2 — Usage rings
Section titled “Section 2 — Usage rings”Two large circular rings show how much data you’ve consumed:
| Ring | Numerator | Denominator |
|---|---|---|
| Today | Bytes downloaded + uploaded since midnight (operator’s timezone). | The daily quota from your service plan (0 = unlimited). |
| This Month | Bytes downloaded + uploaded since the 1st of the month, plus any bonus GB you’ve bought. | The monthly quota plus bonus GB purchased. |
Each ring colors:
- Green until 50% used
- Orange between 50% and 80%
- Red above 80%
When you hit the cap, your speed is reduced to the FUP (Fair Use Policy) speed — see the banner that appears at the top of the dashboard.
How “Used” is computed
Section titled “How “Used” is computed”Your usage is the sum of:
- Past sessions today — bytes from
radacctfor sessions that started today. - Current session — live bytes from the active PPPoE session, fetched from your router every 30 seconds by the operator’s QuotaSync.
- Adjustments — any FUP resets, bonus refills, or operator credits.
The numbers refresh every 30 seconds. Today’s number is always live; days in the past are snapshotted into daily_usage_history and don’t change.
Section 3 — Plan card
Section titled “Section 3 — Plan card”The plan card shows everything about your subscription:
| Field | Meaning |
|---|---|
| Service name | The plan you’re on, e.g. "Fiber 10M / 100GB". |
| Speed | Nominal download / upload — the speed at the start of your billing cycle. |
| Current speed | What you’re actually getting right now — usually matches nominal, but drops if you hit FUP. |
| FUP tier | 0 = normal speed. 1, 2, 3 = progressive speed reductions because you crossed daily or monthly caps. |
| Days left | How many days until your plan expires. Updates daily at midnight. |
| Balance | Your wallet balance — used for buying extra data and (optionally) plan upgrades. |
| Status | Active, Inactive, Expired, or Stopped. |
When the days-left number drops below 7, the value turns red and a “renew soon” banner appears at the top.
Section 4 — Banners
Section titled “Section 4 — Banners”Conditional alerts that appear above the dashboard when relevant:
| Banner | When you see it |
|---|---|
| ”Your plan expires in N days” | Days-left ≤ 7. Tap to contact your ISP or top up. |
| ”Daily cap reached — speed reduced” | Today’s usage crossed the daily quota. FUP tier in effect. |
| ”Monthly cap reached — speed reduced” | This month’s usage crossed the monthly quota plus any bonus. |
| ”Balance: $X.XX — top up before renewal” | Your balance is below the price of your next renewal. |
| ”Maintenance window: 02:00–04:00 tomorrow” | The operator scheduled downtime. |
Each banner has a dismiss “X” — banners stay dismissed for 24 hours and then come back if the condition is still true.
Connection status — Online vs Offline
Section titled “Connection status — Online vs Offline”A subscriber is shown Online when:
- Their
subscribers.is_onlineflag is true (updated by the operator’s QuotaSync service every 30 seconds). - There’s an active row in
radacctwith no stop time. - The latest accounting update happened in the last 30 minutes.
If you see “Online” on the dashboard but your devices aren’t connecting, it’s usually a stale flag — the operator’s stale-session cleanup runs every 5 minutes and will correct it.
Common workflows
Section titled “Common workflows””Why is my internet slow?”
Section titled “”Why is my internet slow?””- Look at the live Mbps at the top — what are you actually getting right now?
- Compare to the Plan speed (e.g. 10 Mbps nominal).
- Check FUP tier on the plan card. If it’s 1, 2, or 3 — you’ve hit a usage cap and speed is reduced.
- Check the monthly ring. Above 80%? You’re close to (or past) the cap.
- If everything looks normal but speed is still slow, open a Support Ticket with category “Slow internet” — your operator can run a torch / ping diagnostic from their end.
”How much GB do I have left this month?”
Section titled “”How much GB do I have left this month?””- Look at the Monthly ring on the dashboard.
- The number in the centre shows used / total — e.g.
45 / 100 GB. - Subtract to see what’s left:
100 − 45 = 55 GB remaining. - If you bought extra GB during the month, it’s already included in the “total”.
- Need more? Tap Buy Data to top up — see Buy Extra Data.
”When does my plan expire?”
Section titled “”When does my plan expire?””- Days left on the plan card.
- If it’s under 7, the number is red and a banner appears.
- The portal cannot renew on its own — contact your operator (or wait for them to auto-renew if that’s configured).
- While waiting, top up your wallet so the renewal can be charged from balance.
Refresh behavior
Section titled “Refresh behavior”| Element | Refresh interval |
|---|---|
| Live Mbps + IP + uptime | Every 3 seconds (polls live from the router). |
| Usage rings | Every 30 seconds (re-fetches subscriber row). |
| Plan card / banners | Every 30 seconds. |
| On-tab visibility change | All elements refresh immediately when you return to the tab. |
If you close the tab and reopen it later, everything is recomputed on load — there’s no stale-cache problem.
Permissions
Section titled “Permissions”The Dashboard has no permission gates — every customer who can log in can see it. What appears on it is scoped to the logged-in account:
| Token claim | Effect on Dashboard |
|---|---|
customer_username | All queries filter by this username. You only see your own data. |
| (no other claims) | There’s no admin / read-only mode for customers. One customer = one view. |
Related pages
Section titled “Related pages”- Customer Portal Overview — the rest of the tabs.
- Usage History — daily breakdown for the last 30 days.
- Buy Extra Data — when the rings hit red.
- Change Plan — upgrade for more speed or more cap.
- WiFi Management — slow speeds sometimes mean a router restart.
- Support Tickets — talk to the ISP.