# Latest

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

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

**Page:** 486

---

## [Loop not ending](https://discourse.nodered.org/t/loop-not-ending/68753)

<div class="topic-metadata">

**Author:** [@khfischbach](https://discourse.nodered.org/u/khfischbach)\
**Replies:** 7\
**Last updated:** [9 October 2022 11:36 UTC](https://discourse.nodered.org/t/loop-not-ending/68753 "2022-10-09T11:36:15Z")

</div>

Hi, I am trying to use a conditional loop, but the loop does not end. Input payload object is: {"\_msgid":"e51e646b.aee378","payload":{"NewTotalAssociations":"2"}} The condition of the loop is: msg.payload.NewTotalAs…

---

## [Remove header from gps object data](https://discourse.nodered.org/t/remove-header-from-gps-object-data/68688)

<div class="topic-metadata">

**Author:** [@SplitSecComp](https://discourse.nodered.org/u/SplitSecComp)\
**Replies:** 10\
**Last updated:** [8 October 2022 12:58 UTC](https://discourse.nodered.org/t/remove-header-from-gps-object-data/68688 "2022-10-08T12:58:10Z")

</div>

Hi. I receive data from a gps and want to write it to a sql database. How do i get rid of the longitude, latitude, altitude, accuracy, provider etc in the object data. I only want to write the actual values to sql. The…

---

## [Memory usage increases quickly](https://discourse.nodered.org/t/memory-usage-increases-quickly/68692)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 7\
**Last updated:** [9 October 2022 09:40 UTC](https://discourse.nodered.org/t/memory-usage-increases-quickly/68692 "2022-10-09T09:40:56Z")

</div>

Hi all I'm programming a node red code complex which contains mqtt with mosquito, some function which contains variables defined with var, I use some loops until a condition let to proceed and digital input and output co…

---

## [That rate-limit per topic problem](https://discourse.nodered.org/t/that-rate-limit-per-topic-problem/68641)

<div class="topic-metadata">

**Author:** [@strelniece](https://discourse.nodered.org/u/strelniece)\
**Replies:** 12\
**Last updated:** [9 October 2022 09:16 UTC](https://discourse.nodered.org/t/that-rate-limit-per-topic-problem/68641 "2022-10-09T09:16:23Z")

</div>

Seems like I'm not alone, but has anyone a good solution? I have a bunch of messages with different topics that I want to rate limit, per topic. But besides sending the first message, I also want it to delay each msg p…

---

## [Node-red-node-twitter: location / coordinates](https://discourse.nodered.org/t/node-red-node-twitter-location-coordinates/68730)

<div class="topic-metadata">

**Author:** [@Hunter](https://discourse.nodered.org/u/Hunter)\
**Replies:** 5\
**Last updated:** [9 October 2022 09:06 UTC](https://discourse.nodered.org/t/node-red-node-twitter-location-coordinates/68730 "2022-10-09T09:06:11Z")

</div>

Hello, It should to be possible to send location / coordinates along with a Tweet, but I didn't manage to figure this out correctly. Anyone willing to share an example which they have working? Kind regards, Peter Hun…

---

## [HTTP Response Node CORS Header Problem](https://discourse.nodered.org/t/http-response-node-cors-header-problem/68712)

<div class="topic-metadata">

**Author:** [@lewi0231](https://discourse.nodered.org/u/lewi0231)\
**Replies:** 3\
**Last updated:** [9 October 2022 08:42 UTC](https://discourse.nodered.org/t/http-response-node-cors-header-problem/68712 "2022-10-09T08:42:42Z")

</div>

I'm currently using the HTTP-in node which is set to accept a POST request which is working fine. However I am then trying to use the HTTP-response node to send back data. The problem I'm facing is that even though I h…

---

## [Create Array of Different Objects for UI-Table](https://discourse.nodered.org/t/create-array-of-different-objects-for-ui-table/66583)

<div class="topic-metadata">

**Author:** [@Kimo](https://discourse.nodered.org/u/Kimo)\
**Replies:** 3\
**Last updated:** [9 October 2022 06:44 UTC](https://discourse.nodered.org/t/create-array-of-different-objects-for-ui-table/66583 "2022-10-09T06:44:49Z")

</div>

Hi. I have a case where user can key in multiple times of input and these inputs will be sent & displayed on ui-table. However, my issue now is how to store/create those different objects/inputs in one array so I can di…

---

## [Update SQL Table of multiple rows with different identifiers](https://discourse.nodered.org/t/update-sql-table-of-multiple-rows-with-different-identifiers/66632)

<div class="topic-metadata">

**Author:** [@Kimo](https://discourse.nodered.org/u/Kimo)\
**Replies:** 3\
**Last updated:** [9 October 2022 06:30 UTC](https://discourse.nodered.org/t/update-sql-table-of-multiple-rows-with-different-identifiers/66632 "2022-10-09T06:30:57Z")

</div>

Hi. I been stuck for some days figuring out how I can update multiple rows of a sql table which have different identifier. Inside my flow, when user key in an input, the data will send to sql table also to a ui table the…

---

## [How to control servo motor using esp 32 using Node Red?](https://discourse.nodered.org/t/how-to-control-servo-motor-using-esp-32-using-node-red/68711)

<div class="topic-metadata">

**Author:** [@Yassineamal](https://discourse.nodered.org/u/Yassineamal)\
**Replies:** 2\
**Last updated:** [9 October 2022 05:43 UTC](https://discourse.nodered.org/t/how-to-control-servo-motor-using-esp-32-using-node-red/68711 "2022-10-09T05:43:25Z")

</div>

How to control servo motor using esp 32 using Node Red?

---

## [Nodered update 2.2.3-2 keeps repeating](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177)

<div class="topic-metadata">

**Author:** [@ras\_oscar](https://discourse.nodered.org/u/ras_oscar)\
**Replies:** 9\
**Last updated:** [9 October 2022 03:57 UTC](https://discourse.nodered.org/t/nodered-update-2-2-3-2-keeps-repeating/68177 "2022-10-09T03:57:05Z")

</div>

I am running node red on a raspberry pi 4b on a debian installation. For the last couple weeks i keep getting a notice through the usual update mechanism to update node red to 2.2.3-2. If I run the update, it reports suc…

---

## [Move file to smb nas folder](https://discourse.nodered.org/t/move-file-to-smb-nas-folder/68740)

<div class="topic-metadata">

**Author:** [@stain3565](https://discourse.nodered.org/u/stain3565)\
**Replies:** 1\
**Last updated:** [9 October 2022 01:51 UTC](https://discourse.nodered.org/t/move-file-to-smb-nas-folder/68740 "2022-10-09T01:51:55Z")

</div>

I am creating my first node-red flow to read new emails containing a mp4 attachment and extract this to a folder. This is working. However, my next step is to move or copy that file from the folder into the samba share o…

---

## [How to see flow/global variables in GUI](https://discourse.nodered.org/t/how-to-see-flow-global-variables-in-gui/68733)

<div class="topic-metadata">

**Author:** [@tamueller](https://discourse.nodered.org/u/tamueller)\
**Replies:** 2\
**Last updated:** [8 October 2022 21:54 UTC](https://discourse.nodered.org/t/how-to-see-flow-global-variables-in-gui/68733 "2022-10-08T21:54:47Z")

</div>

Hi, I'm just starting with node red, and wonder if it's possible to somehow see the current state of the flow/global variables somewhere in the GUI? I couldn't find it, but that would be really helpful to debug/understa…

---

## [How to receive just one email](https://discourse.nodered.org/t/how-to-receive-just-one-email/68632)

<div class="topic-metadata">

**Author:** [@gwaag](https://discourse.nodered.org/u/gwaag)\
**Replies:** 3\
**Last updated:** [8 October 2022 18:03 UTC](https://discourse.nodered.org/t/how-to-receive-just-one-email/68632 "2022-10-08T18:03:45Z")

</div>

Hello, I have a flow, so that when power consumption is \< 5 it should send 1x email. Now, when value is \< 5, I recive many, many, mails. How can I change the flow to only recive 1 mail? Thanks and regards gwaag

---

## [Need a means to protect my source code](https://discourse.nodered.org/t/need-a-means-to-protect-my-source-code/7973)

<div class="topic-metadata">

**Author:** [@dennishvo](https://discourse.nodered.org/u/dennishvo)\
**Replies:** 44\
**Last updated:** [28 May 2021 20:41 UTC](https://discourse.nodered.org/t/need-a-means-to-protect-my-source-code/7973 "2021-05-28T20:41:09Z")

</div>

This topic comes up from time-to-time, but I haven't seen a satisfactory answer. I need a way to encrypt the source code on the micro SD card so that the card is useless if someone pulls it out and tries to make off wit…

---

## [2 push buttons one sets the status to on, the other to off](https://discourse.nodered.org/t/2-push-buttons-one-sets-the-status-to-on-the-other-to-off/68726)

<div class="topic-metadata">

**Author:** [@hansge31](https://discourse.nodered.org/u/hansge31)\
**Replies:** 1\
**Last updated:** [8 October 2022 16:08 UTC](https://discourse.nodered.org/t/2-push-buttons-one-sets-the-status-to-on-the-other-to-off/68726 "2022-10-08T16:08:22Z")

</div>

I'm looking to implement a two push button logic, switching a smart power socket. The first push button should set the state to on (1 or multiple times triggered) The second push button sets the state to off How to im…

---

## [\[SOLVED\] Help needed migrating node-red to docker](https://discourse.nodered.org/t/solved-help-needed-migrating-node-red-to-docker/68703)

<div class="topic-metadata">

**Author:** [@Topolynx](https://discourse.nodered.org/u/Topolynx)\
**Replies:** 8\
**Last updated:** [8 October 2022 16:00 UTC](https://discourse.nodered.org/t/solved-help-needed-migrating-node-red-to-docker/68703 "2022-10-08T16:00:51Z")

</div>

Hello. I would like to migrate my node-red to a docker container. I have installed some nodes using npm and I would like to move them too into the container. Could someone please help me?

---

## [Combining change and switch nodes to make logic gates](https://discourse.nodered.org/t/combining-change-and-switch-nodes-to-make-logic-gates/68721)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 0\
**Last updated:** [8 October 2022 14:43 UTC](https://discourse.nodered.org/t/combining-change-and-switch-nodes-to-make-logic-gates/68721 "2022-10-08T14:43:47Z")

</div>

I've seen a couple of enquiries recently about boolean logic operations and I wondered if they could be done with no code and just the core nodes. Edit - sorry, wrong screen capture. \[{"id":"9372feccca70ce91","type"…

---

## [Read a number in an array](https://discourse.nodered.org/t/read-a-number-in-an-array/68718)

<div class="topic-metadata">

**Author:** [@kiaa931](https://discourse.nodered.org/u/kiaa931)\
**Replies:** 2\
**Last updated:** [8 October 2022 13:48 UTC](https://discourse.nodered.org/t/read-a-number-in-an-array/68718 "2022-10-08T13:48:32Z")

</div>

Hey! I want to use the number in the array extracted from an csv file for a calculation. I convereted the object to an array but the number is in between " ", which doesnt allow me to read roperly How can I get rid o…

---

## [Get the max value and compare](https://discourse.nodered.org/t/get-the-max-value-and-compare/68697)

<div class="topic-metadata">

**Author:** [@boo](https://discourse.nodered.org/u/boo)\
**Replies:** 12\
**Last updated:** [8 October 2022 12:50 UTC](https://discourse.nodered.org/t/get-the-max-value-and-compare/68697 "2022-10-08T12:50:09Z")

</div>

Hi i need help, from a node i get output in json type, which has arrays(may be we can use this) and inside each object their is a value which i need for example -\>array\[2\] -\>0: object -\>x = 1 -\>1: object -\>x= 2 I…

---

## [Trigger a trigger node(something similar)](https://discourse.nodered.org/t/trigger-a-trigger-node-something-similar/68647)

<div class="topic-metadata">

**Author:** [@boo](https://discourse.nodered.org/u/boo)\
**Replies:** 2\
**Last updated:** [8 October 2022 12:46 UTC](https://discourse.nodered.org/t/trigger-a-trigger-node-something-similar/68647 "2022-10-08T12:46:35Z")

</div>

Hi, i have two telegram trigger nodes one which detects commands and other for messages and contents.. what i want is something like wait untill or switch say if i send /movie as message in telegram followed by message …

---

## [Change an object to an array](https://discourse.nodered.org/t/change-an-object-to-an-array/68715)

<div class="topic-metadata">

**Author:** [@kiaa931](https://discourse.nodered.org/u/kiaa931)\
**Replies:** 1\
**Last updated:** [8 October 2022 11:31 UTC](https://discourse.nodered.org/t/change-an-object-to-an-array/68715 "2022-10-08T11:31:28Z")

</div>

Hey I am pretty new here. Can someone help me to change this object to an array as shown in the second pic. I am importing from csv file and it comes in an object, but i need it in an array Thank you! Thank you!1

---

## [Onkyo eiscp control](https://discourse.nodered.org/t/onkyo-eiscp-control/68708)

<div class="topic-metadata">

**Author:** [@schorrie](https://discourse.nodered.org/u/schorrie)\
**Replies:** 6\
**Last updated:** [8 October 2022 12:15 UTC](https://discourse.nodered.org/t/onkyo-eiscp-control/68708 "2022-10-08T12:15:15Z")

</div>

We have an Onkyo HT-R695, according to some device info it's also called TX NR656. First tried to control it using the EISCP home assistant way, but failed in every option. Then discovered NodeRed. With NR i can contr…

---

## [Twitter Node Update API V 2.0](https://discourse.nodered.org/t/twitter-node-update-api-v-2-0/68693)

<div class="topic-metadata">

**Author:** [@shahramdj](https://discourse.nodered.org/u/shahramdj)\
**Replies:** 1\
**Last updated:** [8 October 2022 11:10 UTC](https://discourse.nodered.org/t/twitter-node-update-api-v-2-0/68693 "2022-10-08T11:10:42Z")

</div>

As you might know the existing twitter-node (node-red-node-twitter) does not search public tweets due to incompatibility with Twitter API V 2.0. I have updated the existing twitter-node to search public tweets using API …

---

## [How to search in loop inside huge json array objects](https://discourse.nodered.org/t/how-to-search-in-loop-inside-huge-json-array-objects/68704)

<div class="topic-metadata">

**Author:** [@anand](https://discourse.nodered.org/u/anand)\
**Replies:** 12\
**Last updated:** [8 October 2022 09:24 UTC](https://discourse.nodered.org/t/how-to-search-in-loop-inside-huge-json-array-objects/68704 "2022-10-08T09:24:01Z")

</div>

Hi Very new to node-red, i am trying to get search results from a API that is formatted like so: \[ { "order\_id":"1411969", "status":"active", "valid\_from":"2020-07-14", "valid\_till":"2022-10-…

---

## [My current problems using NR / TTS solution do you use / boost NR performance :) AiO ;)](https://discourse.nodered.org/t/my-current-problems-using-nr-tts-solution-do-you-use-boost-nr-performance-aio/68649)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 10\
**Last updated:** [8 October 2022 08:08 UTC](https://discourse.nodered.org/t/my-current-problems-using-nr-tts-solution-do-you-use-boost-nr-performance-aio/68649 "2022-10-08T08:08:37Z")

</div>

Dear friends, two years a ago I began to try different ways for using voice commands to control Node Red. My goal was to keep things local. So I used mostly stuff from @ johanneskropf DeepSpeech -\> Coqui. But with the …

---

## [Using wait until node with motion sensors](https://discourse.nodered.org/t/using-wait-until-node-with-motion-sensors/68670)

<div class="topic-metadata">

**Author:** [@melch98](https://discourse.nodered.org/u/melch98)\
**Replies:** 1\
**Last updated:** [8 October 2022 07:49 UTC](https://discourse.nodered.org/t/using-wait-until-node-with-motion-sensors/68670 "2022-10-08T07:49:39Z")

</div>

Hi, I am having an issue with the wait until node. I have a motion sensor at my desk which will turn on my desk lights and another light in the middle of my room with nice colours. I also have a motion sensor in the m…

---

## [Function node with multiple calculations](https://discourse.nodered.org/t/function-node-with-multiple-calculations/68698)

<div class="topic-metadata">

**Author:** [@PowerZone21](https://discourse.nodered.org/u/PowerZone21)\
**Replies:** 2\
**Last updated:** [8 October 2022 00:20 UTC](https://discourse.nodered.org/t/function-node-with-multiple-calculations/68698 "2022-10-08T00:20:21Z")

</div>

Hi Guys. I have this function node: \[{"id":"3d87b88c4f3623f6","type":"function","z":"1a975b2abb684217","name":"Calc spotprice","func":"var average = global.get('daily\_spotprice\_avg')\\nvar spot = global.get('hourly\_spotp…

---

## [How to find the two lowest values of five values](https://discourse.nodered.org/t/how-to-find-the-two-lowest-values-of-five-values/68473)

<div class="topic-metadata">

**Author:** [@PowerZone21](https://discourse.nodered.org/u/PowerZone21)\
**Replies:** 8\
**Last updated:** [7 October 2022 23:05 UTC](https://discourse.nodered.org/t/how-to-find-the-two-lowest-values-of-five-values/68473 "2022-10-07T23:05:48Z")

</div>

Hi guys, I have multiple msg.payloads and i want to pick out the two lowest values out for these. I'm aware of the $min(payload) but this will only pick out the lowest value, I also want the second lowest value. The u…

---

## [Anyone using VictoriaMetrics?](https://discourse.nodered.org/t/anyone-using-victoriametrics/68694)

<div class="topic-metadata">

**Author:** [@tve](https://discourse.nodered.org/u/tve)\
**Replies:** 0\
**Last updated:** [7 October 2022 20:43 UTC](https://discourse.nodered.org/t/anyone-using-victoriametrics/68694 "2022-10-07T20:43:25Z")

</div>

I'm thinking of using VictoriaMetrics to store time series data for a project. Has anyone cooked up a node for it? It has an HTTP API, so I may just concoct some subflows...

---

## [Need help in epoch time convert](https://discourse.nodered.org/t/need-help-in-epoch-time-convert/68690)

<div class="topic-metadata">

**Author:** [@boo](https://discourse.nodered.org/u/boo)\
**Replies:** 9\
**Last updated:** [7 October 2022 20:30 UTC](https://discourse.nodered.org/t/need-help-in-epoch-time-convert/68690 "2022-10-07T20:30:25Z")

</div>

HI, from data of previous node(sensor) i get time as epoch format i guess "added\_on":1665163868 what i want is: compare this time with the current now time and if the difference between them is less than 5 mins then I …

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

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