Adds a self-contained omni-pca/grafana/ bundle (InfluxDB v2 + Grafana with pre-provisioned datasource and dashboard) plus dev-stack wiring so iterating against the mock or real panel is one docker-compose-up. The dashboard has four rows plus an insights row: System health AC, battery, trouble, 24h event count Security area arming state, recent events table, zone trips Climate thermostat temperatures, HVAC mode Activity event rate by type, top toggled units Insights active zone bypasses, button press log, event distribution Color-coded event_type tags persist across panels (alarms red, restores green, batteries orange, etc.); explicit no-purple palette per CLAUDE.md. The bundle is portable: any HA install can use it by running grafana/ docker compose up -d and pasting ha-snippet.yaml into configuration.yaml. For the dev stack, dev/docker-compose.yml mounts the same provisioning files so dev and prod stay in lockstep. Verified end-to-end against the real Our House.pca panel (192.168.1.9): the dashboard fills with live zone trips, X-10 unit toggles, and push-event traffic within 30s of HA bootup.
20 lines
697 B
Plaintext
20 lines
697 B
Plaintext
# Copy to .env and fill in. Both files in this directory load .env
|
|
# automatically via docker compose; ./env.example is committed, .env
|
|
# is gitignored.
|
|
|
|
# InfluxDB v2 admin user (created on first boot).
|
|
INFLUX_USERNAME=admin
|
|
INFLUX_PASSWORD=change-me-strong-password-here
|
|
|
|
# Admin token used by Home Assistant (writes) and Grafana (reads).
|
|
# Generate one with: openssl rand -hex 32
|
|
INFLUX_TOKEN=replace-with-a-real-token-from-openssl-rand-hex-32
|
|
|
|
# Grafana admin password (UI login as "admin"/this value).
|
|
GRAFANA_PASSWORD=change-me-too
|
|
|
|
# Public hostnames if you're putting either service behind a reverse
|
|
# proxy. Leave blank for localhost-only access.
|
|
INFLUX_PUBLIC_HOST=
|
|
GRAFANA_PUBLIC_HOST=
|