Files
lighting-controller/.env
Pi User e78a8727b2 Add .env support for transport and sound device configuration
- Add python-dotenv support to control_server.py and sound.py
- Load TRANSPORT from environment variable (default: spi)
- Load AUDIO_INPUT_DEVICE from environment variable (default: 7)
- Load all port configurations from environment variables
- Update .env.example with comprehensive configuration options
- Create .env file with sensible defaults for Pi
- Transport, sound device, and network settings now configurable via .env
2025-10-03 20:19:55 +13:00

10 lines
233 B
Bash

# Lighting Controller Configuration
CONTROL_SERVER_URI=ws://localhost:8765
CONTROL_SERVER_PORT=8765
TRANSPORT=spi
AUDIO_INPUT_DEVICE=7
MIDI_TCP_HOST=127.0.0.1
MIDI_TCP_PORT=65432
SOUND_CONTROL_HOST=127.0.0.1
SOUND_CONTROL_PORT=65433