# LIDL Smart LED bulb HG06106C

**URL:** https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246
**Category:** General
**Created:** [10 July 2021 12:40 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246 "2021-07-10T12:40:06Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![tpbillund](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tpbillund/32/37410_2.png) [@tpbillund](https://discourse.nodered.org/u/tpbillund)
#### Post date: [10 July 2021 12:40 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/1 "2021-07-10T12:40:06Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [10 July 2021 12:49 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/2 "2021-07-10T12:49:12Z")

</div>

> [@tpbillund](#):
>
> so if the time is 18:00 then turn on the bulb with the color 255.0.0

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.

---

<div class="post-metadata">

### Author: ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)
#### Post date: [10 July 2021 12:58 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/3 "2021-07-10T12:58:36Z")

</div>

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.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/f/1fbe9dbdaaf0faf76461d1346048af30ce1f8e16.png)

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

---

<div class="post-metadata">

### Author: ![tpbillund](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tpbillund/32/37410_2.png) [@tpbillund](https://discourse.nodered.org/u/tpbillund)
#### Post date: [10 July 2021 13:03 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/4 "2021-07-10T13:03:55Z")

</div>

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

---

<div class="post-metadata">

### Author: ![tpbillund](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tpbillund/32/37410_2.png) [@tpbillund](https://discourse.nodered.org/u/tpbillund)
#### Post date: [10 July 2021 13:07 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/5 "2021-07-10T13:07:42Z")

</div>

Hi TotallyInformation

Yes [Lidl HG06106C](https://www.zigbee2mqtt.io/devices/HG06106C.html#device-type-specific-configuration)

But how do I use the info:

- zigbee2mqtt/Light\_livingroom/set
- {"state": "ON"}
- {"color":{"r":255,"g":0,"b":0}}

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [10 July 2021 13:12 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/6 "2021-07-10T13:12:48Z")

</div>

the payload for mqtt would be something like below.

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

```

---

<div class="post-metadata">

### Author: ![tpbillund](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tpbillund/32/37410_2.png) [@tpbillund](https://discourse.nodered.org/u/tpbillund)
#### Post date: [10 July 2021 13:23 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/7 "2021-07-10T13:23:12Z")

</div>

> [@tpbillund](#):
>
> zigbee2mqtt/Light\_livingroom/set

Hi E1cid  
Can see that 🙂 Thx.  
And will the msg.payload be msg.payload.zigbee2mqtt.Light\_livingroom or?

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [10 July 2021 13:47 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/8 "2021-07-10T13:47:36Z")

</div>

msg.payload would be

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

```

and msg.topic would be  
`zigbee2mqtt/Light_livingroom/set`

---

<div class="post-metadata">

### Author: ![tpbillund](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tpbillund/32/37410_2.png) [@tpbillund](https://discourse.nodered.org/u/tpbillund)
#### Post date: [10 July 2021 13:56 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/9 "2021-07-10T13:56:32Z")

</div>

> [@E1cid](#):
>
> ```auto
> {
> "state": "ON",
> "color": {"r": 255,"g": 0,"b": 0}
> }
> 
> ```

Hmm

I have tried this code, from my link..

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

```

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/0/6/06820f029fe67ba85fc02f2fab2e1d569ad95c61.png)

But it's not working..

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [10 July 2021 14:18 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/10 "2021-07-10T14:18:06Z")

</div>

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 .

---

<div class="post-metadata">

### Author: ![tpbillund](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tpbillund/32/37410_2.png) [@tpbillund](https://discourse.nodered.org/u/tpbillund)
#### Post date: [10 July 2021 14:22 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/11 "2021-07-10T14:22:09Z")

</div>

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

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/9/99c5085473f2b3367a47590cb4b116fd6efddd5f.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [24 July 2021 14:22 UTC](https://discourse.nodered.org/t/lidl-smart-led-bulb-hg06106c/48246/12 "2021-07-24T14:22:11Z")

</div>

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