feat(phase-1): implement Foundation & Kiosk UI

- Add Flask backend with SocketIO for real-time updates
- Implement sensor service with mock data generation
- Create Dashboard UI with rainfall, voltage, status displays
- Create Settings UI with station, network, ADC, sensor configuration
- Create Calibration UI with live ADC readings and rainfall reset
- Touch-optimized interface with 64px touch targets for 7" display

Implements: DASH-01 through DASH-09, UI-01 through UI-03,
SETT-01 through SETT-08, CAL-01 through CAL-04, BACK-01 through BACK-03
This commit is contained in:
2026-03-12 06:15:23 +08:00
parent 5876e61cbf
commit f839a24c27
6 changed files with 1849 additions and 0 deletions

18
requirements.txt Normal file
View File

@@ -0,0 +1,18 @@
# TCKRTUIYO - Rainfall Station RTU Web Interface
# Phase 1: Foundation & Kiosk UI
# Web Framework
Flask==3.1.0
Flask-SocketIO==5.6.0
# Async support for Flask-SocketIO
eventlet==0.40.0
# System monitoring
psutil==6.1.0
# Serial communication (for sensor hardware)
pyserial==3.5
# Settings storage
python-dotenv==1.0.0