20 lines
377 B
Plaintext
20 lines
377 B
Plaintext
|
|
# ha-diag-agent environment variables
|
||
|
|
# Copy to /opt/homelab/config/ha-diag-agent/.env on the target node
|
||
|
|
|
||
|
|
# Home Assistant connection (required)
|
||
|
|
HA_URL=http://homeassistant.local:8123
|
||
|
|
HA_TOKEN=your-long-lived-token-here
|
||
|
|
|
||
|
|
# Node identity
|
||
|
|
NODE_NAME=piha
|
||
|
|
LOCATION_TAG=ken
|
||
|
|
|
||
|
|
# Timing
|
||
|
|
CHECK_INTERVAL=60
|
||
|
|
|
||
|
|
# API server
|
||
|
|
PORT=8087
|
||
|
|
|
||
|
|
# Logging: debug, info, warning, error
|
||
|
|
LOG_LEVEL=info
|