ha-pixoo-animation-author¶
Authors an animated 64×64 Divoom Pixoo 64 display — phase-driven motion and color animation plus a crash-safe frame driver — with a conformance report.
Author an animated 64×64 display for the Divoom Pixoo 64 from a described motion/effect, conforming to the pixoo-pixel-art-animation spec — a phase-driven components page (motion as position=f(phase), color animation as color=f(phase) within the ramps) plus the driving automation, or a pre-rendered GIF embedding. Builds the phase/time base, integer-grid stepwise motion with a seamless loop, palette-cycling/value-pulsing/hue-shift color animation, and a crash-safe frame driver (short duration vs. an update_page loop), accounting for the single-frame-push ~1 fps ceiling. Returns the artifacts plus a conformance report. Activate on "animate a bouncing icon on the Pixoo", "make the Pixoo pulse red when X", "scrolling/moving Pixoo display for…", "lass das Pixoo-Icon wandern", "animierte Pixoo-Page für…". Do not activate for a static page (ha-pixoo-page-author), a still graphic (ha-pixoo-pixel-art-author), device setup, or deploying to a live HA instance.
- Plugin:
claude-home-assistant - Phase: 4 Build (
build) - Tags:
home-assistant,divoom-pixoo,animation,yaml - Source: skills/ha-pixoo-animation-author/SKILL.md
Use when¶
- you want to animate a bouncing or moving icon on the Pixoo
- you want the Pixoo to pulse or color-shift on a condition
- you want a scrolling or motion Pixoo display
Don't use when¶
- You need a static information page →
ha-pixoo-page-author - You need a single still graphic →
ha-pixoo-pixel-art-author
See also¶
Referenced by¶
HA Pixoo Animation Author¶
Grounding spec: ha/pixoo-pixel-art-animation (DE canonical) / en.md; image craft in ha/pixoo-pixel-art, delivery in ha/divoom-pixoo.
Why this is a skill, not an agent¶
- Human-visible authoring surface — the user describes the motion/effect and reads back the animated page plus its driving automation and the conformance report; a skill keeps that on the visible command surface, like the sibling
ha-automation-author. - Mid-flow interactivity — the frame-driver decision (short
durationvs.update_pageloop) and its crash-safe interval, the phase source, and the motion/color model are per-run dialogues the user must approve before generation. - Orchestrator-leaning — dispatched by
ha-pixoo-solution, and builds on a page/graphic produced by the sibling authors; the skill-orchestrates default keeps the entry point in skill form. - Counter-dimension considered: the frame-by-frame iteration could run as an agent, but the driver/phase decisions and the report belong in the user's working context; skill wins.
When this skill activates¶
Use this skill to author one animated Pixoo display from a described motion or color effect — procedural (phase-driven components) or a pre-rendered GIF embedding.
When NOT to activate¶
- a static information page →
ha-pixoo-page-author - a single still graphic →
ha-pixoo-pixel-art-author - device setup, services, page-type reference → use the integration per
ha/divoom-pixoo - deploying/importing into a running HA instance → out of scope (generation only)
Hard rules¶
- One animation, one model, one run. No batches.
- Motion/effect is mandatory. Without a described animation there is no generation; optional fields fall back to documented defaults, stated in the output.
- Read the spec first. Before generating, read
ha/pixoo-pixel-art-animation; do not generate from memory. - Single-frame-push model. Each frame is a full page re-render pushing one buffer — there is no multi-frame transmission. Treat the practical ceiling as ~1 fps via
durationrotation; higher needs anupdate_pageloop. - Crash-safe driver. Choose a frame driver explicitly (self-driving short
duration, or anupdate_pageloop) and never spamupdate_page— bound the interval; document the chosen cadence. - Phase discipline. Drive frame selection from a monotonic phase (
now(), atimer, or acounter), looped modulo the frame count for a seamless cycle. Motion isposition = f(phase)on the integer 64×64 grid (no sub-pixel); color animation iscolor = f(phase)within theha/pixoo-pixel-artramps (cycling/pulsing/hue-shift, discrete steps). - Coherent, flicker-free frames. Every frame is a valid pixel-art image (stable light direction); adjacent frames differ only gradually; avoid full-area high-contrast flicker; close the loop seamlessly.
- Procedural vs. GIF. Procedural per-pixel frames use a
templatablecomponent returning a phase-computed list; a pre-rendered GIF is exactly 16/32/64 px viapage_type: gif. Recommend verifying frame rate, flicker, motion, and loop on the real device.
Inputs¶
| Field | Required | Default | Notes |
|---|---|---|---|
motion |
yes | — | The desired animation/effect, in prose |
model |
no | inferred | procedural (phase-driven components) or gif (pre-rendered embedding) |
driver |
no | duration |
duration (self-driving) or update_page (looped automation) |
frame_interval |
no | 1 s | per-frame hold; crash-safe lower bound for update_page |
phase_source |
no | now() |
now() / a timer / a counter |
data_driven |
no | false | whether the animation reacts to entity state |
target_dir |
no | working dir | repo / HA config root |
If the user is silent on an optional field, use the default but state it explicitly.
Pre-flight (in order — abort on first failure)¶
motionpresent and non-empty. If not, ask; do not generate.- Resolve
model+driver+ phase source (infer + confirm); confirm the frame interval is crash-safe. - Read the
ha/pixoo-pixel-art-animationspec (and image craft / delivery sections).
Workflow¶
1) Resolve and confirm¶
State the resolved model, driver + cadence, phase source, and the motion/color mapping in one paragraph. Wait for confirmation.
2) Generate¶
- procedural: emit the animated
componentspage (positions/colors as functions of the phase, per-pixel viatemplatablewhen needed) plus the driving artifact — either a shortdurationon the page, or anupdate_pageloop automation/script with a bounded interval. - gif: emit the
page_type: gifembedding (exactly 16/32/64 px) and note the GIF is authored externally.
3) Validate and report¶
Check against the spec: monotonic phase + modulo loop; integer-grid stepwise motion with seamless wrap; color animation within ramps; no fatiguing flicker; crash-safe driver cadence; each frame a valid pixel-art image. Emit a CONFORMANT / NEEDS-WORK report keyed to the spec's acceptance criteria, plus the artifact paths and assumed defaults.
4) No deploy¶
The skill never deploys to a live HA instance. Surface the report and stop.
Boundaries¶
- Static page →
ha-pixoo-page-author - Still graphic →
ha-pixoo-pixel-art-author - Device/integration mechanics →
ha/divoom-pixoo - Multi-artifact requirement →
ha-pixoo-solution - Deploy to live HA → out of scope