From 6d34e543fed0f3c63f5cafcebd979cdad0b488cf Mon Sep 17 00:00:00 2001 From: serversdwn Date: Wed, 7 Jan 2026 03:43:58 +0000 Subject: [PATCH] Update Terra-view SLM live view to use correct DRD field names MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the live view UI to reflect the correct NL43 DRD field mapping: - Added Lpeak (peak level) metric display with orange color scheme - Updated labels: "Lp (Instant)", "Leq (Average)", "Lmax (Max)", "Lmin (Min)" - Fixed chart datasets to track Lp and Leq measurements - Added start/stop stream button toggle functionality - Updated JavaScript to handle all 5 measurement fields correctly - Fixed Jinja2 template syntax error in lmin field rendering Changes align with SLMM backend DRD parsing corrections to ensure end-to-end consistency with NL43 Communications Guide specification. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- templates/partials/slm_live_view.html | 208 ++++++++++++++++++++++++-- 1 file changed, 193 insertions(+), 15 deletions(-) diff --git a/templates/partials/slm_live_view.html b/templates/partials/slm_live_view.html index 231b835..d10264d 100644 --- a/templates/partials/slm_live_view.html +++ b/templates/partials/slm_live_view.html @@ -74,19 +74,28 @@ Reset - + + -
+
-

Lp (Current)

+

Lp (Instant)

{% if current_status and current_status.lp %}{{ current_status.lp }}{% else %}--{% endif %}

@@ -102,7 +111,7 @@
-

Lmax (Peak)

+

Lmax (Max)

{% if current_status and current_status.lmax %}{{ current_status.lmax }}{% else %}--{% endif %}

@@ -110,16 +119,24 @@
-

Lmin

+

Lmin (Min)

{% if current_status and current_status.lmin %}{{ current_status.lmin }}{% else %}--{% endif %}

dB

+ +
+

Lpeak (Peak)

+

+ {% if current_status and current_status.lpeak %}{{ current_status.lpeak }}{% else %}--{% endif %} +

+

dB

+
-
+
@@ -156,20 +173,45 @@