From c2f857802eb7a49549dc2a06f04bc4c6732f8688 Mon Sep 17 00:00:00 2001 From: c1328 <112856305+c1328@users.noreply.github.com> Date: Fri, 30 Jan 2026 22:46:24 +0100 Subject: [PATCH] Update configuration variables in README.md --- README.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b03a94e..2a18e81 100644 --- a/README.md +++ b/README.md @@ -270,13 +270,21 @@ CTRL-A-D Beispiel: ```text -// IP of your Meshtastic node -const deviceIp = "192.168.1.xxx"; +// ====================================================== +// CONFIG +// ====================================================== +const deviceIp = "192.168.1.xxx"; +const mqttPath = "mqtt.3.msh.*.json.*"; -// MQTT path variable (note the 3 because I use the 3rd instance of mqtt at IoBroker) -const mqttPath = /^mqtt\.3\.msh\..*\.json\..*$/; +const MESHTASTIC_BIN = "/home/iobroker/.local/bin/meshtastic"; + +const BASE = "0_userdata.0.Meshtastic"; +const NODES = BASE + ".Nodes"; +const CHATS = BASE + ".Chats"; + +const POLL_INTERVAL = 300000; +const HISTORY_MAX = 10; -// configure the channels of your node const chats = [ { name: "Default", id: 0 }, { name: "", id: 1 },