mirror of
https://github.com/pe1hvh/meshcore-gui.git
synced 2026-03-28 17:42:38 +01:00
63 lines
2.4 KiB
YAML
63 lines
2.4 KiB
YAML
# ─────────────────────────────────────────────────────────
|
|
# MeshCore Observer — Configuration Template
|
|
# ─────────────────────────────────────────────────────────
|
|
#
|
|
# Kopieer naar observer_config.yaml:
|
|
# cp observer_config.template.yaml observer_config.yaml
|
|
#
|
|
# Keys worden AUTOMATISCH opgehaald als meshcore_gui draait
|
|
# op dezelfde machine. Handmatige configuratie is alleen
|
|
# nodig als meshcore_gui op een andere machine draait.
|
|
#
|
|
# observer_config.yaml staat in .gitignore — nooit committen.
|
|
# ─────────────────────────────────────────────────────────
|
|
|
|
observer:
|
|
archive_dir: "~/.meshcore-gui/archive"
|
|
poll_interval_s: 2.0
|
|
max_messages_display: 100
|
|
max_rxlog_display: 50
|
|
|
|
gui:
|
|
port: 9093
|
|
title: "MeshCore Observer"
|
|
|
|
mqtt:
|
|
enabled: true
|
|
iata: "AMS"
|
|
|
|
# ── Device identity ─────────────────────────────────────
|
|
#
|
|
# AUTOMATISCH: meshcore_gui schrijft device_identity.json
|
|
# naar ~/.meshcore-gui/. Observer leest dit automatisch.
|
|
# Geen handmatige configuratie nodig!
|
|
#
|
|
# HANDMATIG (alleen als auto-detect niet beschikbaar is):
|
|
# public_key: ""
|
|
# private_key_file: "~/.meshcore-observer-key"
|
|
#
|
|
# Of verwijs naar een custom identity file:
|
|
# device_identity_file: "~/.meshcore-gui/device_identity.json"
|
|
|
|
device_name: "" # Leeg = automatisch van device identity
|
|
|
|
# ── Broker endpoints ────────────────────────────────────
|
|
brokers:
|
|
- name: "letsmesh-eu"
|
|
server: "mqtt-eu-v1.letsmesh.net"
|
|
port: 443
|
|
transport: "websockets"
|
|
tls: true
|
|
enabled: true
|
|
|
|
# ── Privacy filter (leeg = alles uploaden) ──────────────
|
|
# Types: 0=REQ 2=TXT_MSG 4=ADVERT 5=GRP_TXT 8=PATH
|
|
upload_packet_types: []
|
|
|
|
# ── Tuning ──────────────────────────────────────────────
|
|
status_interval_s: 300
|
|
reconnect_delay_s: 10
|
|
max_reconnect_retries: 0
|
|
token_lifetime_s: 3600
|
|
dry_run: false
|