LIDL Smart LED bulb HG06106C

Hi.

I have got a LIDL LED bulb HG06106C and have connected it to Zigbee2Mqtt.
It works and I can change the colors.

My question is... I have Node-RED and can use the "node-red-contrib-zigbee2mqtt" add-on to get the state of my bulb, but how can I change the state for the bulb, so if the time is 18:00 then turn on the bulb with the color 255.0.0?

I'm not using Node-RED to HomeAssistant... but just to make some automations to handle my Zigbee2mqtt devices.

As you say, you can already "change the colors" then use an inject (or cron-plus) node set to trigger at 18:00 and send the same colour message to the device.

You don't need the node-red-contrib-zigbee2mqtt node. I don't use it and I am happily controlling a bunch of Ikea Zigbee devices.

The Zigbee2mqtt docs tell you what MQTT topic to use to control things.

Hi Steve-Mcl i'm change the color inside Zigbee2Mqtt dashboard :slight_smile:

Hi TotallyInformation

Yes Lidl HG06106C

But how do I use the info:

  • zigbee2mqtt/Light_livingroom/set
  • {"state": "ON"}
  • {"color":{"r":255,"g":0,"b":0}}

the payload for mqtt would be something like below.

{
"payload":  {
    "state": "ON",
    "color": {"r": 255,"g": 0,"b": 0}
    }
}

Hi E1cid
Can see that :slight_smile: Thx.
And will the msg.payload be msg.payload.zigbee2mqtt.Light_livingroom or?

msg.payload would be

{
    "state": "ON",
    "color": {"r": 255,"g": 0,"b": 0}
}

and msg.topic would be
zigbee2mqtt/Light_livingroom/set

Hmm

I have tried this code, from my link..

{
    "state": "ON",
    "brightness": 38,
    "color": {
        "x": 0.6363636363636364,
        "y": 0.3333333333333333
    },
    "color_mode": "xy",
    "color_temp": 62
}

But it's not working..

It's hard to say as i have no idea if your topic is correct.

Try installing mqtt explorer and subscribe to topic #, and then manually switch on the light, then in mqtt explorer you will see the payloads and topics required .

1 Like

I forgot a "mqtt out" node...
After adding that, it worked... THX. :slight_smile:

image

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.