# Developing Nodes

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

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

**Page:** 39

---

## [Handle reconnections in a UI node](https://discourse.nodered.org/t/handle-reconnections-in-a-ui-node/32974)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 5\
**Last updated:** [18 September 2020 06:05 UTC](https://discourse.nodered.org/t/handle-reconnections-in-a-ui-node/32974 "2020-09-18T06:05:10Z")

</div>

Hi folks, Some time ago there was a discussion, but unfortunately it is now closed for comments. It contained a nice quote from @dceejay: the template can optionally save the last date sent to it... but for a chart t…

---

## [Behavior of websocket handleServerUpgrade](https://discourse.nodered.org/t/behavior-of-websocket-handleserverupgrade/32934)

<div class="topic-metadata">

**Author:** [@nileio](https://discourse.nodered.org/u/nileio)\
**Replies:** 5\
**Last updated:** [16 September 2020 10:08 UTC](https://discourse.nodered.org/t/behavior-of-websocket-handleserverupgrade/32934 "2020-09-16T10:08:19Z")

</div>

Hi all, I am building a new node and was learning about the way the core websocket nodes are built. I created a websocket listener for some test paths, examples /test1 and /test2 I used them for testing and then I de…

---

## [Web Page Authentication](https://discourse.nodered.org/t/web-page-authentication/32945)

<div class="topic-metadata">

**Author:** [@Devbrat](https://discourse.nodered.org/u/Devbrat)\
**Replies:** 1\
**Last updated:** [16 September 2020 07:46 UTC](https://discourse.nodered.org/t/web-page-authentication/32945 "2020-09-16T07:46:50Z")

</div>

Hi All, I am trying to implement authentication in my web page created in my node. Created below get API based in node to work only if user has logged-in in node-red or opening from the link which is availatble on conf…

---

## [Exposing settings to the editor](https://discourse.nodered.org/t/exposing-settings-to-the-editor/32882)

<div class="topic-metadata">

**Author:** [@kevinGodell](https://discourse.nodered.org/u/kevinGodell)\
**Replies:** 10\
**Last updated:** [14 September 2020 17:42 UTC](https://discourse.nodered.org/t/exposing-settings-to-the-editor/32882 "2020-09-14T17:42:01Z")

</div>

Exposing settings to the editor Can anybody clarify this feature by answering a few of my questions? Please type slowly and assume I know nothing. :nerd\_face: Does adding this feature give me a global setting shared …

---

## [0 input and not go to the next node](https://discourse.nodered.org/t/0-input-and-not-go-to-the-next-node/32868)

<div class="topic-metadata">

**Author:** [@techno-blogger](https://discourse.nodered.org/u/techno-blogger)\
**Replies:** 4\
**Last updated:** [14 September 2020 14:08 UTC](https://discourse.nodered.org/t/0-input-and-not-go-to-the-next-node/32868 "2020-09-14T14:08:39Z")

</div>

Hello, I want to create a function with 0 input and 1 output. I've done the HTML code and the JS code, the code runs fine but does not go to the next node. Can you help me solve my problem HTML \<!-- \*\*\*\*\*\*\*\*\*\*\*\*\*\*\* …

---

## [Are there any more events than "input" and "close"?](https://discourse.nodered.org/t/are-there-any-more-events-than-input-and-close/32835)

<div class="topic-metadata">

**Author:** [@jmnobre](https://discourse.nodered.org/u/jmnobre)\
**Replies:** 7\
**Last updated:** [14 September 2020 12:48 UTC](https://discourse.nodered.org/t/are-there-any-more-events-than-input-and-close/32835 "2020-09-14T12:48:11Z")

</div>

Good evening, After a long search, the only 2 node events that I saw documented are the input and the close... Are there any others? In particular, is there an event that signals when a node is first loaded? Best Rega…

---

## [Using a rich text editor in the edit dialog](https://discourse.nodered.org/t/using-a-rich-text-editor-in-the-edit-dialog/32755)

<div class="topic-metadata">

**Author:** [@oreo](https://discourse.nodered.org/u/oreo)\
**Replies:** 2\
**Last updated:** [14 September 2020 06:40 UTC](https://discourse.nodered.org/t/using-a-rich-text-editor-in-the-edit-dialog/32755 "2020-09-14T06:40:22Z")

</div>

Hello :slight\_smile: I am new to Node-Red and try to add a Rich Text - Textfield to the edit dialog (properties). Is this possible? Would be happy about any help :slight\_smile: Thanks a lot

---

## [Restricting connections between custom nodes](https://discourse.nodered.org/t/restricting-connections-between-custom-nodes/32756)

<div class="topic-metadata">

**Author:** [@oreo](https://discourse.nodered.org/u/oreo)\
**Replies:** 7\
**Last updated:** [14 September 2020 06:39 UTC](https://discourse.nodered.org/t/restricting-connections-between-custom-nodes/32756 "2020-09-14T06:39:47Z")

</div>

Hello :slight\_smile: Is it possible to restrict not only the number of entries but which type of node is "entering"? E. g. I have 2 custom nodes: NodePlant NodeWater I want to make sure that only NodeWater can be co…

---

## [JSON flows in node description README.md - how resp. howto](https://discourse.nodered.org/t/json-flows-in-node-description-readme-md-how-resp-howto/32540)

<div class="topic-metadata">

**Author:** [@StephanStS](https://discourse.nodered.org/u/StephanStS)\
**Replies:** 4\
**Last updated:** [13 September 2020 06:58 UTC](https://discourse.nodered.org/t/json-flows-in-node-description-readme-md-how-resp-howto/32540 "2020-09-13T06:58:04Z")

</div>

I have difficulties embedding JSON flows in the node description. 1. What do I know about JSON embedding in the markdown text? JSON or javascript (and also other languages) code can be embedded into the README.md via t…

---

## [Cut Strings and convert to signed int](https://discourse.nodered.org/t/cut-strings-and-convert-to-signed-int/32734)

<div class="topic-metadata">

**Author:** [@SalazarSlytherin](https://discourse.nodered.org/u/SalazarSlytherin)\
**Replies:** 1\
**Last updated:** [11 September 2020 08:00 UTC](https://discourse.nodered.org/t/cut-strings-and-convert-to-signed-int/32734 "2020-09-11T08:00:44Z")

</div>

Hey guys, i am completely new to node red and i don't find a perfect way to cut my strings. I finally managed to get my data per MQTT to node red but know i don't know how to go further. The string i get for example i…

---

## [TypedInput value always is str](https://discourse.nodered.org/t/typedinput-value-always-is-str/32682)

<div class="topic-metadata">

**Author:** [@jinyistudio](https://discourse.nodered.org/u/jinyistudio)\
**Replies:** 4\
**Last updated:** [11 September 2020 06:08 UTC](https://discourse.nodered.org/t/typedinput-value-always-is-str/32682 "2020-09-11T06:08:34Z")

</div>

I can change payload type run time. Payload type always is "str" when i open properties again. :joy: HTML \<label for="node-input-payload"\> payload\</label\> \<input type="text" id="node-input-payload" style="width:2…

---

## [A bug when creating categories using PUT: flow/global](https://discourse.nodered.org/t/a-bug-when-creating-categories-using-put-flow-global/32702)

<div class="topic-metadata">

**Author:** [@gioza](https://discourse.nodered.org/u/gioza)\
**Replies:** 0\
**Last updated:** [10 September 2020 16:13 UTC](https://discourse.nodered.org/t/a-bug-when-creating-categories-using-put-flow-global/32702 "2020-09-10T16:13:29Z")

</div>

The palette is bugged when creating categories in this format: string + numeric (e.g. category name 1-1-1, or category name 1\_1\_1, or category name111) For example, this is my request payload (category "test scenario1-…

---

## [Can I get information about the connected nodes?](https://discourse.nodered.org/t/can-i-get-information-about-the-connected-nodes/30921)

<div class="topic-metadata">

**Author:** [@martin\_mpa](https://discourse.nodered.org/u/martin_mpa)\
**Replies:** 3\
**Last updated:** [10 September 2020 12:24 UTC](https://discourse.nodered.org/t/can-i-get-information-about-the-connected-nodes/30921 "2020-09-10T12:24:37Z")

</div>

Hello, everyone, I'm still pretty new to the topic Node-RED and especially custom nodes. At the moment I have a specific question, which I haven't found an answer to in the documentation yet and I'm asking for help: Ca…

---

## [Confusion about object prototype](https://discourse.nodered.org/t/confusion-about-object-prototype/32605)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 9\
**Last updated:** [9 September 2020 22:22 UTC](https://discourse.nodered.org/t/confusion-about-object-prototype/32605 "2020-09-09T22:22:52Z")

</div>

Hi folks, I'm working together with our friend @Paul-Reed on a new node. But now we are completely stuck... We create an object and pass it to a third-party library: The library checks whether it is a plain object: …

---

## [Delay command until the top of the minute](https://discourse.nodered.org/t/delay-command-until-the-top-of-the-minute/32487)

<div class="topic-metadata">

**Author:** [@martin8094](https://discourse.nodered.org/u/martin8094)\
**Replies:** 7\
**Last updated:** [6 September 2020 09:24 UTC](https://discourse.nodered.org/t/delay-command-until-the-top-of-the-minute/32487 "2020-09-06T09:24:08Z")

</div>

Hi, I need to sync a command on multiple raspberry pis running node red. Currently all the pis are connected to the internet and sync with a NTP clock (I am using the node which shows the time on the dashboard top right …

---

## [Media source extension video player for live streaming mp4](https://discourse.nodered.org/t/media-source-extension-video-player-for-live-streaming-mp4/31958)

<div class="topic-metadata">

**Author:** [@kevinGodell](https://discourse.nodered.org/u/kevinGodell)\
**Replies:** 61\
**Last updated:** [5 September 2020 21:58 UTC](https://discourse.nodered.org/t/media-source-extension-video-player-for-live-streaming-mp4/31958 "2020-09-05T21:58:44Z")

</div>

I am in need of development recommendations for making a node video player based on media source extensions (similar to what hls.js uses). What I know: I can make a very basic node, e.g. node-red-contrib-pipe2jpeg I h…

---

## [Ctrl-z undo question](https://discourse.nodered.org/t/ctrl-z-undo-question/7481)

<div class="topic-metadata">

**Author:** [@Simo219h](https://discourse.nodered.org/u/Simo219h)\
**Replies:** 4\
**Last updated:** [4 September 2020 20:44 UTC](https://discourse.nodered.org/t/ctrl-z-undo-question/7481 "2020-09-04T20:44:35Z")

</div>

Hi, How does one handle a node, when the user hits ctrl-z? Is there a function with something like "oneditundo"? My current problem is that my node gets in a bad state, if it is configured, and then undo-ed afterwards w…

---

## [Connecting to MQTT Broker](https://discourse.nodered.org/t/connecting-to-mqtt-broker/32428)

<div class="topic-metadata">

**Author:** [@LBP](https://discourse.nodered.org/u/LBP)\
**Replies:** 1\
**Last updated:** [4 September 2020 06:34 UTC](https://discourse.nodered.org/t/connecting-to-mqtt-broker/32428 "2020-09-04T06:34:30Z")

</div>

Hi. I have a project where my Node-Red is hosting in Heroku. However, I don't know how to configure and connect to "MQTT Out" in Heroku from my local code in C#. Hope to get solution for this. Thank you guys who respond…

---

## [Creating node for object detection](https://discourse.nodered.org/t/creating-node-for-object-detection/32400)

<div class="topic-metadata">

**Author:** [@maxmsi](https://discourse.nodered.org/u/maxmsi)\
**Replies:** 1\
**Last updated:** [3 September 2020 16:05 UTC](https://discourse.nodered.org/t/creating-node-for-object-detection/32400 "2020-09-03T16:05:36Z")

</div>

Hello, I have to create a node, based of some existing ML model. I'm a pretty beginner of node-red, so I'm creating this topic, to request you guys for some advices/approach to create that node. Its my intern task, so g…

---

## [File node install & Write file sample](https://discourse.nodered.org/t/file-node-install-write-file-sample/32384)

<div class="topic-metadata">

**Author:** [@JVergara](https://discourse.nodered.org/u/JVergara)\
**Replies:** 3\
**Last updated:** [3 September 2020 08:57 UTC](https://discourse.nodered.org/t/file-node-install-write-file-sample/32384 "2020-09-03T08:57:02Z")

</div>

Hello at all, I need some help with the file node in Node-RED implementation. I would like to write the data from a table of datacloudant into a file ( CSV/XML or JSON). I have tried differente method but I dont get it…

---

## [Join messages from individual ''sensors'' into one json object](https://discourse.nodered.org/t/join-messages-from-individual-sensors-into-one-json-object/32184)

<div class="topic-metadata">

**Author:** [@RoSi](https://discourse.nodered.org/u/RoSi)\
**Replies:** 24\
**Last updated:** [1 September 2020 02:59 UTC](https://discourse.nodered.org/t/join-messages-from-individual-sensors-into-one-json-object/32184 "2020-09-01T02:59:33Z")

</div>

Let's imagine that I am having two inject nodes to simulate two temperature sensors. I'd like to join them into one json object as follows: { "sensor1":22, "sensor2":21 } and to update the object if any one value…

---

## [Save credentials from runtime](https://discourse.nodered.org/t/save-credentials-from-runtime/32036)

<div class="topic-metadata">

**Author:** [@Thorsten](https://discourse.nodered.org/u/Thorsten)\
**Replies:** 2\
**Last updated:** [31 August 2020 09:20 UTC](https://discourse.nodered.org/t/save-credentials-from-runtime/32036 "2020-08-31T09:20:52Z")

</div>

Hello, I'm completely new to NodeRED development since a few days and I'm facing some difficulties with config and credentials. Probably I still have some problems with understanding the interaction between editor and r…

---

## [Data in CSV to email](https://discourse.nodered.org/t/data-in-csv-to-email/32195)

<div class="topic-metadata">

**Author:** [@tadi](https://discourse.nodered.org/u/tadi)\
**Replies:** 11\
**Last updated:** [30 August 2020 15:21 UTC](https://discourse.nodered.org/t/data-in-csv-to-email/32195 "2020-08-30T15:21:59Z")

</div>

am trying to get my datas into csv file and send it to email! can anyone give me a flow of that

---

## [Alignment of headers in editableList](https://discourse.nodered.org/t/alignment-of-headers-in-editablelist/32071)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 8\
**Last updated:** [30 August 2020 05:58 UTC](https://discourse.nodered.org/t/alignment-of-headers-in-editablelist/32071 "2020-08-30T05:58:21Z")

</div>

Hi folks, As I said before, CSS will never become my BFF ... In a custom node I have an editableList with two columns and headers for that columns. But the headers are not properly aligned with the columns below them: …

---

## [TP-link-110 Outlet](https://discourse.nodered.org/t/tp-link-110-outlet/32113)

<div class="topic-metadata">

**Author:** [@Frreiheit](https://discourse.nodered.org/u/Frreiheit)\
**Replies:** 0\
**Last updated:** [27 August 2020 17:15 UTC](https://discourse.nodered.org/t/tp-link-110-outlet/32113 "2020-08-27T17:15:04Z")

</div>

Hello, can me any say how I do I can gauge the electric in node-red with the tp-link-110 outlet? Here a feew screens: https://imgur.com/a/uFkLl7u

---

## [Pjlink temperature readings](https://discourse.nodered.org/t/pjlink-temperature-readings/31390)

<div class="topic-metadata">

**Author:** [@victor-zorro](https://discourse.nodered.org/u/victor-zorro)\
**Replies:** 2\
**Last updated:** [26 August 2020 17:53 UTC](https://discourse.nodered.org/t/pjlink-temperature-readings/31390 "2020-08-26T17:53:28Z")

</div>

Hi There, I am fairly new to Node-Red. I have found my way around. I use node-red for my video installations. The pj link ( node-red-contrib-pjlink) is very handy to work with, to turn on and off projectors. I would …

---

## [Disable a tabsheet in config screen](https://discourse.nodered.org/t/disable-a-tabsheet-in-config-screen/32031)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 2\
**Last updated:** [26 August 2020 09:26 UTC](https://discourse.nodered.org/t/disable-a-tabsheet-in-config-screen/32031 "2020-08-26T09:26:39Z")

</div>

Hi folks, I have created some tabsheets in the config screen of a custom node: node.tabs = RED.tabs.create({ id: "node-plotly-tabs" }); node.tabs.addTab({ id: "node-plotly-tab-chart", label: "Chart" }); Is it…

---

## [Possible to dynamically update a node's label?](https://discourse.nodered.org/t/possible-to-dynamically-update-a-nodes-label/31989)

<div class="topic-metadata">

**Author:** [@mountaindude](https://discourse.nodered.org/u/mountaindude)\
**Replies:** 10\
**Last updated:** [26 August 2020 07:40 UTC](https://discourse.nodered.org/t/possible-to-dynamically-update-a-nodes-label/31989 "2020-08-26T07:40:33Z")

</div>

Long story short: I am trying to set a node's label based on info in some other properties on the same node. I want the node label to be an "app name", which is retrieved by sending an "app ID" to a REST API on a serve…

---

## [Question about Nora, Google Home and Switch node](https://discourse.nodered.org/t/question-about-nora-google-home-and-switch-node/31877)

<div class="topic-metadata">

**Author:** [@jepe63](https://discourse.nodered.org/u/jepe63)\
**Replies:** 14\
**Last updated:** [22 August 2020 15:11 UTC](https://discourse.nodered.org/t/question-about-nora-google-home-and-switch-node/31877 "2020-08-22T15:11:32Z")

</div>

Hi , i've got a flow which is almost working exept the beginning. I'm using the Nora plugin to capture commands like 'open blinds' and 'close blinds'. From there i'm using this to control my KM-Tronic lan switches. Th…

---

## [How to disable an editableList](https://discourse.nodered.org/t/how-to-disable-an-editablelist/31858)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 3\
**Last updated:** [22 August 2020 07:23 UTC](https://discourse.nodered.org/t/how-to-disable-an-editablelist/31858 "2020-08-22T07:23:09Z")

</div>

Hi folks, In my latest node I have an editableList, which needs to be disabled somehow when the config screen of my node has been opened. Afterwards they editableList can be enabled, based on the user actions. However…

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

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