/ha-nova:camerafrom ha-nova
Controls Home Assistant cameras via HA NOVA Relay: fetch snapshots, get stream URLs, trigger recording, toggle camera/motion, and cast to media players.
Ships in ha-nova. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Camera access:
Also here: switching a camera on or off, toggling its motion detection, and casting its stream to a media player.
Not in scope: creating automations around cameras (ha-nova:write), configuring the detection pipeline itself (zones, sensitivity, person models — that lives in the camera integration), or any image analysis claim beyond what the agent can see in the fetched frame.
Read and follow ../ha-nova/session-bootstrap.md.
Binary responses are guaranteed by the skills' enforced relay floor (../ha-nova/relay-api.md -> Bounded Event Collection). If any relay command printed a relay-outdated warning, have the user update the NOVA Relay before fetching frames — an older relay would corrupt the image bytes.
ha-nova relay core --method GET --path /api/camera_proxy/<entity_id> --out-binary <image-file> — the ONLY correct way to fetch a frame: the relay returns the image base64-marked and --out-binary decodes it to real bytes. Never use --out for an image (that writes the JSON envelope) and never pipe it through --jq.ha-nova relay ws --data-file <payload-file> for WS commandsha-nova call camera.<service> camera.<id> --skill ha-nova:camera [--set k=v]… for camera services (the camera is an argument, never entity_id in the data): show its preview, then ha-nova apply --plan <id> (exit codes: ../service-call/SKILL.md → Flow){"type":"config/entity_registry/list_for_display"}, filter ei starting with camera.; for room phrasing resolve the area and use search/related with item_type: "area". Ambiguity: present candidates (max 5), ask once./api/states/<entity_id>): state (idle/recording/streaming/unavailable), attributes.supported_features (1 = ON_OFF, 2 = STREAM), entity_picture, frontend_stream_type. An unavailable camera cannot deliver a frame — say so instead of retrying.--out-binary, then open that file with the client's own image-reading tool. Only describe what is actually visible in the frame; never infer content you did not see. Viewing the frame is a client capability — classify this check per context skill → Verification Planning (client capabilities) before promising it.{"type":"camera/stream","entity_id":"camera.<id>"} returns an HLS URL under .data.url. It is relative to the Home Assistant base URL and short-lived — give it to the user, do not try to consume it here.camera.snapshot (filename) and camera.record (filename, duration, lookback). The path must be inside HA's allowlist_external_dirs, or the call fails — say this before the call rather than after. Preview the exact filename. These write files on the Home Assistant server, not on this machine.camera.turn_on / camera.turn_off need ON_OFF (bit 1); verify by re-reading the state. A restart/reboot ask is neither of these: find the device's own capability entity (often a disabled sibling) via ha-nova:entity-discovery → Device-sibling capability discovery.camera.play_stream puts the live view on a TV or display. Data: --set media_player=media_player.<id> — the receiver field is media_player (required), NOT media_player_entity_id, which belongs to tts.speak; format is optional and defaults to hls. Two entities, two gates: the camera needs STREAM (bit 2) and the receiver needs PLAY_MEDIA (bit 512), because HA forwards the stream URL to media_player.play_media internally. Resolve the receiver like any other target (registry lookup, ask once on ambiguity — never guess a player id) and read its state for that bit before previewing. Verify on the RECEIVER's state, not the camera's: this is the only camera action whose result shows up on another entity.camera.enable_motion_detection / camera.disable_motion_detection toggle detection where the integration implements it. Verify via the motion_detection attribute when the camera exposes it; when it does not, say the toggle was accepted but could not be verified rather than claiming success.Full relay/upstream error taxonomy: ../ha-nova/relay-api.md -> Error Handling. Camera specifics:
--out-binary refusing with "no base64 marker": the response was not an image — usually a 404 (wrong entity) or an error envelope. Re-run without --out-binary to read the actual error.camera.snapshot failing with a path error means the target directory is not in allowlist_external_dirs — that is an HA configuration change the user must make in configuration.yaml.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. Previews, deletes, and results use the Cards defined there (../ha-nova/output-cards.md).
Render the Report shape (output-cards.md). For a snapshot, describe what the frame shows and name the camera and when it was taken. For a stream, give the URL and say it is short-lived. Never claim to see what the frame does not show.
Safety Core: before any write, apply ../ha-nova/safety-core.md; not yet in this conversation → read it first; unreadable or incomplete → stop and write nothing.
Drafts follow ../ha-nova/smallest-solution.md: the complete requested outcome in the simplest safe design, nothing speculative.
A camera frame is private data: keep it in client-private scratch storage, never write it into the project workspace, and never send it anywhere outside this conversation.
camera.snapshot / camera.record write files on the Home Assistant server — preview the exact path and confirm; they can overwrite an existing file.
Do not fetch frames repeatedly to simulate a live view. ONE named exception: a before/after comparison bound to ONE named actuation ("did the garage door actually close?") may fetch 2-3 frames — each timestamped and attributed to its phase (before / after / settled) in the report. It ends with that actuation's verification and is still never a live view.
--out or --jq for an image; only --out-binary.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
home-assistant, camera, snapshot, streaming, motion-detection
npx claudepluginhub markusleben/ha-nova --plugin ha-nova35 skills in this plugin
/adminUse when managing Home Assistant people, zones, tags, user accounts, general settings (name, location, units, time zone), Labs features, and analytics sharing — creating a person, drawing a zone, adding a tag, or reviewing who has access — through HA NOVA Relay./assistUse when working with Home Assistant's own built-in voice assistant (Assist) — testing what it understands, inspecting, editing, or creating Assist pipelines, managing which entities are exposed to voice, listing TTS/STT/wake-word engines, and teaching Assist custom sentences — through HA NOVA Relay. Not for Alexa or Google Assistant — setting those up is `ha-nova:integration-setup` (or `ha-nova:yaml-config` for a manual cloud config), and one that STOPPED working is a concrete failure for `ha-nova:diagnose`./backupOther plugins' skills for the same job