From c9d6b742bb792e9cadf495d3f019ba8ae4d36edf Mon Sep 17 00:00:00 2001 From: c1328 <112856305+c1328@users.noreply.github.com> Date: Thu, 29 Jan 2026 22:51:56 +0100 Subject: [PATCH] Update example configuration in README.md update due to refactoring of JS --- README.md | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 98ae553..dda058f 100644 --- a/README.md +++ b/README.md @@ -270,15 +270,17 @@ CTRL-A-D Beispiel: ```text -// Configuration of IP adress of meshtastic node that is connected via TCP -var deviceIp = ''; -// Configuration of MQTT instance that is used (in my case 3rd instance) -var mqttPath = 'mqtt.3.msh.*.json.*'; -// Configuration of channel names -var chats = [ - { name: 'Default', id: 0 }, - { name: '', id: 1 }, - { name: '', id: 2 } +// IP of your Meshtastic node +const deviceIp = "192.168.1.xxx"; + +// MQTT path variable (note the 3 because I use the 3rd instance of mqtt at IoBroker) +const mqttPath = /^mqtt\.3\.msh\..*\.json\..*$/; + +// configure the channels of your node +const chats = [ + { name: "Default", id: 0 }, + { name: "Puig", id: 1 }, + { name: "Baleares", id: 2 } ]; ```