Files
meshcore-exporter/stack/.env.example
T
tthandClaude Opus 5.5 e2d3c72ba2 1.1.0: default interval 8 h, minimum 1 h
A repeater's battery, temperature and noise do not change by the hour, and
every reading is airtime on a channel everyone shares. The dashboard window
follows: 24 h by default (2-3x the interval), staleness thresholds too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 11:41:54 +01:00

36 lines
1.4 KiB
Bash

# Copy to .env (git ignores it) and fill in the REPLACE_ME lines.
# --- the companion: EITHER a radio on USB (A) OR an openHop companion (B) ----
# (A) USB
MC_SERIAL=/dev/meshcore
# `ls -l /dev/serial/by-id/` -- the long name stays the same after a replug,
# /dev/ttyACM0 does not.
MC_SERIAL_HOST=/dev/serial/by-id/REPLACE_ME
# group of that port on this computer: `stat -c %g /dev/ttyACM0`
MC_SERIAL_GID=20
# (B) openHop on this machine (README "Bez vyhrazené desky"): delete the three
# MC_SERIAL* lines above and uncomment these two
# MC_TCP=127.0.0.1:5002
# COMPOSE_FILE=docker-compose.yml:docker-compose.host.yml
# amd64 = PC; arm64 = Raspberry Pi 4/5 with a 64-bit system
MC_ARCH=amd64
# latest, or a release (e.g. 1.0.0) to stay on it
MC_VERSION=latest
# --- the repeaters ------------------------------------------------------------
# Name exactly as the repeater advertises it; several: comma separated.
MC_REPEATERS=REPLACE_ME
# Admin or guest password of the repeater(s). Guest: all but external sensors.
MC_PASSWORD=REPLACE_ME
# Seconds between readings (min 3600). Each reading takes ~1 s of a channel
# everyone shares. A battery does not change in minutes: 8 hours is plenty;
# https://meshcore.repeater.cz/nastaveni/telemetrie/
MC_INTERVAL=28800
# Czech mesh: 2 (width of route hashes in packets this radio sends)
MC_PATH_HASH_BYTES=2
# --- Grafana ------------------------------------------------------------------
GRAFANA_PASSWORD=REPLACE_ME
GRAFANA_PORT=3000