Hi,
I assamble a Sensor/Light node on Espeasy base. Light is realized through ws2812b and Espeasy Wifi Candle plugin.
Q is how to manage the light by mqtt.
plugin send 3 states
/espeasy1/candle/Color
/espeasy1/candle/Brightness
/espeasy1/candle/Type
and recieve commands kind that on /espeasy1/candle/cmd
// CANDLE:<FlameType>:<Color>:<Brightness> // <FlameType> : 1 Static Light, 2 Simple Candle, 3 Advanced Candle, 4 Police, 5 Blink, 6 Strobe, 7 Color Fader // <Color> : n.def. Use the default color // RRGGBB Use color in RRGGBB style (red, green blue) as HEX // <Brightness> : 0-255 // Samples: // CANDLE:5:FF0000:200 Blink with RED Color and Brigthness at 200 // CANDLE:0:: Candle OFF // CANDLE:1::255 Candle ON - White and full brigthness
May you help to config that light in HA correctly.
Much appreciate, thanks in advance