-
Notifications
You must be signed in to change notification settings - Fork 2
Lightbulb
Martin Patfield edited this page Feb 10, 2026
·
8 revisions
| Field | Required | Color Types | Description |
|---|---|---|---|
colorType |
No | All | Default is HSB/HSV. Possible values are HSB/RGB/RGBW/RGBWW
|
autoReset |
No | All | Automatically turn off after a delay |
maximumBrightness |
No | HSB | Set a maximum to use values (i.e. 1, 2, 3) rather than a percentage for brightness |
rgbHexPrefix |
No | RGB+ | Set this prefix (e.g. "0x") if your lightbulb uses hex (e.g. "0x112233") rather than CSV ("12,34,56") |
coldWhite |
No | RGBWW | Customize the cold white value as CSV. Default is "204,219,255" (RGB) |
warmWhite |
No | RGBWW | Customize the warm white value as CSV. Default is "255,158,61" (RGB) |
switchWhites |
No | RGBWW | Set this to true if your lightbulb order is "red,green,blue,cold,warm" |
noWhiteMix |
No | RGBWW | Set this to true to skip mixing cold/warm into RGB |
rgbThresholds |
No | RGBWW | Customize RGB maximums as CSV when noWhiteMix = true
|
topicGetOn |
Yes | All | The current state of the outlet, i.e. on/off |
topicSetOn |
Yes | All | For setting the state of the outlet |
valueOn |
Yes | All | Turned on, e.g. "true", or "1", or "On" |
valueOff |
Yes | All | Turned off, e.g. "false", or "0", or "Off" |
topicGetBrightness |
No | HSB | The current brightness as a percent |
topicSetBrightness |
No | HSB | For setting the brightness |
topicGetColorTemperature |
No | HSB | The current color temperature of the lightbulb |
topicSetColorTemperature |
No | HSB | For setting the color temperature of the lightbulb |
topicGetHue |
No | HSB | The lightbulb's current hue |
topicSetHue |
No | HSB | For setting the lightbulb's current hue |
topicGetSaturation |
No | HSB | The current saturation setting of the lightbulb |
topicSetSaturation |
No | HSB | For setting the saturation setting of the lightbulb |
topicGetRGB |
No | RGB+ | Get colors |
topicSetRGB |
No | RGB+ | Set colors |
topicGetWhite |
No | RGB | Used if white is supplied separately from other RGB values |
topicSetWhite |
No | RGB | Used if white is set separately from other RGB values |
topicGetCurrentConsumption |
No | All | Get the current power rate in watts (Eve only) |
topicGetElectricCurrent |
No | All | Get the electrical current in amps (Eve only) |
topicGetTotalConsumption |
No | All | Get the total energy use in kWh (Eve only) |
topicGetVoltage |
No | All | Get the current voltage (Eve only) |