From 48a4be887c494413950446aa1928d40d3efdb2c5 Mon Sep 17 00:00:00 2001 From: Pablo Revilla Date: Mon, 15 Sep 2025 09:59:19 -0700 Subject: [PATCH] New charts added to stats as we have access not to nodes via API --- meshview/templates/map.html | 2 +- sample.config.ini | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/meshview/templates/map.html b/meshview/templates/map.html index e476d81..a8f67b6 100644 --- a/meshview/templates/map.html +++ b/meshview/templates/map.html @@ -328,7 +328,7 @@ .catch(err => console.error(err)); } - // ---- Polling Control ---- + // ---- Polling Control code ---- let packetInterval = null; const mapInterval = {{ site_config["site"]["map_interval"] | default(3) }}; // seconds diff --git a/sample.config.ini b/sample.config.ini index 44f0551..20a7631 100644 --- a/sample.config.ini +++ b/sample.config.ini @@ -28,6 +28,9 @@ title = Bay Area Mesh # A brief message shown on the homepage. message = Real time data from around the bay area and beyond. +# Starting URL when loading the index page. +starting = /chat + # Enable or disable site features (as strings: "True" or "False"). nodes = True conversations = True @@ -48,6 +51,10 @@ map_bottom_right_lon = -121 weekly_net_message = Weekly Mesh check-in. We will keep it open on every Wednesday from 5:00pm for checkins. The message format should be (LONG NAME) - (CITY YOU ARE IN) #BayMeshNet. net_tag = #BayMeshNet +# Updates intervals in seconds, zero or negative number means no updates +# defaults will be 3 seconds +map_interval=3 +firehose_interal=3 # ------------------------- # MQTT Broker Configuration