From 5fe275b3f8d577bb9901085d0051e4fe34aa5944 Mon Sep 17 00:00:00 2001 From: you Date: Fri, 20 Mar 2026 15:28:54 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20use=20region-specific=20MQTT=20topics=20?= =?UTF-8?q?instead=20of=20wildcards=20=E2=80=94=20saves=20bandwidth?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.example.json | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/config.example.json b/config.example.json index cbd82f9c..a0a766bf 100644 --- a/config.example.json +++ b/config.example.json @@ -8,7 +8,10 @@ { "name": "local", "broker": "mqtt://localhost:1883", - "topics": ["meshcore/+/+/packets", "meshcore/#"] + "topics": [ + "meshcore/+/+/packets", + "meshcore/#" + ] }, { "name": "lincomatic", @@ -16,8 +19,16 @@ "username": "your-username", "password": "your-password", "rejectUnauthorized": false, - "topics": ["meshcore/+/+/packets", "meshcore/+/+/status"], - "iataFilter": ["SJC", "SFO", "OAK"] + "topics": [ + "meshcore/SJC/#", + "meshcore/SFO/#", + "meshcore/OAK/#" + ], + "iataFilter": [ + "SJC", + "SFO", + "OAK" + ] } ], "channelKeys": {