Update configuration variables in README.md

This commit is contained in:
c1328
2026-01-30 22:46:24 +01:00
committed by GitHub
parent c00d5ba317
commit c2f857802e
+13 -5
View File
@@ -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: "<private Channel>", id: 1 },