# Node-red with Müller-Licht tink (ZBT-ExtendedColor)

**URL:** <https://discourse.nodered.org/t/node-red-with-muller-licht-tink-zbt-extendedcolor/37250>\
**Category:** General\
**Created:** [9 December 2020 14:29 UTC](https://discourse.nodered.org/t/node-red-with-muller-licht-tink-zbt-extendedcolor/37250 "2020-12-09T14:29:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xcommy](https://avatars.discourse-cdn.com/v4/letter/x/3d9bf3/32.png) [@xcommy](https://discourse.nodered.org/u/xcommy)\
**Post date:** [9 December 2020 14:29 UTC](https://discourse.nodered.org/t/node-red-with-muller-licht-tink-zbt-extendedcolor/37250/1 "2020-12-09T14:29:44Z")

</div>

Hi!

I am trying to build some CO2 warning lamp for my son with homee, node-red and the Conbee USB stick.

I am able to control the lamp via the Phoscon web app, but I have no idea how to get the right parameters within node-red. The last I tried is to use the node-red-contrib-color-convert to perhaps get the parameters right.

The message sent to the stick is:  
{"alert":null,"bri":205,"colormode":"hs","ct":153,"hue":0,"on":true,"reachable":true,"sat":254,"xy":[0.6396,0.3299]}

but shortly after that, I get:  
{"alert":null,"bri":205,"colormode":"xy","ct":153,"hue":0,"on":true,"reachable":true,"sat":254,"xy":[0.1336,0.7988]}

It has to have something to do with different color representations, but I do not know, how to get the parameters to the lamp correctly.

Matthias

---

<div class="post-metadata">

**Author:** ![xcommy](https://avatars.discourse-cdn.com/v4/letter/x/3d9bf3/32.png) [@xcommy](https://discourse.nodered.org/u/xcommy)\
**Post date:** [12 December 2020 14:01 UTC](https://discourse.nodered.org/t/node-red-with-muller-licht-tink-zbt-extendedcolor/37250/2 "2020-12-12T14:01:28Z")

</div>

I have managed to get the format, I can switch the color. Sending only the xy values as an array to the xy node will do.  
Does anyone know of a RGB to XY converter? I use homee as my control center and have managed to get RGB color information from it.

Matthias

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [12 December 2020 16:13 UTC](https://discourse.nodered.org/t/node-red-with-muller-licht-tink-zbt-extendedcolor/37250/3 "2020-12-12T16:13:18Z")

</div>

That came up recently in this thread [Use dashboard color picker for deconz conbee2 RGBW stripe](https://discourse.nodered.org/t/use-dashboard-color-picker-for-deconz-conbee2-rgbw-stripe/37207)

---

<div class="post-metadata">

**Author:** ![xcommy](https://avatars.discourse-cdn.com/v4/letter/x/3d9bf3/32.png) [@xcommy](https://discourse.nodered.org/u/xcommy)\
**Post date:** [13 December 2020 10:58 UTC](https://discourse.nodered.org/t/node-red-with-muller-licht-tink-zbt-extendedcolor/37250/4 "2020-12-13T10:58:36Z")

</div>

Hi!

After posting here, I came across that topic, with a code snippet, that helped me. I now have a solution, far from being clean, but it works. Have to clean it up a bit.

Matthias

---

<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:** [27 December 2020 10:58 UTC](https://discourse.nodered.org/t/node-red-with-muller-licht-tink-zbt-extendedcolor/37250/5 "2020-12-27T10:58:46Z")

</div>

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