# General

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

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

**Page:** 477

---

## [Reading outputs](https://discourse.nodered.org/t/reading-outputs/52913)

<div class="topic-metadata">

**Author:** [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Replies:** 2\
**Last updated:** [29 October 2021 09:26 UTC](https://discourse.nodered.org/t/reading-outputs/52913 "2021-10-29T09:26:01Z")

</div>

Hi, I'm trying to read the outputs of a joystick, specifically the vectors x and y. 28/10/2021 23:04:02node: eeebad4a29142066 rested : msg : Object object payload: object angle: object direction: object distance: 0 vec…

---

## [Hiii.... So I wanted to remove few created nodes with using code . So how can i remove ? without "npm remove \<name-of-module\>"](https://discourse.nodered.org/t/hiii-so-i-wanted-to-remove-few-created-nodes-with-using-code-so-how-can-i-remove-without-npm-remove-name-of-module/52754)

<div class="topic-metadata">

**Author:** [@prj](https://discourse.nodered.org/u/prj)\
**Replies:** 12\
**Last updated:** [29 October 2021 08:33 UTC](https://discourse.nodered.org/t/hiii-so-i-wanted-to-remove-few-created-nodes-with-using-code-so-how-can-i-remove-without-npm-remove-name-of-module/52754 "2021-10-29T08:33:01Z")

</div>

For removing few custom nodes.

---

## [Read an IMAP email and save it to a file](https://discourse.nodered.org/t/read-an-imap-email-and-save-it-to-a-file/52908)

<div class="topic-metadata">

**Author:** [@crester](https://discourse.nodered.org/u/crester)\
**Replies:** 3\
**Last updated:** [29 October 2021 08:14 UTC](https://discourse.nodered.org/t/read-an-imap-email-and-save-it-to-a-file/52908 "2021-10-29T08:14:30Z")

</div>

Hello. I need to read an e-mail using e-mail node and save it RAW to an eml file. As I receive the json object, I wonder if it is possible to do with this mechanism Thank you Regards. J

---

## [How to host static content from a sub folder](https://discourse.nodered.org/t/how-to-host-static-content-from-a-sub-folder/52928)

<div class="topic-metadata">

**Author:** [@Roaders](https://discourse.nodered.org/u/Roaders)\
**Replies:** 3\
**Last updated:** [29 October 2021 08:13 UTC](https://discourse.nodered.org/t/how-to-host-static-content-from-a-sub-folder/52928 "2021-10-29T08:13:10Z")

</div>

Hi All I have some static content (and index page and some javascript) that I want to host on the same machine as node-red. Can I host this using node red? I saw something about static in the config file but it seemed t…

---

## [Updating/installing any module takes a lot of time](https://discourse.nodered.org/t/updating-installing-any-module-takes-a-lot-of-time/52916)

<div class="topic-metadata">

**Author:** [@JanickGers85](https://discourse.nodered.org/u/JanickGers85)\
**Replies:** 1\
**Last updated:** [29 October 2021 06:26 UTC](https://discourse.nodered.org/t/updating-installing-any-module-takes-a-lot-of-time/52916 "2021-10-29T06:26:47Z")

</div>

Hello there! lately I can't updating/installing any module takes a lot of time; here a few info: 28 Oct 23:20:45 - \[info\] Node-RED version: v2.1.3 28 Oct 23:20:45 - \[info\] Node.js version: v14.18.1 28 Oct 23:20:45 - \[…

---

## [\[SOLVED\]Not hearing sound using aplay via exec when running as service](https://discourse.nodered.org/t/solved-not-hearing-sound-using-aplay-via-exec-when-running-as-service/52924)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 1\
**Last updated:** [29 October 2021 05:52 UTC](https://discourse.nodered.org/t/solved-not-hearing-sound-using-aplay-via-exec-when-running-as-service/52924 "2021-10-29T05:52:54Z")

</div>

Following on from how to get Node-RED to run as a service on a Pi I'm having trouble playing a sound via exec node So I'm trying to play a wav file out thru the Pi audio jack It works fine when I run Node-RED directly …

---

## [Send RSS + Twitter results by email](https://discourse.nodered.org/t/send-rss-twitter-results-by-email/52847)

<div class="topic-metadata">

**Author:** [@Lafayette](https://discourse.nodered.org/u/Lafayette)\
**Replies:** 0\
**Last updated:** [27 October 2021 19:28 UTC](https://discourse.nodered.org/t/send-rss-twitter-results-by-email/52847 "2021-10-27T19:28:19Z")

</div>

Hi, I'm new in Node-Red and i would like to know how it's possible to format the payload of a rss or a tweeter node to send it and read it correctly in an email. Thx.

---

## [Timer to turn switch On/Off](https://discourse.nodered.org/t/timer-to-turn-switch-on-off/52849)

<div class="topic-metadata">

**Author:** [@dpatel2016](https://discourse.nodered.org/u/dpatel2016)\
**Replies:** 5\
**Last updated:** [28 October 2021 18:42 UTC](https://discourse.nodered.org/t/timer-to-turn-switch-on-off/52849 "2021-10-28T18:42:30Z")

</div>

I want to turn on the switch for an hour and then keep it off for an hour. Then this repeats as long as I want it. Basically, on for a set time and then off for a set time, then on for a set time, and off for a set time…

---

## [Make Node-RED start at startup on a Pi](https://discourse.nodered.org/t/make-node-red-start-at-startup-on-a-pi/52905)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [28 October 2021 18:40 UTC](https://discourse.nodered.org/t/make-node-red-start-at-startup-on-a-pi/52905 "2021-10-28T18:40:22Z")

</div>

Sorry for a newbie question :slight\_smile: But I don't normally autostart NR on any of my Pi but I'd like to on one of them Is there any easy one liner to set it up?

---

## [Subflow ui elements](https://discourse.nodered.org/t/subflow-ui-elements/52902)

<div class="topic-metadata">

**Author:** [@xjust](https://discourse.nodered.org/u/xjust)\
**Replies:** 2\
**Last updated:** [28 October 2021 18:15 UTC](https://discourse.nodered.org/t/subflow-ui-elements/52902 "2021-10-28T18:15:11Z")

</div>

Since version 2.1 nodered has the possibility for subflow ui elements though ENV values? Anybody has an example on how to make this happen ? thank you

---

## [Extracting object name dynamically](https://discourse.nodered.org/t/extracting-object-name-dynamically/52894)

<div class="topic-metadata">

**Author:** [@PhP60](https://discourse.nodered.org/u/PhP60)\
**Replies:** 1\
**Last updated:** [28 October 2021 16:02 UTC](https://discourse.nodered.org/t/extracting-object-name-dynamically/52894 "2021-10-28T16:02:56Z")

</div>

Hi there, (please, be cool, I'm a beginner), I programmed an API by using a http node though which one I gather a structure "as JSON" format in the body. These data contain two fields: deviceId and an object (including…

---

## [Empty payload from http request after updated node-red](https://discourse.nodered.org/t/empty-payload-from-http-request-after-updated-node-red/52840)

<div class="topic-metadata">

**Author:** [@elinds](https://discourse.nodered.org/u/elinds)\
**Replies:** 4\
**Last updated:** [28 October 2021 16:01 UTC](https://discourse.nodered.org/t/empty-payload-from-http-request-after-updated-node-red/52840 "2021-10-28T16:01:17Z")

</div>

I run node-red on osx and after I upgraded node-red my http requests don’t work anymore. I try to fetch a json-file from a server I’m hosting but payload is always empty. I run the exact same flow as I did before my upg…

---

## [Node-red-contrib-influxdb overloads CPU with queries](https://discourse.nodered.org/t/node-red-contrib-influxdb-overloads-cpu-with-queries/52818)

<div class="topic-metadata">

**Author:** [@MartinJensen37](https://discourse.nodered.org/u/MartinJensen37)\
**Replies:** 3\
**Last updated:** [28 October 2021 12:24 UTC](https://discourse.nodered.org/t/node-red-contrib-influxdb-overloads-cpu-with-queries/52818 "2021-10-28T12:24:41Z")

</div>

Hello. I have an issue regarding CPU usage while using the node-red-contrib-influxdb. I have a lot of data from different sensors getting sent to an InfluxDB database. I then have to use multiple computers to send quer…

---

## [How serial port modify using HTTP protocol？](https://discourse.nodered.org/t/how-serial-port-modify-using-http-protocol/52866)

<div class="topic-metadata">

**Author:** [@yfhzs](https://discourse.nodered.org/u/yfhzs)\
**Replies:** 4\
**Last updated:** [28 October 2021 15:15 UTC](https://discourse.nodered.org/t/how-serial-port-modify-using-http-protocol/52866 "2021-10-28T15:15:44Z")

</div>

Hello everyone during the project implementation, the serial ports (COM1, com2,...) need to be configured using the HTTP interface, as shown in the figure. Are there any nodes available?

---

## [Can´t install Nodes, when node-red runs as a service (WIN10+nssm)](https://discourse.nodered.org/t/can-t-install-nodes-when-node-red-runs-as-a-service-win10-nssm/52885)

<div class="topic-metadata">

**Author:** [@IotDeveloper](https://discourse.nodered.org/u/IotDeveloper)\
**Replies:** 6\
**Last updated:** [28 October 2021 15:13 UTC](https://discourse.nodered.org/t/can-t-install-nodes-when-node-red-runs-as-a-service-win10-nssm/52885 "2021-10-28T15:13:07Z")

</div>

I´m running Node-Red with the help of nssm as a Windows Service. I can´t install new nodes from the palette manager while running it as a service. If i start node-red over the command-line it works. Could you please h…

---

## [Join specific array field in a string separated by blank space](https://discourse.nodered.org/t/join-specific-array-field-in-a-string-separated-by-blank-space/52765)

<div class="topic-metadata">

**Author:** [@MiguelSoares](https://discourse.nodered.org/u/MiguelSoares)\
**Replies:** 35\
**Last updated:** [28 October 2021 14:39 UTC](https://discourse.nodered.org/t/join-specific-array-field-in-a-string-separated-by-blank-space/52765 "2021-10-28T14:39:39Z")

</div>

Good afternoon everyone, In the data structure that I have in the image below, I need to join the string that is in the field "filename" of all the positions of the array ("rowSelection") in a single string separated by…

---

## [2 different flow show same result](https://discourse.nodered.org/t/2-different-flow-show-same-result/52888)

<div class="topic-metadata">

**Author:** [@smile](https://discourse.nodered.org/u/smile)\
**Replies:** 0\
**Last updated:** [28 October 2021 14:38 UTC](https://discourse.nodered.org/t/2-different-flow-show-same-result/52888 "2021-10-28T14:38:04Z")

</div>

Why these 2 different flow show same result in Price sensor. I think data is same in both function nodes "get count on reset" ; but i don't know how flow working and what i need to change ("ycount") or (msg.reset === 0) …

---

## [MQTT local machine with and without an IP](https://discourse.nodered.org/t/mqtt-local-machine-with-and-without-an-ip/52821)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 14\
**Last updated:** [28 October 2021 13:28 UTC](https://discourse.nodered.org/t/mqtt-local-machine-with-and-without-an-ip/52821 "2021-10-28T13:28:52Z")

</div>

A while ago I asked about how to get MQTT running on a machine locally. Normally the machine is connected to a network and has an IP address. All worked (don't get ahead of me) but then one day it wasn't and it didn't …

---

## [Nav button not working in nodered.org](https://discourse.nodered.org/t/nav-button-not-working-in-nodered-org/52853)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 2\
**Last updated:** [28 October 2021 08:53 UTC](https://discourse.nodered.org/t/nav-button-not-working-in-nodered-org/52853 "2021-10-28T08:53:33Z")

</div>

Just playing with my new pixel phone, and opened nodered.org in it's Chrome browser version 95, my intention was then to navigate to the NR forum by using the nav button to get the link. However, whenever I selected it,…

---

## [How to update to 2.1?](https://discourse.nodered.org/t/how-to-update-to-2-1/52858)

<div class="topic-metadata">

**Author:** [@markush1](https://discourse.nodered.org/u/markush1)\
**Replies:** 6\
**Last updated:** [28 October 2021 08:06 UTC](https://discourse.nodered.org/t/how-to-update-to-2-1/52858 "2021-10-28T08:06:37Z")

</div>

Hello guys, i'm trying to upgrade to the latest node-red version but it doesn't works for me. I'v run "npm -g --unsafe-perm node-red". Looks good so far: npm install -g --unsafe-perm node-red changed 290 packages, and…

---

## [Serial port selected dynamically from the dashboard?](https://discourse.nodered.org/t/serial-port-selected-dynamically-from-the-dashboard/52679)

<div class="topic-metadata">

**Author:** [@Jean-Luc](https://discourse.nodered.org/u/Jean-Luc)\
**Replies:** 4\
**Last updated:** [28 October 2021 08:05 UTC](https://discourse.nodered.org/t/serial-port-selected-dynamically-from-the-dashboard/52679 "2021-10-28T08:05:08Z")

</div>

Good evening, Do you think it could be possible to select from the dashboard the serial interface you want to use ? In dynamic mode then. For the moment you have to select it in advance in the editor, it would be conv…

---

## [How can I show a workspace per tab?](https://discourse.nodered.org/t/how-can-i-show-a-workspace-per-tab/52863)

<div class="topic-metadata">

**Author:** [@ab24](https://discourse.nodered.org/u/ab24)\
**Replies:** 2\
**Last updated:** [28 October 2021 07:45 UTC](https://discourse.nodered.org/t/how-can-i-show-a-workspace-per-tab/52863 "2021-10-28T07:45:55Z")

</div>

Hi, need some help and suggestions to implement the following scenario. I have added 4 tabs in the header using RED.tabs.create() as seen in the images below. The requirement is to show a palette, workspace and sidebar …

---

## [Node for Sensor](https://discourse.nodered.org/t/node-for-sensor/52856)

<div class="topic-metadata">

**Author:** [@hasan\_s\_m](https://discourse.nodered.org/u/hasan_s_m)\
**Replies:** 1\
**Last updated:** [28 October 2021 07:35 UTC](https://discourse.nodered.org/t/node-for-sensor/52856 "2021-10-28T07:35:32Z")

</div>

Hi, I am new in Node red . I am facing problem with some sensor like gas sensor, Rain detect sensor etc I can not find node in node red for this sensor . Pls need help Thanks

---

## [Automation of pushing flows to Gitlab](https://discourse.nodered.org/t/automation-of-pushing-flows-to-gitlab/52806)

<div class="topic-metadata">

**Author:** [@SimoNode](https://discourse.nodered.org/u/SimoNode)\
**Replies:** 9\
**Last updated:** [28 October 2021 06:53 UTC](https://discourse.nodered.org/t/automation-of-pushing-flows-to-gitlab/52806 "2021-10-28T06:53:29Z")

</div>

Hi Everyone, Is there anyway to create a repo in Gitlab (using nodes) and then push a flow to it every time i deploy ? Thanks

---

## [Generate messages with for Loops](https://discourse.nodered.org/t/generate-messages-with-for-loops/52854)

<div class="topic-metadata">

**Author:** [@tfuchs1987](https://discourse.nodered.org/u/tfuchs1987)\
**Replies:** 2\
**Last updated:** [27 October 2021 22:21 UTC](https://discourse.nodered.org/t/generate-messages-with-for-loops/52854 "2021-10-27T22:21:25Z")

</div>

Hi Forum, my msg.payload has an array and i want to run a for-loop times the size of the array length. Every time the loop ends the function should return a message. Is that possible? I tried the following but this is …

---

## [Node-Red don't longer start](https://discourse.nodered.org/t/node-red-dont-longer-start/52590)

<div class="topic-metadata">

**Author:** [@fredshortlv129bis](https://discourse.nodered.org/u/fredshortlv129bis)\
**Replies:** 36\
**Last updated:** [27 October 2021 21:12 UTC](https://discourse.nodered.org/t/node-red-dont-longer-start/52590 "2021-10-27T21:12:20Z")

</div>

Sorry to seek your help. I can no longer get Node-Red to start up. During all my free time in over a week, I try in vain to find a way out by myself. The misery started in an attempt to install the 'Palette Manager'. I…

---

## [How to set Google home in "listen mode" with node red](https://discourse.nodered.org/t/how-to-set-google-home-in-listen-mode-with-node-red/52707)

<div class="topic-metadata">

**Author:** [@jddominguez1979](https://discourse.nodered.org/u/jddominguez1979)\
**Replies:** 1\
**Last updated:** [27 October 2021 20:54 UTC](https://discourse.nodered.org/t/how-to-set-google-home-in-listen-mode-with-node-red/52707 "2021-10-27T20:54:02Z")

</div>

Is there a way to make a node where you can "make" a conversation with google home mini device? You already can send TTS and it will anounce whatever you type, but is there a way to wait for a response from the end user…

---

## [Time range to limit triggers](https://discourse.nodered.org/t/time-range-to-limit-triggers/52798)

<div class="topic-metadata">

**Author:** [@janbro](https://discourse.nodered.org/u/janbro)\
**Replies:** 2\
**Last updated:** [27 October 2021 20:13 UTC](https://discourse.nodered.org/t/time-range-to-limit-triggers/52798 "2021-10-27T20:13:25Z")

</div>

Hi, I have two timers triggering (classic injection nodes). at 8:00 at sunrise the idea is to trigger our shades depending on what is latest. So I put time range behind each trigger \[node-red-contrib-time-range-switc…

---

## [Groups keep "changing" at every deploy](https://discourse.nodered.org/t/groups-keep-changing-at-every-deploy/52852)

<div class="topic-metadata">

**Author:** [@Edo78](https://discourse.nodered.org/u/Edo78)\
**Replies:** 2\
**Last updated:** [27 October 2021 20:10 UTC](https://discourse.nodered.org/t/groups-keep-changing-at-every-deploy/52852 "2021-10-27T20:10:08Z")

</div>

Every time I update any flow in my project I keep see phantom changes reported in groups I'm sure I didn't even touched this group, the flow itself was hidden. Am I missing something?

---

## [Differences between \`msg.topic\` and \`msg.\_topic\` in node MQTT In](https://discourse.nodered.org/t/differences-between-msg-topic-and-msg-topic-in-node-mqtt-in/52832)

<div class="topic-metadata">

**Author:** [@kwendenarmo](https://discourse.nodered.org/u/kwendenarmo)\
**Replies:** 3\
**Last updated:** [27 October 2021 17:07 UTC](https://discourse.nodered.org/t/differences-between-msg-topic-and-msg-topic-in-node-mqtt-in/52832 "2021-10-27T17:07:00Z")

</div>

I have seen that the MQTT In node generates the \_topic property when connected to a local broker. In my case it has the same content as the conventional topic property. But I have seen somewhere that other people had di…

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

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