# Latest

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

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

**Page:** 998

---

## [Will SORT Node sort multiple arrays](https://discourse.nodered.org/t/will-sort-node-sort-multiple-arrays/4612)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 4\
**Last updated:** [18 September 2020 13:08 UTC](https://discourse.nodered.org/t/will-sort-node-sort-multiple-arrays/4612 "2020-09-18T13:08:01Z")

</div>

I am curious if the SORT Node would be used for this situation. If my flow contains a payloads like - //newTagRead = {"payload":{"epc":flow.rfid\[i\].epc,"time":currentTime, "ip":flow.rfid\[i\].ip, "strength":flow.rfid\[i\].…

---

## [Please help - Uncaught exception on an async function](https://discourse.nodered.org/t/please-help-uncaught-exception-on-an-async-function/33046)

<div class="topic-metadata">

**Author:** [@tonytroy](https://discourse.nodered.org/u/tonytroy)\
**Replies:** 5\
**Last updated:** [18 September 2020 15:33 UTC](https://discourse.nodered.org/t/please-help-uncaught-exception-on-an-async-function/33046 "2020-09-18T15:33:41Z")

</div>

I am embedding node-red in an express application. The entire application logic is split into small functions within Node.js and these functions are called from Node-Red. The idea is to have Node-Red as an orchestration …

---

## [Need to run DHT node with root privileges](https://discourse.nodered.org/t/need-to-run-dht-node-with-root-privileges/32417)

<div class="topic-metadata">

**Author:** [@Rufus\_0815](https://discourse.nodered.org/u/Rufus_0815)\
**Replies:** 8\
**Last updated:** [18 September 2020 14:37 UTC](https://discourse.nodered.org/t/need-to-run-dht-node-with-root-privileges/32417 "2020-09-18T14:37:22Z")

</div>

Hi i am new to linux. I use it for my garden irritation and ventilation. problem is that the node for my dht22 sensors only works when it´s started with root privilegs. With standard user it won´t show me measurements…

---

## [Node Red Password](https://discourse.nodered.org/t/node-red-password/33040)

<div class="topic-metadata">

**Author:** [@Mario](https://discourse.nodered.org/u/Mario)\
**Replies:** 9\
**Last updated:** [18 September 2020 13:43 UTC](https://discourse.nodered.org/t/node-red-password/33040 "2020-09-18T13:43:22Z")

</div>

Hello, after several attempts it is not possible for me to protect my node red with a password. I'll send you the content of the config: adminAuth: { type: "credentials", users: \[{ user…

---

## [SNMPSET doesn't work what is wrong](https://discourse.nodered.org/t/snmpset-doesnt-work-what-is-wrong/33017)

<div class="topic-metadata">

**Author:** [@calberts](https://discourse.nodered.org/u/calberts)\
**Replies:** 7\
**Last updated:** [18 September 2020 13:37 UTC](https://discourse.nodered.org/t/snmpset-doesnt-work-what-is-wrong/33017 "2020-09-18T13:37:46Z")

</div>

I like to use snmp set to set power outlets of een CDU on the command line, it's simple and looks like this snmpset -v 2c -c private 192.168.178.28 1.3.6.1.4.1.1718.3.2.3.1.11.1.1.3 integer 3 when the integer is 1 it…

---

## [Writing Dashboard ui nodes - Any suggestions on how to get started](https://discourse.nodered.org/t/writing-dashboard-ui-nodes-any-suggestions-on-how-to-get-started/33034)

<div class="topic-metadata">

**Author:** [@Boja](https://discourse.nodered.org/u/Boja)\
**Replies:** 6\
**Last updated:** [18 September 2020 12:53 UTC](https://discourse.nodered.org/t/writing-dashboard-ui-nodes-any-suggestions-on-how-to-get-started/33034 "2020-09-18T12:53:49Z")

</div>

I'm thinking about how "difficult" is it to start developing my own ui-nodes for Dashboard. I will probably start by looking at the ui\_nodes already present on Github, to see how the coding is done. But what I'm really …

---

## [Object element naming based on another](https://discourse.nodered.org/t/object-element-naming-based-on-another/33032)

<div class="topic-metadata">

**Author:** [@FredMA](https://discourse.nodered.org/u/FredMA)\
**Replies:** 4\
**Last updated:** [18 September 2020 11:31 UTC](https://discourse.nodered.org/t/object-element-naming-based-on-another/33032 "2020-09-18T11:31:56Z")

</div>

Hi, Sorry for the basic question, new to node-red and all that. I'm trying to add an element in a JSON object with a function node and the name is conditional to CSV data input ID column. The setting is that I have so…

---

## [How to (if not)!](https://discourse.nodered.org/t/how-to-if-not/32993)

<div class="topic-metadata">

**Author:** [@yotti](https://discourse.nodered.org/u/yotti)\
**Replies:** 13\
**Last updated:** [18 September 2020 10:52 UTC](https://discourse.nodered.org/t/how-to-if-not/32993 "2020-09-18T10:52:33Z")

</div>

hello help me with this, please node1 and node2 are inputs to node3, node4 is the output if node3 received 2 msgs from node1 and didn't receive any msg from node2 then node3 send msg I'll preheat your help :sweat\_smil…

---

## [How to create utility function in node red](https://discourse.nodered.org/t/how-to-create-utility-function-in-node-red/33014)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 7\
**Last updated:** [18 September 2020 09:25 UTC](https://discourse.nodered.org/t/how-to-create-utility-function-in-node-red/33014 "2020-09-18T09:25:13Z")

</div>

I have many functions that are used in common in multiple nodes, so I would like to write a function node that contains all of those shared functions. Below is a string format function like C/C++ or C #, ... I intend…

---

## [Using a shared DLL file from another application](https://discourse.nodered.org/t/using-a-shared-dll-file-from-another-application/33003)

<div class="topic-metadata">

**Author:** [@e-Duardo](https://discourse.nodered.org/u/e-Duardo)\
**Replies:** 6\
**Last updated:** [18 September 2020 08:28 UTC](https://discourse.nodered.org/t/using-a-shared-dll-file-from-another-application/33003 "2020-09-18T08:28:39Z")

</div>

Hi, I am using an instrument (a IR camera) that runs on its proprietary software, and it offers the possibility to communicate with external applications via an IPC (Inter Process Communication) protocol, which uses a D…

---

## [How to change the sequence of menu items?](https://discourse.nodered.org/t/how-to-change-the-sequence-of-menu-items/33018)

<div class="topic-metadata">

**Author:** [@Zerg](https://discourse.nodered.org/u/Zerg)\
**Replies:** 1\
**Last updated:** [18 September 2020 07:01 UTC](https://discourse.nodered.org/t/how-to-change-the-sequence-of-menu-items/33018 "2020-09-18T07:01:52Z")

</div>

Could you advise me? How to change the sequence of menu items? I want to organize them as I have labeled in the screenshot.

---

## [Node red to Brainbox ES](https://discourse.nodered.org/t/node-red-to-brainbox-es/32960)

<div class="topic-metadata">

**Author:** [@pandapilot](https://discourse.nodered.org/u/pandapilot)\
**Replies:** 3\
**Last updated:** [18 September 2020 06:35 UTC](https://discourse.nodered.org/t/node-red-to-brainbox-es/32960 "2020-09-18T06:35:11Z")

</div>

Hi, first post so go easy! Im already using Node-RED to communicate with a few PLCs and display the data on a Dashboard. I'm now trying to get some data off another Machine that outputs MODBUS from the serial port. I've…

---

## [Handle reconnections in a UI node](https://discourse.nodered.org/t/handle-reconnections-in-a-ui-node/32974)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 5\
**Last updated:** [18 September 2020 06:05 UTC](https://discourse.nodered.org/t/handle-reconnections-in-a-ui-node/32974 "2020-09-18T06:05:10Z")

</div>

Hi folks, Some time ago there was a discussion, but unfortunately it is now closed for comments. It contained a nice quote from @dceejay: the template can optionally save the last date sent to it... but for a chart t…

---

## [Unexpected behaviour when using jsonata expressions like payload\[..\]\[\] in change node](https://discourse.nodered.org/t/unexpected-behaviour-when-using-jsonata-expressions-like-payload-in-change-node/32988)

<div class="topic-metadata">

**Author:** [@janvda](https://discourse.nodered.org/u/janvda)\
**Replies:** 9\
**Last updated:** [17 September 2020 17:06 UTC](https://discourse.nodered.org/t/unexpected-behaviour-when-using-jsonata-expressions-like-payload-in-change-node/32988 "2020-09-17T17:06:29Z")

</div>

I have faced some unexpected behaviour when using jsonata in change node. The following flow demonstrates the problem I am having. Note that the actual flows I am using are using more complex jsonata expression but I b…

---

## [Batch InfluxDB CLI](https://discourse.nodered.org/t/batch-influxdb-cli/32982)

<div class="topic-metadata">

**Author:** [@Ward](https://discourse.nodered.org/u/Ward)\
**Replies:** 9\
**Last updated:** [18 September 2020 05:27 UTC](https://discourse.nodered.org/t/batch-influxdb-cli/32982 "2020-09-18T05:27:28Z")

</div>

Hi, For the moment i'm using nodered for logging my data directly in InfluxDB but i want to buffer the data in batches (of 5000 measurements or more) and write those all together in InfluxDB. Because if i use Grafana a…

---

## [Request for Help/Ideas with Subflow Management](https://discourse.nodered.org/t/request-for-help-ideas-with-subflow-management/32977)

<div class="topic-metadata">

**Author:** [@shimbone](https://discourse.nodered.org/u/shimbone)\
**Replies:** 6\
**Last updated:** [18 September 2020 02:37 UTC](https://discourse.nodered.org/t/request-for-help-ideas-with-subflow-management/32977 "2020-09-18T02:37:20Z")

</div>

One of the reasons I like to use subflows in my projects is to make reusable chunks of functionality. However, I'm really struggling to effectively manage my subflows across different projects, especially if a subflow c…

---

## [Tracking recently changed events?](https://discourse.nodered.org/t/tracking-recently-changed-events/32918)

<div class="topic-metadata">

**Author:** [@ScotchTape](https://discourse.nodered.org/u/ScotchTape)\
**Replies:** 25\
**Last updated:** [17 September 2020 19:35 UTC](https://discourse.nodered.org/t/tracking-recently-changed-events/32918 "2020-09-17T19:35:24Z")

</div>

Hi, I've recently moved from Hubitat's Rule Machine to node red and am having a ball with it. I was able to replace a number of my simple rules to node red flows, but I'm stuck with some flows that require looking at thi…

---

## [Request refresh via API](https://discourse.nodered.org/t/request-refresh-via-api/33008)

<div class="topic-metadata">

**Author:** [@RaimondB](https://discourse.nodered.org/u/RaimondB)\
**Replies:** 4\
**Last updated:** [17 September 2020 18:56 UTC](https://discourse.nodered.org/t/request-refresh-via-api/33008 "2020-09-17T18:56:53Z")

</div>

Hi, I have been automating the maintenance of the modules I created so that dependencies are quickly updated and security issues prevented. I now have a fully automated pipeline based on dependabot, snyk security check…

---

## [If condition is true select the specfic record](https://discourse.nodered.org/t/if-condition-is-true-select-the-specfic-record/33004)

<div class="topic-metadata">

**Author:** [@alikhan](https://discourse.nodered.org/u/alikhan)\
**Replies:** 1\
**Last updated:** [17 September 2020 16:18 UTC](https://discourse.nodered.org/t/if-condition-is-true-select-the-specfic-record/33004 "2020-09-17T16:18:38Z")

</div>

we connect IOT device with MQTT by node-red and push this data into MSSQL. what we won't put condition when the x tag value = ON then select only specific data. we achieve this in the MSSQL query but we want to do in n…

---

## [Error connecting to PLC: \[object Object\]](https://discourse.nodered.org/t/error-connecting-to-plc-object-object/32998)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 0\
**Last updated:** [17 September 2020 13:50 UTC](https://discourse.nodered.org/t/error-connecting-to-plc-object-object/32998 "2020-09-17T13:50:49Z")

</div>

Hi guys, Im coming across this new error message Ive never seen before - Error connecting to PLC: \[object Object\] Im trying to connect a Pi to modbus server. I made the modbus server on S7 (Im aware of the S7 node how…

---

## [How do i dynamic change the "maxin" value for the range node](https://discourse.nodered.org/t/how-do-i-dynamic-change-the-maxin-value-for-the-range-node/32997)

<div class="topic-metadata">

**Author:** [@Zodiac-69](https://discourse.nodered.org/u/Zodiac-69)\
**Replies:** 2\
**Last updated:** [17 September 2020 13:48 UTC](https://discourse.nodered.org/t/how-do-i-dynamic-change-the-maxin-value-for-the-range-node/32997 "2020-09-17T13:48:37Z")

</div>

Hi All I need to dynamic change the "maxin" value for the range node. I had a look here - UI Widget configuration via msg.ui\_control and here - Gauge - Dynamic and i understand how that work and i can replicate the res…

---

## [What language is this (coming from modbus serial readers)?](https://discourse.nodered.org/t/what-language-is-this-coming-from-modbus-serial-readers/31264)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 3\
**Last updated:** [17 September 2020 13:26 UTC](https://discourse.nodered.org/t/what-language-is-this-coming-from-modbus-serial-readers/31264 "2020-09-17T13:26:32Z")

</div>

So I\`ve been seeing a lot of modbus serial readers on Node red raw data written as something like this --- ,Q ?KMBac\[9LhB)@ Any idea what this language is? Even better how to configure it into binary

---

## [Joining messages delivers different results](https://discourse.nodered.org/t/joining-messages-delivers-different-results/32990)

<div class="topic-metadata">

**Author:** [@bigmadgaga](https://discourse.nodered.org/u/bigmadgaga)\
**Replies:** 1\
**Last updated:** [17 September 2020 12:31 UTC](https://discourse.nodered.org/t/joining-messages-delivers-different-results/32990 "2020-09-17T12:31:31Z")

</div>

Hi, i am confused. Here i present two flows. They look similar. The only difference is, how they are wired from the html request node to the change node. I changed the order of the wires. In the first case i get the ex…

---

## [Using nRF24L01 radios as part of a weather station](https://discourse.nodered.org/t/using-nrf24l01-radios-as-part-of-a-weather-station/32758)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 30\
**Last updated:** [17 September 2020 12:40 UTC](https://discourse.nodered.org/t/using-nrf24l01-radios-as-part-of-a-weather-station/32758 "2020-09-17T12:40:18Z")

</div>

This is an extension of the weather station project one of my IoT students tackled last year (2019). The objective was to have a remote sensor (located in one of the school's gardens) to send temp/humidity/pressure rea…

---

## [Mitsubishi FX2N data read](https://discourse.nodered.org/t/mitsubishi-fx2n-data-read/32987)

<div class="topic-metadata">

**Author:** [@nieyof](https://discourse.nodered.org/u/nieyof)\
**Replies:** 0\
**Last updated:** [17 September 2020 09:58 UTC](https://discourse.nodered.org/t/mitsubishi-fx2n-data-read/32987 "2020-09-17T09:58:50Z")

</div>

I want to read date from PLC FX2N Mitsubishi by programe prot (rs422). what node can I use?

---

## [Bacnet Cov Subscriptions](https://discourse.nodered.org/t/bacnet-cov-subscriptions/32975)

<div class="topic-metadata">

**Author:** [@pm.integrator](https://discourse.nodered.org/u/pm.integrator)\
**Replies:** 2\
**Last updated:** [17 September 2020 09:55 UTC](https://discourse.nodered.org/t/bacnet-cov-subscriptions/32975 "2020-09-17T09:55:18Z")

</div>

Hello, I would like to know if someone has implemented the COV subscriptions function on the bacnet, I currently use the "Bacnet Read" node and I am subject to polling fast enough to trigger the push of the buttons of t…

---

## [Reading data from S7-300 and want to log in MSSQL need function or query](https://discourse.nodered.org/t/reading-data-from-s7-300-and-want-to-log-in-mssql-need-function-or-query/32979)

<div class="topic-metadata">

**Author:** [@malickamranahmed](https://discourse.nodered.org/u/malickamranahmed)\
**Replies:** 4\
**Last updated:** [17 September 2020 08:10 UTC](https://discourse.nodered.org/t/reading-data-from-s7-300-and-want-to-log-in-mssql-need-function-or-query/32979 "2020-09-17T08:10:32Z")

</div>

Hi, I am new to node red and trying to build a Dashboard as a hobbiest . For this i am reading data from Siemens PLC data block and i want to store that data in MSSQL and not able to write function for it . above is t…

---

## [How to change image after clicking button](https://discourse.nodered.org/t/how-to-change-image-after-clicking-button/32986)

<div class="topic-metadata">

**Author:** [@ltien1](https://discourse.nodered.org/u/ltien1)\
**Replies:** 0\
**Last updated:** [17 September 2020 08:57 UTC](https://discourse.nodered.org/t/how-to-change-image-after-clicking-button/32986 "2020-09-17T08:57:58Z")

</div>

I have an existing image which i want to replace after the user click the button. How do i change the image in dashboard?

---

## [How to config get the first value ini file when duplicate keys](https://discourse.nodered.org/t/how-to-config-get-the-first-value-ini-file-when-duplicate-keys/32980)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 7\
**Last updated:** [17 September 2020 08:10 UTC](https://discourse.nodered.org/t/how-to-config-get-the-first-value-ini-file-when-duplicate-keys/32980 "2020-09-17T08:10:52Z")

</div>

I read an ini file with duplicate keys, ie: \[SESSION\] key1=value1 key1=value2222 xxx=yyy I used the code below to get the contents of the ini file var fs = require('fs') , ini = require('ini') var config = ini.pars…

---

## [UI-Table download/export filtered data on columns](https://discourse.nodered.org/t/ui-table-download-export-filtered-data-on-columns/32252)

<div class="topic-metadata">

**Author:** [@dptek](https://discourse.nodered.org/u/dptek)\
**Replies:** 11\
**Last updated:** [17 September 2020 03:50 UTC](https://discourse.nodered.org/t/ui-table-download-export-filtered-data-on-columns/32252 "2020-09-17T03:50:35Z")

</div>

Hi, I successfully added filters to the columns of my table, but now I want to be able to download the filtered data as CSV or just get the filtered data and create myself the CSV file. I think one of these 3 options…

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

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