# FAQs

**URL:** https://discourse.nodered.org/c/faqs/12.md?page=1

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

**Page:** 2

---

## [Http-request node does not get all the page data (AKA How to scrape dynamic data from a web page)](https://discourse.nodered.org/t/http-request-node-does-not-get-all-the-page-data-aka-how-to-scrape-dynamic-data-from-a-web-page/69164)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 2\
**Last updated:** [9 November 2022 15:36 UTC](https://discourse.nodered.org/t/http-request-node-does-not-get-all-the-page-data-aka-how-to-scrape-dynamic-data-from-a-web-page/69164 "2022-11-09T15:36:49Z")

</div>

This question comes up regularly in the forum. It usually starts with someone asking "how do I get XYZ data from this web page?". Where it turns out that the page is creating the required data dynamically using JavaScri…

---

## [Change Dashboard css width](https://discourse.nodered.org/t/change-dashboard-css-width/12793)

<div class="topic-metadata">

**Author:** [@bdmfab](https://discourse.nodered.org/u/bdmfab)\
**Replies:** 6\
**Last updated:** [15 October 2022 09:05 UTC](https://discourse.nodered.org/t/change-dashboard-css-width/12793 "2022-10-15T09:05:46Z")

</div>

Hello All, I would like to make my dashboard automatically resize to different screens. This portion of the dashboard is currently set to 6 width.This is taken from my browser using the dev tools. \<div class="nr-dashbo…

---

## [Using NGINX for authentication and authorisation to Node-RED](https://discourse.nodered.org/t/using-nginx-for-authentication-and-authorisation-to-node-red/66147)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 2\
**Last updated:** [7 August 2022 19:24 UTC](https://discourse.nodered.org/t/using-nginx-for-authentication-and-authorisation-to-node-red/66147 "2022-08-07T19:24:08Z")

</div>

A previous FAQ started to unpack how to use NGINX as a reverse proxy for Node-RED for both performance and security. This thread will unpack some more details about how to configure things between NGINX and some simple …

---

## ["delay" in function](https://discourse.nodered.org/t/delay-in-function/65521)

<div class="topic-metadata">

**Author:** [@mikabytes](https://discourse.nodered.org/u/mikabytes)\
**Replies:** 11\
**Last updated:** [28 July 2022 18:13 UTC](https://discourse.nodered.org/t/delay-in-function/65521 "2022-07-28T18:13:54Z")

</div>

I've seen several requests for a delay feature in the "function" node. The typical answer is that there is no delay method in JavaScript. Although this is true, you can easily build your own like this: const delay = ms …

---

## [Free and SSL secured access to your node-red instance running on a Raspberry Pi](https://discourse.nodered.org/t/free-and-ssl-secured-access-to-your-node-red-instance-running-on-a-raspberry-pi/64112)

<div class="topic-metadata">

**Author:** [@lu4t](https://discourse.nodered.org/u/lu4t)\
**Replies:** 3\
**Last updated:** [18 June 2022 23:15 UTC](https://discourse.nodered.org/t/free-and-ssl-secured-access-to-your-node-red-instance-running-on-a-raspberry-pi/64112 "2022-06-18T23:15:08Z")

</div>

Some months back, I published a video showing how to use cloudflare tunnels to access node-red running on a Synology NAS. I told @cymplecy on this post I would grab my old RPi and record a video showing how to get the s…

---

## [PSA: documenting your setup for the inevitable](https://discourse.nodered.org/t/psa-documenting-your-setup-for-the-inevitable/61997)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 0\
**Last updated:** [30 April 2022 12:31 UTC](https://discourse.nodered.org/t/psa-documenting-your-setup-for-the-inevitable/61997 "2022-04-30T12:31:21Z")

</div>

Public Service Announcement (PSA) In a recent conversation I was reminded about a video I saw about documenting your home automation for when the inevitable happens. It’s 5 years old but still relevant. Here is a link t…

---

## [Uibuilder: Getting Started Walkthrough](https://discourse.nodered.org/t/uibuilder-getting-started-walkthrough/51483)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 24\
**Last updated:** [11 April 2022 12:31 UTC](https://discourse.nodered.org/t/uibuilder-getting-started-walkthrough/51483 "2022-04-11T12:31:20Z")

</div>

OK, so a few people have asked for this and here is the first part! This walkthrough for getting started with uibuilder is a section of what will be a slightly longer page that will go into the uibuilder docs. It may ev…

---

## [FAQ: uibuilder - multiple pages from 1 node](https://discourse.nodered.org/t/faq-uibuilder-multiple-pages-from-1-node/61031)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 0\
**Last updated:** [9 April 2022 13:58 UTC](https://discourse.nodered.org/t/faq-uibuilder-multiple-pages-from-1-node/61031 "2022-04-09T13:58:37Z")

</div>

This is the first in an occasional series of FAQ's about node-red-contrib-uibuilder. uibuilder supports serving many pages from a single node. The default page is index.html and this is what is linked to from the nodes…

---

## [Testing out REST API's](https://discourse.nodered.org/t/testing-out-rest-apis/55522)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 2\
**Last updated:** [21 December 2021 14:42 UTC](https://discourse.nodered.org/t/testing-out-rest-apis/55522 "2021-12-21T14:42:47Z")

</div>

Node-RED is a useful tool for accessing remote REST API's and also for creating them. In either case, it can be useful to be able to test the API's separate to Node-RED. Here are my chosen tools - both use the Microsof…

---

## [Node-RED Glossary](https://discourse.nodered.org/t/node-red-glossary/54790)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 2\
**Last updated:** [6 December 2021 21:58 UTC](https://discourse.nodered.org/t/node-red-glossary/54790 "2021-12-06T21:58:45Z")

</div>

Threw this together for a recent forum post. Not had any disagreement with what was written so I thought it would be useful to create a Glossary FAQ. Feel free, of course, to add/correct as needed. Nodes - in Node-RED …

---

## [Why all wires of node in node.wires\[0\]?](https://discourse.nodered.org/t/why-all-wires-of-node-in-node-wires-0/51555)

<div class="topic-metadata">

**Author:** [@Roman](https://discourse.nodered.org/u/Roman)\
**Replies:** 1\
**Last updated:** [27 September 2021 05:46 UTC](https://discourse.nodered.org/t/why-all-wires-of-node-in-node-wires-0/51555 "2021-09-27T05:46:33Z")

</div>

Are there some circumstances to have array of arrays of wires? In which cases wires can be in node.wires\[i\], where i\>0?

---

## [Analysing Memory Use](https://discourse.nodered.org/t/analysing-memory-use/49953)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 0\
**Last updated:** [20 August 2021 11:11 UTC](https://discourse.nodered.org/t/analysing-memory-use/49953 "2021-08-20T11:11:19Z")

</div>

As part of an excercise in restructuring uibuilder which is a quite complex node, I decided I should finally work out a better way of analysing memory use so that I could make sure that I wasn't leaking memory. Thought …

---

## [Using other node.js modules](https://discourse.nodered.org/t/using-other-node-js-modules/364)

<div class="topic-metadata">

**Author:** [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Replies:** 14\
**Last updated:** [16 August 2021 19:59 UTC](https://discourse.nodered.org/t/using-other-node-js-modules/364 "2021-08-16T19:59:26Z")

</div>

As this is the place to put some dreams… I know there is possible to use other node.js modules however and after one year playing with node red is for me still not clear how to use this. Will be great if there is some …

---

## [How to Add element to msg.payload](https://discourse.nodered.org/t/how-to-add-element-to-msg-payload/3361)

<div class="topic-metadata">

**Author:** [@onire77](https://discourse.nodered.org/u/onire77)\
**Replies:** 6\
**Last updated:** [16 August 2021 12:30 UTC](https://discourse.nodered.org/t/how-to-add-element-to-msg-payload/3361 "2021-08-16T12:30:53Z")

</div>

If I have msg.payload = { Element1 :"One", Element2 : "Two", Element3 : "Three" } return msg; The output is: {"Element1":"One","Element2":"Two","Element3":"Three"} But now, If I want to add a new eleme…

---

## [How to recover a corrupted SD-Card (maybe!)](https://discourse.nodered.org/t/how-to-recover-a-corrupted-sd-card-maybe/48943)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 6\
**Last updated:** [28 July 2021 07:04 UTC](https://discourse.nodered.org/t/how-to-recover-a-corrupted-sd-card-maybe/48943 "2021-07-28T07:04:13Z")

</div>

Hi all, as many of you know, I've long held that people spend too long agonising over the use of SD-Cards in Pi's. A decent card (so that it supports wear levelling) with plenty of free space should last years. Well I n…

---

## [How to run Node-RED on Windows 10 WSL (Linux Subsystem)](https://discourse.nodered.org/t/how-to-run-node-red-on-windows-10-wsl-linux-subsystem/45032)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 1\
**Last updated:** [1 May 2021 20:20 UTC](https://discourse.nodered.org/t/how-to-run-node-red-on-windows-10-wsl-linux-subsystem/45032 "2021-05-01T20:20:52Z")

</div>

Windows 10 has a feature that allows you to run Linux in a lightweight virtual container. WSL allows easy access to and from Windows/Linux filing systems. It runs a special version of the Linux kernel to achieve tight …

---

## [Using NGINX as a reverse proxy for Node-RED](https://discourse.nodered.org/t/using-nginx-as-a-reverse-proxy-for-node-red/42793)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 3\
**Last updated:** [22 March 2021 14:13 UTC](https://discourse.nodered.org/t/using-nginx-as-a-reverse-proxy-for-node-red/42793 "2021-03-22T14:13:09Z")

</div>

As the use of NGINX is often recommended by myself and others to help provide performance and security gains for Node-RED. I thought that I really ought to do a full write-up on how to do this. Note that there is also…

---

## [How to display number as 13.0 instead of 13 in a text node](https://discourse.nodered.org/t/how-to-display-number-as-13-0-instead-of-13-in-a-text-node/42161)

<div class="topic-metadata">

**Author:** [@tsaavedrA](https://discourse.nodered.org/u/tsaavedrA)\
**Replies:** 4\
**Last updated:** [6 March 2021 21:30 UTC](https://discourse.nodered.org/t/how-to-display-number-as-13-0-instead-of-13-in-a-text-node/42161 "2021-03-06T21:30:59Z")

</div>

I am trying to display battery voltage in a text node but I would like it to display to 1 decimal point. The msg.payload going into the text node is a number but when I try to use .toString in a function node it passes a…

---

## [Node-RED Self Restart](https://discourse.nodered.org/t/node-red-self-restart/432)

<div class="topic-metadata">

**Author:** [@GChapo](https://discourse.nodered.org/u/GChapo)\
**Replies:** 30\
**Last updated:** [26 February 2021 14:08 UTC](https://discourse.nodered.org/t/node-red-self-restart/432 "2021-02-26T14:08:54Z")

</div>

Is there a node red restart command available? I have put a reboot command in an exec node which works well, but sometimes it maybe that node red requires a restart rather than the computer and I wondered if restart was…

---

## [Use theme color in dashboard-template's custom css](https://discourse.nodered.org/t/use-theme-color-in-dashboard-templates-custom-css/11650)

<div class="topic-metadata">

**Author:** [@waqaslam](https://discourse.nodered.org/u/waqaslam)\
**Replies:** 4\
**Last updated:** [21 January 2021 22:15 UTC](https://discourse.nodered.org/t/use-theme-color-in-dashboard-templates-custom-css/11650 "2021-01-21T22:15:50Z")

</div>

Hi I'm writing a custom template in dashboard. In the template I've defined some custom CSS and wanted to use the dashboard's theme color with reference rather than using hard coded hex-value. For this purpose I tried …

---

## [How to effectively use InfluxDB](https://discourse.nodered.org/t/how-to-effectively-use-influxdb/36885)

<div class="topic-metadata">

**Author:** [@StefanSchmelz](https://discourse.nodered.org/u/StefanSchmelz)\
**Replies:** 22\
**Last updated:** [14 January 2021 01:13 UTC](https://discourse.nodered.org/t/how-to-effectively-use-influxdb/36885 "2021-01-14T01:13:23Z")

</div>

Hi, I want to runn all my sensor values and things into an influxdb. I have looked into the documentation of node-red-contrib-influxdb and that left many questiuons open: I want to automatically retain all measurement…

---

## [Momentary switch or button (normally open)](https://discourse.nodered.org/t/momentary-switch-or-button-normally-open/36768)

<div class="topic-metadata">

**Author:** [@bobs409](https://discourse.nodered.org/u/bobs409)\
**Replies:** 7\
**Last updated:** [30 November 2020 22:27 UTC](https://discourse.nodered.org/t/momentary-switch-or-button-normally-open/36768 "2020-11-30T22:27:23Z")

</div>

Hi, first time poster and newbie. :crazy\_face: I've been searching all over for a way to put a momentary button on my node red dashboard. Something that goes high while pressed and back to low when left go. I didn't fi…

---

## [Examples of Colour change button and switch](https://discourse.nodered.org/t/examples-of-colour-change-button-and-switch/3650)

<div class="topic-metadata">

**Author:** [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Replies:** 32\
**Last updated:** [19 November 2020 12:19 UTC](https://discourse.nodered.org/t/examples-of-colour-change-button-and-switch/3650 "2020-11-19T12:19:33Z")

</div>

A simple example of a button that has two states and changes colour/text and icon based on those two states \[{"id":"b9a70965.13e138","type":"ui\_button","z":"d511095d.512808","name":"","group":"c070ecdb.6d5ce","order":0,…

---

## [Where is a list of the Dashboard Icons?](https://discourse.nodered.org/t/where-is-a-list-of-the-dashboard-icons/2219)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 16\
**Last updated:** [13 November 2020 16:37 UTC](https://discourse.nodered.org/t/where-is-a-list-of-the-dashboard-icons/2219 "2020-11-13T16:37:51Z")

</div>

I am wanting to use the "icons" on some of my dashboards. Searching I get this: From this link The most well-known are Awesome (http://fontawesome.io/icons/). The newer versions are not supported (4.7 and 5), but ther…

---

## [Login and Password in dashboard (localhost:1880/ui)?!](https://discourse.nodered.org/t/login-and-password-in-dashboard-localhost-1880-ui/2132)

<div class="topic-metadata">

**Author:** [@imadouino](https://discourse.nodered.org/u/imadouino)\
**Replies:** 19\
**Last updated:** [21 January 2020 06:16 UTC](https://discourse.nodered.org/t/login-and-password-in-dashboard-localhost-1880-ui/2132 "2020-01-21T06:16:26Z")

</div>

Hi, i wish to put a login and password in my interface dashboard (localhost:1880/ui) like in (localhost:1880) how i can do that please?! Thank you for your help.

---

## [How to concatenate arrays](https://discourse.nodered.org/t/how-to-concatenate-arrays/464)

<div class="topic-metadata">

**Author:** [@imadouino](https://discourse.nodered.org/u/imadouino)\
**Replies:** 15\
**Last updated:** [15 October 2020 16:24 UTC](https://discourse.nodered.org/t/how-to-concatenate-arrays/464 "2020-10-15T16:24:41Z")

</div>

Hi, How i can to concatenate 2 or 3 output(array 1D) of Modbus TCP client node in one array(1D) ? example : Modbus1 =\> msg.payload =\> \[ 0, 0, 76, 71, 13 \] and Modbus2 =\> msg.payload =\> \[ 5, 2, 5, 54, 21 \] Modbus3 =\> …

---

## [Store a value in a function](https://discourse.nodered.org/t/store-a-value-in-a-function/990)

<div class="topic-metadata">

**Author:** [@Sjoerd](https://discourse.nodered.org/u/Sjoerd)\
**Replies:** 5\
**Last updated:** [24 September 2020 08:09 UTC](https://discourse.nodered.org/t/store-a-value-in-a-function/990 "2020-09-24T08:09:16Z")

</div>

Is there a way to store a value in a function node for future use? I want to do the following: A message contains a certain variable with a certain value. This message is received every 5 minutes. I want to compare the v…

---

## [Converting buffer array to BigInt integer](https://discourse.nodered.org/t/converting-buffer-array-to-bigint-integer/18283)

<div class="topic-metadata">

**Author:** [@tohox](https://discourse.nodered.org/u/tohox)\
**Replies:** 14\
**Last updated:** [3 August 2020 14:13 UTC](https://discourse.nodered.org/t/converting-buffer-array-to-bigint-integer/18283 "2020-08-03T14:13:52Z")

</div>

Hi, I'm struggling to convert a Counter64 value issued from an SNMP node into an appropriately sized integer. My understanding is that BigInt is now officially part of node.js. So I assumed it would also be available to…

---

## [Changing background of any widget](https://discourse.nodered.org/t/changing-background-of-any-widget/30005)

<div class="topic-metadata">

**Author:** [@kvramji](https://discourse.nodered.org/u/kvramji)\
**Replies:** 1\
**Last updated:** [15 July 2020 05:12 UTC](https://discourse.nodered.org/t/changing-background-of-any-widget/30005 "2020-07-15T05:12:59Z")

</div>

Okay, I'm a newbie to this forum. But i think i found out something which i have been looking for a while. I can see things change but i cannot implement this or i don't know where this needs to be done. I manually …

---

## [Excel send latest data to another computer running node red on Docker](https://discourse.nodered.org/t/excel-send-latest-data-to-another-computer-running-node-red-on-docker/28581)

<div class="topic-metadata">

**Author:** [@lee1](https://discourse.nodered.org/u/lee1)\
**Replies:** 17\
**Last updated:** [8 July 2020 08:25 UTC](https://discourse.nodered.org/t/excel-send-latest-data-to-another-computer-running-node-red-on-docker/28581 "2020-07-08T08:25:00Z")

</div>

Hello, i would like to do one thing , when the excel update new row of data , then the excel can send the new row data to node red. please give me some suggestion for this issue, thanks a lot in advance...

[Previous page](https://discourse.nodered.org/c/faqs/12.md)

[Next page](https://discourse.nodered.org/c/faqs/12.md?page=2)
