# General

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

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

**Page:** 388

---

## [Messages not being received in the debug node untill the native addon has finished sending all messages](https://discourse.nodered.org/t/messages-not-being-received-in-the-debug-node-untill-the-native-addon-has-finished-sending-all-messages/61663)

<div class="topic-metadata">

**Author:** [@Hishamjz](https://discourse.nodered.org/u/Hishamjz)\
**Replies:** 4\
**Last updated:** [22 April 2022 21:12 UTC](https://discourse.nodered.org/t/messages-not-being-received-in-the-debug-node-untill-the-native-addon-has-finished-sending-all-messages/61663 "2022-04-22T21:12:54Z")

</div>

Hello Node-RED community, I am importing a C++ addon into my Node-RED to send samples from my Analog Discovery 2 device into Node-RED using NAPI. The C++ code basically sends samples from the device to Node-RED using ev…

---

## [E-Mail node setup](https://discourse.nodered.org/t/e-mail-node-setup/61553)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 3\
**Last updated:** [22 April 2022 21:04 UTC](https://discourse.nodered.org/t/e-mail-node-setup/61553 "2022-04-22T21:04:18Z")

</div>

Hi, Can someone lease guide me to the setup of the node-red-node-email 1.15.1 The Credentials for the service provider Email Address: alarm@xxxx.co.za Account / User Name: alarm@xxxx.co.za Incoming server: mail.xxx…

---

## [Text-to-Audio on dashboard](https://discourse.nodered.org/t/text-to-audio-on-dashboard/61619)

<div class="topic-metadata">

**Author:** [@k5map](https://discourse.nodered.org/u/k5map)\
**Replies:** 6\
**Last updated:** [22 April 2022 19:50 UTC](https://discourse.nodered.org/t/text-to-audio-on-dashboard/61619 "2022-04-22T19:50:06Z")

</div>

I've successfully created a flow whereby I can enter text on the dashboard and have NR generate computer audio of the text. I would next like to setup a flow where if a condition exist, the computer will "alert" me with…

---

## [Load Function Code from File](https://discourse.nodered.org/t/load-function-code-from-file/61653)

<div class="topic-metadata">

**Author:** [@HerrLichtKeith](https://discourse.nodered.org/u/HerrLichtKeith)\
**Replies:** 3\
**Last updated:** [22 April 2022 17:27 UTC](https://discourse.nodered.org/t/load-function-code-from-file/61653 "2022-04-22T17:27:47Z")

</div>

Hi. starting off on node red - awesome tool! Question: Have functions in a flow for which i maintain the code in files and save in e.g. node-red\\lib\\functions\\actions.js External because using other editor (vscode/note…

---

## [Restoring global state from settings.js](https://discourse.nodered.org/t/restoring-global-state-from-settings-js/60596)

<div class="topic-metadata">

**Author:** [@JayNaire](https://discourse.nodered.org/u/JayNaire)\
**Replies:** 6\
**Last updated:** [22 April 2022 15:53 UTC](https://discourse.nodered.org/t/restoring-global-state-from-settings-js/60596 "2022-04-22T15:53:24Z")

</div>

Using NR 2.1.1 / Rpi Raspbian Buster My NR process correctly writes a backup file bu.json every hour. It is ~500kB and contains all global objects. After a brownout/restart bu.json is imported in settings.js and given …

---

## [Installing Node.js and Node-Red on windows machine](https://discourse.nodered.org/t/installing-node-js-and-node-red-on-windows-machine/61646)

<div class="topic-metadata">

**Author:** [@jts450](https://discourse.nodered.org/u/jts450)\
**Replies:** 2\
**Last updated:** [22 April 2022 15:15 UTC](https://discourse.nodered.org/t/installing-node-js-and-node-red-on-windows-machine/61646 "2022-04-22T15:15:32Z")

</div>

Does it have to be installed per user on the machine?

---

## [How to set the default values of MQTT In and Out Nodes to known broker addresses and ports on node-red start up?](https://discourse.nodered.org/t/how-to-set-the-default-values-of-mqtt-in-and-out-nodes-to-known-broker-addresses-and-ports-on-node-red-start-up/61598)

<div class="topic-metadata">

**Author:** [@Shan](https://discourse.nodered.org/u/Shan)\
**Replies:** 2\
**Last updated:** [21 April 2022 20:48 UTC](https://discourse.nodered.org/t/how-to-set-the-default-values-of-mqtt-in-and-out-nodes-to-known-broker-addresses-and-ports-on-node-red-start-up/61598 "2022-04-21T20:48:38Z")

</div>

I am using node-red with v2.2.2 via docker compose environment where I already have two MQTT brokers configured. Since the node-red container and the two eclipse-mosquitto brokers are in the same docker network I wish to…

---

## [Why doesn't Telegram Node work on Node Red Version V2.2.2](https://discourse.nodered.org/t/why-doesnt-telegram-node-work-on-node-red-version-v2-2-2/61473)

<div class="topic-metadata">

**Author:** [@Kaij3](https://discourse.nodered.org/u/Kaij3)\
**Replies:** 13\
**Last updated:** [22 April 2022 10:23 UTC](https://discourse.nodered.org/t/why-doesnt-telegram-node-work-on-node-red-version-v2-2-2/61473 "2022-04-22T10:23:35Z")

</div>

Does anyone knows why i can't use telegram node using V2.2.2 but i can use the telegram node on V1.2.9. Much Help would be appreciated! Thanks for the help!

---

## [Reading and analyzing csv data](https://discourse.nodered.org/t/reading-and-analyzing-csv-data/61629)

<div class="topic-metadata">

**Author:** [@Soniay](https://discourse.nodered.org/u/Soniay)\
**Replies:** 1\
**Last updated:** [22 April 2022 09:11 UTC](https://discourse.nodered.org/t/reading-and-analyzing-csv-data/61629 "2022-04-22T09:11:58Z")

</div>

Hello. I'm super new to NodeRed and I would really appreciate some guidance and help regarding the following: I have a csv file with 8 columns (the first being the number of the row and the other seven are fields 1 to 7…

---

## [Naming msg.payload after join node](https://discourse.nodered.org/t/naming-msg-payload-after-join-node/61621)

<div class="topic-metadata">

**Author:** [@nightmareside15](https://discourse.nodered.org/u/nightmareside15)\
**Replies:** 2\
**Last updated:** [22 April 2022 08:23 UTC](https://discourse.nodered.org/t/naming-msg-payload-after-join-node/61621 "2022-04-22T08:23:06Z")

</div>

Hello. Is there anything I can do to change the object name after passing the join node? I notice sometimes the output will changing and this might became a problem If i were to add some function dedicated to that obj…

---

## [Context menus based on the selection type](https://discourse.nodered.org/t/context-menus-based-on-the-selection-type/61616)

<div class="topic-metadata">

**Author:** [@rchandrashekar53](https://discourse.nodered.org/u/rchandrashekar53)\
**Replies:** 1\
**Last updated:** [22 April 2022 07:55 UTC](https://discourse.nodered.org/t/context-menus-based-on-the-selection-type/61616 "2022-04-22T07:55:30Z")

</div>

Hi, i love the SVG graphics node. However i see an issue - i want to have the context menu selection based on the shape i select. For example : if i have audio shape (i should only see the relevant operations for menu a…

---

## [Problem Installing Node-Red on Windows 11](https://discourse.nodered.org/t/problem-installing-node-red-on-windows-11/61550)

<div class="topic-metadata">

**Author:** [@anydel1](https://discourse.nodered.org/u/anydel1)\
**Replies:** 9\
**Last updated:** [22 April 2022 06:10 UTC](https://discourse.nodered.org/t/problem-installing-node-red-on-windows-11/61550 "2022-04-22T06:10:21Z")

</div>

Hi I'm completely new to node.js, Node-Red and a novice powershell user. I keep getting this error when trying to install and run Node-Red. My User\\anyde directory contains a package-lock.json file and I can find Node-Re…

---

## [Esp8266 and multiple ds18b20's with mqtt](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556)

<div class="topic-metadata">

**Author:** [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Replies:** 252\
**Last updated:** [22 April 2022 04:30 UTC](https://discourse.nodered.org/t/esp8266-and-multiple-ds18b20s-with-mqtt/60556 "2022-04-22T04:30:11Z")

</div>

Ok i have been going through the forums. i find plenty on how to use multiple ds18b20s, using a specific node. but as most forums suggest node red crashes. so im trying to use them now on an esp8266, i have been all …

---

## [Node-red-contrib-generic-ble No BLE devices show up on scan](https://discourse.nodered.org/t/node-red-contrib-generic-ble-no-ble-devices-show-up-on-scan/61518)

<div class="topic-metadata">

**Author:** [@maddy](https://discourse.nodered.org/u/maddy)\
**Replies:** 7\
**Last updated:** [22 April 2022 00:18 UTC](https://discourse.nodered.org/t/node-red-contrib-generic-ble-no-ble-devices-show-up-on-scan/61518 "2022-04-22T00:18:26Z")

</div>

Hi, I am running node-red on macOS. I am new to node-red and simply want to read BLE sensor data from a peripheral (TI LPSTK-CC1352R) on my macbook. I am using the node-red-contrib-generic-ble 4.0.3, it installs fine (…

---

## [FlexDash dashboard and subflows](https://discourse.nodered.org/t/flexdash-dashboard-and-subflows/61300)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 1\
**Last updated:** [21 April 2022 22:28 UTC](https://discourse.nodered.org/t/flexdash-dashboard-and-subflows/61300 "2022-04-21T22:28:29Z")

</div>

I'm trying to resolve how to handle subflows with FlexDash... I would appreciate a bit of conceptual input... So as far as I can tell, in the flow editor: nodes in subflows are represented only once, i.e., in the subf…

---

## [Two motion sensors for one lamp](https://discourse.nodered.org/t/two-motion-sensors-for-one-lamp/60980)

<div class="topic-metadata">

**Author:** [@Leopoll](https://discourse.nodered.org/u/Leopoll)\
**Replies:** 17\
**Last updated:** [21 April 2022 21:14 UTC](https://discourse.nodered.org/t/two-motion-sensors-for-one-lamp/60980 "2022-04-21T21:14:39Z")

</div>

There are two (or more?) motion sensors and one lamp in one room. How to make the lamp turn off only if both sensors do not detect movement? But it may be that only one sensor will see the movement. So from the second se…

---

## [JSONata vs JavaScript](https://discourse.nodered.org/t/jsonata-vs-javascript/61595)

<div class="topic-metadata">

**Author:** [@dudleyjosh](https://discourse.nodered.org/u/dudleyjosh)\
**Replies:** 7\
**Last updated:** [21 April 2022 15:46 UTC](https://discourse.nodered.org/t/jsonata-vs-javascript/61595 "2022-04-21T15:46:02Z")

</div>

Is there a good reason why the behavior of JSONata $number(value) is different than Javascript Number(value)? e.g. $number(".5") will fail to cast as a number where as Number(".5") will cast to the numeric value of 0.5 …

---

## [Raspberry Pi Sense hat](https://discourse.nodered.org/t/raspberry-pi-sense-hat/61571)

<div class="topic-metadata">

**Author:** [@Dwanga](https://discourse.nodered.org/u/Dwanga)\
**Replies:** 1\
**Last updated:** [21 April 2022 15:41 UTC](https://discourse.nodered.org/t/raspberry-pi-sense-hat/61571 "2022-04-21T15:41:55Z")

</div>

Hi, I noticed the topic was closed for the error " \[node-red-node-pi-sense-hat/sensehat\] Error: Can't find Sense HAT python libraries. Run sudo apt-get install sense-hat" Has anyone made any progress with this? I have se…

---

## [Implementing Socket.io Server with node-red-contrib-socketio-server](https://discourse.nodered.org/t/implementing-socket-io-server-with-node-red-contrib-socketio-server/61585)

<div class="topic-metadata">

**Author:** [@LeFish](https://discourse.nodered.org/u/LeFish)\
**Replies:** 12\
**Last updated:** [21 April 2022 13:47 UTC](https://discourse.nodered.org/t/implementing-socket-io-server-with-node-red-contrib-socketio-server/61585 "2022-04-21T13:47:15Z")

</div>

Hello everyone, I am trying to implement a Socket.io Server within NodeRed with node-red-contrib-socketio-server on NodeRed v2.2.2 In my simple test setup the following works: Connect to server instance on port i.e. …

---

## [Nodered environment with mutiple urls](https://discourse.nodered.org/t/nodered-environment-with-mutiple-urls/60246)

<div class="topic-metadata">

**Author:** [@DJDev](https://discourse.nodered.org/u/DJDev)\
**Replies:** 6\
**Last updated:** [21 April 2022 12:45 UTC](https://discourse.nodered.org/t/nodered-environment-with-mutiple-urls/60246 "2022-04-21T12:45:38Z")

</div>

Hi, If there are multiple urls(different domains) configured to the same nodered environment, what would be the best way to retrieve the url in NodeRed? The same applies to added params in the url. I have to know this b…

---

## [Output when two different inputs are true simoultaneusly](https://discourse.nodered.org/t/output-when-two-different-inputs-are-true-simoultaneusly/61594)

<div class="topic-metadata">

**Author:** [@mauog1](https://discourse.nodered.org/u/mauog1)\
**Replies:** 1\
**Last updated:** [21 April 2022 12:15 UTC](https://discourse.nodered.org/t/output-when-two-different-inputs-are-true-simoultaneusly/61594 "2022-04-21T12:15:31Z")

</div>

I placed two motions sensors intercepting the motion around a door. I used two sensors to limit the false positive events caused by one sensor only. I would like to obtain an output only when the two inputs are simultane…

---

## [Help with how to manage messages - timing](https://discourse.nodered.org/t/help-with-how-to-manage-messages-timing/61574)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 18\
**Last updated:** [21 April 2022 09:35 UTC](https://discourse.nodered.org/t/help-with-how-to-manage-messages-timing/61574 "2022-04-21T09:35:50Z")

</div>

Scenario: Every n seconds I scan visible WAPs. I then create a list and look for mine. If it isn't seen, I want to be informed. I have some rough - and problematic - code/nodes but I am seeing a problem. Repeatedly I…

---

## [Css, layout, efficient building](https://discourse.nodered.org/t/css-layout-efficient-building/61320)

<div class="topic-metadata">

**Author:** [@rxdeath](https://discourse.nodered.org/u/rxdeath)\
**Replies:** 5\
**Last updated:** [21 April 2022 08:34 UTC](https://discourse.nodered.org/t/css-layout-efficient-building/61320 "2022-04-21T08:34:47Z")

</div>

after spending a disgusting amount of time trying to work with gtk,qt,codesys, etc i stumbled across node red, and was appauled and amazed at how much better it was than anything else. not to mention it is my favorite p…

---

## [Disabling nodes from dashboard](https://discourse.nodered.org/t/disabling-nodes-from-dashboard/61319)

<div class="topic-metadata">

**Author:** [@rxdeath](https://discourse.nodered.org/u/rxdeath)\
**Replies:** 7\
**Last updated:** [21 April 2022 08:25 UTC](https://discourse.nodered.org/t/disabling-nodes-from-dashboard/61319 "2022-04-21T08:25:01Z")

</div>

is there a way to disable/enable nodes from the dashboard? this is a solution to my problem but i think its not possible. here is what i'm trying to accomplish: i want to be able to get the serial stream coming from …

---

## [Help with loop in a function](https://discourse.nodered.org/t/help-with-loop-in-a-function/61579)

<div class="topic-metadata">

**Author:** [@sokomm](https://discourse.nodered.org/u/sokomm)\
**Replies:** 2\
**Last updated:** [21 April 2022 07:45 UTC](https://discourse.nodered.org/t/help-with-loop-in-a-function/61579 "2022-04-21T07:45:29Z")

</div>

How can I loop through all IDs? This is an example I found on the net and tried to modify. let id1 = 111111111; //dejan let id2 = 22222222; //lepi let id3 = 33333333; //milos let id4 = 44444444; //recepcija let id5 = 5…

---

## [Nodered on older windows server?](https://discourse.nodered.org/t/nodered-on-older-windows-server/61582)

<div class="topic-metadata">

**Author:** [@tomasenskede](https://discourse.nodered.org/u/tomasenskede)\
**Replies:** 1\
**Last updated:** [21 April 2022 07:40 UTC](https://discourse.nodered.org/t/nodered-on-older-windows-server/61582 "2022-04-21T07:40:23Z")

</div>

I have an old Windows Server for some eHome-applications... I was planning to look into Nodered but I cant find an compatible version for my old windows server... I have two servers available, 2008 R2 and one Home Serve…

---

## [Using TLS-PSK with MQTT](https://discourse.nodered.org/t/using-tls-psk-with-mqtt/59872)

<div class="topic-metadata">

**Author:** [@dktcl](https://discourse.nodered.org/u/dktcl)\
**Replies:** 7\
**Last updated:** [21 April 2022 07:32 UTC](https://discourse.nodered.org/t/using-tls-psk-with-mqtt/59872 "2022-04-21T07:32:33Z")

</div>

Good Morning, I need to communicate with a 3rd party MQTT Broker using TLS-PSK, however I'm struggling to figure out if and how to achieve with Node-Red. If I were using mosquito sub, I would use the command line optio…

---

## [Is it possible to configure a single Inject node to connect and subscribe to an MQTT broker using Dynamic Connections?](https://discourse.nodered.org/t/is-it-possible-to-configure-a-single-inject-node-to-connect-and-subscribe-to-an-mqtt-broker-using-dynamic-connections/61560)

<div class="topic-metadata">

**Author:** [@Shan](https://discourse.nodered.org/u/Shan)\
**Replies:** 1\
**Last updated:** [20 April 2022 21:59 UTC](https://discourse.nodered.org/t/is-it-possible-to-configure-a-single-inject-node-to-connect-and-subscribe-to-an-mqtt-broker-using-dynamic-connections/61560 "2022-04-20T21:59:54Z")

</div>

I am getting to grips with the concept of Dynamic MQTT connections and related Pub/Sub. However I am curious as to whether it would be possible to use the same Inject Node to do the following: Force connect to an MQTT …

---

## [Long code in function node...how to wrap](https://discourse.nodered.org/t/long-code-in-function-node-how-to-wrap/61514)

<div class="topic-metadata">

**Author:** [@Tomadoggy](https://discourse.nodered.org/u/Tomadoggy)\
**Replies:** 11\
**Last updated:** [20 April 2022 21:49 UTC](https://discourse.nodered.org/t/long-code-in-function-node-how-to-wrap/61514 "2022-04-20T21:49:31Z")

</div>

Noob question here....I have a very long string of code within a function node that is difficult to read and cannot figure out how to "wrap" the code inside the window without breaking the functionality. For instance...…

---

## [UDP instream limit](https://discourse.nodered.org/t/udp-instream-limit/61546)

<div class="topic-metadata">

**Author:** [@lroman](https://discourse.nodered.org/u/lroman)\
**Replies:** 1\
**Last updated:** [20 April 2022 20:08 UTC](https://discourse.nodered.org/t/udp-instream-limit/61546 "2022-04-20T20:08:41Z")

</div>

Hi, Is there a max number of edge devices that can send data to a UDP-IN node. For instance, a gateway running node-red and it listens for incoming UDP packets and the number of UDP messages is proportional to the numbe…

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

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