# Latest

**URL:** https://discourse.nodered.org/latest.md?page=991

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

**Page:** 992

---

## [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…

---

## [Navigate between 2 flows](https://discourse.nodered.org/t/navigate-between-2-flows/20306)

<div class="topic-metadata">

**Author:** [@SilverMecer](https://discourse.nodered.org/u/SilverMecer)\
**Replies:** 8\
**Last updated:** [27 September 2020 06:11 UTC](https://discourse.nodered.org/t/navigate-between-2-flows/20306 "2020-09-27T06:11:57Z")

</div>

Just a quick question is it possible to navigate between flows with a button?

---

## [Convert int to hex color](https://discourse.nodered.org/t/convert-int-to-hex-color/33394)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 4\
**Last updated:** [26 September 2020 22:06 UTC](https://discourse.nodered.org/t/convert-int-to-hex-color/33394 "2020-09-26T22:06:37Z")

</div>

Hi, In my flow I recall the value from a sensor and it can be between 0 and 1000. I want to change the int to a hex color, where 0 will be blue, 500 green and 1000 red. This will be use in World map to change the icon…

---

## [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…

---

## [How to connect openweathermap with the dashboard-gauge?](https://discourse.nodered.org/t/how-to-connect-openweathermap-with-the-dashboard-gauge/7560)

<div class="topic-metadata">

**Author:** [@hebergeweb](https://discourse.nodered.org/u/hebergeweb)\
**Replies:** 7\
**Last updated:** [26 September 2020 10:16 UTC](https://discourse.nodered.org/t/how-to-connect-openweathermap-with-the-dashboard-gauge/7560 "2020-09-26T10:16:15Z")

</div>

I installed openweathermap and the dashboard for node-red, But the gauge display 0. I want to display the current temperature from openweathermap with the dashboard-gauge. I need to use the following objects from openw…

---

## [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…

---

## [Trigger node time settable through message](https://discourse.nodered.org/t/trigger-node-time-settable-through-message/33366)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 16\
**Last updated:** [26 September 2020 09:10 UTC](https://discourse.nodered.org/t/trigger-node-time-settable-through-message/33366 "2020-09-26T09:10:19Z")

</div>

I am sure it has been brought up before - and even by me. But I am now finding more and more cases where I need to control the trigger node's time via messages or context. (Your choice which at this stage) But I am s…

---

## ["Colour mapping" - help needed to create RGB value](https://discourse.nodered.org/t/colour-mapping-help-needed-to-create-rgb-value/33364)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 14\
**Last updated:** [26 September 2020 09:08 UTC](https://discourse.nodered.org/t/colour-mapping-help-needed-to-create-rgb-value/33364 "2020-09-26T09:08:43Z")

</div>

Today's quest I receive temperature values. 30 - 75 (example) I want to display that with a RGB LED. Say 30 - 36 --\> blue. Green starts to creep in then. 36 - 40 --\> Blue fades out and becomes green. Towards the 4…

---

## [Trying to send string to Denon Receiver. Inject works, Trigger doesn't](https://discourse.nodered.org/t/trying-to-send-string-to-denon-receiver-inject-works-trigger-doesnt/33363)

<div class="topic-metadata">

**Author:** [@NLCarrII](https://discourse.nodered.org/u/NLCarrII)\
**Replies:** 7\
**Last updated:** [26 September 2020 03:37 UTC](https://discourse.nodered.org/t/trying-to-send-string-to-denon-receiver-inject-works-trigger-doesnt/33363 "2020-09-26T03:37:40Z")

</div>

Title kind of says it all. I can successfully send and control a Denon Receiver with the inject node, but not the trigger node. The msg.payload in the debug output looks exactly the same. I have tried adding a carriag…

---

## [Reboot node red under Windows](https://discourse.nodered.org/t/reboot-node-red-under-windows/14260)

<div class="topic-metadata">

**Author:** [@Soft4](https://discourse.nodered.org/u/Soft4)\
**Replies:** 35\
**Last updated:** [26 September 2020 00:03 UTC](https://discourse.nodered.org/t/reboot-node-red-under-windows/14260 "2020-09-26T00:03:25Z")

</div>

How can I reboot node-red under windows with a button on my dashboard. I suspect with the exec node but I cannot find the correct command.

---

## [Install script failing on nodejs install](https://discourse.nodered.org/t/install-script-failing-on-nodejs-install/33358)

<div class="topic-metadata">

**Author:** [@liltux](https://discourse.nodered.org/u/liltux)\
**Replies:** 3\
**Last updated:** [25 September 2020 23:06 UTC](https://discourse.nodered.org/t/install-script-failing-on-nodejs-install/33358 "2020-09-25T23:06:47Z")

</div>

Trying to setup a test machine using an old Dell 64bit computer. I am familiar with Raspbian so I decided to give it a go on PC. Installed raspbian for PC. Now trying to install NodeRed. Script fails at installing No…

---

## [BigTimer does not turn off at Sunday midnight](https://discourse.nodered.org/t/bigtimer-does-not-turn-off-at-sunday-midnight/33134)

<div class="topic-metadata">

**Author:** [@zoltansz](https://discourse.nodered.org/u/zoltansz)\
**Replies:** 28\
**Last updated:** [25 September 2020 21:18 UTC](https://discourse.nodered.org/t/bigtimer-does-not-turn-off-at-sunday-midnight/33134 "2020-09-25T21:18:12Z")

</div>

Hi, does anyone else experience that BigTimer does not turn off at Sunday midnight? All other times and days are working fine for me. I could solve it by moving the OFF time to 23:45 and add a 15m Delay, but that's not …

---

## [In UI nodes, can use msg prefixed message properites but not flow prefixed properties?](https://discourse.nodered.org/t/in-ui-nodes-can-use-msg-prefixed-message-properites-but-not-flow-prefixed-properties/33357)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 2\
**Last updated:** [25 September 2020 20:45 UTC](https://discourse.nodered.org/t/in-ui-nodes-can-use-msg-prefixed-message-properites-but-not-flow-prefixed-properties/33357 "2020-09-25T20:45:29Z")

</div>

So I can set the title of ui-button via {{msg.payload}}, and even {{msg.title}} for example. But I can't do {{flow.title}}? Just asking if this is expected to work, or not a valid option?

---

## [Media player - node red](https://discourse.nodered.org/t/media-player-node-red/33354)

<div class="topic-metadata">

**Author:** [@repomanz](https://discourse.nodered.org/u/repomanz)\
**Replies:** 0\
**Last updated:** [25 September 2020 17:36 UTC](https://discourse.nodered.org/t/media-player-node-red/33354 "2020-09-25T17:36:23Z")

</div>

Hello everyone, I have an alarm trigger flow setup in node-red but the final bit I can't get to work properly. Through HA this automation works fine; I just haven't figured out the proper node configuration I think i…

---

## [Delay in Round Robin Node](https://discourse.nodered.org/t/delay-in-round-robin-node/33277)

<div class="topic-metadata">

**Author:** [@sivawabco](https://discourse.nodered.org/u/sivawabco)\
**Replies:** 22\
**Last updated:** [25 September 2020 17:01 UTC](https://discourse.nodered.org/t/delay-in-round-robin-node/33277 "2020-09-25T17:01:53Z")

</div>

Hi All, I have been working on Fleet management solutions. Am using Node-red to listen the feed from the device and send it to my loadbalancer server. My flow like below: Listener -\> Round Robin Loadbalancer Node (2…

[Previous page](https://discourse.nodered.org/latest.md?page=990)

[Next page](https://discourse.nodered.org/latest.md?page=992)
