# Latest

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

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

**Page:** 1073

---

## [JSONata: From Array of objects to array of array with appending data](https://discourse.nodered.org/t/jsonata-from-array-of-objects-to-array-of-array-with-appending-data/28033)

<div class="topic-metadata">

**Author:** [@JSONata](https://discourse.nodered.org/u/JSONata)\
**Replies:** 3\
**Last updated:** [9 June 2020 13:27 UTC](https://discourse.nodered.org/t/jsonata-from-array-of-objects-to-array-of-array-with-appending-data/28033 "2020-06-09T13:27:35Z")

</div>

So there is this input array \[ { "time": 1591653600, "level": 100 }, { "time": 1591657200, "level": 110 } \] To each array content there should be appended { "t…

---

## [POST multipart/form-data](https://discourse.nodered.org/t/post-multipart-form-data/28058)

<div class="topic-metadata">

**Author:** [@oliver9523](https://discourse.nodered.org/u/oliver9523)\
**Replies:** 0\
**Last updated:** [9 June 2020 13:24 UTC](https://discourse.nodered.org/t/post-multipart-form-data/28058 "2020-06-09T13:24:10Z")

</div>

What's the best way to send POST multipart/form-data, basically replicate this python code in a NR module? session = requests.session() response = session.post(URL, verify=False, data={"username": user, "password": pwor…

---

## [COM connection over TCP](https://discourse.nodered.org/t/com-connection-over-tcp/28041)

<div class="topic-metadata">

**Author:** [@Sasko](https://discourse.nodered.org/u/Sasko)\
**Replies:** 4\
**Last updated:** [9 June 2020 12:07 UTC](https://discourse.nodered.org/t/com-connection-over-tcp/28041 "2020-06-09T12:07:57Z")

</div>

I want to read the data from a serial Port in the network from another PC, because it is not possible to connect my pc to the serial port directly. OS are both windows. How can I connect the two and read the data ?

---

## [Dropdown selection for Subflow Environment Variables](https://discourse.nodered.org/t/dropdown-selection-for-subflow-environment-variables/27971)

<div class="topic-metadata">

**Author:** [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Replies:** 5\
**Last updated:** [9 June 2020 11:17 UTC](https://discourse.nodered.org/t/dropdown-selection-for-subflow-environment-variables/27971 "2020-06-09T11:17:08Z")

</div>

Is it possible to create a dropdown selection for Subflow's Environment Variables? This would be extremely helpful feature.

---

## [How to start websocket server in node red stream](https://discourse.nodered.org/t/how-to-start-websocket-server-in-node-red-stream/28038)

<div class="topic-metadata">

**Author:** [@Shimu](https://discourse.nodered.org/u/Shimu)\
**Replies:** 2\
**Last updated:** [9 June 2020 10:35 UTC](https://discourse.nodered.org/t/how-to-start-websocket-server-in-node-red-stream/28038 "2020-06-09T10:35:23Z")

</div>

How to start websocket server in node red stream

---

## [Node-Red Flows in Wordpress](https://discourse.nodered.org/t/node-red-flows-in-wordpress/8363)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 7\
**Last updated:** [9 June 2020 10:11 UTC](https://discourse.nodered.org/t/node-red-flows-in-wordpress/8363 "2020-06-09T10:11:30Z")

</div>

I wonder if anyone has any ideas. I'm trying to publish one of llarger flows in my Wordpress blog - but no matter which way I try it I end up with a mess. I need a Wordpress plug-in that handles json format... I'm using …

---

## [A conundrum with exec node and kill](https://discourse.nodered.org/t/a-conundrum-with-exec-node-and-kill/27981)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 8\
**Last updated:** [9 June 2020 10:06 UTC](https://discourse.nodered.org/t/a-conundrum-with-exec-node-and-kill/27981 "2020-06-09T10:06:44Z")

</div>

Can anyone explain what is going on here? If, in a terminal, I run sleep 10 and then hit Ctrl-C it interrupts the sleep. However, if I use an exec node to run the sleep and kill it with msg.kill set to SIGINT then the e…

---

## [Request, mqtt publish then read by the subscribe node](https://discourse.nodered.org/t/request-mqtt-publish-then-read-by-the-subscribe-node/27662)

<div class="topic-metadata">

**Author:** [@zsolttrenyik](https://discourse.nodered.org/u/zsolttrenyik)\
**Replies:** 14\
**Last updated:** [9 June 2020 09:49 UTC](https://discourse.nodered.org/t/request-mqtt-publish-then-read-by-the-subscribe-node/27662 "2020-06-09T09:49:17Z")

</div>

Dear Community, I have a HW config which consists of a Raspberry 3 (running the node-red and the mosquitto broker), and on the same network, I have an ESP8266, communicating via mqtt. To the ESP, there is a DHT11 temper…

---

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

---

## [Going in circles with \`CSS\` buttons](https://discourse.nodered.org/t/going-in-circles-with-css-buttons/27970)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [9 June 2020 01:23 UTC](https://discourse.nodered.org/t/going-in-circles-with-css-buttons/27970 "2020-06-09T01:23:09Z")

</div>

Sorry, but....... I have yet again found a hitch which has me stumped. I have a template built which works, but I can't see to get the button working for this case. I want the button to accept {{msg.text}} and {{msg.c…

---

## [Re-install node-red-dashboard](https://discourse.nodered.org/t/re-install-node-red-dashboard/27992)

<div class="topic-metadata">

**Author:** [@tfmeier](https://discourse.nodered.org/u/tfmeier)\
**Replies:** 2\
**Last updated:** [9 June 2020 00:14 UTC](https://discourse.nodered.org/t/re-install-node-red-dashboard/27992 "2020-06-09T00:14:48Z")

</div>

I'm trying to re-install node-red-dashboard as the artless gauge node didn't show on the ui and I just started to explore the idea of a home automation dashboard on Node-RED so not much "production code" yet. Have remov…

---

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

---

## [Md-fab-speed-dial in Dashboard Template?](https://discourse.nodered.org/t/md-fab-speed-dial-in-dashboard-template/28010)

<div class="topic-metadata">

**Author:** [@jkornhaus](https://discourse.nodered.org/u/jkornhaus)\
**Replies:** 0\
**Last updated:** [8 June 2020 20:18 UTC](https://discourse.nodered.org/t/md-fab-speed-dial-in-dashboard-template/28010 "2020-06-08T20:18:20Z")

</div>

How can I get a md-fab-speed-dial working in the dashboard template node? The flow below is styled correctly, so I know the Angular Materials css is working, but both the trigger and two action buttons are always display…

---

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

---

## [How to use Oracle DB Node?](https://discourse.nodered.org/t/how-to-use-oracle-db-node/28005)

<div class="topic-metadata">

**Author:** [@RyuunosukeDS3](https://discourse.nodered.org/u/RyuunosukeDS3)\
**Replies:** 0\
**Last updated:** [8 June 2020 17:48 UTC](https://discourse.nodered.org/t/how-to-use-oracle-db-node/28005 "2020-06-08T17:48:50Z")

</div>

Hello Fellows! I've been trying to connect to an oracle db but I aways get "Oracle query error: ORA-01036: illegal variable name/number" (Won't share the flow for security reasons) the query i'm currently trying: SELECT…

---

## [DHT22 shows humidity after 2-3 days only 99.9%](https://discourse.nodered.org/t/dht22-shows-humidity-after-2-3-days-only-99-9/28004)

<div class="topic-metadata">

**Author:** [@Bambulko](https://discourse.nodered.org/u/Bambulko)\
**Replies:** 2\
**Last updated:** [8 June 2020 17:27 UTC](https://discourse.nodered.org/t/dht22-shows-humidity-after-2-3-days-only-99-9/28004 "2020-06-08T17:27:09Z")

</div>

DHT v. 1.0.4 1.0.6: Maintenance Release Runtime Update to JSONata 1.8.3 #2536 Handle clone of null in utils Editor Prevent button label wrapping in typedInput Handle error objects when reporting in palette manag…

---

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

---

## [Fontawesome questions](https://discourse.nodered.org/t/fontawesome-questions/27932)

<div class="topic-metadata">

**Author:** [@ACJUK](https://discourse.nodered.org/u/ACJUK)\
**Replies:** 13\
**Last updated:** [8 June 2020 16:12 UTC](https://discourse.nodered.org/t/fontawesome-questions/27932 "2020-06-08T16:12:25Z")

</div>

Morning all I'm just starting with Node-RED in general, and only yesterday started looking at using it for the dashboard. I'm running it as an addon for HASS and currently using appdaemon for the dashboard but would ju…

---

## [Make the comment node into a true node](https://discourse.nodered.org/t/make-the-comment-node-into-a-true-node/27733)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 34\
**Last updated:** [8 June 2020 16:01 UTC](https://discourse.nodered.org/t/make-the-comment-node-into-a-true-node/27733 "2020-06-08T16:01:22Z")

</div>

Just a simple node that does nothing; pass everything on the input to the output. This would allow in-line comments which could be helpful in complex flows.

---

## [Node Red on a PLC: Weidmüller Automation Controller](https://discourse.nodered.org/t/node-red-on-a-plc-weidmuller-automation-controller/27999)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 0\
**Last updated:** [8 June 2020 15:36 UTC](https://discourse.nodered.org/t/node-red-on-a-plc-weidmuller-automation-controller/27999 "2020-06-08T15:36:20Z")

</div>

Hi Guys, I was not sure if this is new only to me or other as well, but I thought I share it. I have a Youtube channel and I get emails from various Chinese companies to review stuff, like security cameras, Sonoff devic…

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

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