From 34192fa8848b0f0184041245a0c6a90958894c9a Mon Sep 17 00:00:00 2001 From: "Valentin V. Bartenev" Date: Sat, 9 May 2026 17:35:50 +0300 Subject: [PATCH] Web: rework Info panel to show Hardware instead of Client Version Replace the two Info panel fields so they surface more useful device identity information on login: - First field: renamed from "Version" (id: versionValue, cmd: ver) to "Hardware" (id: hardware, cmd: board), showing the board identifier rather than the firmware version string. - Second field: renamed from "Client Version" (id: clientVersionValue, cmd: get mqtt.client_version) to "Firmware" (id: firmware, cmd: ver), showing the firmware version string. "Client Version" was a static MQTT protocol identifier string used internally in MQTT status payloads published to brokers. It tracks the firmware build but carries no additinal information for a user. It remains accessible via the Quick "get" Commands panel (get mqtt.client_version). --- src/helpers/web/WebPanelServer.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/helpers/web/WebPanelServer.cpp b/src/helpers/web/WebPanelServer.cpp index d94bb2c5..807f8b01 100644 --- a/src/helpers/web/WebPanelServer.cpp +++ b/src/helpers/web/WebPanelServer.cpp @@ -609,15 +609,15 @@ const char kWebPanelAppHtml[] PROGMEM = R"HTML(
- +
- +
- +
- +
@@ -2516,8 +2516,8 @@ const char kWebPanelAppHtml[] PROGMEM = R"HTML( const quiet = { recordHistory:false, updateInput:false }; try { await loadSection("Loading info...", [ - () => loadField("ver", "versionValue", null, quiet), - () => loadField("get mqtt.client_version", "clientVersionValue", null, quiet), + () => loadField("board", "hardware", null, quiet), + () => loadField("ver", "firmware", null, quiet), () => loadField("clock", "clockUtc", null, quiet), () => loadField("get public.key", "publicKey", "uppercase", quiet) ]);