Ryan Malloy d7ee0a3e98 How-to: install-in-home-assistant — full setup + reauth + troubleshooting
src/content/docs/how-to/install-in-home-assistant.md (~900 w)
  Sidebar order 0 so it appears first in the How-to section. Covers:
  - Prereqs: HA 2026.1+, panel reachable, ControllerKey
  - Backup-first nudge before adding any custom component
  - HACS install path (custom repo until upstream publish)
  - Manual git+cp path that works on every HA install type
  - The 'untested custom integration' WARNING is expected
  - Add-via-UI walkthrough with screenshots of integration page +
    device page
  - Customise: entity rename, areas, dashboards, logbook
  - Common errors table (4 toast messages and their fixes)
  - 'Loads but no entities' deep-dive (3 ordered causes)
  - Reauth flow when ControllerKey rotates
  - Cross-links to the other how-tos and entity/service references
  - Known gaps: HACS not published yet, omni-pca not on PyPI yet,
    live panel validation pending

23 pages now (was 22). Sidebar autogenerates so it appears at the top
of How-to without further config.
2026-05-10 17:25:46 -06:00
2026-05-10 16:42:12 -06:00
2026-05-10 16:42:12 -06:00
2026-05-10 16:42:12 -06:00
2026-05-10 16:42:12 -06:00
2026-05-10 16:42:12 -06:00
2026-05-10 16:42:12 -06:00
2026-05-10 16:42:12 -06:00
2026-05-10 16:42:12 -06:00

hai-omni-docs

Documentation site for omni-pca — a reverse-engineered Python library and Home Assistant integration for HAI/Leviton Omni Pro II home automation panels. Built with Astro + Starlight, organised around the Diátaxis framework.

Live: https://hai-omni-pro-ii.l.warehack.ing

Local development

make install   # one-time
make dev       # http://localhost:4321 with hot reload

Production build (smoke test)

make ci        # runs `npm run build`, output in ./dist

Deploy via Caddy

The container ships its static dist/ from an inner Caddy on :80; the host's caddy-docker-proxy terminates TLS and routes the configured DOMAIN to it via the external caddy network.

cp .env.example .env   # adjust COMPOSE_PROJECT / DOMAIN as needed
make build
make up                # then tails logs

Layout

src/
  content/docs/
    index.mdx
    start/         # Overview + Quick start
    tutorials/     # Diátaxis: learning-oriented
    how-to/        # Diátaxis: task-oriented
    reference/     # Diátaxis: information-oriented (protocol, file format, API)
    explanation/   # Diátaxis: understanding-oriented (quirks, architecture, bugs)
    journey.md     # Chronological retrospective
    changelog.md
  styles/theme.css # Slate-blue + amber accent
  assets/logo.svg

Source project

Description
Documentation site for warehack.ing/omni-pca. Astro + Starlight, Diátaxis-organized.
Readme 3.2 MiB
Languages
MDX 93.4%
JavaScript 2.7%
CSS 1.5%
Dockerfile 1.3%
Makefile 0.8%
Other 0.3%