# General

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

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

**Page:** 678

---

## [How to break array-loop node](https://discourse.nodered.org/t/how-to-break-array-loop-node/33367)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 11\
**Last updated:** [28 September 2020 05:08 UTC](https://discourse.nodered.org/t/how-to-break-array-loop-node/33367 "2020-09-28T05:08:26Z")

</div>

I use the array-loop node to browse the array, I tried setting the node to break the array midway but it didn't work. Please tell me! Thanks. For example, output to value C will break the array and continue to proces…

---

## [Subflow - Palette Tooltip](https://discourse.nodered.org/t/subflow-palette-tooltip/33427)

<div class="topic-metadata">

**Author:** [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Replies:** 0\
**Last updated:** [28 September 2020 00:05 UTC](https://discourse.nodered.org/t/subflow-palette-tooltip/33427 "2020-09-28T00:05:55Z")

</div>

I have created a set of subflows and added a description for each one in the subflow properties. I was expecting to see those descriptions in tooltip box when hovering the mouse over the subflow node in the palette. T…

---

## [Google nest SDM api](https://discourse.nodered.org/t/google-nest-sdm-api/33425)

<div class="topic-metadata">

**Author:** [@Kenny-JTK](https://discourse.nodered.org/u/Kenny-JTK)\
**Replies:** 0\
**Last updated:** [27 September 2020 21:46 UTC](https://discourse.nodered.org/t/google-nest-sdm-api/33425 "2020-09-27T21:46:11Z")

</div>

Just wanted to share something. Google released a SDM api in their cloud. Which allows you to control the nest thermostat after killing of the original works with nest. I've tested some things over the weekend and for me…

---

## [How to fix all errors?](https://discourse.nodered.org/t/how-to-fix-all-errors/33418)

<div class="topic-metadata">

**Author:** [@Zerg](https://discourse.nodered.org/u/Zerg)\
**Replies:** 2\
**Last updated:** [27 September 2020 21:01 UTC](https://discourse.nodered.org/t/how-to-fix-all-errors/33418 "2020-09-27T21:01:40Z")

</div>

I deleted everything, but, it keep writing to me an errors! What else I need to delete so that it don't write errors? And how to remove all items from number 2 on the my screenshot?

---

## [Vacation timer: Problems throwing boolean On/Off payloads](https://discourse.nodered.org/t/vacation-timer-problems-throwing-boolean-on-off-payloads/33328)

<div class="topic-metadata">

**Author:** [@KasimirGuenter1259](https://discourse.nodered.org/u/KasimirGuenter1259)\
**Replies:** 14\
**Last updated:** [27 September 2020 20:43 UTC](https://discourse.nodered.org/t/vacation-timer-problems-throwing-boolean-on-off-payloads/33328 "2020-09-27T20:43:24Z")

</div>

I want to use the vacation timer. Using the default options: ON command: payload is string "On", OFF command: payload is string "Off" everything is working well. Payload is "On" or "Off", depending on vacation timer st…

---

## [Problem installation Node-red with node.js 12](https://discourse.nodered.org/t/problem-installation-node-red-with-node-js-12/33401)

<div class="topic-metadata">

**Author:** [@FSN](https://discourse.nodered.org/u/FSN)\
**Replies:** 1\
**Last updated:** [27 September 2020 18:54 UTC](https://discourse.nodered.org/t/problem-installation-node-red-with-node-js-12/33401 "2020-09-27T18:54:17Z")

</div>

Good morning everybody I would like to install node-red in win10 1-. I installed Node.js 12 2-. I start Node.js command prompt and i executed npm install -g --unsafe-perm node-red and it was finished the installatio…

---

## [Link from subflow to flow... possible?](https://discourse.nodered.org/t/link-from-subflow-to-flow-possible/16062)

<div class="topic-metadata">

**Author:** [@hepcat72](https://discourse.nodered.org/u/hepcat72)\
**Replies:** 3\
**Last updated:** [27 September 2020 17:38 UTC](https://discourse.nodered.org/t/link-from-subflow-to-flow-possible/16062 "2020-09-27T17:38:41Z")

</div>

Hi, I'm somewhat of a noob. I'd been creating subflows to separate different types of flow components, but I recently discovered that you can link regular flows, so I started just creating regular flows and using links…

---

## [Create PDF from HTML](https://discourse.nodered.org/t/create-pdf-from-html/33414)

<div class="topic-metadata">

**Author:** [@RaiRoo](https://discourse.nodered.org/u/RaiRoo)\
**Replies:** 0\
**Last updated:** [27 September 2020 16:45 UTC](https://discourse.nodered.org/t/create-pdf-from-html/33414 "2020-09-27T16:45:46Z")

</div>

Hi, I try to create a PDF from HTM - and installed node-red-contrib-pdf for this. During installation I get errors 2020-09-27T16:28:45.619Z installieren : node-red-contrib-pdf 0.1.0 2020-09-27T16:28:45.624Z npm instal…

---

## [I can't find a Node with constanstly error](https://discourse.nodered.org/t/i-cant-find-a-node-with-constanstly-error/33399)

<div class="topic-metadata">

**Author:** [@Jotarod](https://discourse.nodered.org/u/Jotarod)\
**Replies:** 5\
**Last updated:** [27 September 2020 15:44 UTC](https://discourse.nodered.org/t/i-cant-find-a-node-with-constanstly-error/33399 "2020-09-27T15:44:54Z")

</div>

Dear Team, I am getting contanstly an error like you can see in the image attached below. I have been looking manualy (each one) and using the search tool the node : 64f63121.c5dec without success... I have restarted …

---

## [\[Solved\] Attempt to clone node module gives errors](https://discourse.nodered.org/t/solved-attempt-to-clone-node-module-gives-errors/33383)

<div class="topic-metadata">

**Author:** [@JosephDe](https://discourse.nodered.org/u/JosephDe)\
**Replies:** 7\
**Last updated:** [27 September 2020 14:19 UTC](https://discourse.nodered.org/t/solved-attempt-to-clone-node-module-gives-errors/33383 "2020-09-27T14:19:29Z")

</div>

Can anyone help me identify where I'm doing wrong, after creating the node it shows message error Type already registered in the management palette. I will really appreciated any help to resolve this issue. Kind rega…

---

## [How to set credentialSecret asynchronously?](https://discourse.nodered.org/t/how-to-set-credentialsecret-asynchronously/33410)

<div class="topic-metadata">

**Author:** [@astanet](https://discourse.nodered.org/u/astanet)\
**Replies:** 0\
**Last updated:** [27 September 2020 14:10 UTC](https://discourse.nodered.org/t/how-to-set-credentialsecret-asynchronously/33410 "2020-09-27T14:10:01Z")

</div>

Node-RED is what I really need now. I really enjoy to learn about Node-RED. I'm trying to make a Node-RED app on Google Cloud Platform. I succeeded to invoke some Google APIs with Compute Engine default service accoun…

---

## [If statement For Extracting a specific data](https://discourse.nodered.org/t/if-statement-for-extracting-a-specific-data/33405)

<div class="topic-metadata">

**Author:** [@Amir](https://discourse.nodered.org/u/Amir)\
**Replies:** 0\
**Last updated:** [27 September 2020 12:21 UTC](https://discourse.nodered.org/t/if-statement-for-extracting-a-specific-data/33405 "2020-09-27T12:21:22Z")

</div>

Good morning everyone.... The packet that is sent from the sensor is received by more than one Gateway.... I only need to extract the data from a specific gateway, the way I wrote the code doesn't work, What could be th…

---

## [Save value from a request](https://discourse.nodered.org/t/save-value-from-a-request/33359)

<div class="topic-metadata">

**Author:** [@torrent](https://discourse.nodered.org/u/torrent)\
**Replies:** 14\
**Last updated:** [27 September 2020 12:16 UTC](https://discourse.nodered.org/t/save-value-from-a-request/33359 "2020-09-27T12:16:41Z")

</div>

Hi, I want to save msg.keyID from a request, which returns more than 1 times. I think a picture maybe good to demonstrate. One time request return these value.. and here is my currently code \[{"id":"e2a6bf49.da72…

---

## [Undefined tag in node-red](https://discourse.nodered.org/t/undefined-tag-in-node-red/33355)

<div class="topic-metadata">

**Author:** [@alikhan](https://discourse.nodered.org/u/alikhan)\
**Replies:** 8\
**Last updated:** [27 September 2020 12:07 UTC](https://discourse.nodered.org/t/undefined-tag-in-node-red/33355 "2020-09-27T12:07:58Z")

</div>

We are getting the value in the SQL but POD tag shows undefine. tag property define as One Item in the IOT device. debug output: 9/25/2020, 11:12:51 PMnode: 3cdb5ae5.2dec26 msg.payload : string\[275\] "INSERT INTO \[2W…

---

## [Using Node-Red with Cloudant - Credential Issue](https://discourse.nodered.org/t/using-node-red-with-cloudant-credential-issue/16470)

<div class="topic-metadata">

**Author:** [@MJR](https://discourse.nodered.org/u/MJR)\
**Replies:** 4\
**Last updated:** [27 September 2020 11:18 UTC](https://discourse.nodered.org/t/using-node-red-with-cloudant-credential-issue/16470 "2020-09-27T11:18:37Z")

</div>

Hi there, I'm working with Node-Red and Cloudant, trying to put data into a Cloudant database file. Using the node-red-node-cf-cloudant nodes. This works fine with the two running in the same cloud, with the database b…

---

## [Multiple reads / out is getting out of sync](https://discourse.nodered.org/t/multiple-reads-out-is-getting-out-of-sync/33304)

<div class="topic-metadata">

**Author:** [@bmoel](https://discourse.nodered.org/u/bmoel)\
**Replies:** 2\
**Last updated:** [27 September 2020 08:45 UTC](https://discourse.nodered.org/t/multiple-reads-out-is-getting-out-of-sync/33304 "2020-09-27T08:45:33Z")

</div>

Hi, I'm trying to find a good way to use the ModBus flex getter to read multiple registers and store the returned values in variables. I use the a function node and the following syntax to read the ModBus registers I ne…

---

## [How to check if a string is numeric or not](https://discourse.nodered.org/t/how-to-check-if-a-string-is-numeric-or-not/33362)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 8\
**Last updated:** [26 September 2020 21:07 UTC](https://discourse.nodered.org/t/how-to-check-if-a-string-is-numeric-or-not/33362 "2020-09-26T21:07:40Z")

</div>

Hi, I would like to check if msg.payload (string) is a number or not. If I don't use the function node, is there a node that can check this? I tried searching in node-red library with keyword like verify, validate but…

---

## [Adding two values](https://discourse.nodered.org/t/adding-two-values/32784)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 69\
**Last updated:** [26 September 2020 21:07 UTC](https://discourse.nodered.org/t/adding-two-values/32784 "2020-09-26T21:07:25Z")

</div>

Hi, i just want to add these two values: I changed the topic: var temp = (msg.payload\[1\]) msg.payload = temp; msg.topic = "P1" return msg; but no matter what I do, it doesn't want to add in a function node.

---

## [Simple Gate Status - Solved](https://discourse.nodered.org/t/simple-gate-status-solved/33387)

<div class="topic-metadata">

**Author:** [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Replies:** 3\
**Last updated:** [26 September 2020 20:36 UTC](https://discourse.nodered.org/t/simple-gate-status-solved/33387 "2020-09-26T20:36:31Z")

</div>

I am using the Node "simple-gate" with the topic set to "control" and msg.payload "open or close", to command the gate. I want to use the gate open/close status to operate an LED and other logic. There is no direct way…

---

## [Convert slider value in MQTT message](https://discourse.nodered.org/t/convert-slider-value-in-mqtt-message/11286)

<div class="topic-metadata">

**Author:** [@agoralive](https://discourse.nodered.org/u/agoralive)\
**Replies:** 9\
**Last updated:** [26 September 2020 20:21 UTC](https://discourse.nodered.org/t/convert-slider-value-in-mqtt-message/11286 "2020-09-26T20:21:55Z")

</div>

Hi I have a slider in my dashboard which outputs a number between 1 - 100. I would like this number to be included into mqtt message: "{"state":"OFF","level":"100","temperature":"50"}" The number after level I would l…

---

## [Installing node-red on Synology NAS](https://discourse.nodered.org/t/installing-node-red-on-synology-nas/14329)

<div class="topic-metadata">

**Author:** [@mbc99](https://discourse.nodered.org/u/mbc99)\
**Replies:** 13\
**Last updated:** [26 September 2020 16:20 UTC](https://discourse.nodered.org/t/installing-node-red-on-synology-nas/14329 "2020-09-26T16:20:42Z")

</div>

Hi there. I won't there are tons of resources on the internet on how to install node-red on a Synology NAS without Docker. But I'm still strugling. I've alredy enabled user home under user-advanced I've installed node…

---

## [Node-Red on Synology](https://discourse.nodered.org/t/node-red-on-synology/3762)

<div class="topic-metadata">

**Author:** [@ohaldi](https://discourse.nodered.org/u/ohaldi)\
**Replies:** 22\
**Last updated:** [26 September 2020 16:13 UTC](https://discourse.nodered.org/t/node-red-on-synology/3762 "2020-09-26T16:13:03Z")

</div>

Hello, Did somebody wrote a good instruction how to install Node-RED on a Synology NAS? I'm not very good at linux. Regards Otto

---

## [Can you make a nested if statement without code?](https://discourse.nodered.org/t/can-you-make-a-nested-if-statement-without-code/33376)

<div class="topic-metadata">

**Author:** [@mad\_dad](https://discourse.nodered.org/u/mad_dad)\
**Replies:** 5\
**Last updated:** [26 September 2020 16:11 UTC](https://discourse.nodered.org/t/can-you-make-a-nested-if-statement-without-code/33376 "2020-09-26T16:11:23Z")

</div>

Is there a way to make a nested if statement using only by structuring nodes out on the GUI vs. writing js in a function node? How would you do it?

---

## [Pick the last value](https://discourse.nodered.org/t/pick-the-last-value/33377)

<div class="topic-metadata">

**Author:** [@alikhan](https://discourse.nodered.org/u/alikhan)\
**Replies:** 4\
**Last updated:** [26 September 2020 15:57 UTC](https://discourse.nodered.org/t/pick-the-last-value/33377 "2020-09-26T15:57:14Z")

</div>

Created the Unique ID with the define range, i want to select the output of the last Unique value it showing (refer to upload://7NYXPYznBSQJUdje4hk0Sql6SN.png) Function: if (msg.payload.Pos1\_op \> 21.00 & msg.payload.Po…

---

## [OSC message example](https://discourse.nodered.org/t/osc-message-example/33374)

<div class="topic-metadata">

**Author:** [@sylvanoMTL](https://discourse.nodered.org/u/sylvanoMTL)\
**Replies:** 1\
**Last updated:** [26 September 2020 15:51 UTC](https://discourse.nodered.org/t/osc-message-example/33374 "2020-09-26T15:51:23Z")

</div>

Hello, I am looking some examples that use the OSC node: node-red-contrib-osc The example provided is not enough for me to understand the node: Where can i find some relevant litterature? thanks, Sylvain

---

## [Installation Failure | node-red-contrib-mjpgcamera](https://discourse.nodered.org/t/installation-failure-node-red-contrib-mjpgcamera/33352)

<div class="topic-metadata">

**Author:** [@Magnus\_P](https://discourse.nodered.org/u/Magnus_P)\
**Replies:** 4\
**Last updated:** [26 September 2020 14:08 UTC](https://discourse.nodered.org/t/installation-failure-node-red-contrib-mjpgcamera/33352 "2020-09-26T14:08:05Z")

</div>

Help Wanted! I trying via the Palette to install the node-red-contrib-mjpgcamera with a failed result. I have the latest v1.1.3. running on a Synology NAS. Any idea why the installation failed, anyone? ---------------…

---

## [Devices not loading in node-red-contrib-deconz](https://discourse.nodered.org/t/devices-not-loading-in-node-red-contrib-deconz/33372)

<div class="topic-metadata">

**Author:** [@DLug](https://discourse.nodered.org/u/DLug)\
**Replies:** 0\
**Last updated:** [26 September 2020 11:48 UTC](https://discourse.nodered.org/t/devices-not-loading-in-node-red-contrib-deconz/33372 "2020-09-26T11:48:54Z")

</div>

Hello, I'm using deconz and NR in docker and have installed the node-red-contrib-deconz. The initial setup of the sever was successful but when I want to list all my available decives it just shows "No matches found" an…

---

## [How to calculate the difference in KWH values received every 5 min from modbus data and save it as a new values in csv](https://discourse.nodered.org/t/how-to-calculate-the-difference-in-kwh-values-received-every-5-min-from-modbus-data-and-save-it-as-a-new-values-in-csv/33274)

<div class="topic-metadata">

**Author:** [@Energycharges](https://discourse.nodered.org/u/Energycharges)\
**Replies:** 10\
**Last updated:** [26 September 2020 10:17 UTC](https://discourse.nodered.org/t/how-to-calculate-the-difference-in-kwh-values-received-every-5-min-from-modbus-data-and-save-it-as-a-new-values-in-csv/33274 "2020-09-26T10:17:15Z")

</div>

Hi , How to calculate the difference in KWH values received every 5 min from energy meter through modbus data and save the difference as a new values ( KWH\_sys) in csv. Am trying this because the KWH received from Ener…

---

## [Elasticsearch in Node-RED](https://discourse.nodered.org/t/elasticsearch-in-node-red/1620)

<div class="topic-metadata">

**Author:** [@Bhoemio](https://discourse.nodered.org/u/Bhoemio)\
**Replies:** 10\
**Last updated:** [26 September 2020 10:09 UTC](https://discourse.nodered.org/t/elasticsearch-in-node-red/1620 "2020-09-26T10:09:13Z")

</div>

Hi everyone, Can I use Elasticsearch in Node-RED to store data from a function? I'm tryind to send real time data from Node-RED to my Elasticsearch repository.

---

## [How do I calculate diff between two consecutive payloads](https://discourse.nodered.org/t/how-do-i-calculate-diff-between-two-consecutive-payloads/6756)

<div class="topic-metadata">

**Author:** [@Connicat](https://discourse.nodered.org/u/Connicat)\
**Replies:** 13\
**Last updated:** [26 September 2020 09:47 UTC](https://discourse.nodered.org/t/how-do-i-calculate-diff-between-two-consecutive-payloads/6756 "2020-09-26T09:47:09Z")

</div>

I'm trying to calculate the difference between to two consecutive payloads. I'm using SNMP node to query a router interface and return data bytes received. I want to subtract value payload n from payload n+1 to obtain th…

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

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