# Developing Nodes

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

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

**Page:** 8

---

## [Using Markdown in node help text](https://discourse.nodered.org/t/using-markdown-in-node-help-text/87105)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 3\
**Last updated:** [9 April 2024 17:17 UTC](https://discourse.nodered.org/t/using-markdown-in-node-help-text/87105 "2024-04-09T17:17:09Z")

</div>

In the Creating Nodes Help Style Guide documentation it gives the following Markdown example ### Inputs : payload (string | buffer) : the payload of the message to publish. : \*topic\* (string) : the MQTT topi…

---

## [How to load JSON resources?](https://discourse.nodered.org/t/how-to-load-json-resources/87062)

<div class="topic-metadata">

**Author:** [@Juampe](https://discourse.nodered.org/u/Juampe)\
**Replies:** 5\
**Last updated:** [8 April 2024 14:55 UTC](https://discourse.nodered.org/t/how-to-load-json-resources/87062 "2024-04-08T14:55:39Z")

</div>

Hi, I have been developping a node to get the Holidays at a region in spain. My node settings has 2 properties which are select tags: Territory Municipality The Municipality select changes when the territory select c…

---

## [Inject nodes buttons disabled after deploying a node generated from a subflow](https://discourse.nodered.org/t/inject-nodes-buttons-disabled-after-deploying-a-node-generated-from-a-subflow/86940)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 5\
**Last updated:** [2 April 2024 15:36 UTC](https://discourse.nodered.org/t/inject-nodes-buttons-disabled-after-deploying-a-node-generated-from-a-subflow/86940 "2024-04-02T15:36:19Z")

</div>

I have a strange situation I hope someone can help with. I am developing a node using Packaging a Subflow as a module. When I place the node on the flow and deploy then in the developer console I see VM408:341 Uncau…

---

## [How can I make code run after a certain time? Without blocking the rest](https://discourse.nodered.org/t/how-can-i-make-code-run-after-a-certain-time-without-blocking-the-rest/86836)

<div class="topic-metadata">

**Author:** [@hansimeister](https://discourse.nodered.org/u/hansimeister)\
**Replies:** 1\
**Last updated:** [28 March 2024 16:38 UTC](https://discourse.nodered.org/t/how-can-i-make-code-run-after-a-certain-time-without-blocking-the-rest/86836 "2024-03-28T16:38:45Z")

</div>

Hi there! I have the code below. It runs smoothly however the token expires after 1hr and I have to fetch a new one, create a new connection, new session etc. How can I do this 1hr after first obtaining the token? All my…

---

## [Is there any way of adding additional language support in a node that I'm developing with the Monaco Editor?](https://discourse.nodered.org/t/is-there-any-way-of-adding-additional-language-support-in-a-node-that-im-developing-with-the-monaco-editor/86721)

<div class="topic-metadata">

**Author:** [@RafaelMuynarsk](https://discourse.nodered.org/u/RafaelMuynarsk)\
**Replies:** 3\
**Last updated:** [25 March 2024 15:56 UTC](https://discourse.nodered.org/t/is-there-any-way-of-adding-additional-language-support-in-a-node-that-im-developing-with-the-monaco-editor/86721 "2024-03-25T15:56:16Z")

</div>

When the official editor of Node-RED was the Ace editor, even though it couldn't support all languages of the Ace editor, I still had the option of getting additional languages on their GitHub page, just so I could devel…

---

## [How to update the UI surface on Dashboard when a new message arrived](https://discourse.nodered.org/t/how-to-update-the-ui-surface-on-dashboard-when-a-new-message-arrived/86740)

<div class="topic-metadata">

**Author:** [@greenDog](https://discourse.nodered.org/u/greenDog)\
**Replies:** 0\
**Last updated:** [25 March 2024 12:23 UTC](https://discourse.nodered.org/t/how-to-update-the-ui-surface-on-dashboard-when-a-new-message-arrived/86740 "2024-03-25T12:23:24Z")

</div>

Hello! I am in the process of creating my first node to display a speedometer on the dashboard. I have the problem that the written HTML code for the dashboard is not updated when a new message arrives. My code is str…

---

## [Generic Flexible 5 Option Dropdown by Claude](https://discourse.nodered.org/t/generic-flexible-5-option-dropdown-by-claude/86673)

<div class="topic-metadata">

**Author:** [@Mike7833](https://discourse.nodered.org/u/Mike7833)\
**Replies:** 0\
**Last updated:** [22 March 2024 17:44 UTC](https://discourse.nodered.org/t/generic-flexible-5-option-dropdown-by-claude/86673 "2024-03-22T17:44:57Z")

</div>

Thought I would share this with the community. Its a generic dynamically generated series of dropdowns built from a configuration JSON file. The user can select a series of options as defined in a tree-like structured …

---

## [Lack in the documentation where similar versions of a node exist](https://discourse.nodered.org/t/lack-in-the-documentation-where-similar-versions-of-a-node-exist/86665)

<div class="topic-metadata">

**Author:** [@AndrewBeasley](https://discourse.nodered.org/u/AndrewBeasley)\
**Replies:** 4\
**Last updated:** [22 March 2024 16:24 UTC](https://discourse.nodered.org/t/lack-in-the-documentation-where-similar-versions-of-a-node-exist/86665 "2024-03-22T16:24:34Z")

</div>

While trying to help on this question (moving directories) I found a quirk in my searching (well it was late at night) while looking for nodes that could help. The node-red-contrib-fs node came up in my search as a simp…

---

## [RED.nodes.eachConfig is undefined](https://discourse.nodered.org/t/red-nodes-eachconfig-is-undefined/86621)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 5\
**Last updated:** [21 March 2024 11:16 UTC](https://discourse.nodered.org/t/red-nodes-eachconfig-is-undefined/86621 "2024-03-21T11:16:04Z")

</div>

Hi folks, I have used RED.nodes.eachConfig already several times, but always in code for sidebars. Now I need to call it from inside the code of a node. Because I need to get the dashboard D2 url, similar to how it is…

---

## [How to build nodered RAG systems!](https://discourse.nodered.org/t/how-to-build-nodered-rag-systems/86614)

<div class="topic-metadata">

**Author:** [@abedmalak](https://discourse.nodered.org/u/abedmalak)\
**Replies:** 3\
**Last updated:** [21 March 2024 09:34 UTC](https://discourse.nodered.org/t/how-to-build-nodered-rag-systems/86614 "2024-03-21T09:34:17Z")

</div>

I am new to nodered and couldn't find tutorials or documentations anywhere, can someone please guide me

---

## [Show info about a disabled switch in Vue (dashboard D2)](https://discourse.nodered.org/t/show-info-about-a-disabled-switch-in-vue-dashboard-d2/86512)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 5\
**Last updated:** [18 March 2024 19:59 UTC](https://discourse.nodered.org/t/show-info-about-a-disabled-switch-in-vue-dashboard-d2/86512 "2024-03-18T19:59:42Z")

</div>

Hi folks, I started the painfully long journey of migrating my ui nodes to VueJs. To be honest I have no idea why VueJs has become so popular: magic all over the place, and if some of the magic fails you have no idea w…

---

## [What event types are there?](https://discourse.nodered.org/t/what-event-types-are-there/86342)

<div class="topic-metadata">

**Author:** [@hansimeister](https://discourse.nodered.org/u/hansimeister)\
**Replies:** 1\
**Last updated:** [11 March 2024 16:05 UTC](https://discourse.nodered.org/t/what-event-types-are-there/86342 "2024-03-11T16:05:26Z")

</div>

Hey there I wanted to ask what event types there are? node.on('close') I do know what are others? I am asking because I am facing a problem in which I have defined an API in a custom node but the callback is always fr…

---

## [typedInput is there a search functionality?](https://discourse.nodered.org/t/typedinput-is-there-a-search-functionality/86336)

<div class="topic-metadata">

**Author:** [@hansimeister](https://discourse.nodered.org/u/hansimeister)\
**Replies:** 1\
**Last updated:** [11 March 2024 15:33 UTC](https://discourse.nodered.org/t/typedinput-is-there-a-search-functionality/86336 "2024-03-11T15:33:01Z")

</div>

Hi there I have a typeInput field in my node editor with around 200 entries, so a long list. Is there any way to make the options searchable or enable typing to that when e.g "s" is typed only options starting with s ar…

---

## [How to call method from .js file in .html file when creating node?](https://discourse.nodered.org/t/how-to-call-method-from-js-file-in-html-file-when-creating-node/86272)

<div class="topic-metadata">

**Author:** [@hansimeister](https://discourse.nodered.org/u/hansimeister)\
**Replies:** 1\
**Last updated:** [8 March 2024 14:18 UTC](https://discourse.nodered.org/t/how-to-call-method-from-js-file-in-html-file-when-creating-node/86272 "2024-03-08T14:18:26Z")

</div>

Hi There! I am trying to build a custom server-node and subscribe-event node which should be able to start a session in the websocket connection the server made. Then in this session each instance of the subscribe-event …

---

## [VueJs - where to store my data](https://discourse.nodered.org/t/vuejs-where-to-store-my-data/85939)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 9\
**Last updated:** [7 March 2024 19:54 UTC](https://discourse.nodered.org/t/vuejs-where-to-store-my-data/85939 "2024-03-07T19:54:15Z")

</div>

Hi folks, Whenever I have an hour free, I try to start migrating my old ui nodes to D2. But due to my lack of Vue knowledge, I find it rather difficult to get started. Seems that Vue is doing a lot of magic behind the…

---

## [Dynamic Mermaid in Markdown](https://discourse.nodered.org/t/dynamic-mermaid-in-markdown/86151)

<div class="topic-metadata">

**Author:** [@cta](https://discourse.nodered.org/u/cta)\
**Replies:** 7\
**Last updated:** [5 March 2024 13:05 UTC](https://discourse.nodered.org/t/dynamic-mermaid-in-markdown/86151 "2024-03-05T13:05:51Z")

</div>

Im trying to use the dynamic Mermaid function to get our user some more information about the state of the machine. What i'm trying to achieve looks like: However if change the page( other page in the dashboard) or …

---

## [Adding modules to monaco editor](https://discourse.nodered.org/t/adding-modules-to-monaco-editor/86153)

<div class="topic-metadata">

**Author:** [@Felipet007](https://discourse.nodered.org/u/Felipet007)\
**Replies:** 2\
**Last updated:** [5 March 2024 12:57 UTC](https://discourse.nodered.org/t/adding-modules-to-monaco-editor/86153 "2024-03-05T12:57:55Z")

</div>

Hi! I'm trying to add modules to my Monaco editor but I don't know how to access to the monaco instance for doing that. This is what I'm trying to do right now: that.initEditor = () =\> { that.editor = RED.edit…

---

## [JSON Typed into with schema validation](https://discourse.nodered.org/t/json-typed-into-with-schema-validation/84499)

<div class="topic-metadata">

**Author:** [@Thomassorensen](https://discourse.nodered.org/u/Thomassorensen)\
**Replies:** 11\
**Last updated:** [3 March 2024 10:58 UTC](https://discourse.nodered.org/t/json-typed-into-with-schema-validation/84499 "2024-03-03T10:58:51Z")

</div>

Has anyone found a good way to allow the user to edit a JSON document that enforce schema validation? Currently I use the JSON TypedInput, but the only way I found to implement the schema validation to return false on v…

---

## [Node multistyle button](https://discourse.nodered.org/t/node-multistyle-button/86001)

<div class="topic-metadata">

**Author:** [@orelio](https://discourse.nodered.org/u/orelio)\
**Replies:** 0\
**Last updated:** [28 February 2024 14:11 UTC](https://discourse.nodered.org/t/node-multistyle-button/86001 "2024-02-28T14:11:03Z")

</div>

node multistyle button there is a possibility to click press button down send true and when releasing button send false now it is only at click button connection with Siemens logo 8 Kind regards

---

## [Dynamically changeable Node from "outside", handshake secured sending over MQTT](https://discourse.nodered.org/t/dynamically-changeable-node-from-outside-handshake-secured-sending-over-mqtt/85803)

<div class="topic-metadata">

**Author:** [@AirTimeDan](https://discourse.nodered.org/u/AirTimeDan)\
**Replies:** 8\
**Last updated:** [27 February 2024 11:30 UTC](https://discourse.nodered.org/t/dynamically-changeable-node-from-outside-handshake-secured-sending-over-mqtt/85803 "2024-02-27T11:30:38Z")

</div>

I need a solution for: Receiving Data from ModbusRTU, ModbusTCP, maybe KNX. The parameters (Modbus ID, FC, Register / KNX Adress) should be configurable from external like MQTT Message or a config file. The Data then g…

---

## [Cannot call functions of config node](https://discourse.nodered.org/t/cannot-call-functions-of-config-node/85929)

<div class="topic-metadata">

**Author:** [@hansimeister](https://discourse.nodered.org/u/hansimeister)\
**Replies:** 3\
**Last updated:** [26 February 2024 16:57 UTC](https://discourse.nodered.org/t/cannot-call-functions-of-config-node/85929 "2024-02-26T16:57:46Z")

</div>

Hi there! I am trying to access a function namely getToken() defined in my config node in another node. However if I do it like the following: var server = RED.nodes.node(node.server); console.log("serv…

---

## [Python3 function node](https://discourse.nodered.org/t/python3-function-node/85870)

<div class="topic-metadata">

**Author:** [@lillebjorn559](https://discourse.nodered.org/u/lillebjorn559)\
**Replies:** 5\
**Last updated:** [25 February 2024 08:59 UTC](https://discourse.nodered.org/t/python3-function-node/85870 "2024-02-25T08:59:11Z")

</div>

I have a code where I control a damper. The damper is running on RS485, and the slider that controls the damper is running in node-red-dashboard. The problem is when I use the slider, nothing happens with my damper. T…

---

## [Custom node feed. How to add](https://discourse.nodered.org/t/custom-node-feed-how-to-add/85844)

<div class="topic-metadata">

**Author:** [@robertobasile84](https://discourse.nodered.org/u/robertobasile84)\
**Replies:** 3\
**Last updated:** [24 February 2024 17:22 UTC](https://discourse.nodered.org/t/custom-node-feed-how-to-add/85844 "2024-02-24T17:22:01Z")

</div>

Hi all, Creating a node and publishing it to a private npm registry (devops artifacts) was easy enough… now I'm having trouble finding documentation on how to add that registry to my Node-RED palette. I'd like my users…

---

## [Arithmetic operation \[2362\] error on one node-red but not other](https://discourse.nodered.org/t/arithmetic-operation-2362-error-on-one-node-red-but-not-other/85833)

<div class="topic-metadata">

**Author:** [@nzbaxterman](https://discourse.nodered.org/u/nzbaxterman)\
**Replies:** 5\
**Last updated:** [24 February 2024 12:17 UTC](https://discourse.nodered.org/t/arithmetic-operation-2362-error-on-one-node-red-but-not-other/85833 "2024-02-24T12:17:39Z")

</div>

Hello I'm getting a javascript warnings when deploying on one Nodered but not another. In it's most simplest form, the function code is as follows: var temp = context.get("last\_update"); //create a node variable var c…

---

## [Creating a if statement inside an if statement in a Javascript function node](https://discourse.nodered.org/t/creating-a-if-statement-inside-an-if-statement-in-a-javascript-function-node/68663)

<div class="topic-metadata">

**Author:** [@Breathly](https://discourse.nodered.org/u/Breathly)\
**Replies:** 6\
**Last updated:** [19 February 2024 06:42 UTC](https://discourse.nodered.org/t/creating-a-if-statement-inside-an-if-statement-in-a-javascript-function-node/68663 "2024-02-19T06:42:14Z")

</div>

Hey guys, currently i have some problems with not knowing how to create a if satement inside a if statement in a Javascript function node, currently last piece i need to do for my project to work. How do i do this? Is it…

---

## [Junction Node-RED IDs are being duplicated](https://discourse.nodered.org/t/junction-node-red-ids-are-being-duplicated/85438)

<div class="topic-metadata">

**Author:** [@werner.liebenberg](https://discourse.nodered.org/u/werner.liebenberg)\
**Replies:** 8\
**Last updated:** [13 February 2024 19:21 UTC](https://discourse.nodered.org/t/junction-node-red-ids-are-being-duplicated/85438 "2024-02-13T19:21:37Z")

</div>

We have four custom node types registered in Node-RED, two of which have output junctions that serve to connect the output from parent nodes to their child nodes. We require all nodes as well as their output junctions to…

---

## [Install compilation dependenies using 'Manage Palette'](https://discourse.nodered.org/t/install-compilation-dependenies-using-manage-palette/85478)

<div class="topic-metadata">

**Author:** [@Achronite](https://discourse.nodered.org/u/Achronite)\
**Replies:** 1\
**Last updated:** [13 February 2024 10:27 UTC](https://discourse.nodered.org/t/install-compilation-dependenies-using-manage-palette/85478 "2024-02-13T10:27:57Z")

</div>

I have updated my node (which contain C code) to use gpiod and libgpiod as WiringPi is no longer supported. These are needed during the npm install script which compiles the code using node-gyp. Is there any way to auto…

---

## [Connecting to AWS IoT Core over WebSockets](https://discourse.nodered.org/t/connecting-to-aws-iot-core-over-websockets/84741)

<div class="topic-metadata">

**Author:** [@FrankAr](https://discourse.nodered.org/u/FrankAr)\
**Replies:** 6\
**Last updated:** [11 February 2024 23:33 UTC](https://discourse.nodered.org/t/connecting-to-aws-iot-core-over-websockets/84741 "2024-02-11T23:33:00Z")

</div>

Hi there, I am trying to connect to AWS IoT Core using node red. I am behind a corporate proxy with a lot of restrictions concerning port availability etc, and can therefore not use the node-red-contrib-aws-iot-hub as n…

---

## [Node-red-contrib-timeouttrigger](https://discourse.nodered.org/t/node-red-contrib-timeouttrigger/85419)

<div class="topic-metadata">

**Author:** [@Sineos](https://discourse.nodered.org/u/Sineos)\
**Replies:** 3\
**Last updated:** [11 February 2024 17:36 UTC](https://discourse.nodered.org/t/node-red-contrib-timeouttrigger/85419 "2024-02-11T17:36:23Z")

</div>

Dear all, I have published the node node-red-contrib-timeouttrigger. There seems to be an issue that I cannot make heads or tails of: No message pass through after reinstallation of the node · Issue #5 · Sineos/node-re…

---

## [Trying to add a configuration node within a configuration node](https://discourse.nodered.org/t/trying-to-add-a-configuration-node-within-a-configuration-node/85375)

<div class="topic-metadata">

**Author:** [@njoye](https://discourse.nodered.org/u/njoye)\
**Replies:** 2\
**Last updated:** [10 February 2024 09:31 UTC](https://discourse.nodered.org/t/trying-to-add-a-configuration-node-within-a-configuration-node/85375 "2024-02-10T09:31:39Z")

</div>

Hey, thanks for all the possible help I might be getting here. I am currently expanding a existing node-red-contrib package and for that I would need the following setup: Some "normal" nodes (no problem here) A configu…

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

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