mirror of
https://github.com/jorijn/meshcore-stats.git
synced 2026-03-28 17:42:55 +01:00
- Change Python path defaults to Docker paths (/data/state, /out) - Remove STATE_DIR/OUT_DIR from Dockerfile ENV (Python defaults now correct) - Remove REPEATER_FETCH_ACL feature (unsupported) - Fix nginx tmpfs permissions with uid=101,gid=101 - Remove Ofelia [global] save=true (caused config parse error) - Switch to bind mounts for ./out instead of named volume - Comment out devices section (not available on macOS Docker) - Add TCP and BLE transport options to meshcore.conf.example - Document correct macOS socat command for serial-over-TCP - Update README with macOS Docker workaround instructions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
124 lines
4.0 KiB
Plaintext
124 lines
4.0 KiB
Plaintext
# MeshCore Stats Configuration
|
|
# Copy this file to meshcore.conf and customize for your setup:
|
|
# cp meshcore.conf.example meshcore.conf
|
|
#
|
|
# Format: KEY=value (no 'export' keyword, no spaces around '=')
|
|
# This format is compatible with both Docker env_file and shell 'source' command.
|
|
# Comments start with # and blank lines are ignored.
|
|
|
|
# =============================================================================
|
|
# Connection Settings
|
|
# =============================================================================
|
|
|
|
MESH_TRANSPORT=serial
|
|
MESH_SERIAL_PORT=/dev/ttyUSB0
|
|
# MESH_SERIAL_BAUD=115200
|
|
# MESH_DEBUG=0
|
|
|
|
# TCP transport (for macOS Docker or remote serial servers)
|
|
# MESH_TRANSPORT=tcp
|
|
# MESH_TCP_HOST=host.docker.internal
|
|
# MESH_TCP_PORT=5000
|
|
|
|
# BLE transport (Bluetooth Low Energy)
|
|
# MESH_TRANSPORT=ble
|
|
# MESH_BLE_ADDR=AA:BB:CC:DD:EE:FF
|
|
# MESH_BLE_PIN=123456
|
|
|
|
# =============================================================================
|
|
# Remote Repeater Identity
|
|
# =============================================================================
|
|
# At least REPEATER_NAME or REPEATER_KEY_PREFIX is required to identify your repeater
|
|
|
|
REPEATER_NAME=Your Repeater Name
|
|
# REPEATER_KEY_PREFIX=a1b2c3
|
|
REPEATER_PASSWORD=your-password
|
|
|
|
# =============================================================================
|
|
# Display Names (shown in UI)
|
|
# =============================================================================
|
|
|
|
REPEATER_DISPLAY_NAME=My Repeater
|
|
COMPANION_DISPLAY_NAME=My Companion
|
|
|
|
# Public key prefixes (shown below node name in sidebar, e.g., "!a1b2c3d4")
|
|
# REPEATER_PUBKEY_PREFIX=!a1b2c3d4
|
|
# COMPANION_PUBKEY_PREFIX=!e5f6g7h8
|
|
|
|
# =============================================================================
|
|
# Location Metadata (for reports and sidebar display)
|
|
# =============================================================================
|
|
|
|
REPORT_LOCATION_NAME=City, Country
|
|
REPORT_LOCATION_SHORT=City, XX
|
|
REPORT_LAT=0.0
|
|
REPORT_LON=0.0
|
|
REPORT_ELEV=0
|
|
REPORT_ELEV_UNIT=m
|
|
|
|
# =============================================================================
|
|
# Hardware Info (shown in sidebar)
|
|
# =============================================================================
|
|
|
|
REPEATER_HARDWARE=Your Repeater Model
|
|
COMPANION_HARDWARE=Your Companion Model
|
|
|
|
# =============================================================================
|
|
# Radio Configuration Presets
|
|
# =============================================================================
|
|
# Uncomment ONE preset below that matches your MeshCore configuration,
|
|
# or set custom values. These are for display purposes only.
|
|
|
|
# MeshCore EU/UK Narrow (default)
|
|
RADIO_FREQUENCY=869.618 MHz
|
|
RADIO_BANDWIDTH=62.5 kHz
|
|
RADIO_SPREAD_FACTOR=SF8
|
|
RADIO_CODING_RATE=CR8
|
|
|
|
# MeshCore EU/UK Wide
|
|
# RADIO_FREQUENCY=869.525 MHz
|
|
# RADIO_BANDWIDTH=250 kHz
|
|
# RADIO_SPREAD_FACTOR=SF10
|
|
# RADIO_CODING_RATE=CR5
|
|
|
|
# MeshCore US Standard
|
|
# RADIO_FREQUENCY=906.875 MHz
|
|
# RADIO_BANDWIDTH=250 kHz
|
|
# RADIO_SPREAD_FACTOR=SF10
|
|
# RADIO_CODING_RATE=CR5
|
|
|
|
# MeshCore US Fast
|
|
# RADIO_FREQUENCY=906.875 MHz
|
|
# RADIO_BANDWIDTH=500 kHz
|
|
# RADIO_SPREAD_FACTOR=SF7
|
|
# RADIO_CODING_RATE=CR5
|
|
|
|
# MeshCore ANZ (Australia/New Zealand)
|
|
# RADIO_FREQUENCY=917.0 MHz
|
|
# RADIO_BANDWIDTH=250 kHz
|
|
# RADIO_SPREAD_FACTOR=SF10
|
|
# RADIO_CODING_RATE=CR5
|
|
|
|
# =============================================================================
|
|
# Intervals and Timeouts
|
|
# =============================================================================
|
|
|
|
# COMPANION_STEP=60
|
|
# REPEATER_STEP=900
|
|
# REMOTE_TIMEOUT_S=10
|
|
# REMOTE_RETRY_ATTEMPTS=2
|
|
# REMOTE_RETRY_BACKOFF_S=4
|
|
|
|
# Circuit breaker settings (prevents spamming LoRa when repeater is unreachable)
|
|
# REMOTE_CB_FAILS=6
|
|
# REMOTE_CB_COOLDOWN_S=3600
|
|
|
|
# =============================================================================
|
|
# Paths (Native installation only)
|
|
# =============================================================================
|
|
# Docker: Leave these commented. The container uses /data/state and /out by default.
|
|
# Native: Uncomment for local cron-based installation:
|
|
# STATE_DIR=./data/state
|
|
# OUT_DIR=./out
|
|
|