# Passing colors to Teckin (tuya) RGB bulbs from Google

**URL:** <https://discourse.nodered.org/t/passing-colors-to-teckin-tuya-rgb-bulbs-from-google/38664>\
**Category:** General\
**Created:** [6 January 2021 15:18 UTC](https://discourse.nodered.org/t/passing-colors-to-teckin-tuya-rgb-bulbs-from-google/38664 "2021-01-06T15:18:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![blacjoker](https://avatars.discourse-cdn.com/v4/letter/b/f6c823/32.png) [@blacjoker](https://discourse.nodered.org/u/blacjoker)\
**Post date:** [6 January 2021 15:18 UTC](https://discourse.nodered.org/t/passing-colors-to-teckin-tuya-rgb-bulbs-from-google/38664/1 "2021-01-06T15:18:07Z")

</div>

I have been trying to send data from a virtual bulb I created using `node-red-contrib-nora` but I can't seem to get anything across. Nora is sending this out:

```auto
{
   "payload":{
      "online":true,
      "on":false,
      "brightness":100,
      "color":{
         "spectrumHsv":{
            "hue":30.7317066192627,
            "saturation":1,
            "value":0.4823529422283173
         }
      }
   },
   "topic":"",
   "_msgid":"3ee8758b.a3c05a"
}

```

I have set up a sequence that pulls the HSV value and converts it to RGB, but when I send the array over, nothing happens. I am not sure if my path is wrong, or if I am just biffing the code altogether, but this is what I am sending to the bulb:

```auto
{
   "topic":"",
   "_msgid":"cb93333d.033cf",
   "rgb_color":[
      248,
      248,
      255
   ],
   "data":{
      "rgb_color":[
         248,
         248,
         255
      ]
   }
}

```

As you can see, I am experimenting with where to send the values to no avail. Any solutions?

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [6 January 2021 20:53 UTC](https://discourse.nodered.org/t/passing-colors-to-teckin-tuya-rgb-bulbs-from-google/38664/2 "2021-01-06T20:53:59Z")

</div>

The first thing I would ask is:

> [@blacjoker](#):
>
> ```auto
> {
> "payload":{
> "online":true,
> "on":false,
>   
> 
> ```

`{"payload:{"on":false,`

Errr, to me that says the bulb is `OFF`. So it won't glow.

---

<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:** [7 March 2021 20:54 UTC](https://discourse.nodered.org/t/passing-colors-to-teckin-tuya-rgb-bulbs-from-google/38664/3 "2021-03-07T20:54:04Z")

</div>

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