# General

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

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

**Page:** 358

---

## [Wait for payload to finish flow before passing another payload](https://discourse.nodered.org/t/wait-for-payload-to-finish-flow-before-passing-another-payload/64171)

<div class="topic-metadata">

**Author:** [@milner236](https://discourse.nodered.org/u/milner236)\
**Replies:** 42\
**Last updated:** [29 June 2022 19:32 UTC](https://discourse.nodered.org/t/wait-for-payload-to-finish-flow-before-passing-another-payload/64171 "2022-06-29T19:32:59Z")

</div>

Hello all! I would kindly appreciate any help or advice. I have a flow that takes a payload from an excel file and splits the payload. The number of new payloads that are created are dynamic and is not a static number…

---

## [Converter string para número decimal](https://discourse.nodered.org/t/converter-string-para-numero-decimal/64512)

<div class="topic-metadata">

**Author:** [@weatecnologia](https://discourse.nodered.org/u/weatecnologia)\
**Replies:** 1\
**Last updated:** [29 June 2022 19:19 UTC](https://discourse.nodered.org/t/converter-string-para-numero-decimal/64512 "2022-06-29T19:19:38Z")

</div>

Estou tentando converter essa string em número decimal. Alguém pode dar uma ajuda? Exemplo: “5.596” para 5.596

---

## [Mostrar apenas o valor da variável](https://discourse.nodered.org/t/mostrar-apenas-o-valor-da-variavel/64504)

<div class="topic-metadata">

**Author:** [@weatecnologia](https://discourse.nodered.org/u/weatecnologia)\
**Replies:** 3\
**Last updated:** [29 June 2022 18:29 UTC](https://discourse.nodered.org/t/mostrar-apenas-o-valor-da-variavel/64504 "2022-06-29T18:29:43Z")

</div>

Prezados, Sou novo por aqui. Preciso de ajuda. Quero mostrar só o valor da variável nesse caso. Como devo proceder?

---

## [Dynamically select msg.payload key element](https://discourse.nodered.org/t/dynamically-select-msg-payload-key-element/64483)

<div class="topic-metadata">

**Author:** [@hameljc](https://discourse.nodered.org/u/hameljc)\
**Replies:** 5\
**Last updated:** [29 June 2022 18:16 UTC](https://discourse.nodered.org/t/dynamically-select-msg-payload-key-element/64483 "2022-06-29T18:16:39Z")

</div>

I have looked around but found nothing that answer my situation. I want to setup a global variable. The value of the variable will come from the msg.payload BUT, the element name (key) will be dynamically build like so: …

---

## [Amazon Polly SSML](https://discourse.nodered.org/t/amazon-polly-ssml/64506)

<div class="topic-metadata">

**Author:** [@donniev](https://discourse.nodered.org/u/donniev)\
**Replies:** 0\
**Last updated:** [29 June 2022 16:19 UTC](https://discourse.nodered.org/t/amazon-polly-ssml/64506 "2022-06-29T16:19:04Z")

</div>

I have had Amazon Polly working using regular text for a long time. I am now trying to use ssml and having only bad luck. It works fine in Home Assistant but not from node-red. the simplest call with a message of foo wo…

---

## [Max\_user\_connections error in node-red-node-mysql](https://discourse.nodered.org/t/max-user-connections-error-in-node-red-node-mysql/64502)

<div class="topic-metadata">

**Author:** [@7dhrumil](https://discourse.nodered.org/u/7dhrumil)\
**Replies:** 0\
**Last updated:** [29 June 2022 12:57 UTC](https://discourse.nodered.org/t/max-user-connections-error-in-node-red-node-mysql/64502 "2022-06-29T12:57:19Z")

</div>

Does anyone have any idea what can be the cause for the following error and what needs to do in order to solve that? I am getting the following error when I host my Node-Red API on the IBM server using the node-red-node…

---

## [BigTimer node question - Sunset message confusion](https://discourse.nodered.org/t/bigtimer-node-question-sunset-message-confusion/64448)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 8\
**Last updated:** [29 June 2022 11:19 UTC](https://discourse.nodered.org/t/bigtimer-node-question-sunset-message-confusion/64448 "2022-06-29T11:19:29Z")

</div>

I am using the BigTimer node and have noticed something of interest (to me). Back story. Daily at sunset I get a message indicating sunset. After a delay my clock notifies me. Ok, that time is not specifically SUNSE…

---

## [Mqtt reestablishes always new sessions](https://discourse.nodered.org/t/mqtt-reestablishes-always-new-sessions/64484)

<div class="topic-metadata">

**Author:** [@mickym2](https://discourse.nodered.org/u/mickym2)\
**Replies:** 9\
**Last updated:** [29 June 2022 08:57 UTC](https://discourse.nodered.org/t/mqtt-reestablishes-always-new-sessions/64484 "2022-06-29T08:57:51Z")

</div>

I am using mosquitto - I have two NodeRed instance on the same machine, one works fine and one which always reconnects. I am using differen mqtt-client IDs, but I get always the following ping pong - the message came thr…

---

## [How to increase the Echo volume gradually?](https://discourse.nodered.org/t/how-to-increase-the-echo-volume-gradually/64174)

<div class="topic-metadata">

**Author:** [@CAL37](https://discourse.nodered.org/u/CAL37)\
**Replies:** 8\
**Last updated:** [28 June 2022 22:09 UTC](https://discourse.nodered.org/t/how-to-increase-the-echo-volume-gradually/64174 "2022-06-28T22:09:00Z")

</div>

I am creating a alarm for my daughter and I want the volume to gradually increase say +5 in the loop every time it plays. What would be the best way too do this? \[ { "id": "8120df2b4caac047", "ty…

---

## [User name and password gets reset on restart pod](https://discourse.nodered.org/t/user-name-and-password-gets-reset-on-restart-pod/63287)

<div class="topic-metadata">

**Author:** [@An-ji](https://discourse.nodered.org/u/An-ji)\
**Replies:** 11\
**Last updated:** [28 June 2022 21:14 UTC](https://discourse.nodered.org/t/user-name-and-password-gets-reset-on-restart-pod/63287 "2022-06-28T21:14:21Z")

</div>

Hi, I'm using few nodes like email, azure storage and sql node where i need to set user name and passwords, whenever there is restart of pod on instance these properties gets reset and I will need to enter manually. P…

---

## [Not able to deploy flows](https://discourse.nodered.org/t/not-able-to-deploy-flows/64458)

<div class="topic-metadata">

**Author:** [@An-ji](https://discourse.nodered.org/u/An-ji)\
**Replies:** 1\
**Last updated:** [28 June 2022 20:51 UTC](https://discourse.nodered.org/t/not-able-to-deploy-flows/64458 "2022-06-28T20:51:51Z")

</div>

I've made configuration in YAML file which will copy flows\_cred.json file when it container restarts so that credentials don't get wipe out but now another file flows\_cred.json.$$$ is getting generated even if i remov…

---

## [How to send ECP commands (TCP Request node) instead of using Telnet node](https://discourse.nodered.org/t/how-to-send-ecp-commands-tcp-request-node-instead-of-using-telnet-node/64474)

<div class="topic-metadata">

**Author:** [@Wilay](https://discourse.nodered.org/u/Wilay)\
**Replies:** 2\
**Last updated:** [28 June 2022 19:22 UTC](https://discourse.nodered.org/t/how-to-send-ecp-commands-tcp-request-node-instead-of-using-telnet-node/64474 "2022-06-28T19:22:31Z")

</div>

Hello! I am confused as to how I am supposed to use the TCP nodes. When trying to send ECP commands to my QSC Core 110f, I fail to get any results by using the TCP Request or TCP Out node. However, when using the Telnet…

---

## [How do I know the the type of value of the node?](https://discourse.nodered.org/t/how-do-i-know-the-the-type-of-value-of-the-node/64471)

<div class="topic-metadata">

**Author:** [@Bingchilling](https://discourse.nodered.org/u/Bingchilling)\
**Replies:** 3\
**Last updated:** [28 June 2022 16:28 UTC](https://discourse.nodered.org/t/how-do-i-know-the-the-type-of-value-of-the-node/64471 "2022-06-28T16:28:01Z")

</div>

Hello, I have to use a node with this definition: SensorInput: A node that allows to receive sensor Inputs from the SmartFactory. This nodes outputs the new sensor value whenever the selected sensor publishes a new v…

---

## [Old topic now new, chart line colorization?](https://discourse.nodered.org/t/old-topic-now-new-chart-line-colorization/64315)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 9\
**Last updated:** [28 June 2022 15:28 UTC](https://discourse.nodered.org/t/old-topic-now-new-chart-line-colorization/64315 "2022-06-28T15:28:39Z")

</div>

Old topic now new, chart line colorization? Spent considerable time reading many threads on how to colorize series lines in ui\_chart nodes. And I am stumped at the moment. As I understand it, I should be able to add a…

---

## [How to add two function blocks?](https://discourse.nodered.org/t/how-to-add-two-function-blocks/64467)

<div class="topic-metadata">

**Author:** [@EduardoSodre](https://discourse.nodered.org/u/EduardoSodre)\
**Replies:** 3\
**Last updated:** [28 June 2022 15:02 UTC](https://discourse.nodered.org/t/how-to-add-two-function-blocks/64467 "2022-06-28T15:02:10Z")

</div>

Good morning everyone, I have to add two function blocks, can anyone help me? Here's a print of my problem. Thank you for your attention.

---

## [Node js version](https://discourse.nodered.org/t/node-js-version/64434)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 5\
**Last updated:** [28 June 2022 13:20 UTC](https://discourse.nodered.org/t/node-js-version/64434 "2022-06-28T13:20:33Z")

</div>

Updated one pi 4 to the latest node js and to my horror it says I'm at ver 17.1. Other than breaking one node it seems to run. Should I panic and run in tight little circles or should I be relatively OK as it seems node …

---

## [Help needed, Node-red crashed!](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 7\
**Last updated:** [28 June 2022 12:37 UTC](https://discourse.nodered.org/t/help-needed-node-red-crashed/64462 "2022-06-28T12:37:33Z")

</div>

After more the a year of working with node-red. Now all over sudden, Node-red chrashed. Can anyone help me with a solution?? :~ $ node-red 28 Jun 14:01:19 - \[info\] Welcome to Node-RED =================== 28 Jun 14:01…

---

## [MQTT Node frequently connect disconnect with azure iothub](https://discourse.nodered.org/t/mqtt-node-frequently-connect-disconnect-with-azure-iothub/64420)

<div class="topic-metadata">

**Author:** [@ibsoftweb](https://discourse.nodered.org/u/ibsoftweb)\
**Replies:** 6\
**Last updated:** [28 June 2022 12:24 UTC](https://discourse.nodered.org/t/mqtt-node-frequently-connect-disconnect-with-azure-iothub/64420 "2022-06-28T12:24:34Z")

</div>

Hello Experts I am facing issue mqtt connection issue. I am creating mqtt object in function node, I dont see way to disconnect or destroy mqtt connection, on redeploy of flow when I try connect method its get connected…

---

## [KNX Device Node reads instead of write](https://discourse.nodered.org/t/knx-device-node-reads-instead-of-write/64453)

<div class="topic-metadata">

**Author:** [@Nilpferd](https://discourse.nodered.org/u/Nilpferd)\
**Replies:** 0\
**Last updated:** [28 June 2022 10:21 UTC](https://discourse.nodered.org/t/knx-device-node-reads-instead-of-write/64453 "2022-06-28T10:21:16Z")

</div>

Some KNX device nodes working fine in writing the information to the KNX bus. But one ist always reading the bus, even in edit the node WRITE is defined, Any idea what to change? hotwater.json (7.3 KB) When I switch th…

---

## [Giving Device unactive status after not recieving message for period of time](https://discourse.nodered.org/t/giving-device-unactive-status-after-not-recieving-message-for-period-of-time/64447)

<div class="topic-metadata">

**Author:** [@Samokomo](https://discourse.nodered.org/u/Samokomo)\
**Replies:** 2\
**Last updated:** [28 June 2022 10:00 UTC](https://discourse.nodered.org/t/giving-device-unactive-status-after-not-recieving-message-for-period-of-time/64447 "2022-06-28T10:00:30Z")

</div>

Hello. I might use some help. I am recieving batches of Wi-Fi data which I than filter by MAC adress and define position of each device etc. The thing is I need to mark unactive devices. For example I recieve msgs lik…

---

## [CSV string values containing new lines](https://discourse.nodered.org/t/csv-string-values-containing-new-lines/64437)

<div class="topic-metadata">

**Author:** [@RobC](https://discourse.nodered.org/u/RobC)\
**Replies:** 1\
**Last updated:** [28 June 2022 08:50 UTC](https://discourse.nodered.org/t/csv-string-values-containing-new-lines/64437 "2022-06-28T08:50:12Z")

</div>

Hi all, just doing some tests with CSV and I notice that for string object values including commas it will put quotes around the value, but if there is a string containing a new line (e.g.) it doesn't. This has some st…

---

## [Coding help to my project tyia](https://discourse.nodered.org/t/coding-help-to-my-project-tyia/64416)

<div class="topic-metadata">

**Author:** [@BeRo](https://discourse.nodered.org/u/BeRo)\
**Replies:** 1\
**Last updated:** [27 June 2022 13:22 UTC](https://discourse.nodered.org/t/coding-help-to-my-project-tyia/64416 "2022-06-27T13:22:15Z")

</div>

Hello i'm new to node red and in need of assistance with a current project of mine. Is the first image using a debug node I was generating strings of data with what the CM and status of my sensor are and I want to sav…

---

## [MQTT disconnected but still sends messages](https://discourse.nodered.org/t/mqtt-disconnected-but-still-sends-messages/64352)

<div class="topic-metadata">

**Author:** [@mczakk](https://discourse.nodered.org/u/mczakk)\
**Replies:** 4\
**Last updated:** [28 June 2022 07:48 UTC](https://discourse.nodered.org/t/mqtt-disconnected-but-still-sends-messages/64352 "2022-06-28T07:48:36Z")

</div>

I am running node-red on a brand new pi 4, so completely up to date software. My mqtt node shows as disconnected, but is still sending messages. screenshot shows the flow with debug with messages at 11:16 onwards and th…

---

## [How to decode an "Access Token" received from Authorization Server like Keycloak?](https://discourse.nodered.org/t/how-to-decode-an-access-token-received-from-authorization-server-like-keycloak/63044)

<div class="topic-metadata">

**Author:** [@Nirajan](https://discourse.nodered.org/u/Nirajan)\
**Replies:** 9\
**Last updated:** [28 June 2022 07:41 UTC](https://discourse.nodered.org/t/how-to-decode-an-access-token-received-from-authorization-server-like-keycloak/63044 "2022-06-28T07:41:59Z")

</div>

Hi Everyone, I am building an API in Node-Red and i would like to protect the API using Keycloak. I am calling the API from Postman where i could provide authorization data like (Grant Type, Access Token URL, Client ID…

---

## [Node date picker y mysql](https://discourse.nodered.org/t/node-date-picker-y-mysql/64372)

<div class="topic-metadata">

**Author:** [@JuanVA](https://discourse.nodered.org/u/JuanVA)\
**Replies:** 5\
**Last updated:** [27 June 2022 21:19 UTC](https://discourse.nodered.org/t/node-date-picker-y-mysql/64372 "2022-06-27T21:19:30Z")

</div>

Good everyone, Someone for the doubts can guide me on how to use the node "date picker" and mysql or if you have any example already made to guide me from that, is that I need to do a data filtering from a date "x" to a …

---

## [Http request node issue](https://discourse.nodered.org/t/http-request-node-issue/64431)

<div class="topic-metadata">

**Author:** [@fallenshadow1](https://discourse.nodered.org/u/fallenshadow1)\
**Replies:** 0\
**Last updated:** [27 June 2022 18:46 UTC](https://discourse.nodered.org/t/http-request-node-issue/64431 "2022-06-27T18:46:58Z")

</div>

Hi there. I was using the http request node to perform a get request with basic authorization in Node-Red v1.2.7 and I get a good response back. I have another installation of Node-Red at v2.2.2 and I tried the exact sam…

---

## [High CPU usage when extracting I-frames from an RTSP stream](https://discourse.nodered.org/t/high-cpu-usage-when-extracting-i-frames-from-an-rtsp-stream/64034)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 22\
**Last updated:** [27 June 2022 15:27 UTC](https://discourse.nodered.org/t/high-cpu-usage-when-extracting-i-frames-from-an-rtsp-stream/64034 "2022-06-27T15:27:02Z")

</div>

Hi folks, Finally I did buy some decent camera's... Handling the RTSP stream - from a cam that sends H.264 for video and AAC for audio - works like a charm, since no re-encoding is required. Almost no cpu usage! But …

---

## [Move a measurementValue to a msg.payload using its measurementTypeID](https://discourse.nodered.org/t/move-a-measurementvalue-to-a-msg-payload-using-its-measurementtypeid/64422)

<div class="topic-metadata">

**Author:** [@zouhir](https://discourse.nodered.org/u/zouhir)\
**Replies:** 2\
**Last updated:** [27 June 2022 14:09 UTC](https://discourse.nodered.org/t/move-a-measurementvalue-to-a-msg-payload-using-its-measurementtypeid/64422 "2022-06-27T14:09:08Z")

</div>

Hi, I'm trying to move a measurementValue I'm getting from a HTTP request to a msg.payload using its measurementTypeID, take a look at the below screenshot for better understanding.

---

## [Install contrib-opcua offline](https://discourse.nodered.org/t/install-contrib-opcua-offline/64413)

<div class="topic-metadata">

**Author:** [@madlen21](https://discourse.nodered.org/u/madlen21)\
**Replies:** 10\
**Last updated:** [27 June 2022 13:07 UTC](https://discourse.nodered.org/t/install-contrib-opcua-offline/64413 "2022-06-27T13:07:36Z")

</div>

Hi, I am on a project getting data from a PLC over OPCUA to a SQL Server. Therefor i wanted to use NodeRed. The RemotePC where i can connect to the OPCUA does not have an active internet connection. I already finished t…

---

## [Smooth Node incoming data](https://discourse.nodered.org/t/smooth-node-incoming-data/64412)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 2\
**Last updated:** [27 June 2022 12:57 UTC](https://discourse.nodered.org/t/smooth-node-incoming-data/64412 "2022-06-27T12:57:49Z")

</div>

I would like to use the smooth node to get the std deviation. I have a string of data, similar to this one but with 32 values, streamed every 10 seconds: 12.747:12.884:12.672:12.909 Is there a way to pass all 32 val…

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

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