# Inject node for Deconz RaspBee II for a lidl bulb

**URL:** <https://discourse.nodered.org/t/inject-node-for-deconz-raspbee-ii-for-a-lidl-bulb/38863>\
**Category:** General\
**Created:** [9 January 2021 20:28 UTC](https://discourse.nodered.org/t/inject-node-for-deconz-raspbee-ii-for-a-lidl-bulb/38863 "2021-01-09T20:28:06Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikozo](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Post date:** [9 January 2021 20:28 UTC](https://discourse.nodered.org/t/inject-node-for-deconz-raspbee-ii-for-a-lidl-bulb/38863/1 "2021-01-09T20:28:06Z")

</div>

Hello  
i have a Deconz RaspBee II which is connected and running!  
i try to do a inject node to change the bulb.  
A message output looks like this

> 9.1.2021, 20:59:35node: b396287a.a52c48  
> msg.payload : Object  
> object  
> On: true  
> Brightness: 100  
> ColorTemperature: 140

the range is

object  
On: true or false  
Brightness: 2 - 100 (0 is switched off)  
ColorTemperature: 140 - 494

thanks for feedback and a hint

have a nice day  
vinc

---

<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:** [10 January 2021 00:46 UTC](https://discourse.nodered.org/t/inject-node-for-deconz-raspbee-ii-for-a-lidl-bulb/38863/2 "2021-01-10T00:46:06Z")

</div>

Where you see the Object word, there will be a small triangle.

Click that and it will expand the object.

Better still:

On the top line of the output if you put your cursor to the right you should see a clipboard icon appear.

Click that, ("copied to clip board" message appears)

Paste that in a reply.

Before pasting click the `</>` button in the top of the edit window and it will format the output so people can see/read/use/understand it.

![Screenshot from 2021-01-10 11-46-29](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/5/65b878af4433d234a23d08c28768f1c338efa60b.png)

---

<div class="post-metadata">

**Author:** ![vikozo](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Post date:** [10 January 2021 15:29 UTC](https://discourse.nodered.org/t/inject-node-for-deconz-raspbee-ii-for-a-lidl-bulb/38863/3 "2021-01-10T15:29:39Z")

</div>

thanks for your feedback @Trying_to_learn  
the question is more how do a Inject node have to be set to modifie the light by the node.  
But yes, looking for a inject node information is only in the title

have a nice day  
vinc

---

<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:** [10 January 2021 19:59 UTC](https://discourse.nodered.org/t/inject-node-for-deconz-raspbee-ii-for-a-lidl-bulb/38863/4 "2021-01-10T19:59:43Z")

</div>

You use the `inject` node to establish what the bulb wants to see to change its brightness - or what ever else.

Once you have that working, you can then write the code.

Otherwise you are writing code which does nothing and still can't control the bulb.  
Which I am thinking is not what you want to do.

You also haven't shown the complete structure of all the parts of the message.

It also may be nice if you could capture a message being sent out of the bulb.  
That may help you see what you need to set.

---

<div class="post-metadata">

**Author:** ![vikozo](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Post date:** [10 January 2021 20:23 UTC](https://discourse.nodered.org/t/inject-node-for-deconz-raspbee-ii-for-a-lidl-bulb/38863/5 "2021-01-10T20:23:43Z")

</div>

yes i know, but the node itself is useless without parameters to inject and this i don't find and do not understand how to do it, or where to get them from

---

<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:** [10 January 2021 20:25 UTC](https://discourse.nodered.org/t/inject-node-for-deconz-raspbee-ii-for-a-lidl-bulb/38863/6 "2021-01-10T20:25:29Z")

</div>

Yes, but you haven't shown the complete thing you inject.

How about this:

Select the `inject` node. Export it and paste it here.

Oh, other dumb questions from me:  
Have you been to: [Here](https://github.com/dresden-elektronik/deconz-rest-plugin) and done all the installs mentioned?  
And [Here.](https://phoscon.de/en/raspbee2/install) and the same?

Yeah, ok, you may not need to do ALL of them. But it may be handy to know which ones you have and not done.

---

<div class="post-metadata">

**Author:** ![vikozo](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Post date:** [10 January 2021 21:24 UTC](https://discourse.nodered.org/t/inject-node-for-deconz-raspbee-ii-for-a-lidl-bulb/38863/7 "2021-01-10T21:24:48Z")

</div>

all works - except i can't modifie it by a inject node!

It is up and running and connected and all works fine i just can't change the bulb

---

<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:** [11 March 2021 21:24 UTC](https://discourse.nodered.org/t/inject-node-for-deconz-raspbee-ii-for-a-lidl-bulb/38863/8 "2021-03-11T21:24:51Z")

</div>

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