HA NOVA Onboarding
Scope
Use when HA NOVA requests fail due to onboarding, connectivity, or auth issues.
Diagnostics only. Do not use this skill for config writes or routine HA operations after readiness is restored.
Bootstrap
If the ha-nova command itself is missing, the CLI is not installed — install it first from the latest GitHub release (https://github.com/markusleben/ha-nova/releases/latest carries the copy-paste install command per OS), then run ha-nova setup. Never bootstrap from the repo's main branch: released skills must install the reviewed, tagged release.
When the CLI exists, read and follow
../ha-nova/session-bootstrap.md before the first HA task.
Relay CLI command: ha-nova relay
If missing: ha-nova setup
Flow
- Run diagnostics only after a real failure.
- Classify failure quickly:
401/403: relay auth token mismatch404: endpoint/path mismatch- connect error / status
000: relay unreachable ha_ws_connected=false: the reason can be passive or stale because health/REST reads do not open WS. Send WS{"type":"ping"}, then re-read health before diagnosing anyauth,network, ornever_connectedvalue. Pingok: trueplus post-pingha_ws_connected: trueproves readiness. Otherwise classify the ping error and post-health reason:authmeans upstream authentication was rejected (App: update/restart Relay; standalone: replaceHA_LLAT);networkmeans HA remains unreachable/restarting;never_connectedalone never proves a badHA_URLor network path. Older relays omit the reason — use the ping result orha-nova doctor/wson an older Relay provesLLAT is required: update the App; only standalone Container/Core should repairHA_LLATSECURE_STORAGE_LOCKED/SECURE_STORAGE_UNAVAILABLE(older:secure storage is present but locked): pass on its message (it names the fix). No desktop, or a keyring nobody ever unlocks (headless VM, autologin box, systemd user service): no unlock on every boot — use the file backend:ha-nova setup --service <client>, orha-nova pair --credential-store=file(not on a Mac: its key stays in the Keychain)PAIR_AGAIN: this computer needs to be paired again (once on a Mac after the 0.32 update, or after its pairing was removed). Pass on its message; the user runs the command it names (ha-nova setup, orha-nova setup --server <name>). Never pair for them
- Return one concrete remediation step.
Standard Remediation Commands
- onboarding setup:
ha-nova setup- health quick check:
ha-nova relay health- doctor detail:
ha-nova doctor- pairing on a machine whose desktop keyring is never unlocked (headless VM, agent box):
ha-nova setup --service <client>— or standalone:ha-nova pair --credential-store=file- connecting a second Home Assistant server:
- rerun
ha-nova setup— the completed-setup screen offers "Add another Home Assistant server" (pick it per call with--server <name>)
Output Format
Apply ../ha-nova/output-rules.md: plain words, HA names verbatim; unless asked or names clash, no ids, "entity", modes, Relay/HA URLs, snapshots, raw JSON.
Return a short diagnostic report:
- Status — one-line result (e.g., "Relay reachable", "Home Assistant rejected the sign-in")
- Cause — in plain words; codes and raw output only when asked (only on failure)
- Next step — one concrete step in words; a command only when the user must run it (setup, pairing) (only on failure)
On success, keep the response to the status line only. Do not dump raw relay output.
Safety
- Read-only skill: never issue mutating relay or service calls.
- For write intent, hand off to the owning skill; unfamiliar writes go through
ha-nova:fallbackfirst.
- Diagnostics only — this skill never modifies Home Assistant state, config, or relay settings.
- Never ask the user to paste tokens or secrets in chat.
- All communication with Home Assistant goes through
ha-nova relayexclusively.
Guardrails
- no proactive doctor/ready in normal success path
- keep response short and action-oriented
- never ask user to paste secrets in chat