# Developing Nodes

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

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

**Page:** 17

---

## [Public package removal request](https://discourse.nodered.org/t/public-package-removal-request/71969)

<div class="topic-metadata">

**Author:** [@dudest](https://discourse.nodered.org/u/dudest)\
**Replies:** 1\
**Last updated:** [10 December 2022 06:51 UTC](https://discourse.nodered.org/t/public-package-removal-request/71969 "2022-12-10T06:51:02Z")

</div>

Hello, In publishing my first node I made a couple mistakes and removed it from npm. Unfortunately it's still available on flows.nodered.org. from reading this thread: How to remove a node (package) published on flows.n…

---

## [This async unittest never fails when it should](https://discourse.nodered.org/t/this-async-unittest-never-fails-when-it-should/71912)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 2\
**Last updated:** [9 December 2022 12:00 UTC](https://discourse.nodered.org/t/this-async-unittest-never-fails-when-it-should/71912 "2022-12-09T12:00:13Z")

</div>

I'm bothered by this test below, where it never fails var should = require('should'); var helper = require("node-red-node-test-helper"); var targetNode = require("../node.js"); helper.init(require.resolve('node-red'));…

---

## [My node unit test always times out](https://discourse.nodered.org/t/my-node-unit-test-always-times-out/71905)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 1\
**Last updated:** [9 December 2022 07:19 UTC](https://discourse.nodered.org/t/my-node-unit-test-always-times-out/71905 "2022-12-09T07:19:09Z")

</div>

I'm trying to follow node-red-node-test-helper's doc to unittest a custom node. However, although the node loads OK, the functional test always times out. See my mocha spec below: var should = require('should'); var h…

---

## [Make Node-RED silently accept dynamically added flows](https://discourse.nodered.org/t/make-node-red-silently-accept-dynamically-added-flows/71846)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 4\
**Last updated:** [8 December 2022 10:00 UTC](https://discourse.nodered.org/t/make-node-red-silently-accept-dynamically-added-flows/71846 "2022-12-08T10:00:32Z")

</div>

I'm trying to POST http request to add flows automatically at run time curl -X POST -H "Content-Type: application/json" -d "@/path/to/my/flow.json" http://localhost:1880/flows However, in the browser, I get a prompt as…

---

## [Ideas for Node Authoring: Auto-HTML Generation, Rendering Extra Info, Type-checking, Multiple Inputs](https://discourse.nodered.org/t/ideas-for-node-authoring-auto-html-generation-rendering-extra-info-type-checking-multiple-inputs/71315)

<div class="topic-metadata">

**Author:** [@jackcarey](https://discourse.nodered.org/u/jackcarey)\
**Replies:** 5\
**Last updated:** [6 December 2022 19:22 UTC](https://discourse.nodered.org/t/ideas-for-node-authoring-auto-html-generation-rendering-extra-info-type-checking-multiple-inputs/71315 "2022-12-06T19:22:27Z")

</div>

I'm writing this post to garner feedback on some ideas I have to improve the node authoring experience in NodeRED (not expecting any sort of implementation from anyone). Automatic HTML Generation Why: When creating node…

---

## [Additional information on validation of custom node](https://discourse.nodered.org/t/additional-information-on-validation-of-custom-node/71708)

<div class="topic-metadata">

**Author:** [@ItsDaveTheWave](https://discourse.nodered.org/u/ItsDaveTheWave)\
**Replies:** 1\
**Last updated:** [5 December 2022 16:09 UTC](https://discourse.nodered.org/t/additional-information-on-validation-of-custom-node/71708 "2022-12-05T16:09:25Z")

</div>

Hi there I have a validation on my custom node using validate: function(value) {} in the HTML However, I would like to give some more information about what exactly is wrong with the input when hovering on the red tria…

---

## [typedInput and autoComplete](https://discourse.nodered.org/t/typedinput-and-autocomplete/71699)

<div class="topic-metadata">

**Author:** [@ptweety](https://discourse.nodered.org/u/ptweety)\
**Replies:** 3\
**Last updated:** [5 December 2022 13:01 UTC](https://discourse.nodered.org/t/typedinput-and-autocomplete/71699 "2022-12-05T13:01:51Z")

</div>

Hi all, I have some question regarding the autoComplete with a typedInput: I wonder what is the correct way to attach autoComplete to a typedInput? Currently I have only found that $(this).parent().find('.red-ui-type…

---

## [TCP IN/OUT/REQUEST Deeper Code Help](https://discourse.nodered.org/t/tcp-in-out-request-deeper-code-help/71519)

<div class="topic-metadata">

**Author:** [@Stodzilla](https://discourse.nodered.org/u/Stodzilla)\
**Replies:** 2\
**Last updated:** [30 November 2022 17:50 UTC](https://discourse.nodered.org/t/tcp-in-out-request-deeper-code-help/71519 "2022-11-30T17:50:53Z")

</div>

I'm going to start with a story first, I have been playing with creation of a node. I have adapted the tcpin js, currently I have just added in very simply for the node to output every return message from the end point. …

---

## [JSONata input is validated as JSON](https://discourse.nodered.org/t/jsonata-input-is-validated-as-json/71463)

<div class="topic-metadata">

**Author:** [@ItsDaveTheWave](https://discourse.nodered.org/u/ItsDaveTheWave)\
**Replies:** 5\
**Last updated:** [29 November 2022 16:23 UTC](https://discourse.nodered.org/t/jsonata-input-is-validated-as-json/71463 "2022-11-29T16:23:43Z")

</div>

Hi there, I am creating a custom node with an editable list: But I am having some trouble with the 'Response' JSONata field: Im trying to get 'greeting' from msg like you would do in any JSONata input, but here th…

---

## [Live-updating nodes](https://discourse.nodered.org/t/live-updating-nodes/67777)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 9\
**Last updated:** [28 November 2022 20:58 UTC](https://discourse.nodered.org/t/live-updating-nodes/67777 "2022-11-28T20:58:14Z")

</div>

I'd love to do the following without restarting Node-RED server: Adding new nodes Removing nodes Updating a node's behaviours and appearances I want user to simply reload the Node-RED page in the web browser to have a…

---

## [Reading from constants.js file from HTML in custom node](https://discourse.nodered.org/t/reading-from-constants-js-file-from-html-in-custom-node/71247)

<div class="topic-metadata">

**Author:** [@ItsDaveTheWave](https://discourse.nodered.org/u/ItsDaveTheWave)\
**Replies:** 2\
**Last updated:** [25 November 2022 17:07 UTC](https://discourse.nodered.org/t/reading-from-constants-js-file-from-html-in-custom-node/71247 "2022-11-25T17:07:04Z")

</div>

Hi there, I wanted to do something apparently simple with my custom nodes, create a constants.js file on the same directory(/nodes) where I store all the .html and .js files. I wanted to access the constants defined in …

---

## [Create a Node that can create a flow](https://discourse.nodered.org/t/create-a-node-that-can-create-a-flow/71007)

<div class="topic-metadata">

**Author:** [@simmoinard](https://discourse.nodered.org/u/simmoinard)\
**Replies:** 10\
**Last updated:** [25 November 2022 08:42 UTC](https://discourse.nodered.org/t/create-a-node-that-can-create-a-flow/71007 "2022-11-25T08:42:24Z")

</div>

Hi everyone, I have a question and couldn't find any answers on the forum : is there a way to create a flow automaticly, using a node ? I explain a bit more : I use Telegram-bot to get informations (ID and password) f…

---

## [Implementing SOAR with nodered](https://discourse.nodered.org/t/implementing-soar-with-nodered/71129)

<div class="topic-metadata">

**Author:** [@david2](https://discourse.nodered.org/u/david2)\
**Replies:** 1\
**Last updated:** [23 November 2022 20:07 UTC](https://discourse.nodered.org/t/implementing-soar-with-nodered/71129 "2022-11-23T20:07:57Z")

</div>

Implementing SOAR with nodered Resources on how to create flows about SOAR

---

## [Store value in custom node HTML](https://discourse.nodered.org/t/store-value-in-custom-node-html/70991)

<div class="topic-metadata">

**Author:** [@ItsDaveTheWave](https://discourse.nodered.org/u/ItsDaveTheWave)\
**Replies:** 1\
**Last updated:** [21 November 2022 17:02 UTC](https://discourse.nodered.org/t/store-value-in-custom-node-html/70991 "2022-11-21T17:02:55Z")

</div>

I would like to store a certain dynamic value for it to be used in the HTML of my custom node. For example, when using a spinner input we can create a function that is executed whenever the value of the spinner changes,…

---

## [Any nodes written in Typescript with config nodes?](https://discourse.nodered.org/t/any-nodes-written-in-typescript-with-config-nodes/69136)

<div class="topic-metadata">

**Author:** [@AntekAiR](https://discourse.nodered.org/u/AntekAiR)\
**Replies:** 1\
**Last updated:** [21 November 2022 16:13 UTC](https://discourse.nodered.org/t/any-nodes-written-in-typescript-with-config-nodes/69136 "2022-11-21T16:13:50Z")

</div>

Hi, Does anyone know about some working node library that is: written in Typescript using config node I have found some basic info about Typescript and Node, but I am looking for something a little bit more complicat…

---

## [User Input : node-red-contrib-zwave-js](https://discourse.nodered.org/t/user-input-node-red-contrib-zwave-js/70890)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 0\
**Last updated:** [19 November 2022 21:00 UTC](https://discourse.nodered.org/t/user-input-node-red-contrib-zwave-js/70890 "2022-11-19T21:00:14Z")

</div>

Hello, The purpose of this post, is to engage users of node-red-contrib-zwave-js (node) - Node-RED. According to analytics, where opted in of course, around 130 active installations are known with this Node. 130 isn't…

---

## [Node and plugin in same package.json](https://discourse.nodered.org/t/node-and-plugin-in-same-package-json/70766)

<div class="topic-metadata">

**Author:** [@alevher](https://discourse.nodered.org/u/alevher)\
**Replies:** 3\
**Last updated:** [17 November 2022 17:21 UTC](https://discourse.nodered.org/t/node-and-plugin-in-same-package-json/70766 "2022-11-17T17:21:26Z")

</div>

Hello everyone, i'm trying to prepare the package for my own set of nodes and i've encountered a problem. I have a plugin node and various other nodes and i want them to be installed in a single package but this keeps r…

---

## [Publish Nodes Question](https://discourse.nodered.org/t/publish-nodes-question/70587)

<div class="topic-metadata">

**Author:** [@alevher](https://discourse.nodered.org/u/alevher)\
**Replies:** 10\
**Last updated:** [17 November 2022 17:20 UTC](https://discourse.nodered.org/t/publish-nodes-question/70587 "2022-11-17T17:20:35Z")

</div>

Hello Everyone! I have some questions while i'm preparing myself to publish my own set of nodes. Basically i developed the nodes indipendently with its own package.json and here comes the first question: -Is it possib…

---

## [Node to wrap h3-js from https://github.com/uber/h3-js](https://discourse.nodered.org/t/node-to-wrap-h3-js-from-https-github-com-uber-h3-js/70598)

<div class="topic-metadata">

**Author:** [@mrdvt92](https://discourse.nodered.org/u/mrdvt92)\
**Replies:** 5\
**Last updated:** [17 November 2022 03:41 UTC](https://discourse.nodered.org/t/node-to-wrap-h3-js-from-https-github-com-uber-h3-js/70598 "2022-11-17T03:41:07Z")

</div>

I'd like to add Uber H3 cells to my node-red-contrib-web-worldmap display. But, I'm not quite sure how to take a JavaScript lib and then wrap it with a flow node. Ideally, what I like to figure out is how to take the l…

---

## [Subflow Instance properties Length of name field too short, not dynamic](https://discourse.nodered.org/t/subflow-instance-properties-length-of-name-field-too-short-not-dynamic/70732)

<div class="topic-metadata">

**Author:** [@RayAtGit](https://discourse.nodered.org/u/RayAtGit)\
**Replies:** 0\
**Last updated:** [16 November 2022 19:11 UTC](https://discourse.nodered.org/t/subflow-instance-properties-length-of-name-field-too-short-not-dynamic/70732 "2022-11-16T19:11:05Z")

</div>

The name field of the properties of a subflow has a fixed length no matter the width of the properties window is. This is annoying when having long property names. Solution: scale the name field to the property with the …

---

## [Performance profiling and observability](https://discourse.nodered.org/t/performance-profiling-and-observability/69796)

<div class="topic-metadata">

**Author:** [@jackcarey](https://discourse.nodered.org/u/jackcarey)\
**Replies:** 12\
**Last updated:** [15 November 2022 13:42 UTC](https://discourse.nodered.org/t/performance-profiling-and-observability/69796 "2022-11-15T13:42:21Z")

</div>

Hello, I've been looking to measure the amount of memory, CPU cycles, and time used by a few different flows and nodes. I've taken a look at a number of posts on the forum, but have run into a few issues: Clinic.js doe…

---

## [Scheduling thermostats to turn on and off](https://discourse.nodered.org/t/scheduling-thermostats-to-turn-on-and-off/70628)

<div class="topic-metadata">

**Author:** [@housemateau](https://discourse.nodered.org/u/housemateau)\
**Replies:** 1\
**Last updated:** [15 November 2022 08:27 UTC](https://discourse.nodered.org/t/scheduling-thermostats-to-turn-on-and-off/70628 "2022-11-15T08:27:42Z")

</div>

hi, trying to create a 'winter mode' button that when ON runs the schedules attached turning thermostat on at desired time and off at desired time. the pi will boot each night so the button needs to retain its last k…

---

## [Creating an override button to run a heating schedule](https://discourse.nodered.org/t/creating-an-override-button-to-run-a-heating-schedule/70610)

<div class="topic-metadata">

**Author:** [@gyoza27](https://discourse.nodered.org/u/gyoza27)\
**Replies:** 25\
**Last updated:** [15 November 2022 07:11 UTC](https://discourse.nodered.org/t/creating-an-override-button-to-run-a-heating-schedule/70610 "2022-11-15T07:11:40Z")

</div>

Using HomeKit integration I have successfully created a schedule that activates the thermostats at a certain time and then turns them off at a scheduled time. The issue? Wish to create a “Winter Mode” button that when a…

---

## [Dynamically changing node color or label](https://discourse.nodered.org/t/dynamically-changing-node-color-or-label/3669)

<div class="topic-metadata">

**Author:** [@mountaindude](https://discourse.nodered.org/u/mountaindude)\
**Replies:** 9\
**Last updated:** [14 November 2022 17:48 UTC](https://discourse.nodered.org/t/dynamically-changing-node-color-or-label/3669 "2022-11-14T17:48:40Z")

</div>

I would like to dynamically change either the label or background color of nodes in a flow, when certain MQTT messages arrive. I know, that's slightly unusual, but I have a pretty specific use case where this makes sense…

---

## [Persistence across restarts in custom node](https://discourse.nodered.org/t/persistence-across-restarts-in-custom-node/70358)

<div class="topic-metadata">

**Author:** [@ebarrieau](https://discourse.nodered.org/u/ebarrieau)\
**Replies:** 1\
**Last updated:** [10 November 2022 11:35 UTC](https://discourse.nodered.org/t/persistence-across-restarts-in-custom-node/70358 "2022-11-10T11:35:13Z")

</div>

I am creating a custom node which has some internal variables which I want to persist across restarts and I am trying to find an elegant way to do that in paradigm. The first time you load the node, you can set the value…

---

## [Problem with a call service node - impacting also another entity](https://discourse.nodered.org/t/problem-with-a-call-service-node-impacting-also-another-entity/70286)

<div class="topic-metadata">

**Author:** [@eldigsi](https://discourse.nodered.org/u/eldigsi)\
**Replies:** 2\
**Last updated:** [8 November 2022 21:44 UTC](https://discourse.nodered.org/t/problem-with-a-call-service-node-impacting-also-another-entity/70286 "2022-11-08T21:44:23Z")

</div>

Hi! I would appreciate if someone could help me with a problem with call service nodes that don't behave as expected. I have a device with two digital output channels connected to my Home Assistant. Each channel has its…

---

## [Creating a Custom Node on the basis of another Node as Dependency](https://discourse.nodered.org/t/creating-a-custom-node-on-the-basis-of-another-node-as-dependency/70275)

<div class="topic-metadata">

**Author:** [@TomTomToGo](https://discourse.nodered.org/u/TomTomToGo)\
**Replies:** 0\
**Last updated:** [8 November 2022 18:06 UTC](https://discourse.nodered.org/t/creating-a-custom-node-on-the-basis-of-another-node-as-dependency/70275 "2022-11-08T18:06:45Z")

</div>

Hi, i am currently trying to create a custom node. In this custom node i need an instance from node-red-contrib-opcua. Especially from the server node there because i need the server object. So i tried to "require" the…

---

## [Issues with scorecard on flows.nodered.org](https://discourse.nodered.org/t/issues-with-scorecard-on-flows-nodered-org/68917)

<div class="topic-metadata">

**Author:** [@ptweety](https://discourse.nodered.org/u/ptweety)\
**Replies:** 10\
**Last updated:** [3 November 2022 15:21 UTC](https://discourse.nodered.org/t/issues-with-scorecard-on-flows-nodered-org/68917 "2022-11-03T15:21:13Z")

</div>

Hi all, I have published a new version of my package @ptweety/node-red-contrib-ccu and found the following issues with it's scorecard: Supported Node-RED Version: Missing But this is mentioned in package.json "nod…

---

## [How to prompt password reset after first login](https://discourse.nodered.org/t/how-to-prompt-password-reset-after-first-login/69816)

<div class="topic-metadata">

**Author:** [@MOUNIKA0536](https://discourse.nodered.org/u/MOUNIKA0536)\
**Replies:** 1\
**Last updated:** [31 October 2022 09:47 UTC](https://discourse.nodered.org/t/how-to-prompt-password-reset-after-first-login/69816 "2022-10-31T09:47:29Z")

</div>

Hi, We have a requirement that custom nodes are delivered as container image which is built on top of node-red base image. For security reasons, we added user in node-red with default credentials which will be shared se…

---

## [Custom node - property validation isn't reflected in the editor UI](https://discourse.nodered.org/t/custom-node-property-validation-isnt-reflected-in-the-editor-ui/69200)

<div class="topic-metadata">

**Author:** [@jackcarey](https://discourse.nodered.org/u/jackcarey)\
**Replies:** 2\
**Last updated:** [30 October 2022 13:28 UTC](https://discourse.nodered.org/t/custom-node-property-validation-isnt-reflected-in-the-editor-ui/69200 "2022-10-30T13:28:15Z")

</div>

Hello, I'm having an issue with my property validation when setting up the editor UI. My invalid input does not have a red border around it and the code I set up to toggle a validation message for the URL field does not …

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

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