# General

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

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

**Page:** 375

---

## [Subflow - Automatic Naming of Subflow Node - Followup](https://discourse.nodered.org/t/subflow-automatic-naming-of-subflow-node-followup/62901)

<div class="topic-metadata">

**Author:** [@gregbradley](https://discourse.nodered.org/u/gregbradley)\
**Replies:** 0\
**Last updated:** [20 May 2022 23:15 UTC](https://discourse.nodered.org/t/subflow-automatic-naming-of-subflow-node-followup/62901 "2022-05-20T23:15:56Z")

</div>

Came across @eddee54455 question because I'm trying to do the same thing. Would like the name of a subflow instance to be dynamically created based on the properties of the subflow instance. Same as what a packaged node…

---

## [Failed to connect zum Broker localhost](https://discourse.nodered.org/t/failed-to-connect-zum-broker-localhost/62628)

<div class="topic-metadata">

**Author:** [@Rzut](https://discourse.nodered.org/u/Rzut)\
**Replies:** 14\
**Last updated:** [20 May 2022 21:53 UTC](https://discourse.nodered.org/t/failed-to-connect-zum-broker-localhost/62628 "2022-05-20T21:53:20Z")

</div>

Hey, im new to raspberry Pi and i created my first mqtt flow but somehow its not working. i already searched the internet and this forum found users with the same problem but its still not woking. Can somebody help me? S…

---

## [What are the general docker volumes that are needed to be mounted on the host machine from Node-Red Container?](https://discourse.nodered.org/t/what-are-the-general-docker-volumes-that-are-needed-to-be-mounted-on-the-host-machine-from-node-red-container/62843)

<div class="topic-metadata">

**Author:** [@Shan](https://discourse.nodered.org/u/Shan)\
**Replies:** 1\
**Last updated:** [20 May 2022 18:49 UTC](https://discourse.nodered.org/t/what-are-the-general-docker-volumes-that-are-needed-to-be-mounted-on-the-host-machine-from-node-red-container/62843 "2022-05-20T18:49:51Z")

</div>

As far as I know, normally one mounts the /data volume that has all the files and settings. How about custom nodes that installed via the node-red UI, will they also be stored in the /data volumes?

---

## [An error occurred while installing node-red on Synology NAS](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887)

<div class="topic-metadata">

**Author:** [@Hawketyan](https://discourse.nodered.org/u/Hawketyan)\
**Replies:** 11\
**Last updated:** [20 May 2022 18:25 UTC](https://discourse.nodered.org/t/an-error-occurred-while-installing-node-red-on-synology-nas/62887 "2022-05-20T18:25:42Z")

</div>

How to solve this error ? npm WARN deprecated axios@0.27.0: Formdata complete broken, incorrect build size

---

## [Pushover - set device](https://discourse.nodered.org/t/pushover-set-device/62747)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 4\
**Last updated:** [20 May 2022 16:58 UTC](https://discourse.nodered.org/t/pushover-set-device/62747 "2022-05-20T16:58:27Z")

</div>

Hi, in pushover I have two device, "giamma" and "paola" but the message always arrive on both the mobile. This is my function, it's wrong?

---

## [How can I upload a file to sharepoint?](https://discourse.nodered.org/t/how-can-i-upload-a-file-to-sharepoint/62780)

<div class="topic-metadata">

**Author:** [@OscarF](https://discourse.nodered.org/u/OscarF)\
**Replies:** 3\
**Last updated:** [20 May 2022 16:45 UTC](https://discourse.nodered.org/t/how-can-i-upload-a-file-to-sharepoint/62780 "2022-05-20T16:45:46Z")

</div>

Hi guys! I want to upload a file to sharepoint by microsoft, but I don't know how to do it. Specifically I want to upload a pdf file.I read a post with a flow that uses the http request but I guess that it only works to…

---

## [Sparkplug b messages wont show through the subscriber payload](https://discourse.nodered.org/t/sparkplug-b-messages-wont-show-through-the-subscriber-payload/62857)

<div class="topic-metadata">

**Author:** [@sn19](https://discourse.nodered.org/u/sn19)\
**Replies:** 2\
**Last updated:** [20 May 2022 16:27 UTC](https://discourse.nodered.org/t/sparkplug-b-messages-wont-show-through-the-subscriber-payload/62857 "2022-05-20T16:27:26Z")

</div>

I am using the sparkplug B nodes in the node red. One publisher and one subscriber. The message payload is in .json format and is : { "timestamp": 14866144502122, "metrics": \[ { "name": "My metric", "alias": 1, …

---

## [Dynamically change the ip Server of the connection config MSSQL](https://discourse.nodered.org/t/dynamically-change-the-ip-server-of-the-connection-config-mssql/62879)

<div class="topic-metadata">

**Author:** [@Dumy](https://discourse.nodered.org/u/Dumy)\
**Replies:** 8\
**Last updated:** [20 May 2022 11:18 UTC](https://discourse.nodered.org/t/dynamically-change-the-ip-server-of-the-connection-config-mssql/62879 "2022-05-20T11:18:20Z")

</div>

I'm using MSSQL node from: node-red-contrib-mssql-plus. my solution this problem the problem is that the work I have to do from the second request. Can I do this with a single request? \[ { "id": "7fcde0b…

---

## [Set timer with payload](https://discourse.nodered.org/t/set-timer-with-payload/62808)

<div class="topic-metadata">

**Author:** [@matisok](https://discourse.nodered.org/u/matisok)\
**Replies:** 7\
**Last updated:** [20 May 2022 11:04 UTC](https://discourse.nodered.org/t/set-timer-with-payload/62808 "2022-05-20T11:04:04Z")

</div>

Hi I am making my own morning alarm clock with a analogue rotary dial with 5 different time presest and a 6th that's off, and a push that's snooze. I can detect the dials positions and channel each as a 1 or 0 signal t…

---

## [How to put headers only once in a csv file](https://discourse.nodered.org/t/how-to-put-headers-only-once-in-a-csv-file/62875)

<div class="topic-metadata">

**Author:** [@nke9](https://discourse.nodered.org/u/nke9)\
**Replies:** 6\
**Last updated:** [20 May 2022 10:14 UTC](https://discourse.nodered.org/t/how-to-put-headers-only-once-in-a-csv-file/62875 "2022-05-20T10:14:11Z")

</div>

Hello, I would like to know if it's possible to add juste one time the row of headers in a csv file with the csv node beaucause I don't find how to do it without programming a function ... is there another way ? Here i…

---

## [Communication Raspberry IP with FX5U (Mitsubishi)](https://discourse.nodered.org/t/communication-raspberry-ip-with-fx5u-mitsubishi/62818)

<div class="topic-metadata">

**Author:** [@kamtamer1](https://discourse.nodered.org/u/kamtamer1)\
**Replies:** 7\
**Last updated:** [20 May 2022 10:12 UTC](https://discourse.nodered.org/t/communication-raspberry-ip-with-fx5u-mitsubishi/62818 "2022-05-20T10:12:45Z")

</div>

I want to programm Raspberry Pi with Mitshubishi HMI GOT 2000 please i need help

---

## [New Grafana plugin: Websocket data source](https://discourse.nodered.org/t/new-grafana-plugin-websocket-data-source/61255)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 11\
**Last updated:** [20 May 2022 08:58 UTC](https://discourse.nodered.org/t/new-grafana-plugin-websocket-data-source/61255 "2022-05-20T08:58:39Z")

</div>

Thought this might be of interest to some people. A newly contributed Grafana plugin for getting realtime data via websocket connections. Perhaps an interesting alternative to Dashboard charts where you have lots of r…

---

## [Node-red execution error](https://discourse.nodered.org/t/node-red-execution-error/62878)

<div class="topic-metadata">

**Author:** [@haeWoozu](https://discourse.nodered.org/u/haeWoozu)\
**Replies:** 2\
**Last updated:** [20 May 2022 08:33 UTC](https://discourse.nodered.org/t/node-red-execution-error/62878 "2022-05-20T08:33:51Z")

</div>

hello. I'm not good at English, so please understand. node-red terminated abnormally. And I get the following error and it doesn't work. 20 May 17:13:21 - \[info\] Server now running at http://127.0.0.1:1880/ 20 May…

---

## [I Have Issue on MQTT to function and Template](https://discourse.nodered.org/t/i-have-issue-on-mqtt-to-function-and-template/62874)

<div class="topic-metadata">

**Author:** [@riimeister](https://discourse.nodered.org/u/riimeister)\
**Replies:** 6\
**Last updated:** [20 May 2022 08:15 UTC](https://discourse.nodered.org/t/i-have-issue-on-mqtt-to-function-and-template/62874 "2022-05-20T08:15:35Z")

</div>

I have a problem when I want to create a dashboard template. the following is the raw data from the sql server that I have and I want to make a dashboard in the data I want to create a dashboard using the if else…

---

## [Can we make a running text on node red?](https://discourse.nodered.org/t/can-we-make-a-running-text-on-node-red/62543)

<div class="topic-metadata">

**Author:** [@rzl281](https://discourse.nodered.org/u/rzl281)\
**Replies:** 5\
**Last updated:** [20 May 2022 08:07 UTC](https://discourse.nodered.org/t/can-we-make-a-running-text-on-node-red/62543 "2022-05-20T08:07:34Z")

</div>

how to make a running text on node red?

---

## [Error connecting to PLC: Error: connect EHOSTUNREACH](https://discourse.nodered.org/t/error-connecting-to-plc-error-connect-ehostunreach/62575)

<div class="topic-metadata">

**Author:** [@CY02](https://discourse.nodered.org/u/CY02)\
**Replies:** 8\
**Last updated:** [20 May 2022 04:01 UTC](https://discourse.nodered.org/t/error-connecting-to-plc-error-connect-ehostunreach/62575 "2022-05-20T04:01:31Z")

</div>

I'm currently connecting from node-red to Aubobot through TCP in node-red but node-red shows disconnected and connected frequently, and it shows an error connecting to PLC I have no idea what is this and how to solve it.…

---

## [Merging message streams](https://discourse.nodered.org/t/merging-message-streams/62870)

<div class="topic-metadata">

**Author:** [@tfuchs1987](https://discourse.nodered.org/u/tfuchs1987)\
**Replies:** 1\
**Last updated:** [20 May 2022 03:18 UTC](https://discourse.nodered.org/t/merging-message-streams/62870 "2022-05-20T03:18:17Z")

</div>

Hi Node-REDers, I want to download several email attachments and send them inside one email. Everything works so far. I just want to ask you guys what the best solution would be to merge or provide several message stre…

---

## [How to pass method parameter into msg.payload](https://discourse.nodered.org/t/how-to-pass-method-parameter-into-msg-payload/62862)

<div class="topic-metadata">

**Author:** [@NeetaJ](https://discourse.nodered.org/u/NeetaJ)\
**Replies:** 2\
**Last updated:** [19 May 2022 22:01 UTC](https://discourse.nodered.org/t/how-to-pass-method-parameter-into-msg-payload/62862 "2022-05-19T22:01:29Z")

</div>

\[{"id":"8b4876ad871c51f5","type":"http in","z":"e97abacb4c80db24","name":"","url":"/myview","method":"get","upload":false,"swaggerDoc":"","x":250,"y":140,"wires":\[\["cb80d322be19fc9c"\]\]},{"id":"cb80d322be19fc9c","type":"t…

---

## [Find Max Value In an Array: Best Node-Red Way](https://discourse.nodered.org/t/find-max-value-in-an-array-best-node-red-way/62823)

<div class="topic-metadata">

**Author:** [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Replies:** 6\
**Last updated:** [19 May 2022 21:49 UTC](https://discourse.nodered.org/t/find-max-value-in-an-array-best-node-red-way/62823 "2022-05-19T21:49:55Z")

</div>

I have an array in flow context and want to find the maximum number value. I have tried several of the Javascript math functions, with no success. Is there a contrib node for finding the maximum value in an array? Els…

---

## [Button to change images](https://discourse.nodered.org/t/button-to-change-images/62867)

<div class="topic-metadata">

**Author:** [@tai34126](https://discourse.nodered.org/u/tai34126)\
**Replies:** 0\
**Last updated:** [19 May 2022 21:41 UTC](https://discourse.nodered.org/t/button-to-change-images/62867 "2022-05-19T21:41:55Z")

</div>

Hey guys!. Sorry to bother all of you. But I have some questions about my project. I have many photos like this pic. And I want to know. How can I do the button to press the next button to change the picture and pre…

---

## [Force One Message at a Time?](https://discourse.nodered.org/t/force-one-message-at-a-time/62859)

<div class="topic-metadata">

**Author:** [@efaden](https://discourse.nodered.org/u/efaden)\
**Replies:** 2\
**Last updated:** [19 May 2022 21:25 UTC](https://discourse.nodered.org/t/force-one-message-at-a-time/62859 "2022-05-19T21:25:52Z")

</div>

I'm looking for a way to only allow a single message to be processed at a time through a block of my flow. I'd like to use a queue to queue the rest. Was going to use q-gate, but it's missing one feature. If the queu…

---

## [Help needed for 2FA with Authy](https://discourse.nodered.org/t/help-needed-for-2fa-with-authy/62764)

<div class="topic-metadata">

**Author:** [@Topolynx](https://discourse.nodered.org/u/Topolynx)\
**Replies:** 6\
**Last updated:** [19 May 2022 19:15 UTC](https://discourse.nodered.org/t/help-needed-for-2fa-with-authy/62764 "2022-05-19T19:15:55Z")

</div>

Hi! I would like to secure node-red with 2FA and a dedicated app (I'm actually using Authy for other services). What I've found in the forum and in Node-Red's support pages hasn't helped me enough. Could someone explain…

---

## [NR requires multiple browser refreshes to load flows - again](https://discourse.nodered.org/t/nr-requires-multiple-browser-refreshes-to-load-flows-again/62846)

<div class="topic-metadata">

**Author:** [@alex88](https://discourse.nodered.org/u/alex88)\
**Replies:** 6\
**Last updated:** [19 May 2022 19:11 UTC](https://discourse.nodered.org/t/nr-requires-multiple-browser-refreshes-to-load-flows-again/62846 "2022-05-19T19:11:22Z")

</div>

I am getting the same symptoms as with the issue described here: And this from the console log: Running v3.0.0 beta 2

---

## [Labor shift calculation using array.includes() method](https://discourse.nodered.org/t/labor-shift-calculation-using-array-includes-method/62863)

<div class="topic-metadata">

**Author:** [@hobbes1069](https://discourse.nodered.org/u/hobbes1069)\
**Replies:** 2\
**Last updated:** [19 May 2022 18:49 UTC](https://discourse.nodered.org/t/labor-shift-calculation-using-array-includes-method/62863 "2022-05-19T18:49:22Z")

</div>

I've got a timestamp inject node going through a date-time formatter to only output the hour of day. I'm trying to calculate the current shift, 1st, 2nd, or 3rd based on the out of day using the array.includes() method …

---

## [Node Red Internet consumption](https://discourse.nodered.org/t/node-red-internet-consumption/62851)

<div class="topic-metadata">

**Author:** [@ErosBaixauli](https://discourse.nodered.org/u/ErosBaixauli)\
**Replies:** 3\
**Last updated:** [19 May 2022 18:25 UTC](https://discourse.nodered.org/t/node-red-internet-consumption/62851 "2022-05-19T18:25:19Z")

</div>

Hi to everyone, I'm in need of some assistance for optimise the internet data consumption. I have a node red flow working on a device with a SIM card, sending sensor values through HTTP API using GPRS or 4G, once per mi…

---

## [MQTT offline broker](https://discourse.nodered.org/t/mqtt-offline-broker/62703)

<div class="topic-metadata">

**Author:** [@sn19](https://discourse.nodered.org/u/sn19)\
**Replies:** 5\
**Last updated:** [19 May 2022 17:53 UTC](https://discourse.nodered.org/t/mqtt-offline-broker/62703 "2022-05-19T17:53:04Z")

</div>

Hello All. I am trying to setup and use an offline MQTT broker. Any suggestions with this? Please let me know about it and thank you.

---

## [How to create session id after login is validated](https://discourse.nodered.org/t/how-to-create-session-id-after-login-is-validated/62836)

<div class="topic-metadata">

**Author:** [@Rocky](https://discourse.nodered.org/u/Rocky)\
**Replies:** 0\
**Last updated:** [19 May 2022 07:17 UTC](https://discourse.nodered.org/t/how-to-create-session-id-after-login-is-validated/62836 "2022-05-19T07:17:59Z")

</div>

I am working on creating a login page for the dashboard which I have created in Node Red. As of now I am able to validate the user name and password entered by user against the data stored in database. But after validati…

---

## [Format JSON before writing to a file](https://discourse.nodered.org/t/format-json-before-writing-to-a-file/62838)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 3\
**Last updated:** [19 May 2022 09:33 UTC](https://discourse.nodered.org/t/format-json-before-writing-to-a-file/62838 "2022-05-19T09:33:37Z")

</div>

Dear Father, I am sinning - I'm writing a flow to modify flows.json :frowning: Now that's over with :slight\_smile: is there an easy method of nicely formatting my JSON before writing it to file e.g instead of this …

---

## [Download Siemens MPI/ PPI/ DP, error](https://discourse.nodered.org/t/download-siemens-mpi-ppi-dp-error/62822)

<div class="topic-metadata">

**Author:** [@Hernane](https://discourse.nodered.org/u/Hernane)\
**Replies:** 1\
**Last updated:** [19 May 2022 06:27 UTC](https://discourse.nodered.org/t/download-siemens-mpi-ppi-dp-error/62822 "2022-05-19T06:27:12Z")

</div>

Hello friends, I'm trying to connect a siemens Profibus DP communication board, but when downloading Node - RED ... Siemens MPI/ PPI/ DP adapters, an error occurs. Can you help me?

---

## [How to update a shared-status value from a function](https://discourse.nodered.org/t/how-to-update-a-shared-status-value-from-a-function/62827)

<div class="topic-metadata">

**Author:** [@Pabliski](https://discourse.nodered.org/u/Pabliski)\
**Replies:** 0\
**Last updated:** [19 May 2022 01:54 UTC](https://discourse.nodered.org/t/how-to-update-a-shared-status-value-from-a-function/62827 "2022-05-19T01:54:15Z")

</div>

Hello everyone - first time posting ... I am trying to update a shared-state value via function but I have not been successful. I have searched the forum and found similar questions, but not involving the shared status…

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

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