# How to add new node to palette?

**URL:** <https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757>\
**Category:** General\
**Created:** [25 July 2024 13:00 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757 "2024-07-25T13:00:45Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![cope](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cope/32/34515_2.png) [@cope](https://discourse.nodered.org/u/cope)\
**Post date:** [25 July 2024 13:00 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/1 "2024-07-25T13:00:45Z")

</div>

I have installed the node daikin-controller-cloud from whithin the .node-red directory with the command 'npm -i daikin-controller-cloud'.  
So far so good.

There is a directory daikin-controller-cloud in the node-modules directory.  
I restarted nodered. In the palette the node does not show up. Also not in the node list in the left window of the webpage.

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [25 July 2024 13:09 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/2 "2024-07-25T13:09:29Z")

</div>

Hi @cope

You can’t just install any npm module and start using it from the palllett.

Modules have to be developed specifically for Node RED.

Node RED is designed to work with modules developed specifically for it.

If you wanted to use a 3rd party module in say, the function node then search loading modules in function nodes (sorry I’m on the phone) - many here do that, to use none Node RED modules

If you wanted it to work like others nodes - it needs to be developed specifically for Node RED

---

<div class="post-metadata">

**Author:** ![cope](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cope/32/34515_2.png) [@cope](https://discourse.nodered.org/u/cope)\
**Post date:** [25 July 2024 13:25 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/3 "2024-07-25T13:25:52Z")

</div>

Thanks for answering and pointing me to the problem.

I found the info on [GitHub - Apollon77/daikin-controller-cloud: Connect and Control Daikin Cloud devices](https://github.com/Apollon77/daikin-controller-cloud) and thought that would work with Node Red. That is clearly not so.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [25 July 2024 13:30 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/4 "2024-07-25T13:30:25Z")

</div>

Nodes in the Pallett are specifically written for Node RED.  
You can use None Node RED modules, but you need to use a `function` node to use them.

[Writing Functions : Node-RED (nodered.org)](https://nodered.org/docs/user-guide/writing-functions#loading-additional-modules)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [25 July 2024 13:48 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/5 "2024-07-25T13:48:25Z")

</div>

> [@cope](#):
>
> thought that would work with Node Red. That is clearly not so.

It will work with node-red (or at least it should), but you won't see a node for it. As Marcus says you will have to drive it in a function node. Also see [https://flowfuse.com/blog/2023/06/import-modules/](https://flowfuse.com/blog/2023/06/import-modules/).

---

<div class="post-metadata">

**Author:** ![cope](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cope/32/34515_2.png) [@cope](https://discourse.nodered.org/u/cope)\
**Post date:** [25 July 2024 13:57 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/6 "2024-07-25T13:57:17Z")

</div>

OK, thanks for the pointers.  
I will have a look at these.

---

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [25 July 2024 15:57 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/7 "2024-07-25T15:57:01Z")

</div>

There is a node called [node-red-contrib-daikin-cloud](https://flows.nodered.org/node/node-red-contrib-daikin-cloud) available, might be worth a try first before messing with external packages in a function node.

---

<div class="post-metadata">

**Author:** ![cope](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cope/32/34515_2.png) [@cope](https://discourse.nodered.org/u/cope)\
**Post date:** [25 July 2024 17:00 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/8 "2024-07-25T17:00:39Z")

</div>

Yes, I know. I used it for several years but now it stopped working.  
At the side of Daikin things have changed and the authentication works no more.  
That's why I was looking for something else.

The readme file of this node is referring to the page of daikin-controller-cloud.

But it is not very transparent for me.

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [25 July 2024 17:09 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/9 "2024-07-25T17:09:57Z")

</div>

You were willing to use the library directly...

I wouldn't mind betting, you can fork it, update it, fix the auth issues - fix it for others

Community spirit and all that 🤓

---

<div class="post-metadata">

**Author:** ![cope](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cope/32/34515_2.png) [@cope](https://discourse.nodered.org/u/cope)\
**Post date:** [25 July 2024 17:44 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/10 "2024-07-25T17:44:38Z")

</div>

Well, of course I would like to solve this for other users. But I am afraid that this is too ambitious for me.

---

<div class="post-metadata">

**Author:** ![HaroldPetersInskipp](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/haroldpetersinskipp/32/42319_2.png) [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Post date:** [25 July 2024 18:01 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/11 "2024-07-25T18:01:35Z")

</div>

The developer has indicated on their [github](https://github.com/DrHauss/node-red-contrib_BRP069C4/issues/28) that they are aware of the issue. They were waiting on a lib update that has since happened but are currently short on time to update their package.

---

<div class="post-metadata">

**Author:** ![cope](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cope/32/34515_2.png) [@cope](https://discourse.nodered.org/u/cope)\
**Post date:** [25 July 2024 18:30 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/12 "2024-07-25T18:30:49Z")

</div>

Thanks for the info.  
Patience is a good thing

---

<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:** [23 October 2024 18:31 UTC](https://discourse.nodered.org/t/how-to-add-new-node-to-palette/89757/13 "2024-10-23T18:31:49Z")

</div>

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