# FAQs

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

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

**Page:** 3

---

## [Saving context - advice requested!](https://discourse.nodered.org/t/saving-context-advice-requested/29468)

<div class="topic-metadata">

**Author:** [@davej](https://discourse.nodered.org/u/davej)\
**Replies:** 20\
**Last updated:** [4 July 2020 22:01 UTC](https://discourse.nodered.org/t/saving-context-advice-requested/29468 "2020-07-04T22:01:08Z")

</div>

I'm quite new to Node Red but know enough Javascript to be dangerous! I'm primarily an Assembler mainframe guy so this is quite different for me. I'm writing a fairly simple app that requires some initial defaults to b…

---

## [\[Solved\] How to change timestamps in objects to date/time for ui\_table](https://discourse.nodered.org/t/solved-how-to-change-timestamps-in-objects-to-date-time-for-ui-table/28289)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 11\
**Last updated:** [14 June 2020 10:35 UTC](https://discourse.nodered.org/t/solved-how-to-change-timestamps-in-objects-to-date-time-for-ui-table/28289 "2020-06-14T10:35:20Z")

</div>

I'm sending an array of objects to a ui\_table and that works fine. One of the properties - in each of the objects - is a timestamp that I want to convert to a human readable format. I've been trying to use jsonata to see…

---

## [Node-red server with nginx reverse proxy howto guide](https://discourse.nodered.org/t/node-red-server-with-nginx-reverse-proxy-howto-guide/27397)

<div class="topic-metadata">

**Author:** [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Replies:** 6\
**Last updated:** [28 May 2020 09:32 UTC](https://discourse.nodered.org/t/node-red-server-with-nginx-reverse-proxy-howto-guide/27397 "2020-05-28T09:32:39Z")

</div>

Navigatable version on github https://github.com/meeki007/node-red-server-howto-guide/blob/master/README.md Ubuntu 20.04 - nigix - https - ssl - security - Fail2ban 403 bans, etc Table of Contents Introduction Setup\_…

---

## [Debug JS code inside function node](https://discourse.nodered.org/t/debug-js-code-inside-function-node/26925)

<div class="topic-metadata">

**Author:** [@tmichaeltx](https://discourse.nodered.org/u/tmichaeltx)\
**Replies:** 16\
**Last updated:** [20 May 2020 06:37 UTC](https://discourse.nodered.org/t/debug-js-code-inside-function-node/26925 "2020-05-20T06:37:32Z")

</div>

I had what started off as a simple function node where the code has gotten much more complex as I have been addressing a variety of corner cases. Unfortunately all of that complexity has hidden some bugs. I really need t…

---

## [Chart options: mixed charts and bars and multi axes](https://discourse.nodered.org/t/chart-options-mixed-charts-and-bars-and-multi-axes/25814)

<div class="topic-metadata">

**Author:** [@rwmingis](https://discourse.nodered.org/u/rwmingis)\
**Replies:** 7\
**Last updated:** [3 May 2020 12:03 UTC](https://discourse.nodered.org/t/chart-options-mixed-charts-and-bars-and-multi-axes/25814 "2020-05-03T12:03:34Z")

</div>

Does anyone have a good example how to add attributes to the different datasets going to a chart. I have seen how to add a second y axes to a chart, but I don't know how to tell the chart on which axis to put which seri…

---

## [How to move dashboard elements](https://discourse.nodered.org/t/how-to-move-dashboard-elements/25755)

<div class="topic-metadata">

**Author:** [@jfpedno](https://discourse.nodered.org/u/jfpedno)\
**Replies:** 2\
**Last updated:** [29 April 2020 16:51 UTC](https://discourse.nodered.org/t/how-to-move-dashboard-elements/25755 "2020-04-29T16:51:11Z")

</div>

I cannot find a way to move the element in the dashboard. They are placed in the order I have created them but I want it in a other pacing. I saw on the forum "in the editor you can move them where you want" but don't …

---

## [Http API call using "http request" node receives "access denied" response](https://discourse.nodered.org/t/http-api-call-using-http-request-node-receives-access-denied-response/24976)

<div class="topic-metadata">

**Author:** [@craigschmieder](https://discourse.nodered.org/u/craigschmieder)\
**Replies:** 2\
**Last updated:** [17 April 2020 00:12 UTC](https://discourse.nodered.org/t/http-api-call-using-http-request-node-receives-access-denied-response/24976 "2020-04-17T00:12:44Z")

</div>

I'd like to know if anyone else has seen similar problems and has a solution. I have no problem with most API's using the Node-RED HTTP Request Node. But when call APIs at https://api.weather.gov, I receive an "access de…

---

## [Ui-table date sort](https://discourse.nodered.org/t/ui-table-date-sort/21685)

<div class="topic-metadata">

**Author:** [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Replies:** 5\
**Last updated:** [15 February 2020 05:00 UTC](https://discourse.nodered.org/t/ui-table-date-sort/21685 "2020-02-15T05:00:38Z")

</div>

Anyone know of a neat trick to get a ui-table to do sorting by date, rather than standard numeric sort? Thanks

---

## [How to create a stacked bar graph](https://discourse.nodered.org/t/how-to-create-a-stacked-bar-graph/21470)

<div class="topic-metadata">

**Author:** [@xraken](https://discourse.nodered.org/u/xraken)\
**Replies:** 2\
**Last updated:** [10 February 2020 22:02 UTC](https://discourse.nodered.org/t/how-to-create-a-stacked-bar-graph/21470 "2020-02-10T22:02:38Z")

</div>

Hi, I need to create a staked bar graph. Is this possible with the node-red dashboard? example:

---

## [How to use join node with reduce sequence mode](https://discourse.nodered.org/t/how-to-use-join-node-with-reduce-sequence-mode/20892)

<div class="topic-metadata">

**Author:** [@ab73863](https://discourse.nodered.org/u/ab73863)\
**Replies:** 2\
**Last updated:** [27 January 2020 11:35 UTC](https://discourse.nodered.org/t/how-to-use-join-node-with-reduce-sequence-mode/20892 "2020-01-27T11:35:48Z")

</div>

Hello, As part of learning node red I was trying to use the join node . I was able to use and understand the join node with automatic and manual mode option. But I am not able to understand how to use the reduce sequenc…

---

## [JFI How to search for exact word](https://discourse.nodered.org/t/jfi-how-to-search-for-exact-word/19063)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 0\
**Last updated:** [12 December 2019 09:46 UTC](https://discourse.nodered.org/t/jfi-how-to-search-for-exact-word/19063 "2019-12-12T09:46:31Z")

</div>

Tried searching for blockly posts and got a load of irrelevant ones (I think the forum AI matched blockly with block) But simply sticking quotes around it did the job :slight\_smile:

---

## [Dashboard - set background color of text node](https://discourse.nodered.org/t/dashboard-set-background-color-of-text-node/3357)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 5\
**Last updated:** [3 November 2019 21:52 UTC](https://discourse.nodered.org/t/dashboard-set-background-color-of-text-node/3357 "2019-11-03T21:52:25Z")

</div>

I want to make the background color of a text node dynamic. I think the question is not the first time but i cannot find the right answer on how to do it. What i have now works great: {{msg.payload}} But i also wan…

---

## [Using template node and mustache syntax simply](https://discourse.nodered.org/t/using-template-node-and-mustache-syntax-simply/15351)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 13\
**Last updated:** [11 September 2019 20:48 UTC](https://discourse.nodered.org/t/using-template-node-and-mustache-syntax-simply/15351 "2019-09-11T20:48:07Z")

</div>

I've had a lightbulb moment over past 24 hours on how useful the template node can be :slight\_smile: Previously, I'd only ever used it in one flow (and I'd only copied and pasted it so didn't bother working out what it …

---

## [Wildcard in http-in node (catch-all mode)](https://discourse.nodered.org/t/wildcard-in-http-in-node-catch-all-mode/14852)

<div class="topic-metadata">

**Author:** [@yalinsayi](https://discourse.nodered.org/u/yalinsayi)\
**Replies:** 2\
**Last updated:** [28 August 2019 15:50 UTC](https://discourse.nodered.org/t/wildcard-in-http-in-node-catch-all-mode/14852 "2019-08-28T15:50:42Z")

</div>

Hi, Do you have any plans to extend http-in node to have a catch-all mode? a wildcard url like http://somesite.com/subdir/\* to catch all requests to http://somesite.com/subdir/ http://somesite.com/subdir/foo http:/…

---

## [Display static graphs like Sine](https://discourse.nodered.org/t/display-static-graphs-like-sine/14241)

<div class="topic-metadata">

**Author:** [@Jochen1980](https://discourse.nodered.org/u/Jochen1980)\
**Replies:** 1\
**Last updated:** [12 August 2019 07:31 UTC](https://discourse.nodered.org/t/display-static-graphs-like-sine/14241 "2019-08-12T07:31:42Z")

</div>

Hello, is it possible to display a graph (like a sine) on the dashboard with static data? The graph I would like to show will not change, I just want to show it.

---

## [Need help running Processing sketches with Node-RED's exec node](https://discourse.nodered.org/t/need-help-running-processing-sketches-with-node-reds-exec-node/13581)

<div class="topic-metadata">

**Author:** [@nallasiger](https://discourse.nodered.org/u/nallasiger)\
**Replies:** 3\
**Last updated:** [28 July 2019 15:56 UTC](https://discourse.nodered.org/t/need-help-running-processing-sketches-with-node-reds-exec-node/13581 "2019-07-28T15:56:36Z")

</div>

Hello, I'd like to see if anyone can help me run a specific Processing sketch through the Node-RED user interface. I'm building a connected desk lamp and would like to be able to change its light patterns from my phone…

---

## [Remote access to GPIO from internet](https://discourse.nodered.org/t/remote-access-to-gpio-from-internet/358)

<div class="topic-metadata">

**Author:** [@itai](https://discourse.nodered.org/u/itai)\
**Replies:** 11\
**Last updated:** [9 June 2019 11:02 UTC](https://discourse.nodered.org/t/remote-access-to-gpio-from-internet/358 "2019-06-09T11:02:04Z")

</div>

Hi! I am new to Node-Red and have managed to control a led via a gpio pin on my raspberry pi. My problem is that I can only control it if the device that I am using to control is connected to the same wifi connection as…

---

## [Which is the best practice to include external js in custom node?](https://discourse.nodered.org/t/which-is-the-best-practice-to-include-external-js-in-custom-node/11732)

<div class="topic-metadata">

**Author:** [@gbove731](https://discourse.nodered.org/u/gbove731)\
**Replies:** 3\
**Last updated:** [3 June 2019 08:03 UTC](https://discourse.nodered.org/t/which-is-the-best-practice-to-include-external-js-in-custom-node/11732 "2019-06-03T08:03:07Z")

</div>

Which is the best practice to include external js in custom node? I would like to use WebWorker and I need to point to an external javascript file. Is it possible? How? Thanks in advance.

---

## [Using serial port node in embedded Node-RED Electron App](https://discourse.nodered.org/t/using-serial-port-node-in-embedded-node-red-electron-app/11251)

<div class="topic-metadata">

**Author:** [@valentine195](https://discourse.nodered.org/u/valentine195)\
**Replies:** 4\
**Last updated:** [17 May 2019 18:11 UTC](https://discourse.nodered.org/t/using-serial-port-node-in-embedded-node-red-electron-app/11251 "2019-05-17T18:11:30Z")

</div>

Hello! I've been trying to embed node red directly into an Electron app. Unfortunately, the flow we are using relies on the serial port nodes to work correctly, but I cannot get the serial port nodes to work in the embe…

---

## [Why don't Node-RED nodes allow multiple inputs?](https://discourse.nodered.org/t/why-dont-node-red-nodes-allow-multiple-inputs/10973)

<div class="topic-metadata">

**Author:** [@BrotherCreamy](https://discourse.nodered.org/u/BrotherCreamy)\
**Replies:** 9\
**Last updated:** [10 May 2019 07:34 UTC](https://discourse.nodered.org/t/why-dont-node-red-nodes-allow-multiple-inputs/10973 "2019-05-10T07:34:17Z")

</div>

For clarity: I'm not asking how to implement multiple inputs to a function, I already know the workarounds. I want to know why Node-RED developers would inhibit such a functionality. It seems so obvious and natural to …

---

## [Dashboard - How to add OK or Cancel button](https://discourse.nodered.org/t/dashboard-how-to-add-ok-or-cancel-button/3383)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 32\
**Last updated:** [26 April 2019 20:33 UTC](https://discourse.nodered.org/t/dashboard-how-to-add-ok-or-cancel-button/3383 "2019-04-26T20:33:18Z")

</div>

OK or Cancel button. Looking for a method to the following Button action. When use press the Button. The user will be propmted to select a OK or Cancel button IF OK =true then send msg.payload IF Cancel . Then do not…

---

## [Node-RED to sharepoint (Solved)](https://discourse.nodered.org/t/node-red-to-sharepoint-solved/5564)

<div class="topic-metadata">

**Author:** [@weky](https://discourse.nodered.org/u/weky)\
**Replies:** 8\
**Last updated:** [18 April 2019 07:29 UTC](https://discourse.nodered.org/t/node-red-to-sharepoint-solved/5564 "2019-04-18T07:29:03Z")

</div>

Hello Every one! I am try to save data to sharepoint list, but gets this error. any solution or ideas has any one done something like this. thanks in advance

---

## [What’s in a name? Why is it called Node-RED?](https://discourse.nodered.org/t/what-s-in-a-name-why-is-it-called-node-red/8445)

<div class="topic-metadata">

**Author:** [@nhungthientai](https://discourse.nodered.org/u/nhungthientai)\
**Replies:** 1\
**Last updated:** [27 February 2019 19:22 UTC](https://discourse.nodered.org/t/what-s-in-a-name-why-is-it-called-node-red/8445 "2019-02-27T19:22:57Z")

</div>

Hi guys, Hope this doesn’t come across as a really stupid question, or should I say, hope this doesn’t come across as a question that shows my stupidity… You have me interested in the name “nodered”. Can you shed some …

---

## [World Map marker click event?](https://discourse.nodered.org/t/world-map-marker-click-event/7348)

<div class="topic-metadata">

**Author:** [@birksy](https://discourse.nodered.org/u/birksy)\
**Replies:** 5\
**Last updated:** [29 January 2019 00:02 UTC](https://discourse.nodered.org/t/world-map-marker-click-event/7348 "2019-01-29T00:02:41Z")

</div>

Is there any way to have the World Map some how output a msg when a marker is clicked? For example if I want to display data about the marker on the page outside the map?

---

## [E-Mail sending not possible](https://discourse.nodered.org/t/e-mail-sending-not-possible/6845)

<div class="topic-metadata">

**Author:** [@Tobi](https://discourse.nodered.org/u/Tobi)\
**Replies:** 3\
**Last updated:** [15 January 2019 16:09 UTC](https://discourse.nodered.org/t/e-mail-sending-not-possible/6845 "2019-01-15T16:09:41Z")

</div>

Hi, I want to send and receive E-Mails via Node-RED. the e-mail is not delivered, in my gmail mailbox comes the following error message. 554 5.7.0 Reject, id = 30906-14 - spam: This message was blocked for security re…

---

## [Help with "Module not locally installed.."](https://discourse.nodered.org/t/help-with-module-not-locally-installed/63)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 27\
**Last updated:** [3 November 2018 21:07 UTC](https://discourse.nodered.org/t/help-with-module-not-locally-installed/63 "2018-11-03T21:07:31Z")

</div>

I’m a newbie and going through training at present. I wanted to upgrade my node-red-serialport nodes and it gives me this error. Can anyone help with resolving this? Also, where are the log files? Thanks in advance! …

---

## [Bad node error - crashes Node-Red](https://discourse.nodered.org/t/bad-node-error-crashes-node-red/4142)

<div class="topic-metadata">

**Author:** [@iungo](https://discourse.nodered.org/u/iungo)\
**Replies:** 3\
**Last updated:** [20 October 2018 16:50 UTC](https://discourse.nodered.org/t/bad-node-error-crashes-node-red/4142 "2018-10-20T16:50:25Z")

</div>

Node-red crushes every time when I disconnect SDA or SCL from I2C device. It's very inconvenient, maybe somebody knows how to receive an error instead of a full system crash? 20 Oct 17:26:53 - Error: EREMOTEIO: remote I…

---

## [HTTP request - digest auth?](https://discourse.nodered.org/t/http-request-digest-auth/3854)

<div class="topic-metadata">

**Author:** [@wdmnn](https://discourse.nodered.org/u/wdmnn)\
**Replies:** 2\
**Last updated:** [11 October 2018 07:12 UTC](https://discourse.nodered.org/t/http-request-digest-auth/3854 "2018-10-11T07:12:16Z")

</div>

Hi everyone, first post in this forum for me, so don't be too harsh :slight\_smile: I had a flow running which sent me a picture of my webcam to a telegram chanel once a motion detector sensed motion. This was working f…

---

## [Global variable changing content when setting sn instance of the global variable content](https://discourse.nodered.org/t/global-variable-changing-content-when-setting-sn-instance-of-the-global-variable-content/3822)

<div class="topic-metadata">

**Author:** [@Josep](https://discourse.nodered.org/u/Josep)\
**Replies:** 1\
**Last updated:** [9 October 2018 14:35 UTC](https://discourse.nodered.org/t/global-variable-changing-content-when-setting-sn-instance-of-the-global-variable-content/3822 "2018-10-09T14:35:32Z")

</div>

0down votefavorite If you look at the following example you could see that I'm setting a global value on startup. After that, If you click inject module you'll see that I set to 22 the tag\_id attribute of the object…

---

## [Install Dashboard, UI now "undefined"](https://discourse.nodered.org/t/install-dashboard-ui-now-undefined/3081)

<div class="topic-metadata">

**Author:** [@StrongTown](https://discourse.nodered.org/u/StrongTown)\
**Replies:** 2\
**Last updated:** [12 September 2018 17:35 UTC](https://discourse.nodered.org/t/install-dashboard-ui-now-undefined/3081 "2018-09-12T17:35:00Z")

</div>

I have been coding and using Node Red for 2 years (still a novice). I had a useful contrib-ui screen working but wanted to implement LED's to indicate status changes (red /lime). So I installed Dashbaord and now no matte…

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

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