# Developing Nodes

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

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

**Page:** 36

---

## [\[node-red-dashboard\] Sharing code with initController](https://discourse.nodered.org/t/node-red-dashboard-sharing-code-with-initcontroller/39040)

<div class="topic-metadata">

**Author:** [@yoiang](https://discourse.nodered.org/u/yoiang)\
**Replies:** 0\
**Last updated:** [13 January 2021 06:09 UTC](https://discourse.nodered.org/t/node-red-dashboard-sharing-code-with-initcontroller/39040 "2021-01-13T06:09:40Z")

</div>

Hey y'all! I have a question that's come up every now and then, I haven't made any headway and was wondering if the forum has any ideas! Understanding that the value for the initController option passed to addWidget is e…

---

## [Jsonata test works but doesn't in the flow](https://discourse.nodered.org/t/jsonata-test-works-but-doesnt-in-the-flow/38555)

<div class="topic-metadata">

**Author:** [@gr1nch](https://discourse.nodered.org/u/gr1nch)\
**Replies:** 16\
**Last updated:** [6 January 2021 22:05 UTC](https://discourse.nodered.org/t/jsonata-test-works-but-doesnt-in-the-flow/38555 "2021-01-06T22:05:36Z")

</div>

Hi, its taken me a long while to debug a problem where I want to capture all the sensor info I care about from a bunch of sensors (water, temp/humidity, motion, remotes) via Zigbee2Tasmota and I've got quite stuck where…

---

## [Help with a Node](https://discourse.nodered.org/t/help-with-a-node/38612)

<div class="topic-metadata">

**Author:** [@popeyesfx](https://discourse.nodered.org/u/popeyesfx)\
**Replies:** 3\
**Last updated:** [5 January 2021 20:36 UTC](https://discourse.nodered.org/t/help-with-a-node/38612 "2021-01-05T20:36:32Z")

</div>

Hi All I am new to node-red and have been trying to use it to connect to a BLE battery monitor. After a little scratching of my head and a lot of googling, I have managed to get the nodes to connect (using node-red-cont…

---

## [How to open a “Select folder” dialog from Node-Red)?](https://discourse.nodered.org/t/how-to-open-a-select-folder-dialog-from-node-red/38575)

<div class="topic-metadata">

**Author:** [@Allen](https://discourse.nodered.org/u/Allen)\
**Replies:** 4\
**Last updated:** [5 January 2021 11:38 UTC](https://discourse.nodered.org/t/how-to-open-a-select-folder-dialog-from-node-red/38575 "2021-01-05T11:38:28Z")

</div>

I create a new node, I need load json file to do something. Could I open a “Select folder” dialog to select json file instead of absolute json path.

---

## [Best practice for size of a UI node](https://discourse.nodered.org/t/best-practice-for-size-of-a-ui-node/38482)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 5\
**Last updated:** [4 January 2021 23:08 UTC](https://discourse.nodered.org/t/best-practice-for-size-of-a-ui-node/38482 "2021-01-04T23:08:58Z")

</div>

Hi folks, A few minutes ago, I announced a new node: node-red-contrib-ui-joystick. This node is based on nipplejs, which expects me to specify the size of the joystick widget in pixels: var options = { ... size:…

---

## [Development tools?](https://discourse.nodered.org/t/development-tools/35938)

<div class="topic-metadata">

**Author:** [@LosinIt](https://discourse.nodered.org/u/LosinIt)\
**Replies:** 27\
**Last updated:** [4 January 2021 20:28 UTC](https://discourse.nodered.org/t/development-tools/35938 "2021-01-04T20:28:23Z")

</div>

I haven't found any discussion of preferred tools for development, like an IDE. I'm sure some here just use a text editor but I find IDEs to be helpful because I mess around in several languages, none of them with any re…

---

## [ESP32CAM JPEG Upload to Node-Red Server](https://discourse.nodered.org/t/esp32cam-jpeg-upload-to-node-red-server/38443)

<div class="topic-metadata">

**Author:** [@Warlock2020](https://discourse.nodered.org/u/Warlock2020)\
**Replies:** 1\
**Last updated:** [3 January 2021 08:11 UTC](https://discourse.nodered.org/t/esp32cam-jpeg-upload-to-node-red-server/38443 "2021-01-03T08:11:05Z")

</div>

Hello everybody, I have the following script, which sends an image to the Node-Red Port every 10 seconds: XX.XX.XXX.XXX:1880/imageUpdate I would like to receive and save the images via Node-Red logic later for further …

---

## ['Calling' back a node?](https://discourse.nodered.org/t/calling-back-a-node/38391)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 8\
**Last updated:** [2 January 2021 15:57 UTC](https://discourse.nodered.org/t/calling-back-a-node/38391 "2021-01-02T15:57:24Z")

</div>

I am developing some custom nodes for one of mine clients, and i got stuck on one part.... What i try to accomplish: We have an 'IF' node with two outputs , first output executes first. When flow from first output is…

---

## [Request: Contrib-Nora Node Developers](https://discourse.nodered.org/t/request-contrib-nora-node-developers/38403)

<div class="topic-metadata">

**Author:** [@rgerrans](https://discourse.nodered.org/u/rgerrans)\
**Replies:** 0\
**Last updated:** [2 January 2021 15:19 UTC](https://discourse.nodered.org/t/request-contrib-nora-node-developers/38403 "2021-01-02T15:19:36Z")

</div>

@andrei-tatar Has done a great job getting us setup with Nora. I reached out to him a little while back to see if he was open to some help to continue it forward and he agreed. Even though I can hack my way though code a…

---

## [How can my custom node have dynamic number of outputs?](https://discourse.nodered.org/t/how-can-my-custom-node-have-dynamic-number-of-outputs/20256)

<div class="topic-metadata">

**Author:** [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Replies:** 11\
**Last updated:** [30 December 2020 22:12 UTC](https://discourse.nodered.org/t/how-can-my-custom-node-have-dynamic-number-of-outputs/20256 "2020-12-30T22:12:39Z")

</div>

Hi all. I have tried searching and looking through node-red function and switch nodes but cant pin down how I can have 1 or 2 outputs depending on a users choice in a drop-down For example, suppose I had an option on m…

---

## [Issue with config node](https://discourse.nodered.org/t/issue-with-config-node/38191)

<div class="topic-metadata">

**Author:** [@brainbugfix](https://discourse.nodered.org/u/brainbugfix)\
**Replies:** 3\
**Last updated:** [30 December 2020 09:39 UTC](https://discourse.nodered.org/t/issue-with-config-node/38191 "2020-12-30T09:39:49Z")

</div>

Hi, I have an issue with a config node. I created a custom node having two config nodes. This was working fine until I changed some input fields of one of the config nodes. When I run this on my development instance eve…

---

## [Node-RED Contrib Browser Utils](https://discourse.nodered.org/t/node-red-contrib-browser-utils/37955)

<div class="topic-metadata">

**Author:** [@NodeC](https://discourse.nodered.org/u/NodeC)\
**Replies:** 2\
**Last updated:** [30 December 2020 06:42 UTC](https://discourse.nodered.org/t/node-red-contrib-browser-utils/37955 "2020-12-30T06:42:22Z")

</div>

Node-RED Contrib Browser Utils This pallet has some very useful nodes. But, there are not accessible using the dashboard button. Any possible way to modify the js or html file where a button from dashboard can activate …

---

## [Fan control with condition](https://discourse.nodered.org/t/fan-control-with-condition/38141)

<div class="topic-metadata">

**Author:** [@Deathsoul](https://discourse.nodered.org/u/Deathsoul)\
**Replies:** 24\
**Last updated:** [29 December 2020 22:27 UTC](https://discourse.nodered.org/t/fan-control-with-condition/38141 "2020-12-29T22:27:49Z")

</div>

I try to create a node with 7 condition if all condition it activate my blower, if it not it turn off... The blower take hot air in my basement fire place(sensor1), and transfer it in my living-room(sensor2) My others …

---

## [Display on chart data collected by serial Port](https://discourse.nodered.org/t/display-on-chart-data-collected-by-serial-port/38171)

<div class="topic-metadata">

**Author:** [@298christian](https://discourse.nodered.org/u/298christian)\
**Replies:** 2\
**Last updated:** [29 December 2020 15:54 UTC](https://discourse.nodered.org/t/display-on-chart-data-collected-by-serial-port/38171 "2020-12-29T15:54:48Z")

</div>

Hi expert, I'm using a raspberry for collecting data over serial Port. What kind of nodes can I use to correctly manage the values ​​to be displayed in the dashboard as a graph? I need add only 1 or 2 temperatures for …

---

## [Elements won\`t hide/show by class name: oneditprepare](https://discourse.nodered.org/t/elements-won-t-hide-show-by-class-name-oneditprepare/38197)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 2\
**Last updated:** [29 December 2020 11:30 UTC](https://discourse.nodered.org/t/elements-won-t-hide-show-by-class-name-oneditprepare/38197 "2020-12-29T11:30:40Z")

</div>

So i started building some nodes after a couple of months, and with my small experience with it, I already came on an error. I have some elements in the node config (a couple of dropboxes/ and textboxes) that should sho…

---

## [Uibuilder: Component Design + Example Components](https://discourse.nodered.org/t/uibuilder-component-design-example-components/32293)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 21\
**Last updated:** [29 December 2020 10:09 UTC](https://discourse.nodered.org/t/uibuilder-component-design-example-components/32293 "2020-12-29T10:09:39Z")

</div>

Hi all, this topic is to capture ideas and decisions regarding the design of a VueJS component standard for uibuilder. uibuilder VueJS components will be standard pieces of front-end code with an agreed msg schema for c…

---

## [Share functionality between nodes](https://discourse.nodered.org/t/share-functionality-between-nodes/37717)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 7\
**Last updated:** [28 December 2020 21:01 UTC](https://discourse.nodered.org/t/share-functionality-between-nodes/37717 "2020-12-28T21:01:10Z")

</div>

Hi folks, I developed a long time ago the node-red-contrib-msg-speed node. But I need to develop another node, which needs the reuse most of the internals as the speed node. I would like to share the functionality bet…

---

## [Alexa echo show Screen Off](https://discourse.nodered.org/t/alexa-echo-show-screen-off/38042)

<div class="topic-metadata">

**Author:** [@driago](https://discourse.nodered.org/u/driago)\
**Replies:** 7\
**Last updated:** [26 December 2020 20:15 UTC](https://discourse.nodered.org/t/alexa-echo-show-screen-off/38042 "2020-12-26T20:15:37Z")

</div>

Hi. Is there a way to turn off the scrren in Alexa Echo Show? It turns off only with voice command...Can I emulate it?

---

## [Type error in function node](https://discourse.nodered.org/t/type-error-in-function-node/38004)

<div class="topic-metadata">

**Author:** [@fpravin22](https://discourse.nodered.org/u/fpravin22)\
**Replies:** 3\
**Last updated:** [25 December 2020 12:08 UTC](https://discourse.nodered.org/t/type-error-in-function-node/38004 "2020-12-25T12:08:45Z")

</div>

typeError: msg.payload.replace is not a function

---

## [How to create notification email from data excel](https://discourse.nodered.org/t/how-to-create-notification-email-from-data-excel/37822)

<div class="topic-metadata">

**Author:** [@Dwienov](https://discourse.nodered.org/u/Dwienov)\
**Replies:** 3\
**Last updated:** [22 December 2020 07:50 UTC](https://discourse.nodered.org/t/how-to-create-notification-email-from-data-excel/37822 "2020-12-22T07:50:24Z")

</div>

Please help me, I'm beginner learning node red currently I'm looking for solution below How to create notification email from data schedule maintenance in excel when due to execution,

---

## [Reading from serial. Works in sample-js file, but when running in node-red serial port gets closed](https://discourse.nodered.org/t/reading-from-serial-works-in-sample-js-file-but-when-running-in-node-red-serial-port-gets-closed/36347)

<div class="topic-metadata">

**Author:** [@JSONata](https://discourse.nodered.org/u/JSONata)\
**Replies:** 14\
**Last updated:** [15 December 2020 00:59 UTC](https://discourse.nodered.org/t/reading-from-serial-works-in-sample-js-file-but-when-running-in-node-red-serial-port-gets-closed/36347 "2020-12-15T00:59:08Z")

</div>

Hallo, I try to read data from a serial port of raspberry PI. I have connected two PIs via serial Port. With "node serialtest.js" I get a new line for each character I send to node.js With node-red this is my testflow.…

---

## [Set change-node Payloadpath to msg.payload.+global](https://discourse.nodered.org/t/set-change-node-payloadpath-to-msg-payload-global/37440)

<div class="topic-metadata">

**Author:** [@Dom19882](https://discourse.nodered.org/u/Dom19882)\
**Replies:** 27\
**Last updated:** [13 December 2020 12:42 UTC](https://discourse.nodered.org/t/set-change-node-payloadpath-to-msg-payload-global/37440 "2020-12-13T12:42:05Z")

</div>

Hello, i would like to do sth simple i guess, but i cannot figure out how to do it exactly. I would like to let my msg.payload be sth like "msg.payload.ZbReceived.0xCE25" with a change node. Of course there is no issue…

---

## [Arduino i2c Firmata](https://discourse.nodered.org/t/arduino-i2c-firmata/31348)

<div class="topic-metadata">

**Author:** [@ajsomething](https://discourse.nodered.org/u/ajsomething)\
**Replies:** 16\
**Last updated:** [10 December 2020 20:05 UTC](https://discourse.nodered.org/t/arduino-i2c-firmata/31348 "2020-12-10T20:05:13Z")

</div>

I have searched for hours but for the life of me can not find any information on using i2c with arduino, my end goal is to use a bme250 using arduino... Current setup, ATMega using esp8266 for wifi, i can read and write…

---

## [Discussion: update \`node-red-node-pushover\`](https://discourse.nodered.org/t/discussion-update-node-red-node-pushover/34912)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 7\
**Last updated:** [9 December 2020 14:23 UTC](https://discourse.nodered.org/t/discussion-update-node-red-node-pushover/34912 "2020-12-09T14:23:35Z")

</div>

I've just prepared an update for node-red-node-pushover and would like to invite comments. Pushover currently provides 5 levels of priority, where Level -2 is the lowest, and creates no notification - just a message in …

---

## [Config node acting like it's not set up when it is](https://discourse.nodered.org/t/config-node-acting-like-its-not-set-up-when-it-is/36948)

<div class="topic-metadata">

**Author:** [@hepcat72](https://discourse.nodered.org/u/hepcat72)\
**Replies:** 0\
**Last updated:** [3 December 2020 13:46 UTC](https://discourse.nodered.org/t/config-node-acting-like-its-not-set-up-when-it-is/36948 "2020-12-03T13:46:07Z")

</div>

So I'm pretty happy with my first node project (a fork of a node to produce my Life360 node), but there's a minor issue that I'm rather stumped how to solve. It is described at length here: but in short: User instal…

---

## [Node.status is not set on receiving message](https://discourse.nodered.org/t/node-status-is-not-set-on-receiving-message/36915)

<div class="topic-metadata">

**Author:** [@JSONata](https://discourse.nodered.org/u/JSONata)\
**Replies:** 6\
**Last updated:** [2 December 2020 23:45 UTC](https://discourse.nodered.org/t/node-status-is-not-set-on-receiving-message/36915 "2020-12-02T23:45:04Z")

</div>

We have a fairly simple node, executing an external program. Upon incomming message node should update its status and display "executing". However node status doesn't change. Only in the end node status is "All operation…

---

## [Error Adding Flows](https://discourse.nodered.org/t/error-adding-flows/36719)

<div class="topic-metadata">

**Author:** [@davenrea](https://discourse.nodered.org/u/davenrea)\
**Replies:** 9\
**Last updated:** [30 November 2020 17:07 UTC](https://discourse.nodered.org/t/error-adding-flows/36719 "2020-11-30T17:07:32Z")

</div>

When I load node red from the browser it says "Error Adding Flows, Imported duplicate node" the node in question is Victron-Client-id \[victron-client\] As it has taken me a few days to get to the point I can talk to the …

---

## [MQTT Out with SPS](https://discourse.nodered.org/t/mqtt-out-with-sps/36755)

<div class="topic-metadata">

**Author:** [@neuby](https://discourse.nodered.org/u/neuby)\
**Replies:** 3\
**Last updated:** [30 November 2020 15:36 UTC](https://discourse.nodered.org/t/mqtt-out-with-sps/36755 "2020-11-30T15:36:09Z")

</div>

Hello, I am very new in Node Red. Aktually I am working on a test connection betwen the Node Red an a Siemens PLC. Actually i can read everything i want. Here is a screenshot when i read the array. For that i use the pa…

---

## [Getting data in adafruit IO](https://discourse.nodered.org/t/getting-data-in-adafruit-io/36698)

<div class="topic-metadata">

**Author:** [@hadeel1985](https://discourse.nodered.org/u/hadeel1985)\
**Replies:** 2\
**Last updated:** [29 November 2020 16:46 UTC](https://discourse.nodered.org/t/getting-data-in-adafruit-io/36698 "2020-11-29T16:46:57Z")

</div>

I am using a sensor to send data data to Azure, and want to show the data in real time by using mqtt node to send it to io.adafruit.com , the problem is .. I can do that from the sensor direct by connecting the mqtt node…

---

## [Remove property in oneditsave](https://discourse.nodered.org/t/remove-property-in-oneditsave/36650)

<div class="topic-metadata">

**Author:** [@Phunkafizer](https://discourse.nodered.org/u/Phunkafizer)\
**Replies:** 0\
**Last updated:** [27 November 2020 21:18 UTC](https://discourse.nodered.org/t/remove-property-in-oneditsave/36650 "2020-11-27T21:18:04Z")

</div>

Hi, I'm trying to remove a property of my new node when the propertydialog is closed. Condition of if-clause is true, but node.code="" does not seem to work; it is still set on the server side after closing and deployin…

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

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