mirror of
https://github.com/MarekWo/mc-webui.git
synced 2026-03-28 17:42:45 +01:00
docs: Add MC_DEVICE_NAME=auto as recommended setting
Updated README.md and .env.example to recommend auto-detection of device name from meshcli prompt instead of manual configuration. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -69,9 +69,11 @@ For detailed feature documentation, see the [User Guide](docs/user-guide.md).
|
||||
|
||||
**Required changes in .env:**
|
||||
- `MC_SERIAL_PORT=/dev/serial/by-id/<your-device-id>`
|
||||
- `MC_DEVICE_NAME=<your-device-name>`
|
||||
- `MC_DEVICE_NAME=auto` (recommended) or your device name
|
||||
- `TZ=Europe/Warsaw` (optional, set your timezone)
|
||||
|
||||
**Note:** With `MC_DEVICE_NAME=auto`, the system automatically detects your device name from meshcli. This is the recommended setting as it ensures the `.msgs` file always matches your actual device name.
|
||||
|
||||
**Leave these as default:**
|
||||
```bash
|
||||
MC_CONFIG_DIR=./data/meshcore
|
||||
|
||||
Reference in New Issue
Block a user