# Getting RGB values from general light

**URL:** <https://discourse.nodered.org/t/getting-rgb-values-from-general-light/42410>\
**Category:** General\
**Created:** [10 March 2021 12:46 UTC](https://discourse.nodered.org/t/getting-rgb-values-from-general-light/42410 "2021-03-10T12:46:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JJdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jjdave/32/39111_2.png) [@JJdave](https://discourse.nodered.org/u/JJdave)\
**Post date:** [10 March 2021 12:46 UTC](https://discourse.nodered.org/t/getting-rgb-values-from-general-light/42410/1 "2021-03-10T12:46:25Z")

</div>

Hi there  
just wondering how to get the current RGB values from a light bulb? I have currently Mueller Licht lights installed via a Conbee II Zigbee stick. Everything works properly. But want to know how to

- read out current RGB values
- write new RGB values  
to that specific lamp.  
Nothing found in the forum so far about such Mueller Licht lamps, so mayby any help on that?

Thank you !

---

<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 March 2021 14:21 UTC](https://discourse.nodered.org/t/getting-rgb-values-from-general-light/42410/2 "2021-03-10T14:21:20Z")

</div>

There are certainly sensors that will give you a readout of light colour and intensity.

---

<div class="post-metadata">

**Author:** ![JJdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jjdave/32/39111_2.png) [@JJdave](https://discourse.nodered.org/u/JJdave)\
**Post date:** [10 March 2021 14:47 UTC](https://discourse.nodered.org/t/getting-rgb-values-from-general-light/42410/3 "2021-03-10T14:47:46Z")

</div>

> [@TotallyInformation](#):
>
> light colour and intensity

OK, which one would you suggest for the Mueller Lights?  
I just read out once the payload when switching on/off, but there is no extra information about RGB and/or brightness.

---

<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 March 2021 16:15 UTC](https://discourse.nodered.org/t/getting-rgb-values-from-general-light/42410/4 "2021-03-10T16:15:51Z")

</div>

Sorry, I know nothing about those lights. What I was referring to would a sensor that you could connect to an ESP/Arduino/Pi that would read the colour temperature and output a set of values that you could then use in Node-RED. Maybe have a search through the AliExpress site for options.

---

<div class="post-metadata">

**Author:** ![bakman2](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bakman2/32/6207_2.png) [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Post date:** [10 March 2021 18:43 UTC](https://discourse.nodered.org/t/getting-rgb-values-from-general-light/42410/5 "2021-03-10T18:43:52Z")

</div>

How do you control the lights ? with some app ?  
You can use [deconz](https://phoscon.de/en/conbee2/software#deconz) with the conbee stick. [deconz has a rest api plugin](https://dresden-elektronik.github.io/deconz-rest-doc/) which you can use to read/set values (which in turn can be easily done from node-red)

---

<div class="post-metadata">

**Author:** ![JJdave](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jjdave/32/39111_2.png) [@JJdave](https://discourse.nodered.org/u/JJdave)\
**Post date:** [10 March 2021 19:27 UTC](https://discourse.nodered.org/t/getting-rgb-values-from-general-light/42410/6 "2021-03-10T19:27:08Z")

</div>

Controlling the lights is done with Home Assistant in general and for some automation tasksI use the red node addon in HA. So using the rest api looks to me too complicated. I was assuming - or still hoping - there is a specific node available which provides relevant support already. Such is for Hue lights as an example.

---

<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:** [9 May 2021 19:27 UTC](https://discourse.nodered.org/t/getting-rgb-values-from-general-light/42410/7 "2021-05-09T19:27:14Z")

</div>

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