# General

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

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

**Page:** 608

---

## [Contrib Node update warning/notification](https://discourse.nodered.org/t/contrib-node-update-warning-notification/40565)

<div class="topic-metadata">

**Author:** [@denisjoshua](https://discourse.nodered.org/u/denisjoshua)\
**Replies:** 4\
**Last updated:** [8 February 2021 13:02 UTC](https://discourse.nodered.org/t/contrib-node-update-warning-notification/40565 "2021-02-08T13:02:00Z")

</div>

Hi there all, I use Node-Red installed inside Hass OS and I like a lot to use it. I have a node-red-contrib-tesla node installed, that I use in order to send charge start/stop for my Tesla car, but this days it was so…

---

## [Can you change node properties and save it in the flow.json file with the runtime API?](https://discourse.nodered.org/t/can-you-change-node-properties-and-save-it-in-the-flow-json-file-with-the-runtime-api/40606)

<div class="topic-metadata">

**Author:** [@Norberg95](https://discourse.nodered.org/u/Norberg95)\
**Replies:** 0\
**Last updated:** [8 February 2021 12:43 UTC](https://discourse.nodered.org/t/can-you-change-node-properties-and-save-it-in-the-flow-json-file-with-the-runtime-api/40606 "2021-02-08T12:43:54Z")

</div>

I would like to change some node properties and save it in the flow.json with the runtime API, similar to when I change the properties in the editor and click the deploy button. Is it possible?

---

## [Mqtt communication RPi and Wemos D1](https://discourse.nodered.org/t/mqtt-communication-rpi-and-wemos-d1/39020)

<div class="topic-metadata">

**Author:** [@nick](https://discourse.nodered.org/u/nick)\
**Replies:** 16\
**Last updated:** [8 February 2021 12:41 UTC](https://discourse.nodered.org/t/mqtt-communication-rpi-and-wemos-d1/39020 "2021-02-08T12:41:53Z")

</div>

Hi, I am not that experience with Mqtt but i did manage to set up communication between my raspberry and a Wemos D1. i have a raspberry pi 3b that communicates with a Wemos D1 by mqtt. the communication works but is v…

---

## [Loop jpg files in sub-folder](https://discourse.nodered.org/t/loop-jpg-files-in-sub-folder/40597)

<div class="topic-metadata">

**Author:** [@anguslou](https://discourse.nodered.org/u/anguslou)\
**Replies:** 4\
**Last updated:** [8 February 2021 10:56 UTC](https://discourse.nodered.org/t/loop-jpg-files-in-sub-folder/40597 "2021-02-08T10:56:36Z")

</div>

I have many jpg files and some txt file in 100 sub-folders. How to select one jpg file at a time and loop through all the sub-folder for all jpg files but not other file type?

---

## [Send Csv file to telegram bot](https://discourse.nodered.org/t/send-csv-file-to-telegram-bot/38276)

<div class="topic-metadata">

**Author:** [@Maruthi](https://discourse.nodered.org/u/Maruthi)\
**Replies:** 11\
**Last updated:** [8 February 2021 09:28 UTC](https://discourse.nodered.org/t/send-csv-file-to-telegram-bot/38276 "2021-02-08T09:28:16Z")

</div>

Hi I'm saving the sensor data to csv file and I want to send the saved csv file to telegram bot I'm getting unsupported buffer file type when i send it as document type

---

## [Worldmap fullscreen](https://discourse.nodered.org/t/worldmap-fullscreen/40484)

<div class="topic-metadata">

**Author:** [@Indolec](https://discourse.nodered.org/u/Indolec)\
**Replies:** 3\
**Last updated:** [8 February 2021 07:48 UTC](https://discourse.nodered.org/t/worldmap-fullscreen/40484 "2021-02-08T07:48:36Z")

</div>

I have worldmap opened in chrome on a touchscreen, to show GPS positions. Works perfectly. Does anyone have any idea how to force fullscreen ? I don't want users to be able to browse to an other webpage or close chrome…

---

## [Temp & Humidity value problem](https://discourse.nodered.org/t/temp-humidity-value-problem/40586)

<div class="topic-metadata">

**Author:** [@gary188](https://discourse.nodered.org/u/gary188)\
**Replies:** 2\
**Last updated:** [7 February 2021 23:40 UTC](https://discourse.nodered.org/t/temp-humidity-value-problem/40586 "2021-02-07T23:40:52Z")

</div>

I'm pretty new to node red however I've managed to get a few flows working but I'm stumped with this particular problem. Basically I've got two nodes from a DHT11 sensor, one for humidity and the other for temp, I need …

---

## [.toISOstring() is not a function](https://discourse.nodered.org/t/toisostring-is-not-a-function/40587)

<div class="topic-metadata">

**Author:** [@jerbzz](https://discourse.nodered.org/u/jerbzz)\
**Replies:** 2\
**Last updated:** [7 February 2021 23:40 UTC](https://discourse.nodered.org/t/toisostring-is-not-a-function/40587 "2021-02-07T23:40:41Z")

</div>

Hi team, I'm making a function node: var newmsg = { payload: { results: \[\] } }; var duration = 0; var numslots = 0; var newslots = 0; for (let i = 0; i \< msg.payload.results.length; i++ ) { duration = Date.parse(…

---

## [Ui-table for one id multi columns](https://discourse.nodered.org/t/ui-table-for-one-id-multi-columns/40580)

<div class="topic-metadata">

**Author:** [@torrent](https://discourse.nodered.org/u/torrent)\
**Replies:** 6\
**Last updated:** [7 February 2021 23:04 UTC](https://discourse.nodered.org/t/ui-table-for-one-id-multi-columns/40580 "2021-02-07T23:04:02Z")

</div>

I want to create a table like this following one and using this ui-table https://flows.nodered.org/node/node-red-node-ui-table. My JSON Data looks like this: \[ {"ID":"02","Username":"anhtu","Email":"abcde@gmail.com"…

---

## [Best practice for conditional trigger](https://discourse.nodered.org/t/best-practice-for-conditional-trigger/40575)

<div class="topic-metadata">

**Author:** [@casaben](https://discourse.nodered.org/u/casaben)\
**Replies:** 2\
**Last updated:** [7 February 2021 22:41 UTC](https://discourse.nodered.org/t/best-practice-for-conditional-trigger/40575 "2021-02-07T22:41:25Z")

</div>

New to Node-Red, not to programming. I am using Openhab and Loxone and thought to put my rule logic here. So I learned you cannot have multiple inputs it seems. I wonder what the best practice is for implementing a ve…

---

## [Flow-based frontend editor](https://discourse.nodered.org/t/flow-based-frontend-editor/40581)

<div class="topic-metadata">

**Author:** [@shnydercom](https://discourse.nodered.org/u/shnydercom)\
**Replies:** 0\
**Last updated:** [7 February 2021 22:04 UTC](https://discourse.nodered.org/t/flow-based-frontend-editor/40581 "2021-02-07T22:04:13Z")

</div>

I've only recently discovered node-red, but it's great to see such a vibrant and helpful community! For creating your frontends (or little Apps), would you like to be able to do flow-based programming as well, or do you…

---

## [Is it possible to run Flows while others have missing node types?](https://discourse.nodered.org/t/is-it-possible-to-run-flows-while-others-have-missing-node-types/40549)

<div class="topic-metadata">

**Author:** [@solarjoe](https://discourse.nodered.org/u/solarjoe)\
**Replies:** 8\
**Last updated:** [7 February 2021 21:46 UTC](https://discourse.nodered.org/t/is-it-possible-to-run-flows-while-others-have-missing-node-types/40549 "2021-02-07T21:46:05Z")

</div>

Hello, sometimes I get the message "Flows stopped due to missing node types" when copy-pasting flows I found online and the modules are not yet installed. Is it an intended behaviour that all of the flows are not runn…

---

## [Send switch Node value as telegram message too](https://discourse.nodered.org/t/send-switch-node-value-as-telegram-message-too/40546)

<div class="topic-metadata">

**Author:** [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Replies:** 1\
**Last updated:** [7 February 2021 21:08 UTC](https://discourse.nodered.org/t/send-switch-node-value-as-telegram-message-too/40546 "2021-02-07T21:08:43Z")

</div>

Hello i have got a switchNode if the value is over a amount the functionNode will crate a text and a Telegram is send. would it be possible to add the switch value limit, to send it with the telegram? hava a nice day …

---

## [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) =\> …

---

## [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…

---

## [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…

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

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