This project provides a lightweight web dashboard for real-time monitoring of metrics from the WAS-110 SFP stick. It’s designed to be deployed easily using Docker and runs on a local network with minimal configuration.
was-110-monitoring
├── app.py # Python Flask backend application
├── Dockerfile # Docker image build instructions
├── requirements.txt # Python dependencies
├── static/ # Static web files
│ └── index.html # Frontend HTML/JavaScript dashboard
├── .env # Environment variables (sensitive data)
└── compose.yaml # Docker Compose configuration file
Run Using Prebuilt (Docker Image)
Pull and run the latest image from Docker Hub:
services:
was-110-monitor:
container_name: sfp_monitor
restart: unless-stopped
ports:
- "5050:5050"
environment:
- SFP_ROOT_PASSWORD=YOUR_PASSWORD
- FETCH_INTERVAL_SECONDS=30
volumes:
- sfp_data_volume:/data
image: mhamadeh/was-110-monitor:latest
volumes:
sfp_data_volume:
or
docker run -d \
--name sfp_monitor \
-e SFP_ROOT_PASSWORD=YOUR_PASSWORD \
-e FETCH_INTERVAL_SECONDS=30 \
-p 5050:5050 \
-v sfp_data_volume:/data \
mhamadeh/was-110-monitor:latest
Build From Source (GitHub)
Clone the Repository
git clone https://github.com/yourusername/was-110-monitoring.git
cd was-110-monitoring`
Build the Docker Image
docker build -t was-110-monitor:local .
Run the Container
docker run -d \
--name sfp_monitor \
-e SFP_ROOT_PASSWORD=YOUR_PASSWORD \
-e FETCH_INTERVAL_SECONDS=30 \
-p 5050:5050 \
-v sfp_data_volume:/data \
was-110-monitor:local
Once running, open your browser and visit:
http://localhost:5050
The container stores 24 hours rolling historical data in, history retained across restarts.
/data/sfp_history.json