# General

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

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

**Page:** 758

---

## [User Change Configuration Node (FTP) and redeploy via dashboard](https://discourse.nodered.org/t/user-change-configuration-node-ftp-and-redeploy-via-dashboard/25710)

<div class="topic-metadata">

**Author:** [@rayz](https://discourse.nodered.org/u/rayz)\
**Replies:** 0\
**Last updated:** [29 April 2020 00:01 UTC](https://discourse.nodered.org/t/user-change-configuration-node-ftp-and-redeploy-via-dashboard/25710 "2020-04-29T00:01:06Z")

</div>

I'm hoping there is way to create a ui for the end user to change the credentials of the ftp server configuration node and then re-deploy the flow with that changed user/password?

---

## [Suggestions of how to use \`LINK\` nodes](https://discourse.nodered.org/t/suggestions-of-how-to-use-link-nodes/25707)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 0\
**Last updated:** [28 April 2020 23:45 UTC](https://discourse.nodered.org/t/suggestions-of-how-to-use-link-nodes/25707 "2020-04-28T23:45:06Z")

</div>

link nodes were a strange thing to me for a long time. But once you start multiple tabs, they are invaluable. But they can be confusing too. They are just a 1 x 1 grey box on the flow. A few things I have applied to…

---

## [Dashboard pie chart to show Raspberry pi GPIO history](https://discourse.nodered.org/t/dashboard-pie-chart-to-show-raspberry-pi-gpio-history/25666)

<div class="topic-metadata">

**Author:** [@leeg77](https://discourse.nodered.org/u/leeg77)\
**Replies:** 12\
**Last updated:** [28 April 2020 23:08 UTC](https://discourse.nodered.org/t/dashboard-pie-chart-to-show-raspberry-pi-gpio-history/25666 "2020-04-28T23:08:12Z")

</div>

I am trying to add to a dashboard to show a pie chart detailing how long a raspberry pi GPIO pin has been high or low during the past hour. Here is my current flow: But at the moment all I am getting is a pie chart t…

---

## [How to get the summary of nodes used in node-red?](https://discourse.nodered.org/t/how-to-get-the-summary-of-nodes-used-in-node-red/2985)

<div class="topic-metadata">

**Author:** [@nithinbandaru1](https://discourse.nodered.org/u/nithinbandaru1)\
**Replies:** 8\
**Last updated:** [28 April 2020 20:21 UTC](https://discourse.nodered.org/t/how-to-get-the-summary-of-nodes-used-in-node-red/2985 "2020-04-28T20:21:31Z")

</div>

Hi, I saw in one of your posts posting summary of nodes used(Showing number of them are used). Then I got curious how to do that because I am doing stream analytics using node-red with MQTT and data is coming form OPC. …

---

## [How Enable CORS in Node Red deployed on IBM Cloud (bluemix)](https://discourse.nodered.org/t/how-enable-cors-in-node-red-deployed-on-ibm-cloud-bluemix/25701)

<div class="topic-metadata">

**Author:** [@KenioCarvalho](https://discourse.nodered.org/u/KenioCarvalho)\
**Replies:** 0\
**Last updated:** [28 April 2020 19:46 UTC](https://discourse.nodered.org/t/how-enable-cors-in-node-red-deployed-on-ibm-cloud-bluemix/25701 "2020-04-28T19:46:36Z")

</div>

I create an API using Node-red and i can read the data using Post Man from my computer. Using a browser app i try to call the API but i get an error about CORS. How can i enable CORS on Node-Red when it it is deployed …

---

## [Deploy requires more than one attempt](https://discourse.nodered.org/t/deploy-requires-more-than-one-attempt/12208)

<div class="topic-metadata">

**Author:** [@athome](https://discourse.nodered.org/u/athome)\
**Replies:** 21\
**Last updated:** [28 April 2020 16:28 UTC](https://discourse.nodered.org/t/deploy-requires-more-than-one-attempt/12208 "2020-04-28T16:28:48Z")

</div>

I can't put my finger on exactly when this condition started happening. Sometime in the last two weeks or so. When I click deploy, about 75% of the time, the first try fails and I have to click deploy again. I experien…

---

## [Node-red influxdb invalid boolean](https://discourse.nodered.org/t/node-red-influxdb-invalid-boolean/8059)

<div class="topic-metadata">

**Author:** [@Findre](https://discourse.nodered.org/u/Findre)\
**Replies:** 17\
**Last updated:** [28 April 2020 16:27 UTC](https://discourse.nodered.org/t/node-red-influxdb-invalid-boolean/8059 "2020-04-28T16:27:51Z")

</div>

Hello guys, I'm new to node-red and influxdb and mqtt so bear with me. So I'm trying to send a Json object to an influxdb database I created but when I try to send the object to influxdb I get the following error: Error…

---

## [Can I use NodeRed for robust web applications?](https://discourse.nodered.org/t/can-i-use-nodered-for-robust-web-applications/25658)

<div class="topic-metadata">

**Author:** [@CarlosJong](https://discourse.nodered.org/u/CarlosJong)\
**Replies:** 7\
**Last updated:** [28 April 2020 16:16 UTC](https://discourse.nodered.org/t/can-i-use-nodered-for-robust-web-applications/25658 "2020-04-28T16:16:46Z")

</div>

Hello everyone, I have a software house and I am studying technologies and forms of development, to accelerate and improve the production of our software. I came across the idea of NodeRed (Visual programming) with a ve…

---

## [Compatible Light Switch For Node-Red](https://discourse.nodered.org/t/compatible-light-switch-for-node-red/13024)

<div class="topic-metadata">

**Author:** [@seth350](https://discourse.nodered.org/u/seth350)\
**Replies:** 23\
**Last updated:** [28 April 2020 15:57 UTC](https://discourse.nodered.org/t/compatible-light-switch-for-node-red/13024 "2020-04-28T15:57:41Z")

</div>

It seems there is an absolute plethora of different WiFi light switches out there. I would like to install one or many to control some outdoor lights at my home using node-red. What are you guys using for switches and no…

---

## [Node Red Power on state](https://discourse.nodered.org/t/node-red-power-on-state/25648)

<div class="topic-metadata">

**Author:** [@Vlak](https://discourse.nodered.org/u/Vlak)\
**Replies:** 6\
**Last updated:** [28 April 2020 14:06 UTC](https://discourse.nodered.org/t/node-red-power-on-state/25648 "2020-04-28T14:06:44Z")

</div>

Dear folks, when I restart Node Red or restart my Pi running Node Red under Home Assitant, some switch changes state. From on to off. I have noticed that there is tugging at a restart, How can I ensure that the status …

---

## [Duplicated the payload twice at once](https://discourse.nodered.org/t/duplicated-the-payload-twice-at-once/25661)

<div class="topic-metadata">

**Author:** [@Ahd](https://discourse.nodered.org/u/Ahd)\
**Replies:** 13\
**Last updated:** [28 April 2020 13:09 UTC](https://discourse.nodered.org/t/duplicated-the-payload-twice-at-once/25661 "2020-04-28T13:09:56Z")

</div>

Hi I am stuck with the flow that shown below, its read from DB and then does checking process by using If statement, then displays the output. The problem is that it's duplicated the message payload each time injected …

---

## [Node-red-contrib-opc-da Help](https://discourse.nodered.org/t/node-red-contrib-opc-da-help/25676)

<div class="topic-metadata">

**Author:** [@Henjoe](https://discourse.nodered.org/u/Henjoe)\
**Replies:** 2\
**Last updated:** [28 April 2020 13:08 UTC](https://discourse.nodered.org/t/node-red-contrib-opc-da-help/25676 "2020-04-28T13:08:07Z")

</div>

Dear node-red Experts, Does anybody uses this node? I am having trouble using it. It makes my node-red server crash. I have MatrikonOPC Simulation installed on my local computer where node-red also residing on it. So …

---

## [Email In \> Screenshot of email \> Discord message?](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609)

<div class="topic-metadata">

**Author:** [@anonuknow](https://discourse.nodered.org/u/anonuknow)\
**Replies:** 9\
**Last updated:** [28 April 2020 12:42 UTC](https://discourse.nodered.org/t/email-in-screenshot-of-email-discord-message/25609 "2020-04-28T12:42:51Z")

</div>

Is there any way to do this ?

---

## [Add dynamically data to node configuration](https://discourse.nodered.org/t/add-dynamically-data-to-node-configuration/25624)

<div class="topic-metadata">

**Author:** [@edoardottt](https://discourse.nodered.org/u/edoardottt)\
**Replies:** 11\
**Last updated:** [28 April 2020 09:54 UTC](https://discourse.nodered.org/t/add-dynamically-data-to-node-configuration/25624 "2020-04-28T09:54:42Z")

</div>

I have a custom node, which in the config file has code like this: \<div class="form-row"\> \<label for="node-input-stuff"\>\<i class="icon-tag"\>\</i\> Stuff\</label\> \<select id="node-input-stuff"\> …

---

## [Catch msg.payload and transfer it to Data on the next node](https://discourse.nodered.org/t/catch-msg-payload-and-transfer-it-to-data-on-the-next-node/25663)

<div class="topic-metadata">

**Author:** [@daniel1411](https://discourse.nodered.org/u/daniel1411)\
**Replies:** 14\
**Last updated:** [28 April 2020 08:28 UTC](https://discourse.nodered.org/t/catch-msg-payload-and-transfer-it-to-data-on-the-next-node/25663 "2020-04-28T08:28:36Z")

</div>

Hi How to catch msg.payload and transfer it as parameter to Data on the next node?

---

## [Garage door and motion sensor working together](https://discourse.nodered.org/t/garage-door-and-motion-sensor-working-together/25616)

<div class="topic-metadata">

**Author:** [@spider7611](https://discourse.nodered.org/u/spider7611)\
**Replies:** 4\
**Last updated:** [28 April 2020 07:38 UTC](https://discourse.nodered.org/t/garage-door-and-motion-sensor-working-together/25616 "2020-04-28T07:38:35Z")

</div>

Hi, Have a problem what I don't know how to resolve. So I have a garage door with contact sensor Open/Close state. Near this door have a motion sensor. My problem is that the motion sensor see that the garage door is…

---

## [Using moment in function node](https://discourse.nodered.org/t/using-moment-in-function-node/25651)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 6\
**Last updated:** [28 April 2020 06:54 UTC](https://discourse.nodered.org/t/using-moment-in-function-node/25651 "2020-04-28T06:54:18Z")

</div>

Hi All, I wanted to use moment in a function node. I stumbled upon this issue which appears rather old. I tried using the tip to add the moments to the functionGlobalContext but did not work. I did not get the error du…

---

## [Struggling to add headers to CSV file](https://discourse.nodered.org/t/struggling-to-add-headers-to-csv-file/25607)

<div class="topic-metadata">

**Author:** [@WImpie](https://discourse.nodered.org/u/WImpie)\
**Replies:** 10\
**Last updated:** [28 April 2020 06:48 UTC](https://discourse.nodered.org/t/struggling-to-add-headers-to-csv-file/25607 "2020-04-28T06:48:34Z")

</div>

So i have been struggling with this problem a few days now and actually started to ignore it but i want it to work correctly. Adding headers to CSV file and then add the payload. Here is the flow: (a plc payload goes in…

---

## [Counting and output on the Dashboard](https://discourse.nodered.org/t/counting-and-output-on-the-dashboard/25600)

<div class="topic-metadata">

**Author:** [@MoMo](https://discourse.nodered.org/u/MoMo)\
**Replies:** 7\
**Last updated:** [28 April 2020 06:21 UTC](https://discourse.nodered.org/t/counting-and-output-on-the-dashboard/25600 "2020-04-28T06:21:35Z")

</div>

Hello, I am not yet very familiar with Node-Red and need your help for a project for university. A parking server should be programmed and the number of occupied parking slots should increase or decrease by manual inpu…

---

## [Struggling with switch state feedback](https://discourse.nodered.org/t/struggling-with-switch-state-feedback/25443)

<div class="topic-metadata">

**Author:** [@mattk](https://discourse.nodered.org/u/mattk)\
**Replies:** 7\
**Last updated:** [28 April 2020 03:47 UTC](https://discourse.nodered.org/t/struggling-with-switch-state-feedback/25443 "2020-04-28T03:47:46Z")

</div>

Hi, I have a tasmota flashed switch that I have successfully connected to node-red via mqtt, and am able to turn switch off/on via node-red UI. Mosquitto and Node-red are both hosted on the same local pi. Node red versi…

---

## [Worldmap Tracks Node](https://discourse.nodered.org/t/worldmap-tracks-node/25570)

<div class="topic-metadata">

**Author:** [@BrainBomber100](https://discourse.nodered.org/u/BrainBomber100)\
**Replies:** 6\
**Last updated:** [27 April 2020 22:21 UTC](https://discourse.nodered.org/t/worldmap-tracks-node/25570 "2020-04-27T22:21:31Z")

</div>

Hi there. Is it possible to pass an array of elements into the worldmap tracks node and have it track properly? Whenever I do it, it just updates the point without adding a track. Am I missing a certain property when cre…

---

## [MQTT node- device username](https://discourse.nodered.org/t/mqtt-node-device-username/25575)

<div class="topic-metadata">

**Author:** [@e-infotech](https://discourse.nodered.org/u/e-infotech)\
**Replies:** 9\
**Last updated:** [27 April 2020 20:58 UTC](https://discourse.nodered.org/t/mqtt-node-device-username/25575 "2020-04-27T20:58:40Z")

</div>

Hi, I created 2 MQTT nodes and I want to send each output to a different device with a different username(token), but the problem is when I change the username, the username of all the previous MQTT nodes will also chan…

---

## [Telegram to iOS](https://discourse.nodered.org/t/telegram-to-ios/25545)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 5\
**Last updated:** [27 April 2020 20:08 UTC](https://discourse.nodered.org/t/telegram-to-ios/25545 "2020-04-27T20:08:14Z")

</div>

Could any Telegram users tell me if this is feasible with Telegram? I don't use Telegram, but if it is possible, I'll dive straight in, read the docs, install the app & node and develop a flow. I want to send a push m…

---

## [IoT database through MQTT](https://discourse.nodered.org/t/iot-database-through-mqtt/25542)

<div class="topic-metadata">

**Author:** [@luiza98](https://discourse.nodered.org/u/luiza98)\
**Replies:** 7\
**Last updated:** [27 April 2020 20:05 UTC](https://discourse.nodered.org/t/iot-database-through-mqtt/25542 "2020-04-27T20:05:18Z")

</div>

Hello, I'm new to this and I have a project that is very important to me, but it exceeds my knowlede. I have to a database for an IoT device through mqtt protocol and sowing the results in Grafana. Can this be done wi…

---

## [Selecting specific value in an array using var](https://discourse.nodered.org/t/selecting-specific-value-in-an-array-using-var/25641)

<div class="topic-metadata">

**Author:** [@opwierde](https://discourse.nodered.org/u/opwierde)\
**Replies:** 4\
**Last updated:** [27 April 2020 20:04 UTC](https://discourse.nodered.org/t/selecting-specific-value-in-an-array-using-var/25641 "2020-04-27T20:04:46Z")

</div>

A bit of a beginners question but I am new to JS and Node-RED. I am reading values directly from my solar inverter web interface and am struggling with the kWh value. I have the data from the inverter in an array that l…

---

## [Guriddo jqGrid + sqlite CRUD (Create, Read, Update, Delete)](https://discourse.nodered.org/t/guriddo-jqgrid-sqlite-crud-create-read-update-delete/25571)

<div class="topic-metadata">

**Author:** [@Petr](https://discourse.nodered.org/u/Petr)\
**Replies:** 2\
**Last updated:** [27 April 2020 19:32 UTC](https://discourse.nodered.org/t/guriddo-jqgrid-sqlite-crud-create-read-update-delete/25571 "2020-04-27T19:32:06Z")

</div>

Hi, I am trying to work with this example flow except my data is stored in sqlite. my flow is here: \[{"id":"99f29eee.b00e48","type":"http in","z":"e54fc8b3.8e44a","name":"","url":"/mytable","method":"get","upload":fal…

---

## [Export CSV files based on 1st of Month](https://discourse.nodered.org/t/export-csv-files-based-on-1st-of-month/25586)

<div class="topic-metadata">

**Author:** [@Michilson](https://discourse.nodered.org/u/Michilson)\
**Replies:** 3\
**Last updated:** [27 April 2020 17:22 UTC](https://discourse.nodered.org/t/export-csv-files-based-on-1st-of-month/25586 "2020-04-27T17:22:08Z")

</div>

Hello all, I am a new Node Red User and I am looking to export/log sensor data to a CSV file. I'd like to start a new file on the 1st of each month. The flow show posts data every 15 min. currently temp and humidity. …

---

## [Azure Iot hub connection test](https://discourse.nodered.org/t/azure-iot-hub-connection-test/25631)

<div class="topic-metadata">

**Author:** [@Beefy\_carrot](https://discourse.nodered.org/u/Beefy_carrot)\
**Replies:** 0\
**Last updated:** [27 April 2020 16:43 UTC](https://discourse.nodered.org/t/azure-iot-hub-connection-test/25631 "2020-04-27T16:43:00Z")

</div>

Hi! is there any way to test if the azure node has connection ? I tought about the "node-red-contrib-msg-queue" but the azure iot hub node only establishes a connection once the flow sends data to it. so if a have a node…

---

## [Replacing null payload value in change node](https://discourse.nodered.org/t/replacing-null-payload-value-in-change-node/24470)

<div class="topic-metadata">

**Author:** [@chrisgla](https://discourse.nodered.org/u/chrisgla)\
**Replies:** 5\
**Last updated:** [27 April 2020 16:07 UTC](https://discourse.nodered.org/t/replacing-null-payload-value-in-change-node/24470 "2020-04-27T16:07:19Z")

</div>

If the value of payload.outside\_temp is "null", can I search for this and change it to a value (99) in a change node?

---

## [Add property inside a XML string?](https://discourse.nodered.org/t/add-property-inside-a-xml-string/25615)

<div class="topic-metadata">

**Author:** [@smithtek](https://discourse.nodered.org/u/smithtek)\
**Replies:** 2\
**Last updated:** [27 April 2020 14:43 UTC](https://discourse.nodered.org/t/add-property-inside-a-xml-string/25615 "2020-04-27T14:43:06Z")

</div>

Hi. Just wondering if it is possible in a function node to add/insert a value in the below XML txt. I had a good read, but this is above my knowledge level. Is a function node the right node to be using for Soap HTTP h…

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

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