# Developing Nodes

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

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

**Page:** 29

---

## [Not able to store notification message with size more than 16 MB in mongoDB node](https://discourse.nodered.org/t/not-able-to-store-notification-message-with-size-more-than-16-mb-in-mongodb-node/49603)

<div class="topic-metadata">

**Author:** [@amar1268](https://discourse.nodered.org/u/amar1268)\
**Replies:** 0\
**Last updated:** [11 August 2021 07:48 UTC](https://discourse.nodered.org/t/not-able-to-store-notification-message-with-size-more-than-16-mb-in-mongodb-node/49603 "2021-08-11T07:48:33Z")

</div>

I have made Dashboard using node-RED which shows the list of incoming and outgoing messages. We are using mongoDB node to store incoming and outgoing messages. The Problem here is the limitation of BSON-document type st…

---

## [Build custom node using C++ DLL](https://discourse.nodered.org/t/build-custom-node-using-c-dll/49527)

<div class="topic-metadata">

**Author:** [@FiloCara](https://discourse.nodered.org/u/FiloCara)\
**Replies:** 4\
**Last updated:** [10 August 2021 13:43 UTC](https://discourse.nodered.org/t/build-custom-node-using-c-dll/49527 "2021-08-10T13:43:14Z")

</div>

Hello, Newbie question here. I would like to build a custom node to get images from a thermal camera directly in Node-Red. In order to do that I need to create a NodeJS wrapper to a C++ DLL available in the camera SDK.…

---

## [Node-Red Library - new version not available in palette](https://discourse.nodered.org/t/node-red-library-new-version-not-available-in-palette/49508)

<div class="topic-metadata">

**Author:** [@hklages](https://discourse.nodered.org/u/hklages)\
**Replies:** 5\
**Last updated:** [9 August 2021 19:34 UTC](https://discourse.nodered.org/t/node-red-library-new-version-not-available-in-palette/49508 "2021-08-09T19:34:55Z")

</div>

Yesterday I created a new release 5.2.5 of my custom node node-red-contrib-sonos-plus. It shows up in github, npm and also Node-RED library. But it does NOT show up in the palette of my installations in Docker/ and Hom…

---

## [Custom node vs subflow](https://discourse.nodered.org/t/custom-node-vs-subflow/49434)

<div class="topic-metadata">

**Author:** [@dczysz](https://discourse.nodered.org/u/dczysz)\
**Replies:** 7\
**Last updated:** [6 August 2021 21:16 UTC](https://discourse.nodered.org/t/custom-node-vs-subflow/49434 "2021-08-06T21:16:48Z")

</div>

I currently have a function node to dynamically generate a filename which gets passed to the file out node as msg.filename. I made each version - a subflow of the function node + file out node, and a custom node that is…

---

## [GPS Tracker protocols](https://discourse.nodered.org/t/gps-tracker-protocols/48755)

<div class="topic-metadata">

**Author:** [@EuroNiceguy](https://discourse.nodered.org/u/EuroNiceguy)\
**Replies:** 5\
**Last updated:** [6 August 2021 09:01 UTC](https://discourse.nodered.org/t/gps-tracker-protocols/48755 "2021-08-06T09:01:18Z")

</div>

Hello, Can you advise wether creating nodes is required for integrating GPS tracking devices. And if so, how would that be done? We have the device protocols already and they seem to be ASCII Based. Thank you in advan…

---

## [TypedInput Widget](https://discourse.nodered.org/t/typedinput-widget/6894)

<div class="topic-metadata">

**Author:** [@cinhcet](https://discourse.nodered.org/u/cinhcet)\
**Replies:** 8\
**Last updated:** [6 August 2021 03:18 UTC](https://discourse.nodered.org/t/typedinput-widget/6894 "2021-08-06T03:18:26Z")

</div>

Hi, Node-RED provides a nice editor widget for selecting and defining for example payload types as strings, numbers, JSON (with editor) etc. In case you want to do it yourself, here a little example node. js file mod…

---

## [JSON type automatically converted to string](https://discourse.nodered.org/t/json-type-automatically-converted-to-string/49142)

<div class="topic-metadata">

**Author:** [@hkayan](https://discourse.nodered.org/u/hkayan)\
**Replies:** 3\
**Last updated:** [31 July 2021 13:51 UTC](https://discourse.nodered.org/t/json-type-automatically-converted-to-string/49142 "2021-07-31T13:51:01Z")

</div>

Hi, In my node-properties, I have defined the property as JSON object: oneditprepare: function() { $("#node-input-subscribe").typedInput({ type:"json", types:\["json"\] …

---

## [Registering dependent node module](https://discourse.nodered.org/t/registering-dependent-node-module/48978)

<div class="topic-metadata">

**Author:** [@mdkrieg](https://discourse.nodered.org/u/mdkrieg)\
**Replies:** 6\
**Last updated:** [30 July 2021 17:33 UTC](https://discourse.nodered.org/t/registering-dependent-node-module/48978 "2021-07-30T17:33:54Z")

</div>

Hello, I made this post a while back asking about the best way to split up a package of nodes that required a common config node. I thought I'd solved it by publishing a third npm package that contains the config node.…

---

## [Packaged Subflow missing Name](https://discourse.nodered.org/t/packaged-subflow-missing-name/49065)

<div class="topic-metadata">

**Author:** [@aswink](https://discourse.nodered.org/u/aswink)\
**Replies:** 0\
**Last updated:** [29 July 2021 06:44 UTC](https://discourse.nodered.org/t/packaged-subflow-missing-name/49065 "2021-07-29T06:44:28Z")

</div>

Hello all, I followed the documentation to package a subflow into a module. The node works fine, but the node is missing its name in the help section. Instead it is showing its ID. Is there any way I can show a "name" …

---

## [Optional Configuration Node](https://discourse.nodered.org/t/optional-configuration-node/49001)

<div class="topic-metadata">

**Author:** [@midhun](https://discourse.nodered.org/u/midhun)\
**Replies:** 1\
**Last updated:** [28 July 2021 08:24 UTC](https://discourse.nodered.org/t/optional-configuration-node/49001 "2021-07-28T08:24:50Z")

</div>

We are using multiple config nodes as part of a flow. Now we have a requirement which allows to pass id of a config node as part of msg.payload which made the config-node field optional. But, if no config node is chosen,…

---

## [Struggling with function prototypes for new node](https://discourse.nodered.org/t/struggling-with-function-prototypes-for-new-node/48869)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 11\
**Last updated:** [27 July 2021 05:44 UTC](https://discourse.nodered.org/t/struggling-with-function-prototypes-for-new-node/48869 "2021-07-27T05:44:38Z")

</div>

Hi folks, I am struggling with some basic Javascript knowledge, to build a new node where I need modules for the first time extensively: In file myFunctionFile.js, a function is exported:module.exports = function myFu…

---

## [Python Script into .JSON file for node red?](https://discourse.nodered.org/t/python-script-into-json-file-for-node-red/45535)

<div class="topic-metadata">

**Author:** [@Beginner96](https://discourse.nodered.org/u/Beginner96)\
**Replies:** 91\
**Last updated:** [26 July 2021 09:52 UTC](https://discourse.nodered.org/t/python-script-into-json-file-for-node-red/45535 "2021-07-26T09:52:55Z")

</div>

Hello there! I wrote a Scipt in python to read data from a sensor which is connected via usb to my raspberry pi 4B. Is it possible to convert this skript into a .json file and import it into node red to get the readed …

---

## [Creating a node from ESM module](https://discourse.nodered.org/t/creating-a-node-from-esm-module/48839)

<div class="topic-metadata">

**Author:** [@RobC](https://discourse.nodered.org/u/RobC)\
**Replies:** 3\
**Last updated:** [25 July 2021 15:53 UTC](https://discourse.nodered.org/t/creating-a-node-from-esm-module/48839 "2021-07-25T15:53:57Z")

</div>

Hi Devs. Hoping you can help: I'm only just learning this ESM/ CJS thing. I'm trying to create a new node-red node based on a module https://www.npmjs.com/package/archer-c7-api, The module is an 'ESM' but all example …

---

## [Event emitter for function object in separate module](https://discourse.nodered.org/t/event-emitter-for-function-object-in-separate-module/48850)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 3\
**Last updated:** [24 July 2021 22:14 UTC](https://discourse.nodered.org/t/event-emitter-for-function-object-in-separate-module/48850 "2021-07-24T22:14:30Z")

</div>

Hi folks, I have a function myFunction in separate someFile.js file: var EventEmitter = require("events"); var MyFunction = function() { ... return this; } module.exports = MyFunction; I create an object of…

---

## [Creating Node for TomTom Maps, Geocoding, etc](https://discourse.nodered.org/t/creating-node-for-tomtom-maps-geocoding-etc/48756)

<div class="topic-metadata">

**Author:** [@EuroNiceguy](https://discourse.nodered.org/u/EuroNiceguy)\
**Replies:** 0\
**Last updated:** [22 July 2021 07:52 UTC](https://discourse.nodered.org/t/creating-node-for-tomtom-maps-geocoding-etc/48756 "2021-07-22T07:52:03Z")

</div>

Hello again everyone, As part of creating the GPS tracking solution, we will want to be using TomTom for all mapping & Geolocation purposes. We already have the TomTom Developer account with all necessary account keys …

---

## [Show errors in ACE and Monaco editor](https://discourse.nodered.org/t/show-errors-in-ace-and-monaco-editor/48529)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 12\
**Last updated:** [18 July 2021 20:59 UTC](https://discourse.nodered.org/t/show-errors-in-ace-and-monaco-editor/48529 "2021-07-18T20:59:11Z")

</div>

Hi folks, When javascript syntax errors are generated in the blockly node (which shouldn't happen...): Then I would like the editor to show those errors. But I'm not sure how to do that at the moment... @Steve-Mcl …

---

## [Make a curl with post or oder](https://discourse.nodered.org/t/make-a-curl-with-post-or-oder/48495)

<div class="topic-metadata">

**Author:** [@amin233](https://discourse.nodered.org/u/amin233)\
**Replies:** 5\
**Last updated:** [17 July 2021 07:50 UTC](https://discourse.nodered.org/t/make-a-curl-with-post-or-oder/48495 "2021-07-17T07:50:47Z")

</div>

Hello This is a command from gsm modem to send SMS. How can I run the following command in node red? And of course send the phone number and text of the SMS out of the variable? thank you curl 'http://192.168.8.1/api…

---

## [Remove/Disable Delete button of node](https://discourse.nodered.org/t/remove-disable-delete-button-of-node/48391)

<div class="topic-metadata">

**Author:** [@chiche](https://discourse.nodered.org/u/chiche)\
**Replies:** 5\
**Last updated:** [14 July 2021 08:58 UTC](https://discourse.nodered.org/t/remove-disable-delete-button-of-node/48391 "2021-07-14T08:58:02Z")

</div>

Can I disable or remove the \[delete\] button of the mine node?

---

## [Question: Creating a subflow for dynamic accessing a message (one of a given set)](https://discourse.nodered.org/t/question-creating-a-subflow-for-dynamic-accessing-a-message-one-of-a-given-set/48359)

<div class="topic-metadata">

**Author:** [@lostbits](https://discourse.nodered.org/u/lostbits)\
**Replies:** 1\
**Last updated:** [13 July 2021 13:49 UTC](https://discourse.nodered.org/t/question-creating-a-subflow-for-dynamic-accessing-a-message-one-of-a-given-set/48359 "2021-07-13T13:49:39Z")

</div>

Hey, I am using a subflow to count messages. Since I want to do it more generic, I currently addet an InputPattern via environment.. I do the following: which is working like this: The SubFlow detects node Objec…

---

## [Is there an event which is raised when node-red finished deploying?](https://discourse.nodered.org/t/is-there-an-event-which-is-raised-when-node-red-finished-deploying/48015)

<div class="topic-metadata">

**Author:** [@windkh](https://discourse.nodered.org/u/windkh)\
**Replies:** 3\
**Last updated:** [4 July 2021 21:05 UTC](https://discourse.nodered.org/t/is-there-an-event-which-is-raised-when-node-red-finished-deploying/48015 "2021-07-04T21:05:50Z")

</div>

I searched the forum but could not find anything that could solve my problem: Use Case: I would like to do execute some code after all nodes in one of my libs were successfully initialized. All my nodes register themse…

---

## [Accessing Flow Information From Custom Node](https://discourse.nodered.org/t/accessing-flow-information-from-custom-node/47858)

<div class="topic-metadata">

**Author:** [@BShashwat](https://discourse.nodered.org/u/BShashwat)\
**Replies:** 2\
**Last updated:** [3 July 2021 20:45 UTC](https://discourse.nodered.org/t/accessing-flow-information-from-custom-node/47858 "2021-07-03T20:45:44Z")

</div>

Hi, I am trying to get the Flow Info within my custom node on input event as follows: this.on('input', function (msg, nodeSend, nodeDone) { console.info(node.name + " processing start"); node.st…

---

## [Best way to wait until library has been loaded](https://discourse.nodered.org/t/best-way-to-wait-until-library-has-been-loaded/47877)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 5\
**Last updated:** [2 July 2021 07:47 UTC](https://discourse.nodered.org/t/best-way-to-wait-until-library-has-been-loaded/47877 "2021-07-02T07:47:07Z")

</div>

Hi folks, In one of my custom nodes, I need to make sure that a series of js script files are loaded before I show the config screen of my node. Moreover my node has a config node, and the settings on my config node's …

---

## [How to use subnode description with port box](https://discourse.nodered.org/t/how-to-use-subnode-description-with-port-box/47825)

<div class="topic-metadata">

**Author:** [@novski](https://discourse.nodered.org/u/novski)\
**Replies:** 1\
**Last updated:** [30 June 2021 07:09 UTC](https://discourse.nodered.org/t/how-to-use-subnode-description-with-port-box/47825 "2021-06-30T07:09:04Z")

</div>

The packaging of a flow describes the way how to document input and output ports nicely with a "box" and datatypes... How can i add that kind of "box" in the subflow-description WYSIWYG Editor?

---

## [Editor this.changed == true but not sure why?](https://discourse.nodered.org/t/editor-this-changed-true-but-not-sure-why/47679)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 6\
**Last updated:** [26 June 2021 13:18 UTC](https://discourse.nodered.org/t/editor-this-changed-true-but-not-sure-why/47679 "2021-06-26T13:18:09Z")

</div>

I seem to have done something silly in uibuilder. If you open the config in the Editor and press "Done" - even if you haven't made any changes - this.changed is set which adds a blue circle to the node. this.dirty isn't…

---

## [Pass array to TypedInput type "json"](https://discourse.nodered.org/t/pass-array-to-typedinput-type-json/47608)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 5\
**Last updated:** [25 June 2021 18:35 UTC](https://discourse.nodered.org/t/pass-array-to-typedinput-type-json/47608 "2021-06-25T18:35:02Z")

</div>

Hi folks, I have a TypedInput of type "json", and I pass a default array to it: But when I open the JSON editor, the array is considered incorrect: So the quotes and rectangular brackets are gone. Must be someth…

---

## [Upgrading Nodes specifically my own](https://discourse.nodered.org/t/upgrading-nodes-specifically-my-own/2641)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 21\
**Last updated:** [25 June 2021 16:11 UTC](https://discourse.nodered.org/t/upgrading-nodes-specifically-my-own/2641 "2021-06-25T16:11:39Z")

</div>

I wonder if someone can advise. I've just made an update recently to node-red-contrib-bigtimer. While it works well (some new fields) - existing users will get the warning they need to fill in a value for the new fields.…

---

## [manager palette](https://discourse.nodered.org/t/manager-palette/47662)

<div class="topic-metadata">

**Author:** [@victor\_DHL](https://discourse.nodered.org/u/victor_DHL)\
**Replies:** 1\
**Last updated:** [25 June 2021 13:39 UTC](https://discourse.nodered.org/t/manager-palette/47662 "2021-06-25T13:39:51Z")

</div>

After a lot of trying I managed to install node red on my raspberry pi 3, but when I open the environment, the manager palette where the nodes are installed does not appear. Has anyone happened to you and how did I requ…

---

## [Sharing config nodes between separate packages](https://discourse.nodered.org/t/sharing-config-nodes-between-separate-packages/47547)

<div class="topic-metadata">

**Author:** [@mdkrieg](https://discourse.nodered.org/u/mdkrieg)\
**Replies:** 4\
**Last updated:** [23 June 2021 23:03 UTC](https://discourse.nodered.org/t/sharing-config-nodes-between-separate-packages/47547 "2021-06-23T23:03:32Z")

</div>

Hello, I recently decided to separate one of my node-red-contrib packages into two packages. I did this because some of the nodes were becoming redundant but offered a simpler method of usage. My problem is that they b…

---

## [Unit Testing custom properties of a custom node](https://discourse.nodered.org/t/unit-testing-custom-properties-of-a-custom-node/47512)

<div class="topic-metadata">

**Author:** [@BShashwat](https://discourse.nodered.org/u/BShashwat)\
**Replies:** 2\
**Last updated:** [23 June 2021 09:42 UTC](https://discourse.nodered.org/t/unit-testing-custom-properties-of-a-custom-node/47512 "2021-06-23T09:42:33Z")

</div>

Hi, I have created a custom node which runs python API's based on selected metadata. Custom Node is working as expected. However when I am trying to Unit Test this Node I am getting assertion error stating: "expected t…

---

## [How to make my custom node disconnect cleanly](https://discourse.nodered.org/t/how-to-make-my-custom-node-disconnect-cleanly/47406)

<div class="topic-metadata">

**Author:** [@mdkrieg](https://discourse.nodered.org/u/mdkrieg)\
**Replies:** 2\
**Last updated:** [20 June 2021 18:10 UTC](https://discourse.nodered.org/t/how-to-make-my-custom-node-disconnect-cleanly/47406 "2021-06-20T18:10:30Z")

</div>

Hello, I'm working on a custom node that connects to an external websocket. My problem right now is that after I restart node-red the external API gives me a "connection limit exceeded" message. I think there's a few w…

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

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