# General

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

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

**Page:** 290

---

## [My Raspberry Pis aren't connecting via Node Red with MQTT](https://discourse.nodered.org/t/my-raspberry-pis-arent-connecting-via-node-red-with-mqtt/70953)

<div class="topic-metadata">

**Author:** [@Ceowens](https://discourse.nodered.org/u/Ceowens)\
**Replies:** 19\
**Last updated:** [22 November 2022 06:32 UTC](https://discourse.nodered.org/t/my-raspberry-pis-arent-connecting-via-node-red-with-mqtt/70953 "2022-11-22T06:32:33Z")

</div>

I'm not understanding what I'm doing wrong. I have one Raspberry Pi as my broker. My other Raspberry Pi isn't receiving anything on its side. What I did first was test the connection on the localhost on one Pi and that …

---

## [EXEC Node has problems with folder name with "+"](https://discourse.nodered.org/t/exec-node-has-problems-with-folder-name-with/70937)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 11\
**Last updated:** [21 November 2022 21:00 UTC](https://discourse.nodered.org/t/exec-node-has-problems-with-folder-name-with/70937 "2022-11-21T21:00:59Z")

</div>

I was using the EXEC node recently and I have Node-RED installed in Windows 10. I had "File not found" error when trying to run "COPY". I could rename the file using "RENAME", but then I had to create the original file…

---

## [Date & time format in debug sidebar](https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003)

<div class="topic-metadata">

**Author:** [@bzq-pl](https://discourse.nodered.org/u/bzq-pl)\
**Replies:** 6\
**Last updated:** [21 November 2022 21:56 UTC](https://discourse.nodered.org/t/date-time-format-in-debug-sidebar/71003 "2022-11-21T21:56:33Z")

</div>

Hi, probably this is related with my last node-red upgrade ... but I noticed it in last days. Is there any way to change date & time used by node-red to display in debug sidebar? Now it looks like this: ... and I wo…

---

## [Getting a keyboard input into node-red](https://discourse.nodered.org/t/getting-a-keyboard-input-into-node-red/70951)

<div class="topic-metadata">

**Author:** [@Felix\_Cheah](https://discourse.nodered.org/u/Felix_Cheah)\
**Replies:** 6\
**Last updated:** [21 November 2022 21:33 UTC](https://discourse.nodered.org/t/getting-a-keyboard-input-into-node-red/70951 "2022-11-21T21:33:25Z")

</div>

I'm trying to get a regular usb keyboard inputs into node-red on a windows 10 machine. I've tried keypress and that works nicely however it only works when you're on the terminal/CMD. I tried node-red-contrib-usbhid, bu…

---

## [Problem importing external libraries to node-red](https://discourse.nodered.org/t/problem-importing-external-libraries-to-node-red/70835)

<div class="topic-metadata">

**Author:** [@RenanLourenco](https://discourse.nodered.org/u/RenanLourenco)\
**Replies:** 9\
**Last updated:** [21 November 2022 21:06 UTC](https://discourse.nodered.org/t/problem-importing-external-libraries-to-node-red/70835 "2022-11-21T21:06:42Z")

</div>

Hello guys, Im trying to deploy my node-red project in aws ec2 ubuntu server. My project uses the built-in module crypto, i declare the module functionGlobalContext object in settings.js: 'Locally' everything works…

---

## [Organize values in SQL](https://discourse.nodered.org/t/organize-values-in-sql/71006)

<div class="topic-metadata">

**Author:** [@Kefren\_lml](https://discourse.nodered.org/u/Kefren_lml)\
**Replies:** 1\
**Last updated:** [21 November 2022 20:30 UTC](https://discourse.nodered.org/t/organize-values-in-sql/71006 "2022-11-21T20:30:39Z")

</div>

Hello {"payload":{"TT1914.Val":33.463035583496094,"TT25011.Val":27.10765266418457,"FT\_Torre":-996},"\_msgid":"da09e59a60c864b6"} The line before is the msg topic and payload i got from a eth node and need to add the 3 v…

---

## [Install eWelink](https://discourse.nodered.org/t/install-ewelink/67854)

<div class="topic-metadata">

**Author:** [@milandzuris](https://discourse.nodered.org/u/milandzuris)\
**Replies:** 8\
**Last updated:** [21 November 2022 19:44 UTC](https://discourse.nodered.org/t/install-ewelink/67854 "2022-11-21T19:44:04Z")

</div>

I want install ewelink and i have this error how to fix it? 2022-09-17T14:51:34.478Z Install : node-red-contrib-ewelink 2.0.0 2022-09-17T14:51:33.761Z npm install --no-audit --no-update-notifier --no-fund --save --sa…

---

## [Get value from mysql in debug](https://discourse.nodered.org/t/get-value-from-mysql-in-debug/70772)

<div class="topic-metadata">

**Author:** [@Ynfante](https://discourse.nodered.org/u/Ynfante)\
**Replies:** 7\
**Last updated:** [21 November 2022 19:33 UTC](https://discourse.nodered.org/t/get-value-from-mysql-in-debug/70772 "2022-11-21T19:33:41Z")

</div>

hello I am trying to take the value of "SANTIAGO,ALEX,LUIS D." but I have tried and there is no way I have tried to take it using my change node using the msg.payload\[0\].return ('{ "ACTION":"RET.LIST.CHF-S","ID":1}' ): b…

---

## [Does the CMD have to be running?](https://discourse.nodered.org/t/does-the-cmd-have-to-be-running/71008)

<div class="topic-metadata">

**Author:** [@mike-farur](https://discourse.nodered.org/u/mike-farur)\
**Replies:** 4\
**Last updated:** [21 November 2022 19:33 UTC](https://discourse.nodered.org/t/does-the-cmd-have-to-be-running/71008 "2022-11-21T19:33:15Z")

</div>

Hi, guys! I'm student still practicing this software, i have a plc at home, thinking about setting some projects up using nodered as a HMI, through my phone preferably. Does the CMD have to be running (online) for me t…

---

## [Is there a way to delete multiple unused configuration nodes?](https://discourse.nodered.org/t/is-there-a-way-to-delete-multiple-unused-configuration-nodes/1219)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 8\
**Last updated:** [21 November 2022 19:08 UTC](https://discourse.nodered.org/t/is-there-a-way-to-delete-multiple-unused-configuration-nodes/1219 "2022-11-21T19:08:50Z")

</div>

Many times I import someone's flow to see if I can help and finaly delete all the tabs that they used, but this can lead to having many unused configuration nodes showing up. I know I can double click them and remove the…

---

## [How "bypass" TypeError: Cannot read property '0' of undefined](https://discourse.nodered.org/t/how-bypass-typeerror-cannot-read-property-0-of-undefined/70923)

<div class="topic-metadata">

**Author:** [@lumanga](https://discourse.nodered.org/u/lumanga)\
**Replies:** 10\
**Last updated:** [21 November 2022 18:06 UTC](https://discourse.nodered.org/t/how-bypass-typeerror-cannot-read-property-0-of-undefined/70923 "2022-11-21T18:06:32Z")

</div>

Dear Sir, I have a flow that receive some DHT22 values from different NodeMCU via MQTT. I have created a "JOIN NODE" to JOIN all the sensor values, and make a correct unique long array to send to: a "FUNCTION NODE"…

---

## [Error: Non-whitespace before first tag. Line: 0 Column: 1 Char: 1](https://discourse.nodered.org/t/error-non-whitespace-before-first-tag-line-0-column-1-char-1/70999)

<div class="topic-metadata">

**Author:** [@eamil](https://discourse.nodered.org/u/eamil)\
**Replies:** 2\
**Last updated:** [21 November 2022 17:45 UTC](https://discourse.nodered.org/t/error-non-whitespace-before-first-tag-line-0-column-1-char-1/70999 "2022-11-21T17:45:58Z")

</div>

Hello, I am getting such error and I can't solve it. Could you help?

---

## [Little problem with flow / function](https://discourse.nodered.org/t/little-problem-with-flow-function/70997)

<div class="topic-metadata">

**Author:** [@rimmel](https://discourse.nodered.org/u/rimmel)\
**Replies:** 2\
**Last updated:** [21 November 2022 17:18 UTC](https://discourse.nodered.org/t/little-problem-with-flow-function/70997 "2022-11-21T17:18:50Z")

</div>

Hi, i´m new to node-red and new to this forum. until now i´m using domoticz with zigbee, mqtt and wifi. since a few days i try to set up my new sonoff NSPanel. the two relais buttons are no problem and working fine wi…

---

## [Is there a way to apply sudo to specific serial port? Otherwise can not open](https://discourse.nodered.org/t/is-there-a-way-to-apply-sudo-to-specific-serial-port-otherwise-can-not-open/70016)

<div class="topic-metadata">

**Author:** [@rxunique](https://discourse.nodered.org/u/rxunique)\
**Replies:** 22\
**Last updated:** [21 November 2022 17:00 UTC](https://discourse.nodered.org/t/is-there-a-way-to-apply-sudo-to-specific-serial-port-otherwise-can-not-open/70016 "2022-11-21T17:00:11Z")

</div>

I'm building a Pi Zero hotspot modem with https://www.waveshare.com/wiki/SIM7600G-H\_4G\_HAT\_(B) using RNDIS , which needs AT commands via /dev/ttyUSB2 to get GPS info and all the other settings. I just rang into a wall t…

---

## [How can I return a value from a recursive function?](https://discourse.nodered.org/t/how-can-i-return-a-value-from-a-recursive-function/70986)

<div class="topic-metadata">

**Author:** [@widert](https://discourse.nodered.org/u/widert)\
**Replies:** 2\
**Last updated:** [21 November 2022 16:23 UTC](https://discourse.nodered.org/t/how-can-i-return-a-value-from-a-recursive-function/70986 "2022-11-21T16:23:08Z")

</div>

Hello, I'm trying to return a value from the following recursive function: function recurse(data, found) { if (found) { return true; } let iPhones = \[ "06:0f:a4:98:59:42", //T "8a:71…

---

## [Node-red as a snap not able to run git](https://discourse.nodered.org/t/node-red-as-a-snap-not-able-to-run-git/70961)

<div class="topic-metadata">

**Author:** [@d-beamon](https://discourse.nodered.org/u/d-beamon)\
**Replies:** 4\
**Last updated:** [21 November 2022 14:58 UTC](https://discourse.nodered.org/t/node-red-as-a-snap-not-able-to-run-git/70961 "2022-11-21T14:58:27Z")

</div>

Hi! I'm using node-red as a snap and I'm finding some troubles installing some nodes from the Palette Manager. The problem in this case is that node-red is not able to run 'git' (which is located in the host system out…

---

## [How to iterate over multiple tag topics?](https://discourse.nodered.org/t/how-to-iterate-over-multiple-tag-topics/70879)

<div class="topic-metadata">

**Author:** [@Pari](https://discourse.nodered.org/u/Pari)\
**Replies:** 8\
**Last updated:** [21 November 2022 14:15 UTC](https://discourse.nodered.org/t/how-to-iterate-over-multiple-tag-topics/70879 "2022-11-21T14:15:29Z")

</div>

I have multiple OPCUA tags emitting data. I want each of the tag to go through a series of steps (eg: add some property to the tag's payload, aggregate the data over 1 minute and finally write it to MongoDB using MongoDB…

---

## [Exec-command does not deliver full set of data](https://discourse.nodered.org/t/exec-command-does-not-deliver-full-set-of-data/70930)

<div class="topic-metadata">

**Author:** [@gerhard1951](https://discourse.nodered.org/u/gerhard1951)\
**Replies:** 6\
**Last updated:** [21 November 2022 13:46 UTC](https://discourse.nodered.org/t/exec-command-does-not-deliver-full-set-of-data/70930 "2022-11-21T13:46:32Z")

</div>

Hi, I try to send a curl - command with several options using the exec-command for receiving the access token (with thousands of characters) for an API Interface. The command looks like this: \<curl -v --url "https:/…

---

## [Log analysis service recommendation\>](https://discourse.nodered.org/t/log-analysis-service-recommendation/70909)

<div class="topic-metadata">

**Author:** [@Stwissel](https://discourse.nodered.org/u/Stwissel)\
**Replies:** 3\
**Last updated:** [21 November 2022 11:10 UTC](https://discourse.nodered.org/t/log-analysis-service-recommendation/70909 "2022-11-21T11:10:56Z")

</div>

Hi there, we are running NodeRED on Docker on IntelNUC in a farm, mostly unencumbered by local IT skills. Thus we are looking for a log analysis service - preferably deployable as container. NodeRED writes the logs to s…

---

## [Add comma in array](https://discourse.nodered.org/t/add-comma-in-array/70899)

<div class="topic-metadata">

**Author:** [@dowermyr](https://discourse.nodered.org/u/dowermyr)\
**Replies:** 3\
**Last updated:** [21 November 2022 10:35 UTC](https://discourse.nodered.org/t/add-comma-in-array/70899 "2022-11-21T10:35:36Z")

</div>

Hi! How do i divide a value in an array, and keep one decimal ?

---

## [Statistic node with variable incoming data](https://discourse.nodered.org/t/statistic-node-with-variable-incoming-data/70962)

<div class="topic-metadata">

**Author:** [@nika29](https://discourse.nodered.org/u/nika29)\
**Replies:** 1\
**Last updated:** [21 November 2022 09:44 UTC](https://discourse.nodered.org/t/statistic-node-with-variable-incoming-data/70962 "2022-11-21T09:44:04Z")

</div>

Hello, is there a node to calculate the standard deviation and the mean with the option to change the length of the incoming data in the dashboard? I tried the node 'smooth' but it would only allow me to change the infor…

---

## [Write data into array](https://discourse.nodered.org/t/write-data-into-array/70960)

<div class="topic-metadata">

**Author:** [@nika29](https://discourse.nodered.org/u/nika29)\
**Replies:** 1\
**Last updated:** [21 November 2022 09:18 UTC](https://discourse.nodered.org/t/write-data-into-array/70960 "2022-11-21T09:18:21Z")

</div>

Hi there, I'd like to write data (taken out of the sqldatabase or the node 'form') into an array. Could you help please how I can do this. I was thinking about creating an empty array and then push the data into it. Th…

---

## [Introduction of new member](https://discourse.nodered.org/t/introduction-of-new-member/70698)

<div class="topic-metadata">

**Author:** [@Alxender](https://discourse.nodered.org/u/Alxender)\
**Replies:** 6\
**Last updated:** [21 November 2022 07:55 UTC](https://discourse.nodered.org/t/introduction-of-new-member/70698 "2022-11-21T07:55:02Z")

</div>

Hi, I'm Alxender new here.

---

## [Parsing / Converting String to Object](https://discourse.nodered.org/t/parsing-converting-string-to-object/70281)

<div class="topic-metadata">

**Author:** [@interscope101](https://discourse.nodered.org/u/interscope101)\
**Replies:** 9\
**Last updated:** [8 November 2022 22:21 UTC](https://discourse.nodered.org/t/parsing-converting-string-to-object/70281 "2022-11-08T22:21:37Z")

</div>

Hi there, really need assistance parsing / converting this output (coming from exec-node). The best I was able to achieve using a string-node is to isolate a single variable. The output is always these 6 lines. …

---

## [Hello I need connect with TCP client and get data (I have Sick Thickness Sensor , i want to collect data through tcp client (message is \<STX\> MEASURE B \<ETX\> )](https://discourse.nodered.org/t/hello-i-need-connect-with-tcp-client-and-get-data-i-have-sick-thickness-sensor-i-want-to-collect-data-through-tcp-client-message-is-stx-measure-b-etx/70818)

<div class="topic-metadata">

**Author:** [@TANNY786](https://discourse.nodered.org/u/TANNY786)\
**Replies:** 4\
**Last updated:** [21 November 2022 00:15 UTC](https://discourse.nodered.org/t/hello-i-need-connect-with-tcp-client-and-get-data-i-have-sick-thickness-sensor-i-want-to-collect-data-through-tcp-client-message-is-stx-measure-b-etx/70818 "2022-11-21T00:15:22Z")

</div>

Hello. SICK THICKNESS SENSOR (Send Message MEASURE B ) I want to checking TCP client in Herclus software , its comming for ref image Node red side i am using TCP client module for ref image setting Node r…

---

## [Worldmap tracks node refresh](https://discourse.nodered.org/t/worldmap-tracks-node-refresh/70932)

<div class="topic-metadata">

**Author:** [@notSure](https://discourse.nodered.org/u/notSure)\
**Replies:** 2\
**Last updated:** [20 November 2022 23:19 UTC](https://discourse.nodered.org/t/worldmap-tracks-node-refresh/70932 "2022-11-20T23:19:22Z")

</div>

Continuing the discussion from Worldmap Tracks Node: I have a working node-red-contrib-web-worldmap using the tracks node. I'm just looking for an elegant way to refresh the track when loading the map (essentially force…

---

## [Dashboard node does not pass on msg.topic that is a number](https://discourse.nodered.org/t/dashboard-node-does-not-pass-on-msg-topic-that-is-a-number/70863)

<div class="topic-metadata">

**Author:** [@rxunique](https://discourse.nodered.org/u/rxunique)\
**Replies:** 8\
**Last updated:** [20 November 2022 23:01 UTC](https://discourse.nodered.org/t/dashboard-node-does-not-pass-on-msg-topic-that-is-a-number/70863 "2022-11-20T23:01:55Z")

</div>

I just noticed a strange behaviour, and wondering if this is indented or a bug basically dashboard UI nodes does not pass on msg.topic that is a numeric value, only pass on string value. Very strange I tested below wit…

---

## [Get Value from Roborock](https://discourse.nodered.org/t/get-value-from-roborock/70946)

<div class="topic-metadata">

**Author:** [@Ostseehuepfer](https://discourse.nodered.org/u/Ostseehuepfer)\
**Replies:** 0\
**Last updated:** [20 November 2022 22:54 UTC](https://discourse.nodered.org/t/get-value-from-roborock/70946 "2022-11-20T22:54:48Z")

</div>

Hi, i am beginner and try to get Information from my Roborock Cleaner. I Use this Palette node-red-contrib-xiaomi-roborock and try to get an Status or Room list commands. i only get 20.11.2022, 23:53:05node: 12eb6cc0.…

---

## [How can I iterate recursivly throgh msg.payload to find a specific key/Value](https://discourse.nodered.org/t/how-can-i-iterate-recursivly-throgh-msg-payload-to-find-a-specific-key-value/70918)

<div class="topic-metadata">

**Author:** [@widert](https://discourse.nodered.org/u/widert)\
**Replies:** 7\
**Last updated:** [20 November 2022 22:03 UTC](https://discourse.nodered.org/t/how-can-i-iterate-recursivly-throgh-msg-payload-to-find-a-specific-key-value/70918 "2022-11-20T22:03:00Z")

</div>

I have a nested array that I'm trying to find a specific key/value in. Path: payload\[0\]\[11\].mac Value: 10:2b:41:11:c8:b6 To find the value I'm iterating using forEach: msg.payload.forEach(function (key,value) { i…

---

## [Help with node-red-contrib-samsung-tv-control](https://discourse.nodered.org/t/help-with-node-red-contrib-samsung-tv-control/70621)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 20\
**Last updated:** [20 November 2022 21:42 UTC](https://discourse.nodered.org/t/help-with-node-red-contrib-samsung-tv-control/70621 "2022-11-20T21:42:18Z")

</div>

I've asked on github but it is 1 year 4 months out of service. It may not be supported any more. :frowning: I have run into a weird question/situation: Until now NR and the TV were on the same network. They are not …

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

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