# Developing Nodes

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

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

**Page:** 21

---

## [Global variable call in postgrestor node - where condition](https://discourse.nodered.org/t/global-variable-call-in-postgrestor-node-where-condition/61709)

<div class="topic-metadata">

**Author:** [@learnobyte](https://discourse.nodered.org/u/learnobyte)\
**Replies:** 2\
**Last updated:** [24 April 2022 10:34 UTC](https://discourse.nodered.org/t/global-variable-call-in-postgrestor-node-where-condition/61709 "2022-04-24T10:34:34Z")

</div>

Hi, how to use/declare global variable in select query where condition? i tried below this flow, select query returns rowcount value as zero, would like to know how to declare global variable in sql query.

---

## [Library and node in one package](https://discourse.nodered.org/t/library-and-node-in-one-package/61548)

<div class="topic-metadata">

**Author:** [@NetHans](https://discourse.nodered.org/u/NetHans)\
**Replies:** 41\
**Last updated:** [24 April 2022 07:46 UTC](https://discourse.nodered.org/t/library-and-node-in-one-package/61548 "2022-04-24T07:46:21Z")

</div>

Hello, I am currently trying to create a Node. To make it easier to work with the resulting data, I wanted to add a NodeJs library to the node. This library should be able to be included in the function node via setup, …

---

## [Find config node users](https://discourse.nodered.org/t/find-config-node-users/61509)

<div class="topic-metadata">

**Author:** [@cloud-rocket](https://discourse.nodered.org/u/cloud-rocket)\
**Replies:** 4\
**Last updated:** [21 April 2022 14:49 UTC](https://discourse.nodered.org/t/find-config-node-users/61509 "2022-04-21T14:49:34Z")

</div>

I am developing a config node X that needs to find a list of other nodes that uses it. This list is needed during config node initialization. Any convenient way to do it? Thanks

---

## [Change the font color of node's label?](https://discourse.nodered.org/t/change-the-font-color-of-nodes-label/61535)

<div class="topic-metadata">

**Author:** [@talala](https://discourse.nodered.org/u/talala)\
**Replies:** 2\
**Last updated:** [20 April 2022 11:57 UTC](https://discourse.nodered.org/t/change-the-font-color-of-nodes-label/61535 "2022-04-20T11:57:14Z")

</div>

Hello, I am having trouble changing the font color (not background color) of a self-created node. This is how my node looks like for now, as you see the background color is perfect, but I want to change the default te…

---

## [Unable to open Uibuilder on Rasberry pi](https://discourse.nodered.org/t/unable-to-open-uibuilder-on-rasberry-pi/61421)

<div class="topic-metadata">

**Author:** [@Tejas](https://discourse.nodered.org/u/Tejas)\
**Replies:** 2\
**Last updated:** [19 April 2022 04:29 UTC](https://discourse.nodered.org/t/unable-to-open-uibuilder-on-rasberry-pi/61421 "2022-04-19T04:29:41Z")

</div>

I have installed Node-RED in Rasberry pi and i'm able to run my flows, but i am unable to open up uibuilder since it's showing me to install Vue and Bootstrap-vue files which i cannot install from library since the uibui…

---

## [How to make a created node's property accept dynamic (msg) values](https://discourse.nodered.org/t/how-to-make-a-created-nodes-property-accept-dynamic-msg-values/61305)

<div class="topic-metadata">

**Author:** [@joaquim.braga](https://discourse.nodered.org/u/joaquim.braga)\
**Replies:** 3\
**Last updated:** [18 April 2022 19:22 UTC](https://discourse.nodered.org/t/how-to-make-a-created-nodes-property-accept-dynamic-msg-values/61305 "2022-04-18T19:22:37Z")

</div>

I created a node that takes a property called tagId The node works fine when I set tagId to a static value. I want the node to be able to receive either a static value or a value from msg. Something like Is there …

---

## [TypedInput Change options upon change event](https://discourse.nodered.org/t/typedinput-change-options-upon-change-event/61448)

<div class="topic-metadata">

**Author:** [@jayson](https://discourse.nodered.org/u/jayson)\
**Replies:** 0\
**Last updated:** [18 April 2022 15:06 UTC](https://discourse.nodered.org/t/typedinput-change-options-upon-change-event/61448 "2022-04-18T15:06:02Z")

</div>

Hi, How can I change the options of the initialized dropdown for typedinput? the on change event id being triggered but the options are not changing. Here is my initial creation of the typedinput. var methods…

---

## [Auto Scroll to bottom when item added to editableList not work in my custom node](https://discourse.nodered.org/t/auto-scroll-to-bottom-when-item-added-to-editablelist-not-work-in-my-custom-node/61278)

<div class="topic-metadata">

**Author:** [@d0d04m3](https://discourse.nodered.org/u/d0d04m3)\
**Replies:** 6\
**Last updated:** [17 April 2022 08:45 UTC](https://discourse.nodered.org/t/auto-scroll-to-bottom-when-item-added-to-editablelist-not-work-in-my-custom-node/61278 "2022-04-17T08:45:33Z")

</div>

hi Auto Scroll to bottom not work for me all other node work for me this issus only in my custom node so I add this code to update scrolltop when new item added but scrolltop value never update ! what's wrong I can…

---

## [How does to fix node validation error, when it get value from TypedInput Select box?](https://discourse.nodered.org/t/how-does-to-fix-node-validation-error-when-it-get-value-from-typedinput-select-box/61375)

<div class="topic-metadata">

**Author:** [@studiobox](https://discourse.nodered.org/u/studiobox)\
**Replies:** 0\
**Last updated:** [16 April 2022 22:41 UTC](https://discourse.nodered.org/t/how-does-to-fix-node-validation-error-when-it-get-value-from-typedinput-select-box/61375 "2022-04-16T22:41:15Z")

</div>

Hi all, I create node. And it has validate function for its field. Validation has using value from 'TypedInput Select box'. They names 'node-input-action' and 'node-input-datetimeMode'. But the problem is from 'node-in…

---

## [RED.library without RED.editor?](https://discourse.nodered.org/t/red-library-without-red-editor/61247)

<div class="topic-metadata">

**Author:** [@Fredrik](https://discourse.nodered.org/u/Fredrik)\
**Replies:** 3\
**Last updated:** [15 April 2022 17:31 UTC](https://discourse.nodered.org/t/red-library-without-red-editor/61247 "2022-04-15T17:31:31Z")

</div>

I've been hacking away at RED.library, trying to understand how it works. I'm actually getting somewhere and managed to save and read information from the library in my test node. However, I have a question. Is there a …

---

## [Is there any input date and time for node edit dialog?](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160)

<div class="topic-metadata">

**Author:** [@studiobox](https://discourse.nodered.org/u/studiobox)\
**Replies:** 12\
**Last updated:** [15 April 2022 08:45 UTC](https://discourse.nodered.org/t/is-there-any-input-date-and-time-for-node-edit-dialog/61160 "2022-04-15T08:45:20Z")

</div>

Hi all, Is there any input date and time for node edit dialog? Moreover, can we use JQuery UI in node edit dialog? :thinking: Because HTML does not support all browser. Thank you very much in advance

---

## [Installing a module fails to install dependencies?](https://discourse.nodered.org/t/installing-a-module-fails-to-install-dependencies/60059)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 11\
**Last updated:** [10 April 2022 22:50 UTC](https://discourse.nodered.org/t/installing-a-module-fails-to-install-dependencies/60059 "2022-04-10T22:50:57Z")

</div>

I'm having difficulties with NPM dependency installation. It's not happening the way I would hope it would... Specifically: node-red-fd-corewidgets depends on node-red-flexdash if I install node-red-fd-corewidgets us…

---

## [Fa-microchip icon](https://discourse.nodered.org/t/fa-microchip-icon/61152)

<div class="topic-metadata">

**Author:** [@dzairo](https://discourse.nodered.org/u/dzairo)\
**Replies:** 18\
**Last updated:** [12 April 2022 10:09 UTC](https://discourse.nodered.org/t/fa-microchip-icon/61152 "2022-04-12T10:09:42Z")

</div>

Hi. I try edit existing node and have little problem with icons . for example : fa-microchip is working , and show good , but use class="fa fa-network-wired" then show nothing . Where are stored all icons ? may be nee…

---

## [Is the endpoint /resources/ relative to the editor endpoint?](https://discourse.nodered.org/t/is-the-endpoint-resources-relative-to-the-editor-endpoint/61077)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 2\
**Last updated:** [10 April 2022 19:56 UTC](https://discourse.nodered.org/t/is-the-endpoint-resources-relative-to-the-editor-endpoint/61077 "2022-04-10T19:56:08Z")

</div>

So, I have a need to open up a new tab (to display a large network mesh from within my node) this map (currently embedded in the Node UI) uses JS files - fetched using /resources/node-red-contrib-zwave-js/UITab/\*\*.js N…

---

## [How do Node-RED plugins work?](https://discourse.nodered.org/t/how-do-node-red-plugins-work/60890)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 10\
**Last updated:** [10 April 2022 16:18 UTC](https://discourse.nodered.org/t/how-do-node-red-plugins-work/60890 "2022-04-10T16:18:37Z")

</div>

Is there any documentation for how to write a Node-RED runtime plugin? E.g., RED.plugins.registerPlugin() Or any examples? I'm probably using the wrong search keys....

---

## [Make dashboard / mdashboard template message on connect/disconnect optional](https://discourse.nodered.org/t/make-dashboard-mdashboard-template-message-on-connect-disconnect-optional/60979)

<div class="topic-metadata">

**Author:** [@ollix](https://discourse.nodered.org/u/ollix)\
**Replies:** 4\
**Last updated:** [8 April 2022 15:53 UTC](https://discourse.nodered.org/t/make-dashboard-mdashboard-template-message-on-connect-disconnect-optional/60979 "2022-04-08T15:53:50Z")

</div>

Hi y'all, I am using Mdashboard and make heavy use of the template node. That node sends a message, if a client connects / disconnects. I am not sure, if it is introduced by the mdashboard fork or if that message alread…

---

## [Node.send not always works](https://discourse.nodered.org/t/node-send-not-always-works/60615)

<div class="topic-metadata">

**Author:** [@cloud-rocket](https://discourse.nodered.org/u/cloud-rocket)\
**Replies:** 20\
**Last updated:** [6 April 2022 16:53 UTC](https://discourse.nodered.org/t/node-send-not-always-works/60615 "2022-04-06T16:53:27Z")

</div>

I am developing a node that receives asynchronous messages from an external system through AMQP and sends the data to the developed node output. My external message function is triggered perfectly fine every time, but w…

---

## [Autocomplete also for empty Input elements](https://discourse.nodered.org/t/autocomplete-also-for-empty-input-elements/60800)

<div class="topic-metadata">

**Author:** [@Hypnos](https://discourse.nodered.org/u/Hypnos)\
**Replies:** 1\
**Last updated:** [5 April 2022 05:58 UTC](https://discourse.nodered.org/t/autocomplete-also-for-empty-input-elements/60800 "2022-04-05T05:58:06Z")

</div>

I just added autocomplete to a node in a typed input field. Unfortunately, I noticed that the feature only works if the user enters at least one letter. It would be great if this could also work when the field is empty…

---

## [Power from node-red-contrib-fritzapi](https://discourse.nodered.org/t/power-from-node-red-contrib-fritzapi/60730)

<div class="topic-metadata">

**Author:** [@Mario](https://discourse.nodered.org/u/Mario)\
**Replies:** 1\
**Last updated:** [4 April 2022 20:37 UTC](https://discourse.nodered.org/t/power-from-node-red-contrib-fritzapi/60730 "2022-04-04T20:37:48Z")

</div>

Hallo, I have a photovoltaic system with which I can read out the value for the energy generated via a DECT 210 of a Fritzbox. Now I want to use it in Node Red as well. Unfortunately I only get the AIN read out as a res…

---

## [Adding example flow folders to the node-red library?](https://discourse.nodered.org/t/adding-example-flow-folders-to-the-node-red-library/60795)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 0\
**Last updated:** [4 April 2022 19:57 UTC](https://discourse.nodered.org/t/adding-example-flow-folders-to-the-node-red-library/60795 "2022-04-04T19:57:26Z")

</div>

One of the things I'd like to do next with uibuilder is to allow uibuilder templates to include an examples folder that is automatically added to the Node-RED examples library (or some custom library under the same menu,…

---

## [How can a node update its own config/params?](https://discourse.nodered.org/t/how-can-a-node-update-its-own-config-params/60741)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 7\
**Last updated:** [4 April 2022 19:26 UTC](https://discourse.nodered.org/t/how-can-a-node-update-its-own-config-params/60741 "2022-04-04T19:26:52Z")

</div>

I'm trying to persist the FlexDash configuration in the flow, similar to what the current dashboard does. The problem I'm having is how to modify the config from within the runtime. The problem statement is fairly simple…

---

## [How can I share my custom event emitter between the node and the runtime side](https://discourse.nodered.org/t/how-can-i-share-my-custom-event-emitter-between-the-node-and-the-runtime-side/60709)

<div class="topic-metadata">

**Author:** [@steinmetz](https://discourse.nodered.org/u/steinmetz)\
**Replies:** 6\
**Last updated:** [3 April 2022 14:44 UTC](https://discourse.nodered.org/t/how-can-i-share-my-custom-event-emitter-between-the-node-and-the-runtime-side/60709 "2022-04-03T14:44:37Z")

</div>

Continuing the discussion from Event emitter for function object in separate module: I need to watch all nodes (HTML elements) of a flow and then send them to a database. My idea is to create a custom event emitter and …

---

## [Node-red-contrib-grpc TLS](https://discourse.nodered.org/t/node-red-contrib-grpc-tls/60680)

<div class="topic-metadata">

**Author:** [@Edi](https://discourse.nodered.org/u/Edi)\
**Replies:** 1\
**Last updated:** [2 April 2022 10:15 UTC](https://discourse.nodered.org/t/node-red-contrib-grpc-tls/60680 "2022-04-02T10:15:04Z")

</div>

Hello, i will communicate over GRPC with an application that is installed on a Windows 2016 Sevrer. The problem is, my Node-Red use TLS 1.3 and the App on the Windows Machine can only communicate over TLS 1.2. How can…

---

## [How can I create UI to custom node](https://discourse.nodered.org/t/how-can-i-create-ui-to-custom-node/60437)

<div class="topic-metadata">

**Author:** [@wen27](https://discourse.nodered.org/u/wen27)\
**Replies:** 4\
**Last updated:** [29 March 2022 14:15 UTC](https://discourse.nodered.org/t/how-can-i-create-ui-to-custom-node/60437 "2022-03-29T14:15:21Z")

</div>

Hi all, I am new here, I am some question about create custom node. custom node code have two input ,I want render to website(HTML), How can I do? using http in -\> custom node -\> http out . custom node code HTML: …

---

## [Batch node group by time interval](https://discourse.nodered.org/t/batch-node-group-by-time-interval/60156)

<div class="topic-metadata">

**Author:** [@ZaoTX](https://discourse.nodered.org/u/ZaoTX)\
**Replies:** 15\
**Last updated:** [22 March 2022 15:39 UTC](https://discourse.nodered.org/t/batch-node-group-by-time-interval/60156 "2022-03-22T15:39:34Z")

</div>

Dear all, Is that possible to collect a set of messages in less than 1 second? Batch node supports this function only for more than (or equal to) 1 second. It is that possible to create a Python or Javascript node to a…

---

## [Renaming the configuration node type (config) in a custom node. Best practice?](https://discourse.nodered.org/t/renaming-the-configuration-node-type-config-in-a-custom-node-best-practice/60041)

<div class="topic-metadata">

**Author:** [@hklages](https://discourse.nodered.org/u/hklages)\
**Replies:** 6\
**Last updated:** [21 March 2022 21:33 UTC](https://discourse.nodered.org/t/renaming-the-configuration-node-type-config-in-a-custom-node-best-practice/60041 "2022-03-21T21:33:25Z")

</div>

In my package node-red-contrib-sonos-plus the config node type is named "sonos-config". That interferes with another package and I would like to change the name to "sonosplus-config". That means I have to rename it in …

---

## [How to enumerate nodes in config](https://discourse.nodered.org/t/how-to-enumerate-nodes-in-config/60170)

<div class="topic-metadata">

**Author:** [@cloud-rocket](https://discourse.nodered.org/u/cloud-rocket)\
**Replies:** 2\
**Last updated:** [21 March 2022 19:14 UTC](https://discourse.nodered.org/t/how-to-enumerate-nodes-in-config/60170 "2022-03-21T19:14:54Z")

</div>

I am trying to enumerate config nodes of a certain type within node configuration HTML. The following call works for UI nodes: RED.nodes.filterNodes({type:'my-type'}) But it doesn't work for any config nodes (the retu…

---

## [Possible bug with node.status method](https://discourse.nodered.org/t/possible-bug-with-node-status-method/59890)

<div class="topic-metadata">

**Author:** [@hkayan](https://discourse.nodered.org/u/hkayan)\
**Replies:** 12\
**Last updated:** [18 March 2022 11:55 UTC](https://discourse.nodered.org/t/possible-bug-with-node-status-method/59890 "2022-03-18T11:55:00Z")

</div>

I change node.status based on the emitted event as seen below: const STOPSCAN = () =\> { node.status( { fill: "red", shape: "dot", text: "Scan stopped." } ); node.log("ding ding") }; noble.on('scanStop', STOPSCAN); …

---

## [How can I unit test created UI Dashboard widget node?](https://discourse.nodered.org/t/how-can-i-unit-test-created-ui-dashboard-widget-node/60010)

<div class="topic-metadata">

**Author:** [@studiobox](https://discourse.nodered.org/u/studiobox)\
**Replies:** 0\
**Last updated:** [18 March 2022 01:55 UTC](https://discourse.nodered.org/t/how-can-i-unit-test-created-ui-dashboard-widget-node/60010 "2022-03-18T01:55:45Z")

</div>

Hi, :blush: I have create new UI Dashboard widget node. But I have some problem about unit test. In my new UI Dashboard widget node main function, there are require checked about node-red-dashboard. See below, functio…

---

## [NodeRed Spotify control](https://discourse.nodered.org/t/nodered-spotify-control/59873)

<div class="topic-metadata">

**Author:** [@thibo.vonderlynck](https://discourse.nodered.org/u/thibo.vonderlynck)\
**Replies:** 3\
**Last updated:** [15 March 2022 09:07 UTC](https://discourse.nodered.org/t/nodered-spotify-control/59873 "2022-03-15T09:07:05Z")

</div>

Hi everyone, I'm having some questions about NodeRed. So basically I'm sending over the Spotify song name to a broker called HiveMQ. The goal is to then get it sent over to an ESP32 and get it printed on an LCD screen. T…

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

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