# General

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

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

**Page:** 737

---

## [Remove duplicates from an array of objects](https://discourse.nodered.org/t/remove-duplicates-from-an-array-of-objects/28013)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 2\
**Last updated:** [9 June 2020 08:37 UTC](https://discourse.nodered.org/t/remove-duplicates-from-an-array-of-objects/28013 "2020-06-09T08:37:52Z")

</div>

Talk about a self fulfilling prophecy!! I've noticed that duplicate entries have started to appear in my data feed, which are creating errors in a 7 day rolling average calculation. So I'm getting now something like; …

---

## [Database, problem with require](https://discourse.nodered.org/t/database-problem-with-require/28017)

<div class="topic-metadata">

**Author:** [@robinhttp](https://discourse.nodered.org/u/robinhttp)\
**Replies:** 2\
**Last updated:** [9 June 2020 07:24 UTC](https://discourse.nodered.org/t/database-problem-with-require/28017 "2020-06-09T07:24:47Z")

</div>

hi! I should read from a database (I used xaamp with a mysql database). I put this code in Function (node), but I'm having problems with 'require'. I followed the guide to add external modules, but I can't solve it. Co…

---

## [Function Node with multi-output](https://discourse.nodered.org/t/function-node-with-multi-output/28031)

<div class="topic-metadata">

**Author:** [@jinyistudio](https://discourse.nodered.org/u/jinyistudio)\
**Replies:** 3\
**Last updated:** [9 June 2020 06:41 UTC](https://discourse.nodered.org/t/function-node-with-multi-output/28031 "2020-06-09T06:41:27Z")

</div>

My Function node have 8 output. beacuse my msg.payload is a array. following code, Why always return value(it is a array\[8\]) to output1 :joy: var outputMsgs = \[\]; var words = msg.payload; for (var w in words) { out…

---

## [Http request node timing out with extra properties added to message?](https://discourse.nodered.org/t/http-request-node-timing-out-with-extra-properties-added-to-message/28018)

<div class="topic-metadata">

**Author:** [@T0T4R4](https://discourse.nodered.org/u/T0T4R4)\
**Replies:** 1\
**Last updated:** [9 June 2020 06:36 UTC](https://discourse.nodered.org/t/http-request-node-timing-out-with-extra-properties-added-to-message/28018 "2020-06-09T06:36:24Z")

</div>

Hi guys, The http request node seems to be timing out if at least the following properties are added to the message : item items As soon as I remove them the call goes through, as soon as they are back in the message…

---

## [Named capture groups in change node's regex](https://discourse.nodered.org/t/named-capture-groups-in-change-nodes-regex/28014)

<div class="topic-metadata">

**Author:** [@JSONata](https://discourse.nodered.org/u/JSONata)\
**Replies:** 1\
**Last updated:** [9 June 2020 03:50 UTC](https://discourse.nodered.org/t/named-capture-groups-in-change-nodes-regex/28014 "2020-06-09T03:50:30Z")

</div>

Please have a look at this flow \[{"id":"1702a6eb.de8499","type":"inject","z":"ddd38a48.2e949","name":"","topic":"","payload":"abc1234abc","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":23…

---

## [Viewing Node-RED flows externally (Is it possble?)](https://discourse.nodered.org/t/viewing-node-red-flows-externally-is-it-possble/27783)

<div class="topic-metadata">

**Author:** [@gioza](https://discourse.nodered.org/u/gioza)\
**Replies:** 4\
**Last updated:** [9 June 2020 02:14 UTC](https://discourse.nodered.org/t/viewing-node-red-flows-externally-is-it-possble/27783 "2020-06-09T02:14:29Z")

</div>

Hi all, I am looking for a way to view Node-RED flows externally. The format is not specific, as long as I can see them visually. It could be a read-only version of the node-red editor (if possible), or at the very le…

---

## [Node-RED at work - Discovered Products & Services](https://discourse.nodered.org/t/node-red-at-work-discovered-products-services/28012)

<div class="topic-metadata">

**Author:** [@iiLaw](https://discourse.nodered.org/u/iiLaw)\
**Replies:** 0\
**Last updated:** [8 June 2020 21:25 UTC](https://discourse.nodered.org/t/node-red-at-work-discovered-products-services/28012 "2020-06-08T21:25:36Z")

</div>

Over the last few days I've come across three different businesses using Node-RED. Just though the community would find what people doing with NR of interest. Building automation: Interra have released IConnect which …

---

## [Dashboard Charts - 7 day rolling average](https://discourse.nodered.org/t/dashboard-charts-7-day-rolling-average/27145)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 12\
**Last updated:** [23 May 2020 22:07 UTC](https://discourse.nodered.org/t/dashboard-charts-7-day-rolling-average/27145 "2020-05-23T22:07:40Z")

</div>

Anyone any idea how to create a 7 day rolling average from an array of objects, to plot in a node-RED chart? The data arrives as an array of objects, comprising of a value, together with a epoch timestamp. There is jus…

---

## [Gestion jour ferrier / Iron day management](https://discourse.nodered.org/t/gestion-jour-ferrier-iron-day-management/27392)

<div class="topic-metadata">

**Author:** [@971JMD](https://discourse.nodered.org/u/971JMD)\
**Replies:** 35\
**Last updated:** [8 June 2020 20:48 UTC](https://discourse.nodered.org/t/gestion-jour-ferrier-iron-day-management/27392 "2020-06-08T20:48:32Z")

</div>

Salut à tous j'ai installé ce node: mais je n'arrive pas à le faire fonctionnée merci pour votre aide Hi all I installed this node: https://flows.nodered.org/node/node-red-contrib-german-holidays but i can't get…

---

## [How to fix the locations in worldmap](https://discourse.nodered.org/t/how-to-fix-the-locations-in-worldmap/7495)

<div class="topic-metadata">

**Author:** [@emspe](https://discourse.nodered.org/u/emspe)\
**Replies:** 20\
**Last updated:** [8 June 2020 20:10 UTC](https://discourse.nodered.org/t/how-to-fix-the-locations-in-worldmap/7495 "2020-06-08T20:10:01Z")

</div>

Hello, I have marked several locations in worldmap by injecting and simple function containing properties like lon,lat,icon etc. I defined those objects as global variables since I wanna change their color with external…

---

## [Has anyone got 'lftp' to work?](https://discourse.nodered.org/t/has-anyone-got-lftp-to-work/25484)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 7\
**Last updated:** [8 June 2020 18:25 UTC](https://discourse.nodered.org/t/has-anyone-got-lftp-to-work/25484 "2020-06-08T18:25:31Z")

</div>

I've been trying to get this node to work... I can list the files on a remote FTP server, but that's about it. I can't get PUT or GET to work. Just wondering if anyone has any success with the node before I waste mo…

---

## [Combine several messages from MQTT into one request to DataBase](https://discourse.nodered.org/t/combine-several-messages-from-mqtt-into-one-request-to-database/27915)

<div class="topic-metadata">

**Author:** [@SuperBoss9](https://discourse.nodered.org/u/SuperBoss9)\
**Replies:** 14\
**Last updated:** [8 June 2020 18:18 UTC](https://discourse.nodered.org/t/combine-several-messages-from-mqtt-into-one-request-to-database/27915 "2020-06-08T18:18:37Z")

</div>

Hello everyone! I'm a newbee at Node-Red and I'd like to collect information from my MQTT and push it to my database. Initially I subscribe for a branch of topics (Devices/+) and receive around 50 MQTT messages. Now I'…

---

## [Aggregate multiple nodes into one](https://discourse.nodered.org/t/aggregate-multiple-nodes-into-one/28003)

<div class="topic-metadata">

**Author:** [@wuast94](https://discourse.nodered.org/u/wuast94)\
**Replies:** 1\
**Last updated:** [8 June 2020 17:07 UTC](https://discourse.nodered.org/t/aggregate-multiple-nodes-into-one/28003 "2020-06-08T17:07:54Z")

</div>

Hey there i hope im right here :slight\_smile: i have multible nodes that i need to aggregate to one. i have 5 nodes and all have a value that i need agregated in another node to add them as variables in a json payload

---

## [Conditional RBE Reset](https://discourse.nodered.org/t/conditional-rbe-reset/27845)

<div class="topic-metadata">

**Author:** [@nadamson](https://discourse.nodered.org/u/nadamson)\
**Replies:** 2\
**Last updated:** [8 June 2020 16:31 UTC](https://discourse.nodered.org/t/conditional-rbe-reset/27845 "2020-06-08T16:31:52Z")

</div>

First all Thank you to everyone who has helped me out thus far! This is a great community and I have learned a lot along the way! I have a project that is monitoring a dashboard and I have node red connected to the API …

---

## [Can Node-Red send an alert to my phone?](https://discourse.nodered.org/t/can-node-red-send-an-alert-to-my-phone/27957)

<div class="topic-metadata">

**Author:** [@peejayw](https://discourse.nodered.org/u/peejayw)\
**Replies:** 11\
**Last updated:** [8 June 2020 08:51 UTC](https://discourse.nodered.org/t/can-node-red-send-an-alert-to-my-phone/27957 "2020-06-08T08:51:28Z")

</div>

My apologies in advance if I am asking a stupid question, being of "advanced" years and very new to Node Red that is highly likely. I have set up Home assistant on a Raspberry Pi and have started to put together some si…

---

## [Cognos dashboard connection to Node red](https://discourse.nodered.org/t/cognos-dashboard-connection-to-node-red/27979)

<div class="topic-metadata">

**Author:** [@SamratChaudhuri](https://discourse.nodered.org/u/SamratChaudhuri)\
**Replies:** 0\
**Last updated:** [8 June 2020 08:12 UTC](https://discourse.nodered.org/t/cognos-dashboard-connection-to-node-red/27979 "2020-06-08T08:12:16Z")

</div>

How to link an interactive dashboard made on cognos with node red flow?

---

## [Easiest way to store data and plot graphs and alarms](https://discourse.nodered.org/t/easiest-way-to-store-data-and-plot-graphs-and-alarms/13879)

<div class="topic-metadata">

**Author:** [@Guilherme](https://discourse.nodered.org/u/Guilherme)\
**Replies:** 14\
**Last updated:** [8 June 2020 06:04 UTC](https://discourse.nodered.org/t/easiest-way-to-store-data-and-plot-graphs-and-alarms/13879 "2020-06-08T06:04:03Z")

</div>

Hi. I'm working on a project which consists of 3 raspberry pi's collecting data from different points in the field. These data collected to node-red are sent to a fourth raspberry pi by mqtt broker mosquitto (I'm thinkin…

---

## [RSS Feed & Join](https://discourse.nodered.org/t/rss-feed-join/27973)

<div class="topic-metadata">

**Author:** [@fagu294](https://discourse.nodered.org/u/fagu294)\
**Replies:** 0\
**Last updated:** [8 June 2020 05:53 UTC](https://discourse.nodered.org/t/rss-feed-join/27973 "2020-06-08T05:53:44Z")

</div>

Question I can't join JSON object. Debug console always empty. I want to get like this. \[ { "title": "aaa", "description": "...", "link": "http://..." }, { "title": "bbb", "description": "…

---

## [Node-red-contrib-tasmota 0.9.4 nodes help needed](https://discourse.nodered.org/t/node-red-contrib-tasmota-0-9-4-nodes-help-needed/27892)

<div class="topic-metadata">

**Author:** [@Europino](https://discourse.nodered.org/u/Europino)\
**Replies:** 5\
**Last updated:** [8 June 2020 05:41 UTC](https://discourse.nodered.org/t/node-red-contrib-tasmota-0-9-4-nodes-help-needed/27892 "2020-06-08T05:41:49Z")

</div>

Hi, I am trying to configure (3) node-red-contrib-tasmota 0.9.4 nodes, especially the Switch node, but the documentation is not sufficient for me to get it configured and working. The authors of these nodes published som…

---

## [Create array without writing functions](https://discourse.nodered.org/t/create-array-without-writing-functions/27926)

<div class="topic-metadata">

**Author:** [@wakeup](https://discourse.nodered.org/u/wakeup)\
**Replies:** 4\
**Last updated:** [8 June 2020 04:56 UTC](https://discourse.nodered.org/t/create-array-without-writing-functions/27926 "2020-06-08T04:56:17Z")

</div>

I know how to create an array with a function, but how can I inject directly an array? Can I create an array with number injection and another predefined node without writing a function? Thanks

---

## [Exec node cannot find any of my commands](https://discourse.nodered.org/t/exec-node-cannot-find-any-of-my-commands/4810)

<div class="topic-metadata">

**Author:** [@valentin](https://discourse.nodered.org/u/valentin)\
**Replies:** 10\
**Last updated:** [8 June 2020 04:06 UTC](https://discourse.nodered.org/t/exec-node-cannot-find-any-of-my-commands/4810 "2020-06-08T04:06:08Z")

</div>

Hi, I'm working on a production machine for toys. The idea is that the toys are on a production line and my "machine" scans them and logs the production info on a database. My bash script is ready. The last step for m…

---

## [Node-red error connecting to Redis via docker-compose](https://discourse.nodered.org/t/node-red-error-connecting-to-redis-via-docker-compose/27941)

<div class="topic-metadata">

**Author:** [@Maninmadrid](https://discourse.nodered.org/u/Maninmadrid)\
**Replies:** 3\
**Last updated:** [7 June 2020 18:20 UTC](https://discourse.nodered.org/t/node-red-error-connecting-to-redis-via-docker-compose/27941 "2020-06-07T18:20:48Z")

</div>

I have the following setup: - RPi 4 with 4GB ram Ubuntu 20:04 server Docker version 19.03.11, build 42e35e6 I've got everything contained in docker containers created via docker-compose . The problem I have is when I …

---

## [Alexa-smart-home-v3 and multimedia channel interface not working](https://discourse.nodered.org/t/alexa-smart-home-v3-and-multimedia-channel-interface-not-working/27960)

<div class="topic-metadata">

**Author:** [@pgScorpio](https://discourse.nodered.org/u/pgScorpio)\
**Replies:** 0\
**Last updated:** [7 June 2020 22:06 UTC](https://discourse.nodered.org/t/alexa-smart-home-v3-and-multimedia-channel-interface-not-working/27960 "2020-06-07T22:06:34Z")

</div>

Using latest version of node-red-contrib-alexa-smart-home (0.4.67): I defined a "Multimedia node " with "channel" interface for my tv at https://red.cb-net.co.uk/devices. Now when I say "ok google, turn tv to channel 2…

---

## [Close one after one with the exec node the 2 instances of vlc displayed](https://discourse.nodered.org/t/close-one-after-one-with-the-exec-node-the-2-instances-of-vlc-displayed/27896)

<div class="topic-metadata">

**Author:** [@Laurent](https://discourse.nodered.org/u/Laurent)\
**Replies:** 38\
**Last updated:** [7 June 2020 21:44 UTC](https://discourse.nodered.org/t/close-one-after-one-with-the-exec-node-the-2-instances-of-vlc-displayed/27896 "2020-06-07T21:44:11Z")

</div>

It's been two weeks since i battle with VLC on raspberry pi 3B to find a command to put in an exec node in order to close this application. After searching the Raspberry, Debian, Ubuntu ... and VLC (!) forums, as well a…

---

## [Get API-key from phoscon/deconz](https://discourse.nodered.org/t/get-api-key-from-phoscon-deconz/27939)

<div class="topic-metadata">

**Author:** [@marquardsen](https://discourse.nodered.org/u/marquardsen)\
**Replies:** 3\
**Last updated:** [7 June 2020 20:48 UTC](https://discourse.nodered.org/t/get-api-key-from-phoscon-deconz/27939 "2020-06-07T20:48:05Z")

</div>

Thank you @afelix for this description: I have this set up. You install Deconz on the same device, or another if you prefer. Running from docker-compose was the easiest for me. Once this runs, go into the Phoscon web i…

---

## [Totally new here query!](https://discourse.nodered.org/t/totally-new-here-query/27944)

<div class="topic-metadata">

**Author:** [@TheMaster](https://discourse.nodered.org/u/TheMaster)\
**Replies:** 8\
**Last updated:** [7 June 2020 20:46 UTC](https://discourse.nodered.org/t/totally-new-here-query/27944 "2020-06-07T20:46:54Z")

</div>

Hi all apologies, I only started 'using' Node-Red a couple of days ago, I'm not bad with PowerShell but struggling with Node-Red a lot more. I am trying to add a variable to a http API request for the dates below, so ba…

---

## [INSERT msg.payload.object into postgres table](https://discourse.nodered.org/t/insert-msg-payload-object-into-postgres-table/27793)

<div class="topic-metadata">

**Author:** [@gooroo](https://discourse.nodered.org/u/gooroo)\
**Replies:** 9\
**Last updated:** [7 June 2020 19:50 UTC](https://discourse.nodered.org/t/insert-msg-payload-object-into-postgres-table/27793 "2020-06-07T19:50:36Z")

</div>

Evening all, I hate to do it but I've exhausted my google, forum, and phone-a-friend resources. Flow Description: poll a http endpoint which returns a json string, and push that into a postgres table. I just ca…

---

## [Middleware in Node Red](https://discourse.nodered.org/t/middleware-in-node-red/27830)

<div class="topic-metadata">

**Author:** [@Los\_Andros](https://discourse.nodered.org/u/Los_Andros)\
**Replies:** 12\
**Last updated:** [7 June 2020 16:13 UTC](https://discourse.nodered.org/t/middleware-in-node-red/27830 "2020-06-07T16:13:38Z")

</div>

Dear Node Red community, I'm building my own IoT demonstrator as kind of a university project at the moment. I connected a DS18B20 temperature sensor to a Raspberry Pi and from there to Node Red. The thing I struggle …

---

## [ADS in - Change Var.Name](https://discourse.nodered.org/t/ads-in-change-var-name/27210)

<div class="topic-metadata">

**Author:** [@good\_mike](https://discourse.nodered.org/u/good_mike)\
**Replies:** 12\
**Last updated:** [7 June 2020 14:23 UTC](https://discourse.nodered.org/t/ads-in-change-var-name/27210 "2020-06-07T14:23:27Z")

</div>

Hello, I like to change the variable name during run mode. If I understand the documentation right, there is a possibility Quote of the documentation: "There is an possible to override the node configuration. You can…

---

## [Sanity check for NWS weather alert Flow](https://discourse.nodered.org/t/sanity-check-for-nws-weather-alert-flow/27849)

<div class="topic-metadata">

**Author:** [@bodylinksystems](https://discourse.nodered.org/u/bodylinksystems)\
**Replies:** 16\
**Last updated:** [7 June 2020 14:13 UTC](https://discourse.nodered.org/t/sanity-check-for-nws-weather-alert-flow/27849 "2020-06-07T14:13:29Z")

</div>

I had this working but recent weather events weren't popping up as alerts on my dash. When I went to investigate, I am sure I broke something, then fixed it, and broke it again. I could use a sanity check. The flow is …

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

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