# Latest

**URL:** https://discourse.nodered.org/latest.md?page=891

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

**Page:** 892

---

## [\[Announce\] node-red-redplc-automationhat](https://discourse.nodered.org/t/announce-node-red-redplc-automationhat/40574)

<div class="topic-metadata">

**Author:** [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Replies:** 0\
**Last updated:** [7 February 2021 19:56 UTC](https://discourse.nodered.org/t/announce-node-red-redplc-automationhat/40574 "2021-02-07T19:56:12Z")

</div>

---

## [Multiple Output Issue](https://discourse.nodered.org/t/multiple-output-issue/40527)

<div class="topic-metadata">

**Author:** [@craines](https://discourse.nodered.org/u/craines)\
**Replies:** 2\
**Last updated:** [7 February 2021 17:58 UTC](https://discourse.nodered.org/t/multiple-output-issue/40527 "2021-02-07T17:58:42Z")

</div>

I'm trying to join messages on the first trigger I only get one output, and the second I get 4 How to I Modify the flow so that I only get 1 output all the time? and for the record, just starting out with Node-Red …

---

## [2021-01-11-raspios-buster-armhf-full.zip has old node-red!](https://discourse.nodered.org/t/2021-01-11-raspios-buster-armhf-full-zip-has-old-node-red/40525)

<div class="topic-metadata">

**Author:** [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Replies:** 3\
**Last updated:** [7 February 2021 17:47 UTC](https://discourse.nodered.org/t/2021-01-11-raspios-buster-armhf-full-zip-has-old-node-red/40525 "2021-02-07T17:47:26Z")

</div>

I'm setting up a Pi3B+ to use the "official" 7" touch screen and was shocked to find it had node-red installed, would be pleasant if it weren't such an old version! node-red v1.0.6 nodejs v10.23.1 I assume running the…

---

## [Random number from 0 to max of array number](https://discourse.nodered.org/t/random-number-from-0-to-max-of-array-number/40560)

<div class="topic-metadata">

**Author:** [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Replies:** 7\
**Last updated:** [7 February 2021 17:13 UTC](https://discourse.nodered.org/t/random-number-from-0-to-max-of-array-number/40560 "2021-02-07T17:13:26Z")

</div>

Hello i found this node geting some quotes and then send it as Telegram i have done something similar. but need help for the Random function! it is "hardcoded" like this msg.payload = msg.payload\[getRndInteger(0,1642…

---

## [Parse\_mode :"Markdown" add more parse\_mode option](https://discourse.nodered.org/t/parse-mode-markdown-add-more-parse-mode-option/40547)

<div class="topic-metadata">

**Author:** [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Replies:** 1\
**Last updated:** [7 February 2021 16:33 UTC](https://discourse.nodered.org/t/parse-mode-markdown-add-more-parse-mode-option/40547 "2021-02-07T16:33:57Z")

</div>

Hello i have a function Node to send a telegram with the Information for parse\_mode msg.payload.options = {disable\_web\_page\_preview : true, parse\_mode :"Markdown"}; yes it works so far, now i wished to add the parse\_m…

---

## [Persistent storage](https://discourse.nodered.org/t/persistent-storage/40556)

<div class="topic-metadata">

**Author:** [@brainbugfix](https://discourse.nodered.org/u/brainbugfix)\
**Replies:** 6\
**Last updated:** [7 February 2021 16:24 UTC](https://discourse.nodered.org/t/persistent-storage/40556 "2021-02-07T16:24:24Z")

</div>

Hi, i'd like to store some values persistently in the global context. In my function node I have something like this: var values = global.get('Status', "persistStore") || new Map(); values.forEach((value, key, map) =\> …

---

## [Change ui-switch label](https://discourse.nodered.org/t/change-ui-switch-label/40542)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 2\
**Last updated:** [7 February 2021 15:38 UTC](https://discourse.nodered.org/t/change-ui-switch-label/40542 "2021-02-07T15:38:15Z")

</div>

Hi, how can I change dynamically the UI switch label? I'd like to put it into a variable and assign dynamically. Thanks

---

## [Does any GPIO node support edge events, rising or falling state changes?](https://discourse.nodered.org/t/does-any-gpio-node-support-edge-events-rising-or-falling-state-changes/40352)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 25\
**Last updated:** [7 February 2021 15:06 UTC](https://discourse.nodered.org/t/does-any-gpio-node-support-edge-events-rising-or-falling-state-changes/40352 "2021-02-07T15:06:26Z")

</div>

Does any GPIO node support edge events, rising or falling state changes? Looking 'pi gpio node' it is just binary digital logic (0|1) state. I have use case where I need to sense rising or falling state. This is easy …

---

## [Successive deployments increase CPU load](https://discourse.nodered.org/t/successive-deployments-increase-cpu-load/9202)

<div class="topic-metadata">

**Author:** [@guardiande](https://discourse.nodered.org/u/guardiande)\
**Replies:** 24\
**Last updated:** [6 February 2021 20:51 UTC](https://discourse.nodered.org/t/successive-deployments-increase-cpu-load/9202 "2021-02-06T20:51:06Z")

</div>

I noticed that repetitive deployments increase the CPU load. I noticed it first on 0.19.5 but it still holds for 0.20.2. Stopping and starting Node Red reduces the load to a normal level. I did several (like 20 to 30)…

---

## [Exec node now throwing errors at me](https://discourse.nodered.org/t/exec-node-now-throwing-errors-at-me/40485)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 10\
**Last updated:** [7 February 2021 12:40 UTC](https://discourse.nodered.org/t/exec-node-now-throwing-errors-at-me/40485 "2021-02-07T12:40:24Z")

</div>

(Look at bottom) Sorry, I thought tonight was the ping node but it isn't. Now it is an exec node. This evening - just a short while ago I got this: This is the best I can capture. 21:34:50 {"message":"Error: spawn …

---

## [Heatmap array shift](https://discourse.nodered.org/t/heatmap-array-shift/40515)

<div class="topic-metadata">

**Author:** [@shaikh-i](https://discourse.nodered.org/u/shaikh-i)\
**Replies:** 3\
**Last updated:** [6 February 2021 21:16 UTC](https://discourse.nodered.org/t/heatmap-array-shift/40515 "2021-02-06T21:16:43Z")

</div>

I have a .txt file which has an array of 10240 values to use for a heatmap (size: 16 x 16). My flow works just fine on the first inject after deploying it, but the heatmap seems to be moving one frame down (and one frame…

---

## [Help with error in function node](https://discourse.nodered.org/t/help-with-error-in-function-node/40534)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [7 February 2021 07:31 UTC](https://discourse.nodered.org/t/help-with-error-in-function-node/40534 "2021-02-07T07:31:41Z")

</div>

I am working on a project - top secret just now. :wink: This is the code in the function node. let j = flow.get("StartMsg"); if (j == undefined) { j = "Start message"; } msg.payload = j; if (flow.get("PassThrough…

---

## [Repeat Interval too large](https://discourse.nodered.org/t/repeat-interval-too-large/40518)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 2\
**Last updated:** [6 February 2021 21:52 UTC](https://discourse.nodered.org/t/repeat-interval-too-large/40518 "2021-02-06T21:52:27Z")

</div>

Hi all! How to send messages with too long interval? I need to repeat a message every 3 months and the inject node does't accept it because it has a limit. Is there any solution here? Tks!

---

## [Parametric variable names](https://discourse.nodered.org/t/parametric-variable-names/40034)

<div class="topic-metadata">

**Author:** [@Simone](https://discourse.nodered.org/u/Simone)\
**Replies:** 8\
**Last updated:** [6 February 2021 21:27 UTC](https://discourse.nodered.org/t/parametric-variable-names/40034 "2021-02-06T21:27:51Z")

</div>

Hi, I would like to dynamically create (and use) variables where the name has an incremental suffix like Var1, Var2, Var3... But my code is not working. for(var i=0; i\<=10; i++) { global.set(window\['Var'+i\],9); …

---

## [Kodi HTTP request media player extract time and convert to time left](https://discourse.nodered.org/t/kodi-http-request-media-player-extract-time-and-convert-to-time-left/40502)

<div class="topic-metadata">

**Author:** [@notownblues](https://discourse.nodered.org/u/notownblues)\
**Replies:** 6\
**Last updated:** [6 February 2021 21:09 UTC](https://discourse.nodered.org/t/kodi-http-request-media-player-extract-time-and-convert-to-time-left/40502 "2021-02-06T21:09:18Z")

</div>

Hi, I'd like to extract the current time and total time on my media player (Kodi) from HTTP request and convert it into time left: Does anyone know how to do this? I've been looking around for a few hours but I'm re…

---

## [Check event happening before a certain timeout](https://discourse.nodered.org/t/check-event-happening-before-a-certain-timeout/40501)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 4\
**Last updated:** [6 February 2021 21:04 UTC](https://discourse.nodered.org/t/check-event-happening-before-a-certain-timeout/40501 "2021-02-06T21:04:38Z")

</div>

I have a trivial issue, but I got lost. I need a timer to start in a certain flow position when "ON" message is received. Then, if an "OFF" message is received within 3 seconds, another branch of the flow will take part…

---

## [Rearrange subflows](https://discourse.nodered.org/t/rearrange-subflows/40505)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 1\
**Last updated:** [6 February 2021 20:07 UTC](https://discourse.nodered.org/t/rearrange-subflows/40505 "2021-02-06T20:07:33Z")

</div>

Is there a way to rearrange the order of the subflows in the left sidebar?

---

## [Shutdown Computer with Node-Red](https://discourse.nodered.org/t/shutdown-computer-with-node-red/40468)

<div class="topic-metadata">

**Author:** [@newbow](https://discourse.nodered.org/u/newbow)\
**Replies:** 14\
**Last updated:** [6 February 2021 16:43 UTC](https://discourse.nodered.org/t/shutdown-computer-with-node-red/40468 "2021-02-06T16:43:46Z")

</div>

Hi there, I am desperately trying to use Node-Red to shutdown or restart my Debian system. Was trying to use the exec node with the command: sudo shutdown now And even though I used sudo visudo to add the permission t…

---

## [STM32CubeMonitor](https://discourse.nodered.org/t/stm32cubemonitor/40493)

<div class="topic-metadata">

**Author:** [@iiLaw](https://discourse.nodered.org/u/iiLaw)\
**Replies:** 1\
**Last updated:** [6 February 2021 16:43 UTC](https://discourse.nodered.org/t/stm32cubemonitor/40493 "2021-02-06T16:43:33Z")

</div>

STM32CubeMonitor node-red as a mcu debugger ??? https://www.st.com/en/development-tools/stm32cubemonitor.html

---

## [Question about Function Node and Topic syntax](https://discourse.nodered.org/t/question-about-function-node-and-topic-syntax/40274)

<div class="topic-metadata">

**Author:** [@Trinican](https://discourse.nodered.org/u/Trinican)\
**Replies:** 13\
**Last updated:** [6 February 2021 16:24 UTC](https://discourse.nodered.org/t/question-about-function-node-and-topic-syntax/40274 "2021-02-06T16:24:15Z")

</div>

This is my first post on this forum and I am very new to Node Red. It seems very exciting and I have already developed a very nice home automation application which has encouraged me to explore and develop more complex …

---

## [Node-red with Zwave](https://discourse.nodered.org/t/node-red-with-zwave/40497)

<div class="topic-metadata">

**Author:** [@bruinsmm](https://discourse.nodered.org/u/bruinsmm)\
**Replies:** 0\
**Last updated:** [6 February 2021 14:48 UTC](https://discourse.nodered.org/t/node-red-with-zwave/40497 "2021-02-06T14:48:31Z")

</div>

I'm running Node-Red on Raspberry Pi with the 'Aeotec Z-Stick gen 5 ' USB stick. I have installed the following node: https://flows.nodered.org/node/node-red-contrib-zwave-js Who can help me with the setup with these …

---

## [Simple Blockchain](https://discourse.nodered.org/t/simple-blockchain/40458)

<div class="topic-metadata">

**Author:** [@thejollypop](https://discourse.nodered.org/u/thejollypop)\
**Replies:** 3\
**Last updated:** [6 February 2021 14:00 UTC](https://discourse.nodered.org/t/simple-blockchain/40458 "2021-02-06T14:00:50Z")

</div>

Hi all, I've built the following simple blockchain: \[{"id":"458ccfaf.f3e23","type":"inject","z":"553ed51c.af9a8c","name":"","props":\[{"p":"payload"},{"p":"topic","vt":"str"}\],"repeat":"","crontab":"","once":false,"on…

---

## [Sort Json Object variables using a function](https://discourse.nodered.org/t/sort-json-object-variables-using-a-function/12745)

<div class="topic-metadata">

**Author:** [@luisgcu](https://discourse.nodered.org/u/luisgcu)\
**Replies:** 12\
**Last updated:** [6 February 2021 13:55 UTC](https://discourse.nodered.org/t/sort-json-object-variables-using-a-function/12745 "2021-02-06T13:55:44Z")

</div>

Hello guys, I want to use a function node with several outputs to sort each variables contained in the object. Still Can't get it to work. any help appreciated. {"topic":"/v1.6/devices/MB10","payload":{"MB10":{"val…

---

## [Just my PC? Issue when scrolling list of JSONata functions in change node](https://discourse.nodered.org/t/just-my-pc-issue-when-scrolling-list-of-jsonata-functions-in-change-node/40492)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 0\
**Last updated:** [6 February 2021 13:54 UTC](https://discourse.nodered.org/t/just-my-pc-issue-when-scrolling-list-of-jsonata-functions-in-change-node/40492 "2021-02-06T13:54:33Z")

</div>

Not sure whether this is just my PC/browser playing up or whether others are also seeing it? In a change node set to use JSONata, in the JSONata editor panel, clicking to expand the list of JSONata functions and then tr…

---

## [RAW Command via TCP](https://discourse.nodered.org/t/raw-command-via-tcp/40489)

<div class="topic-metadata">

**Author:** [@martinschki](https://discourse.nodered.org/u/martinschki)\
**Replies:** 1\
**Last updated:** [6 February 2021 13:48 UTC](https://discourse.nodered.org/t/raw-command-via-tcp/40489 "2021-02-06T13:48:59Z")

</div>

Hi All, I need to send RAW commands via TCP to a device. The example would be: socat stdio tcp:192.168.1.1:22 and then the command ended by CRLF using the function msg.payload = "GetCommand 1234\\r\\n" doesn't work. …

---

## [Sort Json text and save in firebase](https://discourse.nodered.org/t/sort-json-text-and-save-in-firebase/40487)

<div class="topic-metadata">

**Author:** [@funhall](https://discourse.nodered.org/u/funhall)\
**Replies:** 1\
**Last updated:** [6 February 2021 13:42 UTC](https://discourse.nodered.org/t/sort-json-text-and-save-in-firebase/40487 "2021-02-06T13:42:11Z")

</div>

I have a problem I need help to. I get this Json from an API and I like to sort it and save it in fire base. But I cant figure out how to make the function code(template). Can someone please help me out here. I need …

---

## [Dashboard is blank](https://discourse.nodered.org/t/dashboard-is-blank/39530)

<div class="topic-metadata">

**Author:** [@oxedgar](https://discourse.nodered.org/u/oxedgar)\
**Replies:** 7\
**Last updated:** [6 February 2021 13:33 UTC](https://discourse.nodered.org/t/dashboard-is-blank/39530 "2021-02-06T13:33:33Z")

</div>

Hello, Any Body can help me? My dashboard is all withe! I dont have any contens inside and i dont know why! I cannot find any problems on logs! Started Node-RED graphical event wiring tool. 22 Jan 06:28:16 - \[info\] …

---

## [Help with file reading and message formatting](https://discourse.nodered.org/t/help-with-file-reading-and-message-formatting/40467)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [6 February 2021 10:45 UTC](https://discourse.nodered.org/t/help-with-file-reading-and-message-formatting/40467 "2021-02-06T10:45:31Z")

</div>

I have files which are created every time the machine is booted. With fs-ops node/s I get a list of said files: \["Powered on at 2021-02-01 212108.db","Powered on at 2021-02-02 073139.db","Powered on at 2021-02-02 11460…

---

## [\`ping\` node story. Weird happenings](https://discourse.nodered.org/t/ping-node-story-weird-happenings/39983)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 19\
**Last updated:** [2 February 2021 00:58 UTC](https://discourse.nodered.org/t/ping-node-story-weird-happenings/39983 "2021-02-02T00:58:53Z")

</div>

Ok, I recently posted about the advanced-ping node because the original ping node didn't support a list being sent. (Or something like that.) I went through and modified the existing flows to use the standard ping node…

---

## [Multiple Values to InfluxDB](https://discourse.nodered.org/t/multiple-values-to-influxdb/40439)

<div class="topic-metadata">

**Author:** [@swanside](https://discourse.nodered.org/u/swanside)\
**Replies:** 9\
**Last updated:** [6 February 2021 10:01 UTC](https://discourse.nodered.org/t/multiple-values-to-influxdb/40439 "2021-02-06T10:01:26Z")

</div>

Hi, I am trying to send multiple values from a modbus device to InfluxDB. I can see the Ambient Temperature within Grafana, but i cant pick up the Battery SOC

[Previous page](https://discourse.nodered.org/latest.md?page=890)

[Next page](https://discourse.nodered.org/latest.md?page=892)
