# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=643

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

**Page:** 644

---

## [Mqtt broker on odroid](https://discourse.nodered.org/t/mqtt-broker-on-odroid/36766)

<div class="topic-metadata">

**Author:** [@yawstick1](https://discourse.nodered.org/u/yawstick1)\
**Replies:** 4\
**Last updated:** [3 December 2020 14:50 UTC](https://discourse.nodered.org/t/mqtt-broker-on-odroid/36766 "2020-12-03T14:50:04Z")

</div>

I just got one of the odroid n2+ boards and installed node red on it. it appears there are some issues with installing the MQTT broker. Curious if anyone else has got this going

---

## [What language for function node?](https://discourse.nodered.org/t/what-language-for-function-node/36894)

<div class="topic-metadata">

**Author:** [@RASelkirk](https://discourse.nodered.org/u/RASelkirk)\
**Replies:** 6\
**Last updated:** [3 December 2020 14:11 UTC](https://discourse.nodered.org/t/what-language-for-function-node/36894 "2020-12-03T14:11:57Z")

</div>

Sounds like a stupid question, but I'm new to all this. When trying to figure out how to write "code" within a function node, I look primarily for examples in Java & JS, yet 99% of these "cut and paste" codes throws a fi…

---

## [Exec node with dynamic filename](https://discourse.nodered.org/t/exec-node-with-dynamic-filename/36887)

<div class="topic-metadata">

**Author:** [@landersson936](https://discourse.nodered.org/u/landersson936)\
**Replies:** 4\
**Last updated:** [3 December 2020 14:02 UTC](https://discourse.nodered.org/t/exec-node-with-dynamic-filename/36887 "2020-12-03T14:02:08Z")

</div>

I can copy a file fine using the copy command in the Exec node, but is there a way the filenames could be based on a payload variable?

---

## [Does Node-RED support features like window.onload?](https://discourse.nodered.org/t/does-node-red-support-features-like-window-onload/36943)

<div class="topic-metadata">

**Author:** [@K9714](https://discourse.nodered.org/u/K9714)\
**Replies:** 2\
**Last updated:** [3 December 2020 13:11 UTC](https://discourse.nodered.org/t/does-node-red-support-features-like-window-onload/36943 "2020-12-03T13:11:53Z")

</div>

Thank you for reading the question. I try to import the css and js files by modifying the mst files on the Node-RED. The css file works normally, but the js file has problems with the order of execution. In the js fil…

---

## [How to communicate send separate data to different client Raspberry Pi](https://discourse.nodered.org/t/how-to-communicate-send-separate-data-to-different-client-raspberry-pi/36908)

<div class="topic-metadata">

**Author:** [@kshitiz](https://discourse.nodered.org/u/kshitiz)\
**Replies:** 9\
**Last updated:** [3 December 2020 10:06 UTC](https://discourse.nodered.org/t/how-to-communicate-send-separate-data-to-different-client-raspberry-pi/36908 "2020-12-03T10:06:05Z")

</div>

Hello everyone, I am new to Node-Red and I need your help here. I have four PI4 with Node-Red running on them. One of the PI will have a dashboard with a dropdown menu(3 options). If one of the options is selected, I ne…

---

## [Send a simple JavaScript](https://discourse.nodered.org/t/send-a-simple-javascript/36878)

<div class="topic-metadata">

**Author:** [@Colla](https://discourse.nodered.org/u/Colla)\
**Replies:** 11\
**Last updated:** [3 December 2020 08:35 UTC](https://discourse.nodered.org/t/send-a-simple-javascript/36878 "2020-12-03T08:35:26Z")

</div>

Hi everyone!!! I'm new to this forum and to using node-red I'm trying everything but i cannot get this simple javascript code to work var xhr = new XMLHttpRequest(); xhr.open("POST", "...url...", true); xhr.setReques…

---

## [Keyboard event node in npm](https://discourse.nodered.org/t/keyboard-event-node-in-npm/36931)

<div class="topic-metadata">

**Author:** [@kalairaj1403](https://discourse.nodered.org/u/kalairaj1403)\
**Replies:** 2\
**Last updated:** [3 December 2020 08:32 UTC](https://discourse.nodered.org/t/keyboard-event-node-in-npm/36931 "2020-12-03T08:32:36Z")

</div>

is there any keyboard event node in npm?

---

## [In node red keyboard event capturing](https://discourse.nodered.org/t/in-node-red-keyboard-event-capturing/36932)

<div class="topic-metadata">

**Author:** [@kalairaj1403](https://discourse.nodered.org/u/kalairaj1403)\
**Replies:** 0\
**Last updated:** [3 December 2020 08:31 UTC](https://discourse.nodered.org/t/in-node-red-keyboard-event-capturing/36932 "2020-12-03T08:31:05Z")

</div>

In node red I cannot able get a keydown press event. pls help any one.

---

## [JSONata - how to test if variable exists](https://discourse.nodered.org/t/jsonata-how-to-test-if-variable-exists/36900)

<div class="topic-metadata">

**Author:** [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Replies:** 4\
**Last updated:** [3 December 2020 05:52 UTC](https://discourse.nodered.org/t/jsonata-how-to-test-if-variable-exists/36900 "2020-12-03T05:52:35Z")

</div>

I have a simple JSONata expression in a Switch node like below. It works as expected when the flow context variable is defined and set to 'on'. But how can I, with JSONata, check if a flow or global context variable real…

---

## [Support required to understand a problem I've been facing with node red](https://discourse.nodered.org/t/support-required-to-understand-a-problem-ive-been-facing-with-node-red/34656)

<div class="topic-metadata">

**Author:** [@Darius](https://discourse.nodered.org/u/Darius)\
**Replies:** 8\
**Last updated:** [3 December 2020 02:47 UTC](https://discourse.nodered.org/t/support-required-to-understand-a-problem-ive-been-facing-with-node-red/34656 "2020-12-03T02:47:40Z")

</div>

hello guys. i have been working on node red for the past one month now and i use it to pass values to AOA by schneider electric. node red works fine and i have been able to pass values successfully. the problem arises w…

---

## [Selec a value from a variable key](https://discourse.nodered.org/t/selec-a-value-from-a-variable-key/36920)

<div class="topic-metadata">

**Author:** [@leoborlot](https://discourse.nodered.org/u/leoborlot)\
**Replies:** 2\
**Last updated:** [3 December 2020 02:20 UTC](https://discourse.nodered.org/t/selec-a-value-from-a-variable-key/36920 "2020-12-03T02:20:07Z")

</div>

Hi guys. I have thie Json Payload. { "total": "1", "contacts": { "5734": { "isPublished": true, "dateAdded": "2020-10-05T13:51:52+00:00", "dateModified": "2020-12-02T23:10:17+00:00", "createdBy": null, "createdB…

---

## [Casting audio to google mini](https://discourse.nodered.org/t/casting-audio-to-google-mini/36596)

<div class="topic-metadata">

**Author:** [@SmokinSowbellies](https://discourse.nodered.org/u/SmokinSowbellies)\
**Replies:** 18\
**Last updated:** [2 December 2020 23:44 UTC](https://discourse.nodered.org/t/casting-audio-to-google-mini/36596 "2020-12-02T23:44:41Z")

</div>

I have been trying to set up a way to cast my weather. Everything works until I try to play any audio to a google mini. If I cast an audio from my web server, it all works, but nothing from the pi device, itself. I get t…

---

## [Raspberry pi help setting up a second MQTT broker](https://discourse.nodered.org/t/raspberry-pi-help-setting-up-a-second-mqtt-broker/36739)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 41\
**Last updated:** [2 December 2020 22:50 UTC](https://discourse.nodered.org/t/raspberry-pi-help-setting-up-a-second-mqtt-broker/36739 "2020-12-02T22:50:54Z")

</div>

(On another machine.) All things being as they are, I have a broker on a machine. All works. I have a couple of RasPies that have a python script on them and use MQTT to do things on that machine. As is, they work. …

---

## [Shared URL Parameters](https://discourse.nodered.org/t/shared-url-parameters/36889)

<div class="topic-metadata">

**Author:** [@Xclone](https://discourse.nodered.org/u/Xclone)\
**Replies:** 1\
**Last updated:** [2 December 2020 22:14 UTC](https://discourse.nodered.org/t/shared-url-parameters/36889 "2020-12-02T22:14:22Z")

</div>

Not experienced with Node Red and need help doing something which is probably very easy but looks like Mt Everest to me. Want to use browser(s) working locally in Windows 10 local PC that has fields where multiple URL pa…

---

## [Help with inserting number into json](https://discourse.nodered.org/t/help-with-inserting-number-into-json/36890)

<div class="topic-metadata">

**Author:** [@SamBozman](https://discourse.nodered.org/u/SamBozman)\
**Replies:** 2\
**Last updated:** [2 December 2020 20:59 UTC](https://discourse.nodered.org/t/help-with-inserting-number-into-json/36890 "2020-12-02T20:59:44Z")

</div>

Hi everyone, I have a simple problem but unfortunately, I am even more so. I have a flow that I want to use to retrieve the set temperature of my climate system, and then set the new temperature of the furnace to 2 degr…

---

## [uiBuilder and socketid](https://discourse.nodered.org/t/uibuilder-and-socketid/36871)

<div class="topic-metadata">

**Author:** [@Verina](https://discourse.nodered.org/u/Verina)\
**Replies:** 1\
**Last updated:** [2 December 2020 20:29 UTC](https://discourse.nodered.org/t/uibuilder-and-socketid/36871 "2020-12-02T20:29:39Z")

</div>

I'm working on a project where I send msg from uibuilder node over MQTT with epoctime msgid and I want to wait to receive Acknowledge with same msgid over MQTT and affect this session (by socketid) of UI depending on thi…

---

## [BIGSSH not recognising external input correctly](https://discourse.nodered.org/t/bigssh-not-recognising-external-input-correctly/36109)

<div class="topic-metadata">

**Author:** [@bkdfkup](https://discourse.nodered.org/u/bkdfkup)\
**Replies:** 2\
**Last updated:** [2 December 2020 20:16 UTC](https://discourse.nodered.org/t/bigssh-not-recognising-external-input-correctly/36109 "2020-12-02T20:16:32Z")

</div>

Hi Node-RED community. I have an issue where the BIGSSH node will not accurately relay a command payload )from an external node) when a pipe ("|") is used to process the output of the initial command. Example: "whois x…

---

## [Format for Sending msg.payload to media\_player.play\_media](https://discourse.nodered.org/t/format-for-sending-msg-payload-to-media-player-play-media/36907)

<div class="topic-metadata">

**Author:** [@alborg](https://discourse.nodered.org/u/alborg)\
**Replies:** 0\
**Last updated:** [2 December 2020 20:11 UTC](https://discourse.nodered.org/t/format-for-sending-msg-payload-to-media-player-play-media/36907 "2020-12-02T20:11:13Z")

</div>

New user and first time post, so thanks in advance for any assistance! With Google TTS going down (again), I've been trying to switch to using the URL method of playing a temperature announcement instead of the TTS meth…

---

## [Build automatic hyperlink in html table](https://discourse.nodered.org/t/build-automatic-hyperlink-in-html-table/36832)

<div class="topic-metadata">

**Author:** [@Vonksmurf](https://discourse.nodered.org/u/Vonksmurf)\
**Replies:** 4\
**Last updated:** [2 December 2020 20:06 UTC](https://discourse.nodered.org/t/build-automatic-hyperlink-in-html-table/36832 "2020-12-02T20:06:18Z")

</div>

hi all i used the topic below to make a csv feed ping table. everything is working fine, but it would be nice if the ip adres in the table were a hyperlink and when clicked opens in a new browser page can anyone help …

---

## [Copy an output node value to an other node](https://discourse.nodered.org/t/copy-an-output-node-value-to-an-other-node/36856)

<div class="topic-metadata">

**Author:** [@9cirrus](https://discourse.nodered.org/u/9cirrus)\
**Replies:** 12\
**Last updated:** [2 December 2020 20:00 UTC](https://discourse.nodered.org/t/copy-an-output-node-value-to-an-other-node/36856 "2020-12-02T20:00:38Z")

</div>

Hello 'http request node' output shows me the value of a temperature in 'debug node'. I would like to use this value to fill in a 'function node' to make this value speak in voice assistant (rhasspy). How to retrieve …

---

## [Google Cloud Text-to-Speech](https://discourse.nodered.org/t/google-cloud-text-to-speech/36902)

<div class="topic-metadata">

**Author:** [@martyouel](https://discourse.nodered.org/u/martyouel)\
**Replies:** 0\
**Last updated:** [2 December 2020 19:20 UTC](https://discourse.nodered.org/t/google-cloud-text-to-speech/36902 "2020-12-02T19:20:12Z")

</div>

Hi, I am looking to build a flow that will do 2 primary steps : Convert a Text to voice (Text-to-Speech) Cast this to a google home I installed node-red-contrib-google-cloud and then I created my credentials (after b…

---

## [How to simulate Node Red running hardware as a BACnet device?](https://discourse.nodered.org/t/how-to-simulate-node-red-running-hardware-as-a-bacnet-device/36895)

<div class="topic-metadata">

**Author:** [@aravind-eie](https://discourse.nodered.org/u/aravind-eie)\
**Replies:** 0\
**Last updated:** [2 December 2020 17:47 UTC](https://discourse.nodered.org/t/how-to-simulate-node-red-running-hardware-as-a-bacnet-device/36895 "2020-12-02T17:47:09Z")

</div>

I am just trying to utilize the existing bacnet nodes (node-red-contrib-bacnet) to configure my hardware (ubuntu based) as a BACnet device that can expose some messages as a BACnet objects. So other BACnet browser or ap…

---

## [Function node consume multiple msg.payloads with different topics](https://discourse.nodered.org/t/function-node-consume-multiple-msg-payloads-with-different-topics/36779)

<div class="topic-metadata">

**Author:** [@Tomadoggy](https://discourse.nodered.org/u/Tomadoggy)\
**Replies:** 15\
**Last updated:** [2 December 2020 15:46 UTC](https://discourse.nodered.org/t/function-node-consume-multiple-msg-payloads-with-different-topics/36779 "2020-12-02T15:46:55Z")

</div>

Back again with another NOOB question. I have a function that actions against multiple different payloads, but cannot figure out how to ID them uniquely within the function. And yes...I have gone through the standard d…

---

## [How to save "running jobs"](https://discourse.nodered.org/t/how-to-save-running-jobs/36869)

<div class="topic-metadata">

**Author:** [@flow3000](https://discourse.nodered.org/u/flow3000)\
**Replies:** 4\
**Last updated:** [2 December 2020 14:08 UTC](https://discourse.nodered.org/t/how-to-save-running-jobs/36869 "2020-12-02T14:08:58Z")

</div>

Hi, I currently working on a http API. The API sends emails after some given time (immedialety, after 3 days, after 14 days, etc....). Question 1: From your experience, how many "delayed jobs" can Node Red handle be…

---

## [Failover flow location](https://discourse.nodered.org/t/failover-flow-location/36867)

<div class="topic-metadata">

**Author:** [@krzydec](https://discourse.nodered.org/u/krzydec)\
**Replies:** 5\
**Last updated:** [2 December 2020 13:07 UTC](https://discourse.nodered.org/t/failover-flow-location/36867 "2020-12-02T13:07:26Z")

</div>

Hello Is it possible to have an alternative/failover flow specified in the setting.js file? In my use case, I'm loading a flow file from the network drive, and due to the issues with the network that is out of my contr…

---

## [Lot of RAM used](https://discourse.nodered.org/t/lot-of-ram-used/36839)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 4\
**Last updated:** [2 December 2020 11:29 UTC](https://discourse.nodered.org/t/lot-of-ram-used/36839 "2020-12-02T11:29:24Z")

</div>

Hi, I'm using the same flow I was using with version 1.06, that time the process used stable about 0,18/0,20 GB of my Raspbian3 RAM even after months. But after upgrade the system to: 6.14.8 v10.23.0 Node-RED v1.2.2 …

---

## [Time subtraction in a function node](https://discourse.nodered.org/t/time-subtraction-in-a-function-node/36774)

<div class="topic-metadata">

**Author:** [@RASelkirk](https://discourse.nodered.org/u/RASelkirk)\
**Replies:** 5\
**Last updated:** [2 December 2020 10:04 UTC](https://discourse.nodered.org/t/time-subtraction-in-a-function-node/36774 "2020-12-02T10:04:36Z")

</div>

Hi All, I'm not a programmer by any means. I'm trying to figure out how to measure the seconds/milliseconds between two different node events which should end up around 20.xxx seconds. I'm experimenting with a simpletim…

---

## [Help with basic heating control](https://discourse.nodered.org/t/help-with-basic-heating-control/36853)

<div class="topic-metadata">

**Author:** [@ceysa75](https://discourse.nodered.org/u/ceysa75)\
**Replies:** 0\
**Last updated:** [2 December 2020 09:30 UTC](https://discourse.nodered.org/t/help-with-basic-heating-control/36853 "2020-12-02T09:30:36Z")

</div>

Dear All, my first post here since I am quite new in the impressive world of automation based on Node Red. I am now experiencing my first issues and I hope some of you guys can show me the right way. Please have a look …

---

## [Node-Red API Swagger exrnal Access (HTML)](https://discourse.nodered.org/t/node-red-api-swagger-exrnal-access-html/36747)

<div class="topic-metadata">

**Author:** [@esalles](https://discourse.nodered.org/u/esalles)\
**Replies:** 1\
**Last updated:** [2 December 2020 08:37 UTC](https://discourse.nodered.org/t/node-red-api-swagger-exrnal-access-html/36747 "2020-12-02T08:37:51Z")

</div>

Hi Guys, I tried node-red-node-swagger module so I can generate API swagger available from Node-red admin editor right panel, but no way to get access throught HTML UI (without need of Ned-Red admin credentials). When …

---

## [Slow GUI -- Browser](https://discourse.nodered.org/t/slow-gui-browser/34328)

<div class="topic-metadata">

**Author:** [@stephenn](https://discourse.nodered.org/u/stephenn)\
**Replies:** 47\
**Last updated:** [2 December 2020 08:16 UTC](https://discourse.nodered.org/t/slow-gui-browser/34328 "2020-12-02T08:16:01Z")

</div>

In the last 4-6 weeks, the GUI has been extremely slow. I think it happened around the time of the update that added grouping. However, that could definitely just be a coincidence. If I delete a couple of nodes, it ta…

[Previous page](https://discourse.nodered.org/c/general/7.md?page=642)

[Next page](https://discourse.nodered.org/c/general/7.md?page=644)
