# Developing Nodes

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

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

**Page:** 20

---

## [Await and asynch errors within node-red node js file](https://discourse.nodered.org/t/await-and-asynch-errors-within-node-red-node-js-file/65123)

<div class="topic-metadata">

**Author:** [@chappo\_2](https://discourse.nodered.org/u/chappo_2)\
**Replies:** 2\
**Last updated:** [15 July 2022 08:35 UTC](https://discourse.nodered.org/t/await-and-asynch-errors-within-node-red-node-js-file/65123 "2022-07-15T08:35:00Z")

</div>

Hi, I am attempting to expand the functionality of the node-red-serial-port node by allowing it to take in the PID, VID and serial number of a serial device and connect to the the corresponding serial port, as opposed to…

---

## [External JS Libraries inside a Node's UI?](https://discourse.nodered.org/t/external-js-libraries-inside-a-nodes-ui/64930)

<div class="topic-metadata">

**Author:** [@Prathamesh\_Gharat](https://discourse.nodered.org/u/Prathamesh_Gharat)\
**Replies:** 3\
**Last updated:** [11 July 2022 14:01 UTC](https://discourse.nodered.org/t/external-js-libraries-inside-a-nodes-ui/64930 "2022-07-11T14:01:38Z")

</div>

Hi, Is there anything that technically prevents someone from using a custom JS library like this one while building a custom Node's edit interface?

---

## [Node.send() vs send() – what's the difference?](https://discourse.nodered.org/t/node-send-vs-send-whats-the-difference/64811)

<div class="topic-metadata">

**Author:** [@phoddie](https://discourse.nodered.org/u/phoddie)\
**Replies:** 3\
**Last updated:** [9 July 2022 01:47 UTC](https://discourse.nodered.org/t/node-send-vs-send-whats-the-difference/64811 "2022-07-09T01:47:20Z")

</div>

I'm trying to understand the difference between using node.send() and send() in a node. This is for the Node-RED MCU Edition exploration, to be able to properly enumerate the full Node-RED behavior. when using the Compat…

---

## [Deploy modified nodes behavior](https://discourse.nodered.org/t/deploy-modified-nodes-behavior/64038)

<div class="topic-metadata">

**Author:** [@nileio](https://discourse.nodered.org/u/nileio)\
**Replies:** 5\
**Last updated:** [2 July 2022 14:30 UTC](https://discourse.nodered.org/t/deploy-modified-nodes-behavior/64038 "2022-07-02T14:30:51Z")

</div>

Hi all, I have a custom node which uses a number of websocket connections and streams. when I use the Full Deploy button , my node and all other nodes restarts as intended. However, when I use Deploy Modified nodes onl…

---

## [Unit Test is failing for custom node having flow Context and Ajax calls](https://discourse.nodered.org/t/unit-test-is-failing-for-custom-node-having-flow-context-and-ajax-calls/64542)

<div class="topic-metadata">

**Author:** [@BShashwat](https://discourse.nodered.org/u/BShashwat)\
**Replies:** 0\
**Last updated:** [30 June 2022 09:44 UTC](https://discourse.nodered.org/t/unit-test-is-failing-for-custom-node-having-flow-context-and-ajax-calls/64542 "2022-06-30T09:44:28Z")

</div>

Hi All, My custom node sets data to flow context and also make Ajax calls to rest API's. Basic unit tests for initializing node and and receiving messages are passing but test for context and testing complete node run f…

---

## [Custom node not appear in the category](https://discourse.nodered.org/t/custom-node-not-appear-in-the-category/64173)

<div class="topic-metadata">

**Author:** [@fuad\_rock](https://discourse.nodered.org/u/fuad_rock)\
**Replies:** 15\
**Last updated:** [29 June 2022 10:31 UTC](https://discourse.nodered.org/t/custom-node-not-appear-in-the-category/64173 "2022-06-29T10:31:36Z")

</div>

Hi, I have created a custom node and installed it in nodered. It appears in manage-pallette but not in the category. my package.json { "name" : "node-red-contrib-simulation-quantity-add", "node-red" : { …

---

## [Is there a node for Dialogflow CX?](https://discourse.nodered.org/t/is-there-a-node-for-dialogflow-cx/64486)

<div class="topic-metadata">

**Author:** [@heeboventure](https://discourse.nodered.org/u/heeboventure)\
**Replies:** 3\
**Last updated:** [29 June 2022 08:42 UTC](https://discourse.nodered.org/t/is-there-a-node-for-dialogflow-cx/64486 "2022-06-29T08:42:59Z")

</div>

Hi, I used to use dialogflow-full-nodered node to connect to Dialogflow ES, and it worked fine. Now I'm trying with Dialogflow CX and this node doesn't seem to work with CX.. Is there a node designed for Dialogflow CX…

---

## [Testing Async Functions](https://discourse.nodered.org/t/testing-async-functions/64481)

<div class="topic-metadata">

**Author:** [@linuxjamie](https://discourse.nodered.org/u/linuxjamie)\
**Replies:** 0\
**Last updated:** [28 June 2022 21:01 UTC](https://discourse.nodered.org/t/testing-async-functions/64481 "2022-06-28T21:01:05Z")

</div>

I have a node with the following function: node.foo = async function () { throw ("FooBar"); }; I would like to test this function using the https://github.com/node-red/node-red-node-test-helper. I want …

---

## [Subflow with custom edit page](https://discourse.nodered.org/t/subflow-with-custom-edit-page/64200)

<div class="topic-metadata">

**Author:** [@MoonDev](https://discourse.nodered.org/u/MoonDev)\
**Replies:** 0\
**Last updated:** [21 June 2022 09:42 UTC](https://discourse.nodered.org/t/subflow-with-custom-edit-page/64200 "2022-06-21T09:42:00Z")

</div>

Hello, I was wondering if it is possible to make some sort of hybrid node where I could use the logic of a subflow but with a fully custom edit page not just the property UI page? Thanks in advance!

---

## [Develop nodes as ES6 classes with TypeScript (I made a thing)](https://discourse.nodered.org/t/develop-nodes-as-es6-classes-with-typescript-i-made-a-thing/64093)

<div class="topic-metadata">

**Author:** [@yostinso](https://discourse.nodered.org/u/yostinso)\
**Replies:** 4\
**Last updated:** [18 June 2022 10:57 UTC](https://discourse.nodered.org/t/develop-nodes-as-es6-classes-with-typescript-i-made-a-thing/64093 "2022-06-18T10:57:08Z")

</div>

In the spirit of things maybe nobody was asking for: I really wanted two things: to build nodes as first-class Javascript/ES6 classes and to build them with TypeScript. Then I realized there was a lot of boilerplate inv…

---

## [Data entered in typedInput() is stored as string in editableList. Unable to get datatype](https://discourse.nodered.org/t/data-entered-in-typedinput-is-stored-as-string-in-editablelist-unable-to-get-datatype/63928)

<div class="topic-metadata">

**Author:** [@kvargefar](https://discourse.nodered.org/u/kvargefar)\
**Replies:** 0\
**Last updated:** [14 June 2022 15:45 UTC](https://discourse.nodered.org/t/data-entered-in-typedinput-is-stored-as-string-in-editablelist-unable-to-get-datatype/63928 "2022-06-14T15:45:44Z")

</div>

Hi, I've created my own node, and it's working fine. I do however find it difficult to read data input from my editableList to the correct format. My challenge is: When reading data that is typed into my editablelist, …

---

## [Private node in custom catalog?](https://discourse.nodered.org/t/private-node-in-custom-catalog/63912)

<div class="topic-metadata">

**Author:** [@Dunken](https://discourse.nodered.org/u/Dunken)\
**Replies:** 0\
**Last updated:** [14 June 2022 12:17 UTC](https://discourse.nodered.org/t/private-node-in-custom-catalog/63912 "2022-06-14T12:17:29Z")

</div>

Hi all I'm currently working on a Custom Node. At the end I want to deploy the node to a single instance of Node-RED and I would like to make sure the code of the node remains private or protected... what would you reco…

---

## [Code Linting for nodes](https://discourse.nodered.org/t/code-linting-for-nodes/63517)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 1\
**Last updated:** [6 June 2022 21:03 UTC](https://discourse.nodered.org/t/code-linting-for-nodes/63517 "2022-06-06T21:03:57Z")

</div>

Hi all, just a quick hint for anyone writing custom nodes. I use the ESLINT tool which integrates with VSCode in order to dynamically spot loads of coding issues as well as to help enforce a particular coding style (whi…

---

## [Cleaning up monaco models left behind](https://discourse.nodered.org/t/cleaning-up-monaco-models-left-behind/63500)

<div class="topic-metadata">

**Author:** [@nileio](https://discourse.nodered.org/u/nileio)\
**Replies:** 3\
**Last updated:** [6 June 2022 09:52 UTC](https://discourse.nodered.org/t/cleaning-up-monaco-models-left-behind/63500 "2022-06-06T09:52:37Z")

</div>

Hi Team, I have a custom node and the following note is constantly printed on the console Cleaning up monaco models left behind. Any node that calls createEditor() should call .destroy(). seems to be coming from red…

---

## [Initialize new Subflow in an existing flow using the Admin API Methods](https://discourse.nodered.org/t/initialize-new-subflow-in-an-existing-flow-using-the-admin-api-methods/62984)

<div class="topic-metadata">

**Author:** [@azmed](https://discourse.nodered.org/u/azmed)\
**Replies:** 2\
**Last updated:** [24 May 2022 07:57 UTC](https://discourse.nodered.org/t/initialize-new-subflow-in-an-existing-flow-using-the-admin-api-methods/62984 "2022-05-24T07:57:28Z")

</div>

Hi Guys, I would like to initialize a new subflow via the provided REST API (Admin API Methods). Therefore I want to update an existing flow. Is there any possibility to do that via the Rest API?

---

## [Python Virtual Environments with Node-RED](https://discourse.nodered.org/t/python-virtual-environments-with-node-red/62864)

<div class="topic-metadata">

**Author:** [@cookies](https://discourse.nodered.org/u/cookies)\
**Replies:** 1\
**Last updated:** [20 May 2022 07:07 UTC](https://discourse.nodered.org/t/python-virtual-environments-with-node-red/62864 "2022-05-20T07:07:51Z")

</div>

Hi Forum, I am working on a project that involves developing Node-RED nodes that can use Python libraries and virtual environments for interacting with Raspberry Pi. A similar example is node-red-node-pi-gpio, which I s…

---

## [Serving values formed in the oneditsafe of html file as a variable for the flow](https://discourse.nodered.org/t/serving-values-formed-in-the-oneditsafe-of-html-file-as-a-variable-for-the-flow/62853)

<div class="topic-metadata">

**Author:** [@GianniCeleste](https://discourse.nodered.org/u/GianniCeleste)\
**Replies:** 0\
**Last updated:** [19 May 2022 14:58 UTC](https://discourse.nodered.org/t/serving-values-formed-in-the-oneditsafe-of-html-file-as-a-variable-for-the-flow/62853 "2022-05-19T14:58:14Z")

</div>

Hello everyone, A while ago, I was developing a node as described in this thread, to which I cannot post anymore as it was inactive for \>60 days. I got to the point where the base functionality I want to achieve is the…

---

## [How to deprecate / remove packages from the catalogue?](https://discourse.nodered.org/t/how-to-deprecate-remove-packages-from-the-catalogue/62833)

<div class="topic-metadata">

**Author:** [@hrueger](https://discourse.nodered.org/u/hrueger)\
**Replies:** 2\
**Last updated:** [19 May 2022 07:12 UTC](https://discourse.nodered.org/t/how-to-deprecate-remove-packages-from-the-catalogue/62833 "2022-05-19T07:12:10Z")

</div>

Hi, Is there any way to deprecate / hide / remove a packages from the catalogue / the palettes? Because of a company name change, we also moved our package from @oldcompanyname/packagename to just packagename. The prob…

---

## [I added input feilds dynamically then how can i save data from those inputs in the defaults](https://discourse.nodered.org/t/i-added-input-feilds-dynamically-then-how-can-i-save-data-from-those-inputs-in-the-defaults/62687)

<div class="topic-metadata">

**Author:** [@Santhosh1](https://discourse.nodered.org/u/Santhosh1)\
**Replies:** 3\
**Last updated:** [16 May 2022 12:34 UTC](https://discourse.nodered.org/t/i-added-input-feilds-dynamically-then-how-can-i-save-data-from-those-inputs-in-the-defaults/62687 "2022-05-16T12:34:58Z")

</div>

i want save power,switch&speed values in the defaults which I generated from +add button

---

## [How can I initial credential in my created node for node-red-node-test-helper?](https://discourse.nodered.org/t/how-can-i-initial-credential-in-my-created-node-for-node-red-node-test-helper/62679)

<div class="topic-metadata">

**Author:** [@studiobox](https://discourse.nodered.org/u/studiobox)\
**Replies:** 2\
**Last updated:** [16 May 2022 09:30 UTC](https://discourse.nodered.org/t/how-can-i-initial-credential-in-my-created-node-for-node-red-node-test-helper/62679 "2022-05-16T09:30:34Z")

</div>

Hi all, I have some problem about initial credential in my created node for node-red-node-test-helper. i try to follow node-red-node-test-helper help, node-red/node-red-node-test-helper: A test framework for Node-RED n…

---

## [Determine default context store](https://discourse.nodered.org/t/determine-default-context-store/62508)

<div class="topic-metadata">

**Author:** [@danube](https://discourse.nodered.org/u/danube)\
**Replies:** 0\
**Last updated:** [11 May 2022 12:34 UTC](https://discourse.nodered.org/t/determine-default-context-store/62508 "2022-05-11T12:34:40Z")

</div>

I wonder how to determine the value of default context store? Is there an api call? A specific node I'm developing should warn the user, if default store is memory instead of localfilesystem.

---

## [S3 compatible storage](https://discourse.nodered.org/t/s3-compatible-storage/62467)

<div class="topic-metadata">

**Author:** [@Miguel](https://discourse.nodered.org/u/Miguel)\
**Replies:** 1\
**Last updated:** [10 May 2022 22:25 UTC](https://discourse.nodered.org/t/s3-compatible-storage/62467 "2022-05-10T22:25:11Z")

</div>

I've searched a lot but couldn't find the right node to connect to a non-aws s3 compatible storage. Would it be possible to give an option to specify the endpoint being able to use S3 compatible storage, and not only aw…

---

## [How to respond to deployments in a plugin](https://discourse.nodered.org/t/how-to-respond-to-deployments-in-a-plugin/62267)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 11\
**Last updated:** [9 May 2022 21:33 UTC](https://discourse.nodered.org/t/how-to-respond-to-deployments-in-a-plugin/62267 "2022-05-09T21:33:56Z")

</div>

Hi folks, I am trying to use plugins to create a sidebar, based on this gist example. It seems that the onadd is only called at the beginning. But I need to do some re-initialization after every deploy (where I can se…

---

## [Error handling in Cloudantplus node](https://discourse.nodered.org/t/error-handling-in-cloudantplus-node/62190)

<div class="topic-metadata">

**Author:** [@hammoaj](https://discourse.nodered.org/u/hammoaj)\
**Replies:** 2\
**Last updated:** [7 May 2022 11:36 UTC](https://discourse.nodered.org/t/error-handling-in-cloudantplus-node/62190 "2022-05-07T11:36:00Z")

</div>

I'm trying to fix a problem with the Cloudantplus node where it errors and stops NR if it can't connect to the Cloudant database (incorrect URL or credentials). In the node logic I have: node.on("input", (msg, send, don…

---

## [Function Node for startTime in Time Range Node](https://discourse.nodered.org/t/function-node-for-starttime-in-time-range-node/62289)

<div class="topic-metadata">

**Author:** [@theotherd](https://discourse.nodered.org/u/theotherd)\
**Replies:** 7\
**Last updated:** [7 May 2022 00:00 UTC](https://discourse.nodered.org/t/function-node-for-starttime-in-time-range-node/62289 "2022-05-07T00:00:21Z")

</div>

I've got a temp sensor that i want to use to control electric blankets. My flow looks like the following; Flow My issues appears to be i can't get the Temp function node to output the correct output to input into th…

---

## [Creating a node for math calculations with different inputs](https://discourse.nodered.org/t/creating-a-node-for-math-calculations-with-different-inputs/62253)

<div class="topic-metadata">

**Author:** [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Replies:** 4\
**Last updated:** [6 May 2022 08:23 UTC](https://discourse.nodered.org/t/creating-a-node-for-math-calculations-with-different-inputs/62253 "2022-05-06T08:23:16Z")

</div>

Hey , this is probably out of my league, but when I think of something I tend to dwell on it. So some know I'm doing different steps in Node red to control my brewery. I am now working on setting up Pressure transducer…

---

## [How to get values of node configuration checkboxes](https://discourse.nodered.org/t/how-to-get-values-of-node-configuration-checkboxes/62202)

<div class="topic-metadata">

**Author:** [@cookies](https://discourse.nodered.org/u/cookies)\
**Replies:** 3\
**Last updated:** [5 May 2022 08:32 UTC](https://discourse.nodered.org/t/how-to-get-values-of-node-configuration-checkboxes/62202 "2022-05-05T08:32:54Z")

</div>

I'm creating a custom node, and for my UI I want to have a group of checkboxes for the user to select. When a checkbox is selected/deselected, I want this to toggle an array index corresponding to the checkbox's value, i…

---

## [Category for custom nodes](https://discourse.nodered.org/t/category-for-custom-nodes/62078)

<div class="topic-metadata">

**Author:** [@joe2003](https://discourse.nodered.org/u/joe2003)\
**Replies:** 1\
**Last updated:** [2 May 2022 17:06 UTC](https://discourse.nodered.org/t/category-for-custom-nodes/62078 "2022-05-02T17:06:59Z")

</div>

Hi im creating custom nodes, but cant work out how to group them into sections in the side bar. All my nodes appear in the "function" section. how are these groups defined? thanks

---

## [How to disable button's default onclick background effect in template node?](https://discourse.nodered.org/t/how-to-disable-buttons-default-onclick-background-effect-in-template-node/62004)

<div class="topic-metadata">

**Author:** [@thematrixrearwindow](https://discourse.nodered.org/u/thematrixrearwindow)\
**Replies:** 0\
**Last updated:** [30 April 2022 18:23 UTC](https://discourse.nodered.org/t/how-to-disable-buttons-default-onclick-background-effect-in-template-node/62004 "2022-04-30T18:23:25Z")

</div>

Hi there, can anyone help me removing the gray background when i click on button? Template node code, what i tried so far: \<style\> .container { overflow: hidden !important; } .btn, .btn:focus, .btn:active { …

---

## [Request to publish node-red-contrib-google-translate-plus](https://discourse.nodered.org/t/request-to-publish-node-red-contrib-google-translate-plus/61993)

<div class="topic-metadata">

**Author:** [@6ebeng](https://discourse.nodered.org/u/6ebeng)\
**Replies:** 4\
**Last updated:** [30 April 2022 10:15 UTC](https://discourse.nodered.org/t/request-to-publish-node-red-contrib-google-translate-plus/61993 "2022-04-30T10:15:30Z")

</div>

I have updated node-red-contrib-google-translate-plus based latest version "vitalets/google-translate-api" on Github, please let the package be published to be useful for community. Thanks.

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

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