-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example
More file actions
127 lines (110 loc) · 4.61 KB
/
config.example
File metadata and controls
127 lines (110 loc) · 4.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# NodeBot Configuration
# Copy this file to config.ini and edit before starting NodeBot.
#
# cp config.example config.ini
[rns]
# Reticulum config directory. Leave blank to use the default (~/.reticulum).
# Only set this if you run Reticulum from a non-standard location.
# config_dir =
[bot]
# Display name announced on the mesh network.
name = NodeBot
# Storage path for the LXMF identity file and message queue.
# ~ expands to the home directory of the user running NodeBot.
storage_path = ~/.nodebot/lxmf_storage
[admin]
# One or more LXMF addresses (comma or space separated) that are permanently
# trusted as administrators without needing a password.
# Leave blank to use password-only admin login.
addresses =
# Admin password in plain text — hashed on first load.
# CHANGE THIS before deploying.
password = changeme
[gps]
# Location sharing — set by the NodeBot installer.
# gps_mode: disabled | manual | gpsd | serial | future
# gps_mode = disabled
# gps_lat =
# gps_lon =
# gps_alt = 0
# gps_device =
# gps_precision = 4
[meshcore]
# Serial port for the MeshCore radio. The installer creates a stable udev
# symlink at /dev/meshcore0 so this path survives USB reconnects.
# IMPORTANT: this must point to a different device than [meshtastic] port.
# port = /dev/meshcore0
# baudrate = 115200
# Comma-separated list of channels to configure on the device at startup.
# Slots are assigned in order starting at index 1 (index 0 is always "Public").
# A slot is only written if it is currently empty — existing names are never
# overwritten. Channel names beginning with '#' use a key derived from the
# name (standard MeshCore convention); all other names use the same derivation.
# channels = #test
[meshtastic]
# Serial port for the Meshtastic radio. The installer creates a stable udev
# symlink at /dev/meshtastic0 so this path survives USB reconnects.
# IMPORTANT: this must point to a different device than [meshcore] port.
# port = /dev/meshtastic0
# baudrate = 115200
# LoRa radio settings — written by the Meshtastic installer.
# region must match your country (e.g. US, EU_868, AU_915). Leave blank to
# skip programming (use whatever is already on the device).
# region =
#
# modem_preset controls the speed/range tradeoff. Valid values:
# SHORT_TURBO — fastest, not legal everywhere (500 kHz BW)
# SHORT_FAST
# SHORT_SLOW
# MEDIUM_FAST
# MEDIUM_SLOW
# LONG_FAST — default, good balance of speed and range
# LONG_MODERATE
# LONG_SLOW
# VERY_LONG_SLOW — slowest / maximum range
# modem_preset = LONG_FAST
#
# hop_limit = 7
# tx_power = 0
[telemetry]
# Environmental data broadcast via protocols that support it (e.g. Meshtastic).
# mode: disabled | static | script
# mode = disabled
# How often to broadcast telemetry (minutes).
# interval_minutes = 10
# static: fixed values sent every interval.
# static_temp = # °C
# static_humidity = # %
# static_pressure = # hPa
# script: path to a script that prints JSON to stdout.
# Output: {"temperature": 22.5, "humidity": 65.0, "pressure": 1013.25}
# script =
[logging]
# Optional log files. Leave blank or omit to disable.
# channel_log logs all public channel/broadcast messages from any transport.
# dm_log logs all direct messages sent to this node from any transport.
# announce_db stores node announces in a SQLite database (recommended).
# Keeps the last 50 unique nodes, with up to 3 announce history per node.
# Includes GPS, RF stats, and modem preset. Read by the NomadNet activity page.
# ~ expands to the home directory of the user running NodeBot.
channel_log = ~/.nodebot/logs/channel.log
dm_log = ~/.nodebot/logs/dm.log
announce_db = ~/.nodebot/logs/announces.db
# announce_log (legacy plain-text fallback — used only if announce_db is not set)
# announce_log = ~/.nodebot/logs/announce.log
# When true (default), LXMF announces are not logged. NodeBot connects to the
# RNS shared instance (NomadNet/rnsd) as a client, so all announces arrive via
# the same local socket regardless of whether they originated on LoRa or a TCP
# uplink — the two cannot be distinguished. Leaving this true suppresses all
# LXMF announces and prevents TCP-mesh spam in the log.
# Set to false to log all LXMF announces (LoRa and TCP alike).
# Meshtastic and MeshCore are always local serial connections, unaffected.
# announce_log_local_only = true
# Maximum size in MB per log file before oldest lines are trimmed (0 = no cap).
# max_log_mb = 10
[plugins]
# Maximum seconds a plugin function may run before it is killed.
# Increase for plugins that do file or network I/O.
timeout_sec = 5
# Minimum seconds between scans of the plugins/ directory for hot-reload.
scan_interval = 5