9 Commits
Author SHA1 Message Date
Matt SpencerandCopilot 115f245484 feat: add light effects driven over Zigbee
Add animated effects to the light, controlled from Home Assistant.

* Identify Trigger Effect (ZCL 3.5.2.3.3): the light plays Blink, Breathe,
  Okay and Channel change as overlays on its current state, and returns to
  exactly what it was showing (src/effect.rs). Home Assistant's flash
  option uses this.
* Scenes: Rainbow, Pulse and Comet run continuously and use the light's own
  colour and brightness, so on/off, level and colour keep working while one
  plays (src/scene.rs). The strip is redrawn every 20 ms while anything
  animates.
* A manufacturer-specific effects cluster (0xfd00) selects the scene and
  tunes its speed and intensity (src/effects_cluster.rs). It uses 0xc0de as
  a development manufacturer code, which is also what the node descriptor
  now reports instead of the NXP code it had borrowed.
* A ZHA quirk exposes the cluster as a select and two number entities
  (ha/zha_quirks/smart_light.py). Copy it to a folder set as ZHA's
  custom_quirks_path.
* Ignore Python bytecode.

vendor/zigbee-rs is not vendored here: it stays a submodule, now tracking
feature/lighting-effects-integration on the fork. That branch adds the
manufacturer-specific cluster support and Identify Trigger Effect on top of
the RGB colour control work, each of which is also on its own branch for
upstream.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-28 22:22:08 +00:00
Matt SpencerandCopilot cb4b38fc01 chore: rebase zigbee-rs integration onto upstream main
The level and color temperature work was merged upstream, so the RGB
integration branch now sits directly on main. Track that branch.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-23 15:48:04 +00:00
Matt Spencer e8e7d78714 chore: update zigbee-rs RGB integration 2026-11-17 23:47:57 +00:00
Matt Spencer 3e5ef7570f feat: add RGB color picker support 2026-11-17 23:26:50 +00:00
Matt Spencer 65f951b890 feat: add Zigbee brightness and color temperature 2026-11-16 00:33:54 +00:00
Matt Spencer 1aa6ba3c5f feat: add Zigbee-controlled smart light 2026-11-15 23:22:20 +00:00
Matt Spencer ebc2f3be7a feat(led): use the published esp-hal-smartled driver
Moves the whole esp stack to esp-hal 1.2 (see the zigbee-rs submodule),
which lets esp-hal-smartled 0.18 be used unmodified from crates.io
instead of a hand-rolled RMT driver.
2026-10-17 15:58:22 +01:00
Matt Spencer 1ec7408f8e checkpoint: vendored esp-hal-smartled with widened esp-hal bound 2026-10-17 15:49:50 +01:00
Matt Spencer bb81182daa feat: bootstrap esp32-c6 embassy lighting controller 2026-10-17 15:21:58 +01:00