node-milight-promise
node-milight-promise is a Node.js module for controlling Milight LED bulbs and OEM equivalents including Rocket LED, Limitless LED Applamp, Easybulb, s'luce, iLight, iBulb, and Kreuzer. The library uses Promises to automatically synchronize command sequences, eliminating the need for nested callbacks, and each API call returns a promise for handling resolution or rejection. It supports RGB WW/CW full color bulbs, RGBWW bulbs, and White bulbs using Milight protocol versions 4.0 and 6.0, and also works with legacy RGB bulbs discontinued after January 2014. Features include support for the new full color RGBCW bulbs, legacy WW/CW white bulbs, RGBWW bulbs, and RGBW strip controllers, optional support for the legacy Milight color wheel, flow control with automatic retry, and control for multiple bridges. The module includes an 8-zone controller option for CCT bulbs, configurable session timeouts, and cross-instance command synchronization to ensure reliable command ordering across multiple zones.