56 lines
1.7 KiB
Plaintext
56 lines
1.7 KiB
Plaintext
# ──────────────────────────────────────────────
|
|
# Ti-Pote Robot Client — Configuration
|
|
# ──────────────────────────────────────────────
|
|
|
|
# Mode: 'physical' (Raspberry Pi prod) | 'dev' (Pi + USB audio test) | 'simulator' (PC dev)
|
|
ROBOT_MODE=physical
|
|
|
|
# Trigger mode: 'wakeword' (OpenWakeWord) | 'keyboard' (press Enter = wake word)
|
|
TRIGGER_MODE=wakeword
|
|
|
|
# Device identification (set during first setup or manually)
|
|
DEVICE_ID=
|
|
DEVICE_TOKEN=
|
|
|
|
# Cloud backend URL
|
|
CLOUD_URL=ws://localhost:3000
|
|
|
|
# Robot name
|
|
ROBOT_NAME=Ti-Pote
|
|
|
|
# Log level: fatal, error, warn, info, debug, trace
|
|
LOG_LEVEL=info
|
|
|
|
# ── Audio (ALSA) ──
|
|
|
|
# ALSA device for microphone capture
|
|
# Examples: 'default', 'plughw:1,0', 'hw:1,0'
|
|
# Use 'arecord -l' to list available devices
|
|
AUDIO_CAPTURE_DEVICE=default
|
|
|
|
# ALSA device for speaker playback
|
|
# Examples: 'default', 'plughw:0,0', 'hw:0,0'
|
|
# Use 'aplay -l' to list available devices
|
|
AUDIO_PLAYBACK_DEVICE=default
|
|
|
|
# Audio sample rate in Hz (must match backend: 16000)
|
|
AUDIO_SAMPLE_RATE=16000
|
|
|
|
# Audio chunk duration in ms (how often chunks are sent to cloud)
|
|
AUDIO_CHUNK_MS=100
|
|
|
|
# ── Wake Word ──
|
|
|
|
# Path to the Python binary (use venv python if openwakeword is in a virtualenv)
|
|
# Examples: 'python3', '/home/pi/.tipote-venv/bin/python3'
|
|
WAKEWORD_PYTHON_PATH=python3
|
|
|
|
# Path to the OpenWakeWord Python script
|
|
WAKEWORD_SCRIPT_PATH=./scripts/wake_word.py
|
|
|
|
# Wake word model name (use 'hey_jarvis' as placeholder until custom model is trained)
|
|
WAKEWORD_MODEL=hey_jarvis
|
|
|
|
# Wake word detection threshold (0.0 to 1.0, higher = less false positives)
|
|
WAKEWORD_THRESHOLD=0.5
|