# Developing Nodes

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

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

**Page:** 31

---

## [Node to connect to Mariner (3D printer control software for RPi)](https://discourse.nodered.org/t/node-to-connect-to-mariner-3d-printer-control-software-for-rpi/44943)

<div class="topic-metadata">

**Author:** [@daxliniere](https://discourse.nodered.org/u/daxliniere)\
**Replies:** 5\
**Last updated:** [12 May 2021 20:02 UTC](https://discourse.nodered.org/t/node-to-connect-to-mariner-3d-printer-control-software-for-rpi/44943 "2021-05-12T20:02:45Z")

</div>

Hey gang, Just got a 3D printer and discovered some clever fellow (Luiz) wrote some Linux code called Mariner that gives you remote control over your Chitu-based (Elegoo, Phrozen, etc) SLA resin 3D printer via a web int…

---

## [Installing npm package when installing node](https://discourse.nodered.org/t/installing-npm-package-when-installing-node/45534)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 2\
**Last updated:** [12 May 2021 12:35 UTC](https://discourse.nodered.org/t/installing-npm-package-when-installing-node/45534 "2021-05-12T12:35:47Z")

</div>

Can I somehow make that when i install my node in node-red that it installs the required npm packages?

---

## [Fetching data with websocket](https://discourse.nodered.org/t/fetching-data-with-websocket/45334)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 8\
**Last updated:** [10 May 2021 07:17 UTC](https://discourse.nodered.org/t/fetching-data-with-websocket/45334 "2021-05-10T07:17:43Z")

</div>

const fetchSubscriptions = () =\> { let options = \[\]; // setTimeout(500); $("#list").empty(); if (e.selectedIndex \>= 0) { let selHost = e.options\[e.selectedIndex\].value; // …

---

## [Connect LDAP distant server with nodeJs app](https://discourse.nodered.org/t/connect-ldap-distant-server-with-nodejs-app/45395)

<div class="topic-metadata">

**Author:** [@salamisodikiolawale](https://discourse.nodered.org/u/salamisodikiolawale)\
**Replies:** 0\
**Last updated:** [9 May 2021 19:07 UTC](https://discourse.nodered.org/t/connect-ldap-distant-server-with-nodejs-app/45395 "2021-05-09T19:07:13Z")

</div>

Hello, I have been trying for some time to check if the user exists in the remote ldap directory but I can't find a solution since. Can you help me?

---

## [Node-RED Dashboard custom node](https://discourse.nodered.org/t/node-red-dashboard-custom-node/45242)

<div class="topic-metadata">

**Author:** [@KevinGhadyani](https://discourse.nodered.org/u/KevinGhadyani)\
**Replies:** 3\
**Last updated:** [8 May 2021 09:03 UTC](https://discourse.nodered.org/t/node-red-dashboard-custom-node/45242 "2021-05-08T09:03:48Z")

</div>

Is it possible to create a custom node for Node-RED Dashboard? If so, where's the documentation on that? I'd like to create a new Template node that uses React instead of AngularJS v1. I've been working on this myself,…

---

## [Inquiry about node creations](https://discourse.nodered.org/t/inquiry-about-node-creations/45139)

<div class="topic-metadata">

**Author:** [@Mars-2030](https://discourse.nodered.org/u/Mars-2030)\
**Replies:** 2\
**Last updated:** [7 May 2021 09:09 UTC](https://discourse.nodered.org/t/inquiry-about-node-creations/45139 "2021-05-07T09:09:14Z")

</div>

Hi, Node-red is really an amazing system and easy to use, before proceeding I want to ask if there is a possibility with node-red to create a multitenant connector .. meaning this connector will be built for saas applic…

---

## [New created node not listed in palette / node red nodes](https://discourse.nodered.org/t/new-created-node-not-listed-in-palette-node-red-nodes/45291)

<div class="topic-metadata">

**Author:** [@kuehnel](https://discourse.nodered.org/u/kuehnel)\
**Replies:** 3\
**Last updated:** [7 May 2021 07:36 UTC](https://discourse.nodered.org/t/new-created-node-not-listed-in-palette-node-red-nodes/45291 "2021-05-07T07:36:00Z")

</div>

Hi, we published a new node three days ago to npm: As time passed by we expected the node to be available in palette / node-red-nodes as we named it node-red-contrib-xxx and added node-red to keywords in package.json. …

---

## [Erro exec feh imagem](https://discourse.nodered.org/t/erro-exec-feh-imagem/45307)

<div class="topic-metadata">

**Author:** [@Murilo](https://discourse.nodered.org/u/Murilo)\
**Replies:** 0\
**Last updated:** [7 May 2021 03:08 UTC](https://discourse.nodered.org/t/erro-exec-feh-imagem/45307 "2021-05-07T03:08:35Z")

</div>

boa noite, estou usando o comando (feh --fullscreen /home/pi/Pictures/b.jpg) no lxterminal e funciona normalmente, a imagem é aberta em tela cheia, mas quando uso o nó exec do node red esse comando da erro. o erro que a…

---

## [Accesing dropdown in js file](https://discourse.nodered.org/t/accesing-dropdown-in-js-file/45221)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 23\
**Last updated:** [6 May 2021 11:59 UTC](https://discourse.nodered.org/t/accesing-dropdown-in-js-file/45221 "2021-05-06T11:59:15Z")

</div>

I just have a simple question. Can i somehow access option.text in js.file. To acces options value in js file you just simply write this.options = config. options let node = this; let options = node.options options = Th…

---

## [\[Fixed\] Custom node - Fetching data](https://discourse.nodered.org/t/fixed-custom-node-fetching-data/45215)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 0\
**Last updated:** [5 May 2021 12:31 UTC](https://discourse.nodered.org/t/fixed-custom-node-fetching-data/45215 "2021-05-05T12:31:15Z")

</div>

hello I have a question about fetching inside js.file In my case i have 2 apis. http://{pathToAPI}/data and http://{pathToAPI}/meta. Meta api gives back the details about the data. Data api gives back the value of t…

---

## [API-Key (header x-api-key) in http request](https://discourse.nodered.org/t/api-key-header-x-api-key-in-http-request/45169)

<div class="topic-metadata">

**Author:** [@Bigberg](https://discourse.nodered.org/u/Bigberg)\
**Replies:** 6\
**Last updated:** [5 May 2021 07:47 UTC](https://discourse.nodered.org/t/api-key-header-x-api-key-in-http-request/45169 "2021-05-05T07:47:14Z")

</div>

I want to create a simple query on a cloud-based software. I get the message "ENETUNREACH" in all tried versions I know that I have to set the header x-api-key with the key. I do this GET query in Postman = Y\> works …

---

## [Custom node with values from global](https://discourse.nodered.org/t/custom-node-with-values-from-global/44977)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 21\
**Last updated:** [4 May 2021 13:25 UTC](https://discourse.nodered.org/t/custom-node-with-values-from-global/44977 "2021-05-04T13:25:13Z")

</div>

I managed to create a node that gets data from global adn then stores the data in dropdown. The problem now is that the dropdown fills but only 1st item in it is selectable. If i select some other option and close the no…

---

## [Custom Dropdown Node - Problems with deleting options](https://discourse.nodered.org/t/custom-dropdown-node-problems-with-deleting-options/45112)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 0\
**Last updated:** [3 May 2021 13:04 UTC](https://discourse.nodered.org/t/custom-dropdown-node-problems-with-deleting-options/45112 "2021-05-03T13:04:49Z")

</div>

Heelo i have a question. I have a fetch function that that trigers oneditprepare and that gives me dropdown of 3 objects. next to it i have a button which works as "refresh server". Basically on btn click i call the fet…

---

## [Variable Time in "Get history node" home assitant in node red](https://discourse.nodered.org/t/variable-time-in-get-history-node-home-assitant-in-node-red/43795)

<div class="topic-metadata">

**Author:** [@kizovinh](https://discourse.nodered.org/u/kizovinh)\
**Replies:** 3\
**Last updated:** [1 May 2021 03:07 UTC](https://discourse.nodered.org/t/variable-time-in-get-history-node-home-assitant-in-node-red/43795 "2021-05-01T03:07:22Z")

</div>

I want to pass a numeric variable from subflow instance into the "get history node", this is what I did, everything is fine with other attributes, except the timestring. I tried {{payload.time\_check}} but no luck, it did…

---

## [Adding headers for Websocket connections](https://discourse.nodered.org/t/adding-headers-for-websocket-connections/44786)

<div class="topic-metadata">

**Author:** [@chainhead](https://discourse.nodered.org/u/chainhead)\
**Replies:** 4\
**Last updated:** [30 April 2021 15:30 UTC](https://discourse.nodered.org/t/adding-headers-for-websocket-connections/44786 "2021-04-30T15:30:40Z")

</div>

I am not creating a new node; I am trying to extend the ones for Websocket such that a header is passed before making a ws connection. For my particular requirement, I want to read a file and set its content as a header…

---

## [How to send code for a robot by tcp-ip](https://discourse.nodered.org/t/how-to-send-code-for-a-robot-by-tcp-ip/44804)

<div class="topic-metadata">

**Author:** [@teixeira\_5213](https://discourse.nodered.org/u/teixeira_5213)\
**Replies:** 11\
**Last updated:** [30 April 2021 08:55 UTC](https://discourse.nodered.org/t/how-to-send-code-for-a-robot-by-tcp-ip/44804 "2021-04-30T08:55:41Z")

</div>

Hello, I am new in node red and i want do the code implementation for a robot of universal robots, making its sending by the tcp-ip server installed in the red node of my raspberry. Does anyone have any idea how to do i…

---

## [Subflow to custom node - changing the palette category](https://discourse.nodered.org/t/subflow-to-custom-node-changing-the-palette-category/44937)

<div class="topic-metadata">

**Author:** [@erktrek](https://discourse.nodered.org/u/erktrek)\
**Replies:** 2\
**Last updated:** [29 April 2021 15:37 UTC](https://discourse.nodered.org/t/subflow-to-custom-node-changing-the-palette-category/44937 "2021-04-29T15:37:14Z")

</div>

Starting to play around with the nifty new feature of converting a subflow to a custom node. Seems to work well so far. Instructions are very straightforward thanks for that! One question I have - is there currently a w…

---

## [Complete newbie, please help](https://discourse.nodered.org/t/complete-newbie-please-help/44902)

<div class="topic-metadata">

**Author:** [@waynen1967](https://discourse.nodered.org/u/waynen1967)\
**Replies:** 2\
**Last updated:** [29 April 2021 09:37 UTC](https://discourse.nodered.org/t/complete-newbie-please-help/44902 "2021-04-29T09:37:44Z")

</div>

Hello, new to Home Assistant and Node Red, about a week in, attempting to make a flow that closes my garage door if all of us 3 people living here leave. I have started with an state node, and I see I can add conditions …

---

## [Creating nodes - tabbing the properties page](https://discourse.nodered.org/t/creating-nodes-tabbing-the-properties-page/44737)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 9\
**Last updated:** [27 April 2021 17:29 UTC](https://discourse.nodered.org/t/creating-nodes-tabbing-the-properties-page/44737 "2021-04-27T17:29:04Z")

</div>

I am responsible for Node-Red-Contrib-BigTimer. I'm not bad at this but programming isn't my primary role in life so I'm having mental issues on tabbing the setup "Properties" interface. As you can see in the image, less…

---

## [Containing data in the global and then reusing it](https://discourse.nodered.org/t/containing-data-in-the-global-and-then-reusing-it/44748)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 25\
**Last updated:** [27 April 2021 10:20 UTC](https://discourse.nodered.org/t/containing-data-in-the-global-and-then-reusing-it/44748 "2021-04-27T10:20:10Z")

</div>

Hello, I want some data to be contained in global . I want it to be multiple ip adressess that i set manually. And then for each ip address in the global i want to create a option tag. Is that somehow possible and if yes…

---

## [Creating nodes for the Nvidia Jetson Nano](https://discourse.nodered.org/t/creating-nodes-for-the-nvidia-jetson-nano/44364)

<div class="topic-metadata">

**Author:** [@hobbes1069](https://discourse.nodered.org/u/hobbes1069)\
**Replies:** 12\
**Last updated:** [25 April 2021 20:51 UTC](https://discourse.nodered.org/t/creating-nodes-for-the-nvidia-jetson-nano/44364 "2021-04-25T20:51:04Z")

</div>

Moving my original post and progress to the correct category... I'm using node-red-node-pi-gpio as a starting place but I've had to make a lot of modifications for a number of reasons: The sysfs method of interfacing…

---

## [Question: how to show/hide elements in editable lists depending on options](https://discourse.nodered.org/t/question-how-to-show-hide-elements-in-editable-lists-depending-on-options/44532)

<div class="topic-metadata">

**Author:** [@Christian-Me](https://discourse.nodered.org/u/Christian-Me)\
**Replies:** 2\
**Last updated:** [22 April 2021 10:36 UTC](https://discourse.nodered.org/t/question-how-to-show-hide-elements-in-editable-lists-depending-on-options/44532 "2021-04-22T10:36:57Z")

</div>

Hi, I currently designing a new custom node. For user options I like to use the editable lists widget. All works fine. Now I like to present specific options depending on selections: all fine when I open the config p…

---

## [Custom Post req node with parameters](https://discourse.nodered.org/t/custom-post-req-node-with-parameters/44524)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 1\
**Last updated:** [22 April 2021 08:31 UTC](https://discourse.nodered.org/t/custom-post-req-node-with-parameters/44524 "2021-04-22T08:31:20Z")

</div>

Hello, Im creating a custom Http Post node that if given right parameters it gives back an certain value. Using postman everything works fine. This is probably not a thing for a node red forum but i didnt get any answer…

---

## [Create line break in label: function()](https://discourse.nodered.org/t/create-line-break-in-label-function/44467)

<div class="topic-metadata">

**Author:** [@JohnnyPicnic](https://discourse.nodered.org/u/JohnnyPicnic)\
**Replies:** 0\
**Last updated:** [20 April 2021 17:34 UTC](https://discourse.nodered.org/t/create-line-break-in-label-function/44467 "2021-04-20T17:34:34Z")

</div>

I saw on another post how to make a line break using the GUI but I can't seem to get it to work in my custom node. My html file: \<script type="text/javascript"\> RED.nodes.registerType('smsmessage',{ categor…

---

## [How to keep data after deploying](https://discourse.nodered.org/t/how-to-keep-data-after-deploying/43865)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 16\
**Last updated:** [20 April 2021 14:11 UTC](https://discourse.nodered.org/t/how-to-keep-data-after-deploying/43865 "2021-04-20T14:11:42Z")

</div>

I made a custom node that alows me to select items in dropdown and add its value to the ul. I want to make sure that when i add the value to the dropdown list , the value stays even after closing the node .

---

## [Create the data points to send in Influxdb](https://discourse.nodered.org/t/create-the-data-points-to-send-in-influxdb/44447)

<div class="topic-metadata">

**Author:** [@nitesh](https://discourse.nodered.org/u/nitesh)\
**Replies:** 1\
**Last updated:** [20 April 2021 08:55 UTC](https://discourse.nodered.org/t/create-the-data-points-to-send-in-influxdb/44447 "2021-04-20T08:55:05Z")

</div>

Task: Points which, when drawn over time, form a sinus curve called X. All values of the sinus curve should be above 0. Here which node to be used to create this sinus curve point? After creating the points, I need to…

---

## [Deploying a flow file remotely in node-red without overwriting the entire flow file](https://discourse.nodered.org/t/deploying-a-flow-file-remotely-in-node-red-without-overwriting-the-entire-flow-file/44436)

<div class="topic-metadata">

**Author:** [@XiaoyuMaxwellWu](https://discourse.nodered.org/u/XiaoyuMaxwellWu)\
**Replies:** 0\
**Last updated:** [20 April 2021 06:04 UTC](https://discourse.nodered.org/t/deploying-a-flow-file-remotely-in-node-red-without-overwriting-the-entire-flow-file/44436 "2021-04-20T06:04:59Z")

</div>

I want to import a json file into node-red dynamically instead of doing it manually, and I tried to use curl command 'curl -X POST http://localhost:1880/flows -H "Content-Type: application/json" --data "@myflow.json"', I…

---

## [Custom Http Post Node](https://discourse.nodered.org/t/custom-http-post-node/44384)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 0\
**Last updated:** [19 April 2021 07:15 UTC](https://discourse.nodered.org/t/custom-http-post-node/44384 "2021-04-19T07:15:40Z")

</div>

I want to create a node that has a dropdown of some data. I managed to create such dropdown and now i want to make a post request for each data i select in my Dropdown. How would i do that. EDIT: Is this good ? RED…

---

## [Can't append JQuery fetch result in Dropdown Box in HTML nodeRED](https://discourse.nodered.org/t/cant-append-jquery-fetch-result-in-dropdown-box-in-html-nodered/44365)

<div class="topic-metadata">

**Author:** [@sarthak7034](https://discourse.nodered.org/u/sarthak7034)\
**Replies:** 2\
**Last updated:** [19 April 2021 07:33 UTC](https://discourse.nodered.org/t/cant-append-jquery-fetch-result-in-dropdown-box-in-html-nodered/44365 "2021-04-19T07:33:51Z")

</div>

I am fetching results using JQuery, I can see the results on the console but can't push it into the dropdown box. \<script type="text/javascript"\> RED.nodes.registerType('uni-red',{ category: …

---

## [Can't get my nodes to show up in the pallette](https://discourse.nodered.org/t/cant-get-my-nodes-to-show-up-in-the-pallette/44359)

<div class="topic-metadata">

**Author:** [@jcarreira](https://discourse.nodered.org/u/jcarreira)\
**Replies:** 4\
**Last updated:** [18 April 2021 17:22 UTC](https://discourse.nodered.org/t/cant-get-my-nodes-to-show-up-in-the-pallette/44359 "2021-04-18T17:22:01Z")

</div>

I've got my node building and unit testing. I've npm installed it and it's created a symlink to my project. When I go into Node-RED though, the node doesn't show up in my palette and when I go to manage my palette it doe…

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

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