What needed solving?
A feature-rich ceiling light should still operate when the cloud, Home Assistant, or Wi‑Fi is unavailable.
How I approached it
- Replaced the original BK7231N firmware with ESPHome for local control.
- Integrated infrared remote commands with persistent local settings, including behavior independent of Home Assistant.
- Integrated WLED DDP input and investigated its interaction with power state, color temperature and white channels.
The interesting part
Reliability lives at the boundaries: OTA recovery, wireless reconnection, control priority, and persistent settings matter as much as the effect engine.
A custom light without a cloud dependency
Hardware and firmware
An Artika Skyshade fixture built around a BK7231N Tuya module was moved from OpenBeken to ESPHome. The integration retained IR remote operation while exposing local Home Assistant control.
Behavioral requirements
A physical remote must continue working if Home Assistant is offline. Remote buttons have independent configurable actions; power-on restores the light to OFF. Changes should avoid excessive flash writes.
Lighting protocol integration
WLED DDP reception is supported, including behavior when the fixture is nominally off. The goal is for remote OFF and device-group OFF to suppress DDP as appropriate, rather than letting an incoming pixel stream unexpectedly re-light the room.
Engineering constraints
Firmware footprint, OTA partitions, ESP8266 RAM headroom, and color/white-channel handling all affect whether the feature set is maintainable.
Observations and working hypotheses are distinguished explicitly; published data is static and sanitized.