A termux NetDash LTE Monitor
Find a file
2026-03-13 12:56:07 +01:00
collectors Better signals + cell events 2026-03-11 15:15:11 +01:00
commands openapi, modularity improved 2026-03-13 12:56:07 +01:00
docs openapi, modularity improved 2026-03-13 12:56:07 +01:00
static openapi, modularity improved 2026-03-13 12:56:07 +01:00
templates openapi, modularity improved 2026-03-13 12:56:07 +01:00
.gitignore Docs + Readme + MIT License 2026-03-11 15:45:38 +01:00
cache.py Cache & Scheduler 2026-03-11 15:26:07 +01:00
config.py config fix 2026-03-13 12:23:22 +01:00
export_state.py Added App States 2026-03-13 12:06:22 +01:00
history.py Collectors integrated 2026-03-11 13:52:50 +01:00
README.md openapi, modularity improved 2026-03-13 12:56:07 +01:00
scheduler.py Added App States 2026-03-13 12:06:22 +01:00
server.py Added App States 2026-03-13 12:06:22 +01:00
start.sh first commit 2026-03-10 17:02:12 +01:00
state.py openapi, modularity improved 2026-03-13 12:56:07 +01:00
sync_state.py Added App States 2026-03-13 12:06:22 +01:00

NetDash

NetDash is a lightweight mobile network monitoring dashboard designed to run on a rooted Android device using Termux.

It exposes a local web dashboard accessible from devices on the same LAN, providing real-time and historical monitoring of cellular network metrics, device status, and command plugins.

The project is designed to be simple, efficient, and low resource, making it suitable for continuous execution on mobile hardware.


Features

  • 📡 Cellular Signal Monitoring

    • RSRP / RSRQ / SINR / RSSI
  • 📶 Cell Information

    • PCI / EARFCN / LTE Band / eNodeB / TAC
  • 📊 Realtime Charts

    • Signal graph (dual-axis)
    • Traffic RX/TX graph
    • 5 minute live preview
  • 📜 Historical Data

    • Up to 12 hours of time-series history
    • Interactive modal charts
  • 🔁 Cell Change Detection

    • CELL_CHANGE / PCI_CHANGE / EARFCN_CHANGE
  • 🔋 Device Monitoring

    • Battery level & charging state
    • CPU usage & temperature
    • RAM usage
  • 📡 Hotspot Monitoring

    • Connected devices (IP / MAC)
  • Commands / Plugin System

    • Dynamic dashboard panels for commands
    • Each plugin supports get_html() and set_state()
    • Optional get_state() for state export
    • Supports assets (images, scripts) inside plugin folders
  • 🌐 State Synchronization

    • Local state.json for commands & selected collectors
    • sync_state.py to synchronize with remote JSON
    • export_state.py to POST state to remote server with authentication

Architecture

ARCHITECTURE.md
NetDash follows a lightweight monitoring architecture optimized for mobile hardware:

Android system commands
        ↓
Python collectors (signal, cell, battery, hardware, hotspot, etc.)
        ↓
Scheduler / RAM cache / CSV history
        ↓
Flask API
        ↓
Web dashboard (Chart.js + Vanilla JS)
        ↓
Commands / Plugin panels (dynamic state)

Key design goals:

  • minimal CPU usage
  • minimal dependencies
  • modular collectors
  • simple frontend

Technology Stack

Backend

  • Python
  • Flask

Frontend

  • HTML
  • CSS
  • Vanilla JavaScript
  • Chart.js

Runtime environment

  • Android (LineageOS)
  • Termux
  • root access

Installation (Termux)

Clone the repository:

git clone https://github.com/youruser/netdash.git
cd netdash

Install dependencies:

pip install flask

Run the server:

python server.py

The dashboard will be available at:

http://DEVICE_IP:8080

Project Structure

NetDash
├── cache.py
├── collectors
│   ├── battery.py
│   ├── cell_events.py
│   ├── cell.py
│   ├── hardware.py
│   ├── hotspot.py
│   ├── network.py
│   ├── signal.py
│   └── traffic.py
├── commands
│   ├── loader.py
│   └── test_button
│       └── main.py
├── config.py
├── docs
│   ├── ARCHITECTURE.md
│   └── BOOTSTRAP.md
├── export_state.py
├── history.py
├── logs
├── README.md
├── scheduler.py
├── server.py
├── start.sh
├── state
├── state.py
├── static
│   ├── chartjs/
│   ├── dashboard.js
│   └── style.css
├── sync_state.py
└── templates
    └── dashboard.html

Roadmap

Planned future features:

  • Better logs
  • RF debugging tools
  • event markers on signal graphs
  • service mode (Termux background service)

License

MIT License

Copyright (c) 2026

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.