# General

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

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

**Page:** 465

---

## [Worldmap Default Time to Live](https://discourse.nodered.org/t/worldmap-default-time-to-live/54050)

<div class="topic-metadata">

**Author:** [@aa0z](https://discourse.nodered.org/u/aa0z)\
**Replies:** 1\
**Last updated:** [21 November 2021 08:04 UTC](https://discourse.nodered.org/t/worldmap-default-time-to-live/54050 "2021-11-21T08:04:28Z")

</div>

Can't find this in the documentation. What is the default TTL for placing icons on the Worldmap node? I see where you can override the default, but don't see where the default is defined.

---

## [Watson assistant integration \[msg.params.session\_id\]](https://discourse.nodered.org/t/watson-assistant-integration-msg-params-session-id/53573)

<div class="topic-metadata">

**Author:** [@wjr1506](https://discourse.nodered.org/u/wjr1506)\
**Replies:** 1\
**Last updated:** [21 November 2021 00:24 UTC](https://discourse.nodered.org/t/watson-assistant-integration-msg-params-session-id/53573 "2021-11-21T00:24:00Z")

</div>

I'm integrating watson into the telegram. I've done the entire process of flows, functions etc. However, I have a session problem. in the watson v2 node it shows this parameter of multiple sessions, but I'm not able to …

---

## [Remove space string node red](https://discourse.nodered.org/t/remove-space-string-node-red/54042)

<div class="topic-metadata">

**Author:** [@Eucliwood090](https://discourse.nodered.org/u/Eucliwood090)\
**Replies:** 3\
**Last updated:** [20 November 2021 22:01 UTC](https://discourse.nodered.org/t/remove-space-string-node-red/54042 "2021-11-20T22:01:38Z")

</div>

Hello, I receive a payload a string, I have arrows I can't format the code in JSON I tried with that msg.payload = msg.payload.replace(/\\n/g," "); return msg; it does not work

---

## [Node-red-node-mysql 0.3.0 is causing a memory leak](https://discourse.nodered.org/t/node-red-node-mysql-0-3-0-is-causing-a-memory-leak/53999)

<div class="topic-metadata">

**Author:** [@ls819011](https://discourse.nodered.org/u/ls819011)\
**Replies:** 16\
**Last updated:** [20 November 2021 20:13 UTC](https://discourse.nodered.org/t/node-red-node-mysql-0-3-0-is-causing-a-memory-leak/53999 "2021-11-20T20:13:09Z")

</div>

Hi, I've noticed that sometimes my Node-RED application crashes. Looking through system log I found that it crashes with out-of-memory error: Nov 17 21:30:15 ubuntu-nuc Node-RED\[644\]: \<--- Last few GCs ---\> Nov 17 21:3…

---

## [Allocate ID or a leading number to csv import](https://discourse.nodered.org/t/allocate-id-or-a-leading-number-to-csv-import/54039)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 5\
**Last updated:** [20 November 2021 21:31 UTC](https://discourse.nodered.org/t/allocate-id-or-a-leading-number-to-csv-import/54039 "2021-11-20T21:31:57Z")

</div>

Hello! I have a CSV file with about 1000 rows and 2 columns. col1 col2 Is it possible that each line is given an ID or a leading number when importing. Example. Line 1: col1 col2 1 Line 2: col1 col2 2 Line 3: col1…

---

## [Cannot access node-red via zerotier from PC](https://discourse.nodered.org/t/cannot-access-node-red-via-zerotier-from-pc/54025)

<div class="topic-metadata">

**Author:** [@thanakhanp](https://discourse.nodered.org/u/thanakhanp)\
**Replies:** 1\
**Last updated:** [20 November 2021 21:28 UTC](https://discourse.nodered.org/t/cannot-access-node-red-via-zerotier-from-pc/54025 "2021-11-20T21:28:11Z")

</div>

I cannot access node-red :1880 via PC and cannot ping from both side. I have tried use some cloud VM instance log in through ssh to device that install node-red. It can login and can ping to 8.8.8.8 and ping back to VM …

---

## [Office 365 send mail smtp](https://discourse.nodered.org/t/office-365-send-mail-smtp/54019)

<div class="topic-metadata">

**Author:** [@lexeyfan](https://discourse.nodered.org/u/lexeyfan)\
**Replies:** 6\
**Last updated:** [20 November 2021 14:34 UTC](https://discourse.nodered.org/t/office-365-send-mail-smtp/54019 "2021-11-20T14:34:36Z")

</div>

i need help, I have an office 365 account in I am using contrib-email-out, settings: Server: smtp.office365.com Port: 587 tls -true I get the error Error: 140639452903296: error: 1408F10B: SSL routines: ssl3\_get\_rec…

---

## [Need help with loading Node-RED without backend](https://discourse.nodered.org/t/need-help-with-loading-node-red-without-backend/52183)

<div class="topic-metadata">

**Author:** [@mdkrieg](https://discourse.nodered.org/u/mdkrieg)\
**Replies:** 6\
**Last updated:** [20 November 2021 10:50 UTC](https://discourse.nodered.org/t/need-help-with-loading-node-red-without-backend/52183 "2021-11-20T10:50:49Z")

</div>

Hello, So I've gotten this far: (edit updated link to working version) https://mdkrieg.github.io/ReQUI/ Above GH page gets past the inital loading sequence; and for the most part the page looks good but very few of the…

---

## [Using a for loop for dynamic objects](https://discourse.nodered.org/t/using-a-for-loop-for-dynamic-objects/53439)

<div class="topic-metadata">

**Author:** [@SumeetBulani](https://discourse.nodered.org/u/SumeetBulani)\
**Replies:** 13\
**Last updated:** [19 November 2021 21:28 UTC](https://discourse.nodered.org/t/using-a-for-loop-for-dynamic-objects/53439 "2021-11-19T21:28:19Z")

</div>

Hello community, I have a msg.payload with multiple objects. I want to create a for loop in a function node to be able to run through all the objects one by one and append a property that is common to all the objects. I…

---

## [Why did no-one mention shift-click on a node to select all connected nodes](https://discourse.nodered.org/t/why-did-no-one-mention-shift-click-on-a-node-to-select-all-connected-nodes/53981)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 5\
**Last updated:** [19 November 2021 21:26 UTC](https://discourse.nodered.org/t/why-did-no-one-mention-shift-click-on-a-node-to-select-all-connected-nodes/53981 "2021-11-19T21:26:34Z")

</div>

.. oh wait - they did.. but buried it beyond my attention span :slight\_smile: I don't know what I'm going to do with all the time I'm going to save from now on! :slight\_smile:

---

## [Http request debug payload is truncated](https://discourse.nodered.org/t/http-request-debug-payload-is-truncated/54008)

<div class="topic-metadata">

**Author:** [@hobbes1069](https://discourse.nodered.org/u/hobbes1069)\
**Replies:** 4\
**Last updated:** [19 November 2021 20:17 UTC](https://discourse.nodered.org/t/http-request-debug-payload-is-truncated/54008 "2021-11-19T20:17:46Z")

</div>

I'm trying to compare the payload size between a xml and json payload. I have a HTTP request node polling an MTConnect adapter once per second. When I connect a debug node to the http request node, I do not get the full…

---

## [In dockerfile.alpine.sh, build-arg TAG\_SUFFIX=minimal is not working](https://discourse.nodered.org/t/in-dockerfile-alpine-sh-build-arg-tag-suffix-minimal-is-not-working/53972)

<div class="topic-metadata">

**Author:** [@alfort57](https://discourse.nodered.org/u/alfort57)\
**Replies:** 6\
**Last updated:** [19 November 2021 18:59 UTC](https://discourse.nodered.org/t/in-dockerfile-alpine-sh-build-arg-tag-suffix-minimal-is-not-working/53972 "2021-11-19T18:59:46Z")

</div>

resulting images always include devtools. Hardware: Raspberry PI 4 with 8Gb Ram OS: PI OS Bullseye Full distribution Docker standard image : 2.1.3 is running OK Docker Custom Git freshly clone. using docker.alpine.s…

---

## [Node-red-contrib-google-cloud pubsub -- using topics from different project](https://discourse.nodered.org/t/node-red-contrib-google-cloud-pubsub-using-topics-from-different-project/54007)

<div class="topic-metadata">

**Author:** [@zachsitka](https://discourse.nodered.org/u/zachsitka)\
**Replies:** 0\
**Last updated:** [19 November 2021 16:47 UTC](https://discourse.nodered.org/t/node-red-contrib-google-cloud-pubsub-using-topics-from-different-project/54007 "2021-11-19T16:47:44Z")

</div>

We are using a node-red server in a different google cloud project than much of our other services. I would like to have some of our node red processes consume pubsub messages from a topic in one of those other projects.…

---

## [HTML parse node issue](https://discourse.nodered.org/t/html-parse-node-issue/53987)

<div class="topic-metadata">

**Author:** [@esalles](https://discourse.nodered.org/u/esalles)\
**Replies:** 6\
**Last updated:** [19 November 2021 16:38 UTC](https://discourse.nodered.org/t/html-parse-node-issue/53987 "2021-11-19T16:38:10Z")

</div>

Hi Guys, I've discovered a behavior difference of HTML parsing node according to Node-Red version (and maybe node.js version ??). The following flow is just a "foo" string in msg.palyoad that shall be parsed in msg.pay…

---

## [Sum different values depending on time?](https://discourse.nodered.org/t/sum-different-values-depending-on-time/53957)

<div class="topic-metadata">

**Author:** [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Replies:** 3\
**Last updated:** [19 November 2021 16:24 UTC](https://discourse.nodered.org/t/sum-different-values-depending-on-time/53957 "2021-11-19T16:24:14Z")

</div>

I have a value which varies every hour. I get that one from a reading, but I need to sum this value with a solid number between 06.00 and 23.00 (last input at 22.00) and with another one between 23.00 and 06.00 (Last inp…

---

## [How to sample a payload](https://discourse.nodered.org/t/how-to-sample-a-payload/53929)

<div class="topic-metadata">

**Author:** [@andregilles](https://discourse.nodered.org/u/andregilles)\
**Replies:** 3\
**Last updated:** [19 November 2021 14:57 UTC](https://discourse.nodered.org/t/how-to-sample-a-payload/53929 "2021-11-19T14:57:36Z")

</div>

Hello ! I created a graph with a signal updated every second but over a day I saturate my dashboard .. how to write a function that would output a point every 5 minutes for example? Thanks for help

---

## [Where are the node red projects stored?](https://discourse.nodered.org/t/where-are-the-node-red-projects-stored/53997)

<div class="topic-metadata">

**Author:** [@traderjoe](https://discourse.nodered.org/u/traderjoe)\
**Replies:** 5\
**Last updated:** [19 November 2021 14:44 UTC](https://discourse.nodered.org/t/where-are-the-node-red-projects-stored/53997 "2021-11-19T14:44:03Z")

</div>

Is there a file location where the NR projects are stored? I want to copy it and save as a backup. I messed up my Pi before backing it up. I'm unable to network into it. So now I have to hookup the SD card to my PC, …

---

## [Alive tjek of all IoT devices](https://discourse.nodered.org/t/alive-tjek-of-all-iot-devices/53983)

<div class="topic-metadata">

**Author:** [@rothestar](https://discourse.nodered.org/u/rothestar)\
**Replies:** 5\
**Last updated:** [19 November 2021 12:13 UTC](https://discourse.nodered.org/t/alive-tjek-of-all-iot-devices/53983 "2021-11-19T12:13:06Z")

</div>

Ok im stuck again. I am trying to see if all of our IoT devices are alive by pinging them and send the result to grafana.. as of now we have 30 units for testing purposes and et may expand to 200+ units.. so i would lik…

---

## [Node.red Solcast 404](https://discourse.nodered.org/t/node-red-solcast-404/53989)

<div class="topic-metadata">

**Author:** [@Laser](https://discourse.nodered.org/u/Laser)\
**Replies:** 1\
**Last updated:** [19 November 2021 11:41 UTC](https://discourse.nodered.org/t/node-red-solcast-404/53989 "2021-11-19T11:41:21Z")

</div>

Hello, I will try the nodes of this Link: Get and Post to Solcast api (flow) - Node-RED But after i will in my API-Key and ID i will get the Error 404. Can i get Dome Help?

---

## [Kodi player - get real time player position](https://discourse.nodered.org/t/kodi-player-get-real-time-player-position/53993)

<div class="topic-metadata">

**Author:** [@flankoBlanko](https://discourse.nodered.org/u/flankoBlanko)\
**Replies:** 0\
**Last updated:** [19 November 2021 11:30 UTC](https://discourse.nodered.org/t/kodi-player-get-real-time-player-position/53993 "2021-11-19T11:30:59Z")

</div>

Hi, i'm trying to get a node red to recognize when the movie player in Kodi get over the half time. Right now i'm able to get this value only when status of player changes. Is there a way you can think of to get the cu…

---

## [Node-red-contrib-ui-svg execute js from message](https://discourse.nodered.org/t/node-red-contrib-ui-svg-execute-js-from-message/52502)

<div class="topic-metadata">

**Author:** [@samuelbras](https://discourse.nodered.org/u/samuelbras)\
**Replies:** 22\
**Last updated:** [19 November 2021 11:22 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-svg-execute-js-from-message/52502 "2021-11-19T11:22:41Z")

</div>

Hi @BartButenaers!! How can i click the button by message input? I need to execute a js function by input message. I thought I'd add a hidden button and click it by message. How can i make this feature? Best Regards …

---

## [Set item node for localstorage](https://discourse.nodered.org/t/set-item-node-for-localstorage/53979)

<div class="topic-metadata">

**Author:** [@mahesh](https://discourse.nodered.org/u/mahesh)\
**Replies:** 7\
**Last updated:** [19 November 2021 10:44 UTC](https://discourse.nodered.org/t/set-item-node-for-localstorage/53979 "2021-11-19T10:44:00Z")

</div>

I'm using set item node to store value in local storage. When I check local storage value is not store there. Any one used this node please help me.

---

## [Avoid concatenation of arrays in Jsonata](https://discourse.nodered.org/t/avoid-concatenation-of-arrays-in-jsonata/53980)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 2\
**Last updated:** [19 November 2021 09:36 UTC](https://discourse.nodered.org/t/avoid-concatenation-of-arrays-in-jsonata/53980 "2021-11-19T09:36:04Z")

</div>

Hi folks, I started using Jsonata today, but already struggling with arrays. This is my input: { "payload": \[ {"someArray": \[1,2,3\]}, {"someArray": \[4,5,6\]}, {"someArray": \[7,8,9\]} \] } When I …

---

## [How to optimize a circuit with motion sensor and light timer](https://discourse.nodered.org/t/how-to-optimize-a-circuit-with-motion-sensor-and-light-timer/53961)

<div class="topic-metadata">

**Author:** [@Cavekeeper](https://discourse.nodered.org/u/Cavekeeper)\
**Replies:** 1\
**Last updated:** [19 November 2021 08:45 UTC](https://discourse.nodered.org/t/how-to-optimize-a-circuit-with-motion-sensor-and-light-timer/53961 "2021-11-19T08:45:34Z")

</div>

I have a circuit to switch 3 light groups with a motion detector. Each lighting group has a timer to switch off again after a defined time. The special thing is, that the timer only switches off the lighting group, that …

---

## [High throughput examples (for arguing for the platform)](https://discourse.nodered.org/t/high-throughput-examples-for-arguing-for-the-platform/53651)

<div class="topic-metadata">

**Author:** [@werkstrom](https://discourse.nodered.org/u/werkstrom)\
**Replies:** 31\
**Last updated:** [19 November 2021 07:18 UTC](https://discourse.nodered.org/t/high-throughput-examples-for-arguing-for-the-platform/53651 "2021-11-19T07:18:34Z")

</div>

Hi, Does anyone have examples, use cases where NodeRED is handling alot of transactions/messages. I just need it for "ammunition" as conceptual proof the platform can handle a higher load. I fully understand there is a …

---

## [Monaco editor for muggles](https://discourse.nodered.org/t/monaco-editor-for-muggles/53947)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [19 November 2021 06:56 UTC](https://discourse.nodered.org/t/monaco-editor-for-muggles/53947 "2021-11-19T06:56:16Z")

</div>

Is there any advantage to us muggles using the Monaco editor or is it just for JS wizards?

---

## [\`msg.payload.split\` is not a function. Help](https://discourse.nodered.org/t/msg-payload-split-is-not-a-function-help/53974)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [19 November 2021 05:52 UTC](https://discourse.nodered.org/t/msg-payload-split-is-not-a-function-help/53974 "2021-11-19T05:52:33Z")

</div>

I am seeing this error: {"message":"TypeError: msg.payload.split is not a function","source":{"id":"3445206e.094b08","type":"function","name":"ADD values","count":1}} Ok.... Just before this node is a change node: \[{…

---

## [OSC Error: Can't infer OSC argument type](https://discourse.nodered.org/t/osc-error-cant-infer-osc-argument-type/53898)

<div class="topic-metadata">

**Author:** [@warddem](https://discourse.nodered.org/u/warddem)\
**Replies:** 9\
**Last updated:** [19 November 2021 05:45 UTC](https://discourse.nodered.org/t/osc-error-cant-infer-osc-argument-type/53898 "2021-11-19T05:45:10Z")

</div>

I'm trying to parse a JSON and send it via OSC but get the error below. Do I need to format my data in another way to send it via osc? Error: Can't infer OSC argument type for value: { "symbol": "POWRUSDT", "price":…

---

## [Expanding/Randomizing Output of Template Node](https://discourse.nodered.org/t/expanding-randomizing-output-of-template-node/53940)

<div class="topic-metadata">

**Author:** [@rlongfield](https://discourse.nodered.org/u/rlongfield)\
**Replies:** 2\
**Last updated:** [19 November 2021 03:59 UTC](https://discourse.nodered.org/t/expanding-randomizing-output-of-template-node/53940 "2021-11-19T03:59:53Z")

</div>

I don't know enough to know if this is possible and I'm not even sure how to even start looking into this, so I'm hoping someone can send me in the right direction. With some amazing help I've been able to create a few …

---

## [How to add topic in received payload array](https://discourse.nodered.org/t/how-to-add-topic-in-received-payload-array/53927)

<div class="topic-metadata">

**Author:** [@TROJAN053](https://discourse.nodered.org/u/TROJAN053)\
**Replies:** 18\
**Last updated:** [19 November 2021 02:47 UTC](https://discourse.nodered.org/t/how-to-add-topic-in-received-payload-array/53927 "2021-11-19T02:47:32Z")

</div>

Hello, I am receiving an array of 16, with values. I wanted to replace 0 ,1... with some topic name with values received and return in the same array format. How could I, please help.

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

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