# Latest

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

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

**Page:** 869

---

## [Compare value with a variable (entity)](https://discourse.nodered.org/t/compare-value-with-a-variable-entity/42126)

<div class="topic-metadata">

**Author:** [@JJdave](https://discourse.nodered.org/u/JJdave)\
**Replies:** 2\
**Last updated:** [6 March 2021 05:25 UTC](https://discourse.nodered.org/t/compare-value-with-a-variable-entity/42126 "2021-03-06T05:25:23Z")

</div>

Hi, I am struggling with a - maybe - simple flow. Just want to compare 2 temperatures and in case the difference is bigger than a value do something. Below flow works s far, but the compare level is set to a fix value o…

---

## [Turn light On after motion detected 3 times within 5 mins](https://discourse.nodered.org/t/turn-light-on-after-motion-detected-3-times-within-5-mins/42127)

<div class="topic-metadata">

**Author:** [@klingon888](https://discourse.nodered.org/u/klingon888)\
**Replies:** 1\
**Last updated:** [6 March 2021 01:09 UTC](https://discourse.nodered.org/t/turn-light-on-after-motion-detected-3-times-within-5-mins/42127 "2021-03-06T01:09:46Z")

</div>

I want to use a MQTT motion sensor to turn ON a light BUT only after it has detected 3 motion triggers within a 5 minute period. If no 3 triggers within the 5 mins, then reset and start again. How can this be done in Nod…

---

## [Help needed parsing csv as json and get sum of them](https://discourse.nodered.org/t/help-needed-parsing-csv-as-json-and-get-sum-of-them/42132)

<div class="topic-metadata">

**Author:** [@umtksa](https://discourse.nodered.org/u/umtksa)\
**Replies:** 4\
**Last updated:** [6 March 2021 00:50 UTC](https://discourse.nodered.org/t/help-needed-parsing-csv-as-json-and-get-sum-of-them/42132 "2021-03-06T00:50:17Z")

</div>

I'm trying to parse a csv file I can parse it like this but I cannot get sum of all "Total" it has 8 entries on this example but it can be 1 or 19 sometimes can someone point me to the right direction :v: \[{"id":"…

---

## [Smoke detected, wait X minutes then turn on fan once smoke cleared](https://discourse.nodered.org/t/smoke-detected-wait-x-minutes-then-turn-on-fan-once-smoke-cleared/41521)

<div class="topic-metadata">

**Author:** [@hollapm](https://discourse.nodered.org/u/hollapm)\
**Replies:** 17\
**Last updated:** [6 March 2021 00:28 UTC](https://discourse.nodered.org/t/smoke-detected-wait-x-minutes-then-turn-on-fan-once-smoke-cleared/41521 "2021-03-06T00:28:20Z")

</div>

I'm working with Node-Red and want it to turn off my fans if smoke is detected to prevent possible spread of fire. What I would like for it to do is that one the status turns to clear, to wait X minutes and see if it's …

---

## [Object vs strings - extract a value from a split](https://discourse.nodered.org/t/object-vs-strings-extract-a-value-from-a-split/42112)

<div class="topic-metadata">

**Author:** [@SimonFili](https://discourse.nodered.org/u/SimonFili)\
**Replies:** 5\
**Last updated:** [6 March 2021 00:23 UTC](https://discourse.nodered.org/t/object-vs-strings-extract-a-value-from-a-split/42112 "2021-03-06T00:23:38Z")

</div>

Hi there, beginner warning! I have this flow working fine to extract the humidity value from a string: \[{"id":"879a195a.741c98","type":"inject","z":"5996dc31.f79034","name":"{\\"status\\":\\"ok\\",\\"humidity\\":\\"53\\"}","pr…

---

## [Help with error please - exec node chromium kiosk](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002)

<div class="topic-metadata">

**Author:** [@FatPilot](https://discourse.nodered.org/u/FatPilot)\
**Replies:** 35\
**Last updated:** [6 March 2021 00:19 UTC](https://discourse.nodered.org/t/help-with-error-please-exec-node-chromium-kiosk/42002 "2021-03-06T00:19:36Z")

</div>

Hi Everyone, I have been leaving my Pi running for longer periods and I'm seeing that the browser Chromium is crashing. Node Red itself is still up and running and if I point an external browser at it all is good. The …

---

## [Docker Image for Node Red 1.3.0-beta.1](https://discourse.nodered.org/t/docker-image-for-node-red-1-3-0-beta-1/42063)

<div class="topic-metadata">

**Author:** [@sastusb](https://discourse.nodered.org/u/sastusb)\
**Replies:** 1\
**Last updated:** [5 March 2021 21:08 UTC](https://discourse.nodered.org/t/docker-image-for-node-red-1-3-0-beta-1/42063 "2021-03-05T21:08:03Z")

</div>

Hello Everyone, I require a docker image of node red beta version 1.3.0-beta.1 which contains the mqtt v5 nodes. Can anyone help me in getting a docker image for the same. Steps to create the image is also welcome. T…

---

## [Increment number with true and false](https://discourse.nodered.org/t/increment-number-with-true-and-false/42106)

<div class="topic-metadata">

**Author:** [@davenrea](https://discourse.nodered.org/u/davenrea)\
**Replies:** 12\
**Last updated:** [5 March 2021 21:05 UTC](https://discourse.nodered.org/t/increment-number-with-true-and-false/42106 "2021-03-05T21:05:15Z")

</div>

Looking for some help on writing a function node. i have a variable hbtset which i need to increase or decrease from either buttons on a dash board or in the flow elswhere. on pressing the button on the dash i want to s…

---

## [UIBuilder Vue3 REST better than my hack](https://discourse.nodered.org/t/uibuilder-vue3-rest-better-than-my-hack/42096)

<div class="topic-metadata">

**Author:** [@j2l](https://discourse.nodered.org/u/j2l)\
**Replies:** 13\
**Last updated:** [5 March 2021 20:47 UTC](https://discourse.nodered.org/t/uibuilder-vue3-rest-better-than-my-hack/42096 "2021-03-05T20:47:34Z")

</div>

I'd like a simpler way to get REST json than my hack: \[{"id":"7e333256.6fb56c","type":"http response","z":"50528611.ae64a8","name":"","statusCode":"","headers":{},"x":1610,"y":640,"wires":\[\]},{"id":"e549f9e3.4965","type…

---

## [Feature Request - headers](https://discourse.nodered.org/t/feature-request-headers/42118)

<div class="topic-metadata">

**Author:** [@meeki007](https://discourse.nodered.org/u/meeki007)\
**Replies:** 0\
**Last updated:** [5 March 2021 20:01 UTC](https://discourse.nodered.org/t/feature-request-headers/42118 "2021-03-05T20:01:51Z")

</div>

Back in Sep 22, 2020 I provided a pull request: socketip of user incorrect behind a proxy For a while now I've been using: ev.emit("newsocket", socket.client.id, socket.request.headers); Instead of: ev.emit("newso…

---

## [Layout has changed](https://discourse.nodered.org/t/layout-has-changed/42048)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 5\
**Last updated:** [5 March 2021 19:56 UTC](https://discourse.nodered.org/t/layout-has-changed/42048 "2021-03-05T19:56:57Z")

</div>

If I dug around I may find a screen shot, but MUSICPI used to be over to the left. Now it has snuck over to the right. Yes, I know the padding in the settings. Tried that. Isn't helping. Though I may not have…

---

## [Use flow-variable inside http request node using {{variable}}](https://discourse.nodered.org/t/use-flow-variable-inside-http-request-node-using-variable/42116)

<div class="topic-metadata">

**Author:** [@letmedothis](https://discourse.nodered.org/u/letmedothis)\
**Replies:** 8\
**Last updated:** [5 March 2021 19:52 UTC](https://discourse.nodered.org/t/use-flow-variable-inside-http-request-node-using-variable/42116 "2021-03-05T19:52:46Z")

</div>

hello everyone I figured out how to save a "flow"-wide variable using "change"-node. somehow I can't directly use this variable inside a "http request node" I always need to use another "change" node to save the varia…

---

## [Dashboard node similar to node-red-contrib-image-output](https://discourse.nodered.org/t/dashboard-node-similar-to-node-red-contrib-image-output/42097)

<div class="topic-metadata">

**Author:** [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Replies:** 2\
**Last updated:** [5 March 2021 19:44 UTC](https://discourse.nodered.org/t/dashboard-node-similar-to-node-red-contrib-image-output/42097 "2021-03-05T19:44:54Z")

</div>

Hello The node-red-contrib-image-output is fantastic, I just would like to display the same image in the dashboard ( buffer image in my case ).! Thank you all

---

## [Save/restore state of dashboard input elements](https://discourse.nodered.org/t/save-restore-state-of-dashboard-input-elements/41685)

<div class="topic-metadata">

**Author:** [@pacosta](https://discourse.nodered.org/u/pacosta)\
**Replies:** 37\
**Last updated:** [5 March 2021 19:19 UTC](https://discourse.nodered.org/t/save-restore-state-of-dashboard-input-elements/41685 "2021-03-05T19:19:43Z")

</div>

I apologize if this issue has been raised before, I searched the history and could not find any relevant discussion on the topic. My proposal centers around modifying the dashboard input notes (numeric, switch, etc.) to…

---

## [How to get get all global variables?](https://discourse.nodered.org/t/how-to-get-get-all-global-variables/42005)

<div class="topic-metadata">

**Author:** [@sathishkumarc14](https://discourse.nodered.org/u/sathishkumarc14)\
**Replies:** 5\
**Last updated:** [5 March 2021 18:14 UTC](https://discourse.nodered.org/t/how-to-get-get-all-global-variables/42005 "2021-03-05T18:14:50Z")

</div>

I need to get all global context variables. Is there any function to get all global variable?

---

## [How to restart flows automatically?](https://discourse.nodered.org/t/how-to-restart-flows-automatically/12993)

<div class="topic-metadata">

**Author:** [@swiftnesses](https://discourse.nodered.org/u/swiftnesses)\
**Replies:** 6\
**Last updated:** [5 March 2021 17:40 UTC](https://discourse.nodered.org/t/how-to-restart-flows-automatically/12993 "2021-03-05T17:40:56Z")

</div>

Dear all, We're encountering a situation whereby if we have loss of connectivity, a number of flows (namely websocket nodes) fail to reconnect, while I realise we could check the source for the problematic nodes and imp…

---

## [Plot chart gps from longitude & latitude data](https://discourse.nodered.org/t/plot-chart-gps-from-longitude-latitude-data/42089)

<div class="topic-metadata">

**Author:** [@kemplut](https://discourse.nodered.org/u/kemplut)\
**Replies:** 1\
**Last updated:** [5 March 2021 17:20 UTC](https://discourse.nodered.org/t/plot-chart-gps-from-longitude-latitude-data/42089 "2021-03-05T17:20:02Z")

</div>

Hi guys, i want to make plot gps from langitude & latitude data on chart dhasboard (pic). but i cant input 2 data on chart dhasboard, somebody help me. thx

---

## [How to split an array based on an element within the array?](https://discourse.nodered.org/t/how-to-split-an-array-based-on-an-element-within-the-array/42067)

<div class="topic-metadata">

**Author:** [@dclear](https://discourse.nodered.org/u/dclear)\
**Replies:** 14\
**Last updated:** [5 March 2021 13:50 UTC](https://discourse.nodered.org/t/how-to-split-an-array-based-on-an-element-within-the-array/42067 "2021-03-05T13:50:22Z")

</div>

Sorry, I've Googled and Googled but I can't find out how to do this. I've looked at threads that show functions, jsonata expressions, split nodes, change nodes - but because the array will have staff in different positio…

---

## [Cut: ctrl-delete, Copy: ctrl-insert, Paste: shift-insert](https://discourse.nodered.org/t/cut-ctrl-delete-copy-ctrl-insert-paste-shift-insert/42074)

<div class="topic-metadata">

**Author:** [@BillClark](https://discourse.nodered.org/u/BillClark)\
**Replies:** 9\
**Last updated:** [5 March 2021 16:47 UTC](https://discourse.nodered.org/t/cut-ctrl-delete-copy-ctrl-insert-paste-shift-insert/42074 "2021-03-05T16:47:27Z")

</div>

Would be wonderful if Node Red supported the "IBM Common User Access" keys for cut, copy, and paste. Cut: ctrl-delete, Copy: ctrl-insert, Paste: shift-insert I have been using these keys for over 30 years, since about …

---

## [Note about new version of Mosquitto MQTT broker v2.0.0](https://discourse.nodered.org/t/note-about-new-version-of-mosquitto-mqtt-broker-v2-0-0/42073)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 7\
**Last updated:** [5 March 2021 16:37 UTC](https://discourse.nodered.org/t/note-about-new-version-of-mosquitto-mqtt-broker-v2-0-0/42073 "2021-03-05T16:37:05Z")

</div>

In case people get caught out by this, there is a new version of Mosquitto that has breaking changes. You may well need to make some changes to your Mosquitto configuration file and restart in order to let Node-RED work…

---

## [Blitzortung.org flow for thunderstorms](https://discourse.nodered.org/t/blitzortung-org-flow-for-thunderstorms/42083)

<div class="topic-metadata">

**Author:** [@geotete](https://discourse.nodered.org/u/geotete)\
**Replies:** 13\
**Last updated:** [5 March 2021 16:35 UTC](https://discourse.nodered.org/t/blitzortung-org-flow-for-thunderstorms/42083 "2021-03-05T16:35:40Z")

</div>

Hi everybody, I would like to know if anyone is using info from blitzortung.org to implement a flow in Node Red. I know that Home Assistant have a integration for this, but I don't use HA. I need that info, to disconn…

---

## [New 'Events' category added](https://discourse.nodered.org/t/new-events-category-added/42103)

<div class="topic-metadata">

**Author:** [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Replies:** 0\
**Last updated:** [5 March 2021 16:11 UTC](https://discourse.nodered.org/t/new-events-category-added/42103 "2021-03-05T16:11:54Z")

</div>

We have added a new category to the forum - #events This is a category where the community are welcome to advertise any upcoming events that are relevant to the Node-RED audience. Whether it's a meetup, hackathon, webc…

---

## [SONOS + IKEA Tradfri](https://discourse.nodered.org/t/sonos-ikea-tradfri/42069)

<div class="topic-metadata">

**Author:** [@henry76](https://discourse.nodered.org/u/henry76)\
**Replies:** 0\
**Last updated:** [5 March 2021 08:47 UTC](https://discourse.nodered.org/t/sonos-ikea-tradfri/42069 "2021-03-05T08:47:56Z")

</div>

I did not find a similar project, so I started hacking away and got it working (finally). Sharing the code with anybody who cares. If you have suggestions, please let me know :). Setup: RPi3 with Openhabian, Node-Red, c…

---

## [How to calculate machine running time](https://discourse.nodered.org/t/how-to-calculate-machine-running-time/19529)

<div class="topic-metadata">

**Author:** [@KELVINHAN95](https://discourse.nodered.org/u/KELVINHAN95)\
**Replies:** 8\
**Last updated:** [5 March 2021 15:33 UTC](https://discourse.nodered.org/t/how-to-calculate-machine-running-time/19529 "2021-03-05T15:33:54Z")

</div>

Hi, I need to calculate my machine running time % and it needs to be updated every second. (Machine running time = Normal Running Time/Total Working Time) I have tried using this flow: https://github.com/cflurin/node-…

---

## [Node Red Runtimes](https://discourse.nodered.org/t/node-red-runtimes/42091)

<div class="topic-metadata">

**Author:** [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Replies:** 3\
**Last updated:** [5 March 2021 15:29 UTC](https://discourse.nodered.org/t/node-red-runtimes/42091 "2021-03-05T15:29:15Z")

</div>

Hi All, I would like to create a "master time" in Node-Red (if there isn't already built into the program) that basically just counts the total time that the Raspberry Pi its running off is on and Node-Red as a program …

---

## [Node red x509 ssl home network not working](https://discourse.nodered.org/t/node-red-x509-ssl-home-network-not-working/41948)

<div class="topic-metadata">

**Author:** [@kubasmyk](https://discourse.nodered.org/u/kubasmyk)\
**Replies:** 6\
**Last updated:** [5 March 2021 15:26 UTC](https://discourse.nodered.org/t/node-red-x509-ssl-home-network-not-working/41948 "2021-03-05T15:26:02Z")

</div>

hello i have tried following this guide for ssl i have modified the command for the 2048 encryption i have added my common name of the raspberry pi 192 168 7 200 i have uncommented the line to enable https id dont…

---

## [How do I get data from database and send it to postman using postman](https://discourse.nodered.org/t/how-do-i-get-data-from-database-and-send-it-to-postman-using-postman/42072)

<div class="topic-metadata">

**Author:** [@Darshil](https://discourse.nodered.org/u/Darshil)\
**Replies:** 5\
**Last updated:** [5 March 2021 15:22 UTC](https://discourse.nodered.org/t/how-do-i-get-data-from-database-and-send-it-to-postman-using-postman/42072 "2021-03-05T15:22:19Z")

</div>

I have recently started using Node-Red. I want to understand how could I send data from my MySQL database to postman using Node-Red. I was advised to use GET option in http in node to send data to postman. I not sure …

---

## [REGEX Question using JSONata (Change node)](https://discourse.nodered.org/t/regex-question-using-jsonata-change-node/42092)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 2\
**Last updated:** [5 March 2021 15:03 UTC](https://discourse.nodered.org/t/regex-question-using-jsonata-change-node/42092 "2021-03-05T15:03:08Z")

</div>

Hi. I'm trying to extract "Total: $10.00" from this text 02-01 00:00 02-28 23:59$10.00 $0.00 $10.00Subtotal: $10.00Tax: $0.00Total: $10.00Thanks for your purchase!Please do not hesitate to contact us if you have any qu…

---

## [Nodes not always running - initialising problems /openhab input](https://discourse.nodered.org/t/nodes-not-always-running-initialising-problems-openhab-input/42090)

<div class="topic-metadata">

**Author:** [@Ursusprimus](https://discourse.nodered.org/u/Ursusprimus)\
**Replies:** 0\
**Last updated:** [5 March 2021 14:15 UTC](https://discourse.nodered.org/t/nodes-not-always-running-initialising-problems-openhab-input/42090 "2021-03-05T14:15:39Z")

</div>

I have several nodes that don't regularly do what they're supposed to do. Most of the time/allways, when I (re-)deploy they start working. I think it's especially the ones that deal with Openhab-Input-nodes. For example…

---

## [How i can parse this code into dashboard?](https://discourse.nodered.org/t/how-i-can-parse-this-code-into-dashboard/41489)

<div class="topic-metadata">

**Author:** [@kemplut](https://discourse.nodered.org/u/kemplut)\
**Replies:** 3\
**Last updated:** [5 March 2021 13:35 UTC](https://discourse.nodered.org/t/how-i-can-parse-this-code-into-dashboard/41489 "2021-03-05T13:35:11Z")

</div>

how i can parse this code into dashboard ?.

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

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