huesmith-core 0.1.0

Platform-agnostic core for Hue-compatible Zigbee lights: color math, ZCL light state machine, and scene parsing
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Platform-agnostic core for Philips Hue–compatible Zigbee lights.
//!
//! Everything here is free of MCU/HAL dependencies, so it builds and is unit-tested
//! on any host (Linux, macOS):
//!
//! - [`color`] — CIE 1931 XY ↔ RGB, mireds/Kelvin ↔ RGB, HSV, CCT channel mixing.
//! - [`light`] — the [`light::state::LightState`] ZCL state machine and the
//!   [`light::LightOutput`] trait a hardware backend implements.
//! - [`hue`] — Hue device types, identity presets, and Zigbee scene parsing.
//!
//! The hardware/Zigbee-stack side lives in the companion `huesmith` crate, which
//! implements [`light::LightOutput`] on the ESP32-C6/H2 via ESP-IDF.

pub mod color;
pub mod hue;
pub mod light;