# Developing Nodes

**URL:** https://discourse.nodered.org/c/developing-nodes/15.md?page=8

[Latest](https://discourse.nodered.org/latest.md) · [Categories](https://discourse.nodered.org/categories.md) · [Tags](https://discourse.nodered.org/tags.md)

**Page:** 9

---

## [Creating a config node](https://discourse.nodered.org/t/creating-a-config-node/85370)

<div class="topic-metadata">

**Author:** [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Replies:** 1\
**Last updated:** [9 February 2024 15:24 UTC](https://discourse.nodered.org/t/creating-a-config-node/85370 "2024-02-09T15:24:49Z")

</div>

I'm making a config node that creates a tcp connection. If there is no node using the config node we created, the config should not create a TCP connection. How do I solve this problem? So how can I find out the number …

---

## [AES70/OCA(open control architecture) node](https://discourse.nodered.org/t/aes70-oca-open-control-architecture-node/85301)

<div class="topic-metadata">

**Author:** [@5UP3RR3D](https://discourse.nodered.org/u/5UP3RR3D)\
**Replies:** 0\
**Last updated:** [7 February 2024 20:10 UTC](https://discourse.nodered.org/t/aes70-oca-open-control-architecture-node/85301 "2024-02-07T20:10:29Z")

</div>

Hi folks, has anyone built a AES70/OCA node yet? I'm experimenting with the node.js version of a AES70 project - GitHub - DeutscheSoft/AES70.js: A controller library implementing the AES70 standard but my programming s…

---

## [Text bug in node red design?](https://discourse.nodered.org/t/text-bug-in-node-red-design/85292)

<div class="topic-metadata">

**Author:** [@znetsixe](https://discourse.nodered.org/u/znetsixe)\
**Replies:** 4\
**Last updated:** [7 February 2024 13:41 UTC](https://discourse.nodered.org/t/text-bug-in-node-red-design/85292 "2024-02-07T13:41:44Z")

</div>

Been a while. Im exerpiencing this issue in node red : My code in the node is : module.exports = function (RED) { function rotating\_machine(config) { //create node RED.nodes.createNode(this, config); …

---

## [Changing the help text based on a http request during oneditprepare](https://discourse.nodered.org/t/changing-the-help-text-based-on-a-http-request-during-oneditprepare/84947)

<div class="topic-metadata">

**Author:** [@SpieringsAE](https://discourse.nodered.org/u/SpieringsAE)\
**Replies:** 3\
**Last updated:** [29 January 2024 07:56 UTC](https://discourse.nodered.org/t/changing-the-help-text-based-on-a-http-request-during-oneditprepare/84947 "2024-01-29T07:56:39Z")

</div>

I have a node that needs to update the help text depending on what it gets back from a http GET request so in the html I have: oneditprepare: function() { $.getJSON("myRequest", function(data) { if (data.includes("th…

---

## [Node maintenance for dummies](https://discourse.nodered.org/t/node-maintenance-for-dummies/84960)

<div class="topic-metadata">

**Author:** [@flipzz](https://discourse.nodered.org/u/flipzz)\
**Replies:** 8\
**Last updated:** [28 January 2024 11:16 UTC](https://discourse.nodered.org/t/node-maintenance-for-dummies/84960 "2024-01-28T11:16:53Z")

</div>

Hi, Anyone aware of any "node maintenance" documentation for existing nodes in github? I am thinking of something that describes good practices for fixing bugs/outdated dependencies of existing node red nodes in github.…

---

## [Stop installing/updating a node by requiring specific node-red version](https://discourse.nodered.org/t/stop-installing-updating-a-node-by-requiring-specific-node-red-version/84865)

<div class="topic-metadata">

**Author:** [@Supergiovane](https://discourse.nodered.org/u/Supergiovane)\
**Replies:** 4\
**Last updated:** [24 January 2024 10:20 UTC](https://discourse.nodered.org/t/stop-installing-updating-a-node-by-requiring-specific-node-red-version/84865 "2024-01-24T10:20:14Z")

</div>

Hi i'm missing something with that part in package json file: "node-red": { "version": "\>=3.1.1", "plugins": { "commonFunctions": "/nodes/commonFunctions.js" }, I want the user not to be able to install my node, i…

---

## [Problem to save value of a select](https://discourse.nodered.org/t/problem-to-save-value-of-a-select/84786)

<div class="topic-metadata">

**Author:** [@riri](https://discourse.nodered.org/u/riri)\
**Replies:** 5\
**Last updated:** [23 January 2024 10:10 UTC](https://discourse.nodered.org/t/problem-to-save-value-of-a-select/84786 "2024-01-23T10:10:38Z")

</div>

Hi everyone I have a select input with 2 customs value and one string value. When I put the value "type" in the "defaults" and that the click on my node, the node editor is empty while when I put in comment the value "t…

---

## [Find out incoming wires to a node …](https://discourse.nodered.org/t/find-out-incoming-wires-to-a-node/84765)

<div class="topic-metadata">

**Author:** [@helander](https://discourse.nodered.org/u/helander)\
**Replies:** 31\
**Last updated:** [23 January 2024 07:45 UTC](https://discourse.nodered.org/t/find-out-incoming-wires-to-a-node/84765 "2024-01-23T07:45:39Z")

</div>

I would like for a node to be able to find out what incoming wires the node has (e.g. what other nodes had outgoing wires to this node). I have found a solution that seems to work, but I do not think it is based on any o…

---

## [Is it possible to stop Edit dialog from Closing when click on Done?](https://discourse.nodered.org/t/is-it-possible-to-stop-edit-dialog-from-closing-when-click-on-done/84780)

<div class="topic-metadata">

**Author:** [@AGhorab](https://discourse.nodered.org/u/AGhorab)\
**Replies:** 10\
**Last updated:** [22 January 2024 13:32 UTC](https://discourse.nodered.org/t/is-it-possible-to-stop-edit-dialog-from-closing-when-click-on-done/84780 "2024-01-22T13:32:07Z")

</div>

Hello, I'm currently building a node and it's possible to that i can have an async validation on certain fields that would run during saving of node properties in edit dialog. So i was asking is it possible to stop it f…

---

## [Access discontinued parameters](https://discourse.nodered.org/t/access-discontinued-parameters/84355)

<div class="topic-metadata">

**Author:** [@danube](https://discourse.nodered.org/u/danube)\
**Replies:** 16\
**Last updated:** [20 January 2024 15:11 UTC](https://discourse.nodered.org/t/access-discontinued-parameters/84355 "2024-01-20T15:11:31Z")

</div>

I come up with another weired question. Ages ago I started to develop a node. With the time, more and more parameters were added and now (with a major version bump) I'm going to move these parameters to a configSet. The…

---

## [Options for simplifying custom node runtime code?](https://discourse.nodered.org/t/options-for-simplifying-custom-node-runtime-code/84576)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 45\
**Last updated:** [20 January 2024 12:47 UTC](https://discourse.nodered.org/t/options-for-simplifying-custom-node-runtime-code/84576 "2024-01-20T12:47:29Z")

</div>

Hi all, moved this from the thread on Noisecraft as promised. Well that sucks. No matter what I try, I can't get RED.nodes.registerType to accept a callback function in a class. I just get an error: Cannot convert und…

---

## [How to establish websocket connection?](https://discourse.nodered.org/t/how-to-establish-websocket-connection/84738)

<div class="topic-metadata">

**Author:** [@hansimeister](https://discourse.nodered.org/u/hansimeister)\
**Replies:** 5\
**Last updated:** [19 January 2024 20:56 UTC](https://discourse.nodered.org/t/how-to-establish-websocket-connection/84738 "2024-01-19T20:56:13Z")

</div>

Hi There I am planning on creating my own two nodes one for subscribing to certain events and another one for sending some actions. These happen both over the same websocket connection. So I thought about doing this in …

---

## [How implement two inputs for node?](https://discourse.nodered.org/t/how-implement-two-inputs-for-node/84633)

<div class="topic-metadata">

**Author:** [@VugarWeb777](https://discourse.nodered.org/u/VugarWeb777)\
**Replies:** 5\
**Last updated:** [17 January 2024 11:31 UTC](https://discourse.nodered.org/t/how-implement-two-inputs-for-node/84633 "2024-01-17T11:31:14Z")

</div>

how implement two inputs for node ? node-red version 3.1.1

---

## [Getting a unique ID for each node (that doesnt change)](https://discourse.nodered.org/t/getting-a-unique-id-for-each-node-that-doesnt-change/84575)

<div class="topic-metadata">

**Author:** [@bruceb85](https://discourse.nodered.org/u/bruceb85)\
**Replies:** 17\
**Last updated:** [17 January 2024 08:38 UTC](https://discourse.nodered.org/t/getting-a-unique-id-for-each-node-that-doesnt-change/84575 "2024-01-17T08:38:08Z")

</div>

I am trying to build an and gate, without using topics to distinguish the inputs. I would like multiple inject nodes to fire a boolean value to the and gate. If all are true then it outputs true. However, it seems that t…

---

## [How can I avoid duplicate configuration node names?](https://discourse.nodered.org/t/how-can-i-avoid-duplicate-configuration-node-names/84249)

<div class="topic-metadata">

**Author:** [@malee](https://discourse.nodered.org/u/malee)\
**Replies:** 11\
**Last updated:** [16 January 2024 12:34 UTC](https://discourse.nodered.org/t/how-can-i-avoid-duplicate-configuration-node-names/84249 "2024-01-16T12:34:27Z")

</div>

This is the scenario: I have created a flow with a node that has a configurable component for example a server connection. If I then import a flow that contains configuration settings that have the same name as the one…

---

## [Ideas for simplifying custom node creation](https://discourse.nodered.org/t/ideas-for-simplifying-custom-node-creation/83228)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 18\
**Last updated:** [16 January 2024 12:24 UTC](https://discourse.nodered.org/t/ideas-for-simplifying-custom-node-creation/83228 "2024-01-16T12:24:35Z")

</div>

Hi all, this topic stems from An idea for third-party UI in ui-builder - #5 by jackcarey. It is intended to garner some ideas about how the development of good quality custom nodes could be eased and simplified for every…

---

## [Using only one node](https://discourse.nodered.org/t/using-only-one-node/84561)

<div class="topic-metadata">

**Author:** [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Replies:** 5\
**Last updated:** [15 January 2024 17:37 UTC](https://discourse.nodered.org/t/using-only-one-node/84561 "2024-01-15T17:37:08Z")

</div>

Hello, in node red tabs only one node will be used and the other node created will remain non-functional. For example, let there be a node named node a in the system, and the other added node a should not be used. what i…

---

## [Questions about the new RPi5 GPIO node](https://discourse.nodered.org/t/questions-about-the-new-rpi5-gpio-node/84208)

<div class="topic-metadata">

**Author:** [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Replies:** 8\
**Last updated:** [15 January 2024 17:13 UTC](https://discourse.nodered.org/t/questions-about-the-new-rpi5-gpio-node/84208 "2024-01-15T17:13:14Z")

</div>

I'm currently working on the new RPi5 GPIO node. I have questions for you about this: Should the node be triggered cyclically or via the input? Should only one pin per node be read/written (node input/output is True/F…

---

## [Websocket connection error?](https://discourse.nodered.org/t/websocket-connection-error/83929)

<div class="topic-metadata">

**Author:** [@hansimeister](https://discourse.nodered.org/u/hansimeister)\
**Replies:** 5\
**Last updated:** [11 January 2024 14:31 UTC](https://discourse.nodered.org/t/websocket-connection-error/83929 "2024-01-11T14:31:06Z")

</div>

Hey there :slight\_smile: I am developing a custom node. When I do not enter valid input for rectangleItems the node succeeds, however as soon as I enter some values for rectangleItems the node stops working and I get th…

---

## [The browser console gets stucked when load editor resources](https://discourse.nodered.org/t/the-browser-console-gets-stucked-when-load-editor-resources/84409)

<div class="topic-metadata">

**Author:** [@abu](https://discourse.nodered.org/u/abu)\
**Replies:** 11\
**Last updated:** [10 January 2024 05:01 UTC](https://discourse.nodered.org/t/the-browser-console-gets-stucked-when-load-editor-resources/84409 "2024-01-10T05:01:59Z")

</div>

Hi, I am trying to load editor resources following Loading extra resources in the editor : Node-RED (nodered.org) step 1 make the resources directory /app/nod\_red/lower\_case/resources, like this -rw-r--r-- 1 root …

---

## [Export text in text editor](https://discourse.nodered.org/t/export-text-in-text-editor/84394)

<div class="topic-metadata">

**Author:** [@riri](https://discourse.nodered.org/u/riri)\
**Replies:** 2\
**Last updated:** [9 January 2024 10:41 UTC](https://discourse.nodered.org/t/export-text-in-text-editor/84394 "2024-01-09T10:41:52Z")

</div>

hi everyone I am creating a custom node containing a text editor, except that I would like the existing text in the text editor to be in the export json which is not the case. I was looked at the function node on github…

---

## [How to quote a config node](https://discourse.nodered.org/t/how-to-quote-a-config-node/84378)

<div class="topic-metadata">

**Author:** [@abu](https://discourse.nodered.org/u/abu)\
**Replies:** 19\
**Last updated:** [9 January 2024 10:41 UTC](https://discourse.nodered.org/t/how-to-quote-a-config-node/84378 "2024-01-09T10:41:06Z")

</div>

Hi, I tried config node following Configuration nodes : Node-RED (nodered.org), I wrote remote-server.html // remote-server.html \<script type="text/javascript"\> RED.nodes.registerType('remote-server',{ cat…

---

## [Question about html node](https://discourse.nodered.org/t/question-about-html-node/84298)

<div class="topic-metadata">

**Author:** [@gregorius](https://discourse.nodered.org/u/gregorius)\
**Replies:** 20\
**Last updated:** [5 January 2024 23:44 UTC](https://discourse.nodered.org/t/question-about-html-node/84298 "2024-01-05T23:44:28Z")

</div>

Hi There, I'm just utilising the html node and have a question about the options: with those three options, it's not possible to get the attributes and the content. For example with the selector being 'a': \<a href=…

---

## [Fails to retrieve the hostname when creating a node](https://discourse.nodered.org/t/fails-to-retrieve-the-hostname-when-creating-a-node/84220)

<div class="topic-metadata">

**Author:** [@Mediator68](https://discourse.nodered.org/u/Mediator68)\
**Replies:** 4\
**Last updated:** [2 January 2024 20:54 UTC](https://discourse.nodered.org/t/fails-to-retrieve-the-hostname-when-creating-a-node/84220 "2024-01-02T20:54:11Z")

</div>

Hi, Happy new year :smile: I have creating a node, I use 2 files index.js index.html I had no problems with the installation of the node but i use API to load widget in my editor and when i launch my node. I have t…

---

## [How to access selection from drop down property](https://discourse.nodered.org/t/how-to-access-selection-from-drop-down-property/84125)

<div class="topic-metadata">

**Author:** [@bruceb85](https://discourse.nodered.org/u/bruceb85)\
**Replies:** 4\
**Last updated:** [31 December 2023 02:04 UTC](https://discourse.nodered.org/t/how-to-access-selection-from-drop-down-property/84125 "2023-12-31T02:04:11Z")

</div>

I can access the text input field value, but the drop down selection from the properties windows is undefined. Below is my code, how can I access which drop down menu was selected? tester.html \<script type="text/javas…

---

## [Missing (actually hidden) context pop-up in config node editor](https://discourse.nodered.org/t/missing-actually-hidden-context-pop-up-in-config-node-editor/83999)

<div class="topic-metadata">

**Author:** [@mike](https://discourse.nodered.org/u/mike)\
**Replies:** 9\
**Last updated:** [28 December 2023 16:02 UTC](https://discourse.nodered.org/t/missing-actually-hidden-context-pop-up-in-config-node-editor/83999 "2023-12-28T16:02:00Z")

</div>

I notice that the context pop up for config nodes in the bottom right of the editor footer does not appear on my node (and others) unless I manually expand the edit box. Does anyone have a suggestion on how I can expand…

---

## [Changing the pass through behaviour of a multistate switch](https://discourse.nodered.org/t/changing-the-pass-through-behaviour-of-a-multistate-switch/84052)

<div class="topic-metadata">

**Author:** [@magnusso](https://discourse.nodered.org/u/magnusso)\
**Replies:** 2\
**Last updated:** [28 December 2023 13:43 UTC](https://discourse.nodered.org/t/changing-the-pass-through-behaviour-of-a-multistate-switch/84052 "2023-12-28T13:43:24Z")

</div>

I'm new to developing nodes and would very much appericate a helping hand. My objective is to change the exisiting multistate switch module so that it would incorporate the same pass through feature as the ui\_switch modu…

---

## [Credentials & Editable Lists](https://discourse.nodered.org/t/credentials-editable-lists/84018)

<div class="topic-metadata">

**Author:** [@Stwissel](https://discourse.nodered.org/u/Stwissel)\
**Replies:** 13\
**Last updated:** [27 December 2023 12:07 UTC](https://discourse.nodered.org/t/credentials-editable-lists/84018 "2023-12-27T12:07:50Z")

</div>

Thx to @marcus-j-davies and @Steve-Mcl I got sufficient understanding of editable lists to update my CLoudflare DDNS Node. One challenge remains: Currently I store the values in this.spokes, an array of objects. Ideall…

---

## [Making a new ui\_slider node](https://discourse.nodered.org/t/making-a-new-ui-slider-node/84019)

<div class="topic-metadata">

**Author:** [@magnusso](https://discourse.nodered.org/u/magnusso)\
**Replies:** 2\
**Last updated:** [25 December 2023 13:36 UTC](https://discourse.nodered.org/t/making-a-new-ui-slider-node/84019 "2023-12-25T13:36:08Z")

</div>

My apologies if this question has already been answered. What is the recommend way of taking an existing node, in this case slider and start modifying existing code? Specifically, how does one setup the workflow? Where…

---

## [Advice neededa; Editing / Keeping multiple secrets](https://discourse.nodered.org/t/advice-neededa-editing-keeping-multiple-secrets/83981)

<div class="topic-metadata">

**Author:** [@Stwissel](https://discourse.nodered.org/u/Stwissel)\
**Replies:** 9\
**Last updated:** [24 December 2023 11:24 UTC](https://discourse.nodered.org/t/advice-neededa-editing-keeping-multiple-secrets/83981 "2023-12-24T11:24:08Z")

</div>

I just published my latest update to my DDNS node for Cloudflare. In it I split IP acquisition and DNS update into (optional) two nodes to fit my use case. To ensure that a spoke only can update its own DNS entry it n…

[Previous page](https://discourse.nodered.org/c/developing-nodes/15.md?page=7)

[Next page](https://discourse.nodered.org/c/developing-nodes/15.md?page=9)
