# Phoscon conbee2 stick & Tradfri bulb

**URL:** <https://discourse.nodered.org/t/phoscon-conbee2-stick-tradfri-bulb/31257>\
**Category:** General\
**Created:** [7 August 2020 08:17 UTC](https://discourse.nodered.org/t/phoscon-conbee2-stick-tradfri-bulb/31257 "2020-08-07T08:17:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![4fc8042246ffd6745bb8](https://avatars.discourse-cdn.com/v4/letter/4/53a042/32.png) [@4fc8042246ffd6745bb8](https://discourse.nodered.org/u/4fc8042246ffd6745bb8)\
**Post date:** [7 August 2020 08:17 UTC](https://discourse.nodered.org/t/phoscon-conbee2-stick-tradfri-bulb/31257/1 "2020-08-07T08:17:27Z")

</div>

Hello,  
i am currently testing the conbee2 stick from phoscon to be able to use it in nodered and have problems with the colour settings of the tradfri bulbs.

Current status: Aquara sensors from Xiaomi (switch, motion detector and temperature sensor) work without problems. Also the brightness of the Tradfri bulb can be adjusted.  
The colour and saturation cannot be controlled via Nodered at the moment. In the web application of Phoscon all functions (brightness, colour and saturation) work fine. This means that this should also work with Nodered.

I have looked at what the light bulb reports when its color is changed and recreated the payload. Unfortunately the light bulb does not react in this case either.

Can any of you help me with this flow or does anyone already have a flow for a Tradfri light bulb with conbee2-Stick?

 ![current status - works - works not](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/b/2b9cf9f2e0699e087a282d2f75c6f9730ad13169.jpeg) ![Phoscon app](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/3/e318c5bde9c9421e7b60f2a5d45f4256aa90051b.png) ![msg-object when color changes by Phoscon app](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bddb1b05c35bcda9b2aae6d699b92b57d05df5b3.png) ![my payload when press inject node](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/2/8219846e607c2c2eccb639185ce74434abe997f5.png)

---

<div class="post-metadata">

**Author:** ![4fc8042246ffd6745bb8](https://avatars.discourse-cdn.com/v4/letter/4/53a042/32.png) [@4fc8042246ffd6745bb8](https://discourse.nodered.org/u/4fc8042246ffd6745bb8)\
**Post date:** [7 August 2020 13:08 UTC](https://discourse.nodered.org/t/phoscon-conbee2-stick-tradfri-bulb/31257/2 "2020-08-07T13:08:09Z")

</div>

To switch between the HSB color space of the color picker and the CIE XY color space you have to calculate a little bit. see the following link: [Convert HSBType to CIE XY needed for Ikea Tradfri control through Deconz REST](https://community.openhab.org/t/solved-convert-hsbtype-to-cie-xy-needed-for-ikea-tradfri-control-through-deconz-rest/48825)

However, it looks as if only the X and Y values of the color space are transmitted as an array to the Tradfri bulb. I do not know why my solution does not work.

---

<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:** [6 October 2020 13:08 UTC](https://discourse.nodered.org/t/phoscon-conbee2-stick-tradfri-bulb/31257/3 "2020-10-06T13:08:18Z")

</div>

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