MeshDD-Bot/config.yaml
ppfeiffer 644d2d00ba feat(config): Online-Schwellwert konfigurierbar (web.online_threshold)
- config.yaml: neuer Parameter web.online_threshold (Default: 900 s)
- /api/stats und WS stats_update liefern online_threshold
- dashboard.js: isOnline() nutzt onlineThreshold aus Stats-API
- bot.py (?mesh) und database.py (nodes_online) nutzen Config-Wert
Closes #12.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-20 15:17:05 +01:00

27 lines
359 B
YAML

version: "0.08.15"
bot:
name: "MeshDD-Bot"
command_prefix: "?"
meshtastic:
host: "192.168.11.4"
port: 4403
web:
host: "0.0.0.0"
port: 8081
online_threshold: 900
database:
path: "meshdd.db"
auth:
session_max_age: 86400
links:
- url: "https://meshtastic.org"
label: "Meshtastic"
- url: "https://meshmap.net"
label: "MeshMap"