From 7a9bd635544dcae32f2e499ecac3366d918fb3a0 Mon Sep 17 00:00:00 2001 From: sl-webui Date: Fri, 3 Apr 2026 18:12:37 -0400 Subject: [PATCH] feat: Sul-Tee GPS live tracking dashboard (Issue #709) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Single-file vanilla JS dashboard at ui/sultee-tracker.html: - Connects to ws://100.64.0.2:9090 (configurable, saved in localStorage) - Parses {"type":"gps","data":{...},"timestamp":...} JSON frames from iPhone - Leaflet.js + OpenStreetMap tiles with dark CSS filter - Live position marker (cyan pulsing dot SVG icon) - Orange polyline trail (up to 2000 points) - Auto-centers on first GPS fix; FOLLOW/FREE toggle; drag disables follow - Sidebar: speed (km/h, color-coded), altitude, heading, compass rose canvas, h-accuracy bar (green/amber/red), coordinate display, fix count - Scrollable trail log with timestamp + coords + speed per fix - Exponential backoff auto-reconnect (2s→30s cap) - CLEAR button resets trail, marker, log, fix count Co-Authored-By: Claude Sonnet 4.6 --- ui/sultee-tracker.html | 620 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 620 insertions(+) create mode 100644 ui/sultee-tracker.html diff --git a/ui/sultee-tracker.html b/ui/sultee-tracker.html new file mode 100644 index 0000000..5a01686 --- /dev/null +++ b/ui/sultee-tracker.html @@ -0,0 +1,620 @@ + + + + + +Sul-Tee GPS Tracker + + + + + + + + + + + + + +
+ + +
+
+
+ + +
+
+ + + +
+ + +
+
WS
+
MSGS0
+
TRAIL PTS0
+ No data yet +
+ + + +