From 48786a18f9c943144c74f7175cefcd16100786d7 Mon Sep 17 00:00:00 2001 From: Louis King Date: Tue, 10 Feb 2026 15:56:45 +0000 Subject: [PATCH] Fix missing profile and tx_power in radio config JSON The radio_config_dict passed to the frontend was missing the profile and tx_power fields, causing the Network Info panel to omit them. Co-Authored-By: Claude Opus 4.6 --- src/meshcore_hub/web/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/meshcore_hub/web/app.py b/src/meshcore_hub/web/app.py index 630f93f..5d7cbbd 100644 --- a/src/meshcore_hub/web/app.py +++ b/src/meshcore_hub/web/app.py @@ -68,10 +68,12 @@ def _build_config_json(app: FastAPI, request: Request) -> str: radio_config_dict = None if radio_config: radio_config_dict = { + "profile": radio_config.profile, "frequency": radio_config.frequency, "bandwidth": radio_config.bandwidth, "spreading_factor": radio_config.spreading_factor, "coding_rate": radio_config.coding_rate, + "tx_power": radio_config.tx_power, } # Get feature flags