Skip to content

martonz/speedtest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry Pi WiFi Dashboard

A single-file Flask application that provides a WiFi network dashboard and browser-based speed test for Raspberry Pi.

Features

  • WiFi network scanner showing SSID, signal strength, channel, and frequency
  • System metrics (temperature, RAM usage)
  • In-browser download/upload speed test
  • Auto-refreshing dashboard (15s interval)
  • Optimized for low-resource devices (Pi Zero W)

Requirements

  • Python 3.9+
  • Raspberry Pi (or Linux with iw, iwgetid, free)
  • sudo privileges for WiFi scanning

Installation

uv sync

Usage

python speedtest.py

Open http://localhost:5000 in your browser.

Endpoints

Route Description
/ WiFi dashboard with system stats
/speedtest Speed test UI
/speedtest/size Returns random test size (JSON)
/speedtest/download/<size_mb> Download test endpoint
/speedtest/upload Upload test endpoint (POST)

Configuration

Edit speedtest.py to change:

  • IFACE - Wireless interface (default: wlan0)
  • CACHE_DURATION - Scan cache TTL in seconds (default: 10)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages