- new per-host service, follows node-agent pattern - 7 new HA event types defined (routing in supervisor — Phase 5) - HeartbeatCheck as pipeline validator (pings /api/, emits ha_websocket_dead) - service.yaml + host configs for piha (ken) and chelsty-infra (chelsty) - test scaffolding with aiohttp/aiosqlite mocks (15/15 passing) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
|