# Latest

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

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

**Page:** 829

---

## [Specify node\_modules folder in settings.js](https://discourse.nodered.org/t/specify-node-modules-folder-in-settings-js/44537)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 39\
**Last updated:** [28 April 2021 09:57 UTC](https://discourse.nodered.org/t/specify-node-modules-folder-in-settings-js/44537 "2021-04-28T09:57:29Z")

</div>

Hi, I use a different user folder than .node-red without problem. The only issue I'm not able to solve is the node\_modules folder. Following other topics I created a simlink to the one inside the .node-red folder install…

---

## [Stop inject message](https://discourse.nodered.org/t/stop-inject-message/44848)

<div class="topic-metadata">

**Author:** [@scouike](https://discourse.nodered.org/u/scouike)\
**Replies:** 4\
**Last updated:** [28 April 2021 09:48 UTC](https://discourse.nodered.org/t/stop-inject-message/44848 "2021-04-28T09:48:46Z")

</div>

Hello I am currently stuck on a problem. I need to be able to send messages from my automaton to a phone every 15 minutes until the person who receives the messages answers a message to say that he has taken it into ac…

---

## [Automatically write sensor data to new folder after midnight](https://discourse.nodered.org/t/automatically-write-sensor-data-to-new-folder-after-midnight/44840)

<div class="topic-metadata">

**Author:** [@Dave298](https://discourse.nodered.org/u/Dave298)\
**Replies:** 4\
**Last updated:** [28 April 2021 09:13 UTC](https://discourse.nodered.org/t/automatically-write-sensor-data-to-new-folder-after-midnight/44840 "2021-04-28T09:13:59Z")

</div>

Hi guys, :slight\_smile: I have just started to work a bit more intensively with Node Red, as part of a project. In the project are many temperature sensors (DS18B20) on a machine and measure the temperature for several …

---

## [OPC-UA-Client payload is NULL](https://discourse.nodered.org/t/opc-ua-client-payload-is-null/44801)

<div class="topic-metadata">

**Author:** [@SRmag](https://discourse.nodered.org/u/SRmag)\
**Replies:** 3\
**Last updated:** [28 April 2021 08:57 UTC](https://discourse.nodered.org/t/opc-ua-client-payload-is-null/44801 "2021-04-28T08:57:06Z")

</div>

Hello everybody, I want to access the Siemens MyMachine OPC-UA Server. The connection works, but I didn't get any data in the payload, its always Null. I used UaExpert to get the NodeID and inserted it to the OPC-Item. …

---

## [How to update ui\_switch state out off a different flow?](https://discourse.nodered.org/t/how-to-update-ui-switch-state-out-off-a-different-flow/44833)

<div class="topic-metadata">

**Author:** [@Marcow](https://discourse.nodered.org/u/Marcow)\
**Replies:** 2\
**Last updated:** [28 April 2021 08:14 UTC](https://discourse.nodered.org/t/how-to-update-ui-switch-state-out-off-a-different-flow/44833 "2021-04-28T08:14:14Z")

</div>

Hello Community, may someone can share her/his thoughts about this and help with a hint. I tried to turn an ui\_switch ON/OFF out of a different flow by setting a global.variable. The problem now is how to sync the stat…

---

## [Transforming Data with JSONata](https://discourse.nodered.org/t/transforming-data-with-jsonata/44831)

<div class="topic-metadata">

**Author:** [@riplatt](https://discourse.nodered.org/u/riplatt)\
**Replies:** 6\
**Last updated:** [28 April 2021 08:10 UTC](https://discourse.nodered.org/t/transforming-data-with-jsonata/44831 "2021-04-28T08:10:38Z")

</div>

Hi, I'm trying to transform a API result to display on a worldmap. The result looks like: { "payload": \[ { "id": "115", "sample\_time": "2021-04-25T14:00:00.000Z", "lat": -20.00, "lon": 15…

---

## [Select minimum of two values](https://discourse.nodered.org/t/select-minimum-of-two-values/44775)

<div class="topic-metadata">

**Author:** [@gazzat5](https://discourse.nodered.org/u/gazzat5)\
**Replies:** 6\
**Last updated:** [28 April 2021 07:50 UTC](https://discourse.nodered.org/t/select-minimum-of-two-values/44775 "2021-04-28T07:50:22Z")

</div>

Hi there, I am receiving two messages from mqtt, what I want to do is select the lesser of the two and output it to influxdb. I'm guessing I need to use a function but am unsure how to address two incoming message payl…

---

## [Node-red-contrib-ui-media pictures do not renew because of cache](https://discourse.nodered.org/t/node-red-contrib-ui-media-pictures-do-not-renew-because-of-cache/44811)

<div class="topic-metadata">

**Author:** [@quemf](https://discourse.nodered.org/u/quemf)\
**Replies:** 1\
**Last updated:** [28 April 2021 07:27 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-media-pictures-do-not-renew-because-of-cache/44811 "2021-04-28T07:27:42Z")

</div>

Hi there, I made a system that when you click to an ui-button, a load cell reads some values, and when a specific value is detected, then a USB camera takes a picture. The fact is that when I put that picture on the da…

---

## [Time\_Range\_Switch - Usage](https://discourse.nodered.org/t/time-range-switch-usage/44614)

<div class="topic-metadata">

**Author:** [@MikeyD](https://discourse.nodered.org/u/MikeyD)\
**Replies:** 4\
**Last updated:** [28 April 2021 07:00 UTC](https://discourse.nodered.org/t/time-range-switch-usage/44614 "2021-04-28T07:00:47Z")

</div>

I'm using Time Range Switch to turn on my irrigation at dawn. I want it to switch off 30 minutes later. Because dawn only occurs once/day, it's difficult to run a debug. I tried it this morning and it came on as schedul…

---

## [Import/Export of flows](https://discourse.nodered.org/t/import-export-of-flows/44830)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 1\
**Last updated:** [28 April 2021 06:48 UTC](https://discourse.nodered.org/t/import-export-of-flows/44830 "2021-04-28T06:48:11Z")

</div>

Is this a bug, or have I made an error... When exporting 'Selected nodes', and re-importing them, I don't seem to be able to import them in a tab of my choosing (which I could previously) node-RED v1.3.3 Node v12.2…

---

## [How to sync ui-switch with global.variable (infinit loop problem)](https://discourse.nodered.org/t/how-to-sync-ui-switch-with-global-variable-infinit-loop-problem/44823)

<div class="topic-metadata">

**Author:** [@Marcow](https://discourse.nodered.org/u/Marcow)\
**Replies:** 2\
**Last updated:** [28 April 2021 05:50 UTC](https://discourse.nodered.org/t/how-to-sync-ui-switch-with-global-variable-infinit-loop-problem/44823 "2021-04-28T05:50:34Z")

</div>

Hello Commnunity, may someone can push me into the right direction. I simply want to have a ui\_switch on the dashboard (ON/OFF) synchronized with a global.variable (also e.g. ON/OFF). Goal is that I'm able to switch a …

---

## [OPC UA Certificate Issue](https://discourse.nodered.org/t/opc-ua-certificate-issue/44300)

<div class="topic-metadata">

**Author:** [@psalibe](https://discourse.nodered.org/u/psalibe)\
**Replies:** 1\
**Last updated:** [28 April 2021 04:54 UTC](https://discourse.nodered.org/t/opc-ua-certificate-issue/44300 "2021-04-28T04:54:05Z")

</div>

Hello, I am using the node-red-contrib-opcua nodes and trying to connect the client nodes to my OPC UA server using a certificate. I have generated the certificate on the Siemens software and set it up so that I can acc…

---

## [Node-red-contrib-opcua, OPC UA server node](https://discourse.nodered.org/t/node-red-contrib-opcua-opc-ua-server-node/42442)

<div class="topic-metadata">

**Author:** [@Tadahiro](https://discourse.nodered.org/u/Tadahiro)\
**Replies:** 1\
**Last updated:** [28 April 2021 04:51 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-opc-ua-server-node/42442 "2021-04-28T04:51:02Z")

</div>

Dear All, I'd like to set up an OPC UA server with a node 'OPC UA server' from node-red-contrib-opcua. I just set 53880 to the port number and deployed it. But, status indicator below the node shows 'Not running'. I …

---

## [Error with OPC UA nodes connectivity](https://discourse.nodered.org/t/error-with-opc-ua-nodes-connectivity/16434)

<div class="topic-metadata">

**Author:** [@Piyush](https://discourse.nodered.org/u/Piyush)\
**Replies:** 5\
**Last updated:** [28 April 2021 04:48 UTC](https://discourse.nodered.org/t/error-with-opc-ua-nodes-connectivity/16434 "2021-04-28T04:48:25Z")

</div>

Hello Everyone, I'm currently developing some dashboards where we have to fetch data from OPC UA server. Although I'm able to establish the connection, I'm getting the following error in receiving data from some specifi…

---

## [Node Opc-ua tags list](https://discourse.nodered.org/t/node-opc-ua-tags-list/44688)

<div class="topic-metadata">

**Author:** [@bobfield](https://discourse.nodered.org/u/bobfield)\
**Replies:** 1\
**Last updated:** [28 April 2021 04:46 UTC](https://discourse.nodered.org/t/node-opc-ua-tags-list/44688 "2021-04-28T04:46:50Z")

</div>

Hi Dears, I begin to use the node opc-ua to read tags from a opc-ua server. I would like to know if is possible define a msg.payload tags list to enter in an unique OPC-UA-ITEM and after in an OPC-UA-CLIENT. Reading the…

---

## [Can't get SQLite to install](https://discourse.nodered.org/t/cant-get-sqlite-to-install/44515)

<div class="topic-metadata">

**Author:** [@jrayb](https://discourse.nodered.org/u/jrayb)\
**Replies:** 3\
**Last updated:** [28 April 2021 03:17 UTC](https://discourse.nodered.org/t/cant-get-sqlite-to-install/44515 "2021-04-28T03:17:25Z")

</div>

I have tried several options that were posted here & I cannot get the node to install. Log is below. 2021-04-22T02:05:02.537Z Install : node-red-node-sqlite 0.6.0 2021-04-22T02:05:02.599Z npm install --no-audit --no-u…

---

## [No .node-red folder](https://discourse.nodered.org/t/no-node-red-folder/44728)

<div class="topic-metadata">

**Author:** [@jake123](https://discourse.nodered.org/u/jake123)\
**Replies:** 5\
**Last updated:** [26 April 2021 16:56 UTC](https://discourse.nodered.org/t/no-node-red-folder/44728 "2021-04-26T16:56:56Z")

</div>

I installed node-red on my new pc and i cant seem to find .node-red folder. Any idea why it isnt in my Users\\user.node-red

---

## [Checking for a key with a space inside it?](https://discourse.nodered.org/t/checking-for-a-key-with-a-space-inside-it/44827)

<div class="topic-metadata">

**Author:** [@nicedevil](https://discourse.nodered.org/u/nicedevil)\
**Replies:** 15\
**Last updated:** [27 April 2021 21:41 UTC](https://discourse.nodered.org/t/checking-for-a-key-with-a-space-inside-it/44827 "2021-04-27T21:41:10Z")

</div>

Hi everyone, I'm getting an object with a key that got a space in its name and I'm trying to figure out how to create a switch rule for that. Here you can see an example output what I mean: And this is what I'm tryin…

---

## [Merge more than 3 .csv files](https://discourse.nodered.org/t/merge-more-than-3-csv-files/44818)

<div class="topic-metadata">

**Author:** [@Miliks](https://discourse.nodered.org/u/Miliks)\
**Replies:** 2\
**Last updated:** [27 April 2021 19:17 UTC](https://discourse.nodered.org/t/merge-more-than-3-csv-files/44818 "2021-04-27T19:17:21Z")

</div>

I have a main.csv file with several lines (for now we can assume 3 lines - first one with the titles and 2 with the data), each data line contains some data + reference to another csv file with other details. I want to r…

---

## [Error: easybotics led-matrix doesn't work](https://discourse.nodered.org/t/error-easybotics-led-matrix-doesnt-work/44756)

<div class="topic-metadata">

**Author:** [@ronanptl](https://discourse.nodered.org/u/ronanptl)\
**Replies:** 4\
**Last updated:** [27 April 2021 17:40 UTC](https://discourse.nodered.org/t/error-easybotics-led-matrix-doesnt-work/44756 "2021-04-27T17:40:05Z")

</div>

Hello, I've install node-red recently thanks to the following script on my raspberry pi3 b+ : bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered) node-red w…

---

## [Creating nodes - tabbing the properties page](https://discourse.nodered.org/t/creating-nodes-tabbing-the-properties-page/44737)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 9\
**Last updated:** [27 April 2021 17:29 UTC](https://discourse.nodered.org/t/creating-nodes-tabbing-the-properties-page/44737 "2021-04-27T17:29:04Z")

</div>

I am responsible for Node-Red-Contrib-BigTimer. I'm not bad at this but programming isn't my primary role in life so I'm having mental issues on tabbing the setup "Properties" interface. As you can see in the image, less…

---

## [ModBus function code 23](https://discourse.nodered.org/t/modbus-function-code-23/44738)

<div class="topic-metadata">

**Author:** [@BJM](https://discourse.nodered.org/u/BJM)\
**Replies:** 2\
**Last updated:** [27 April 2021 17:05 UTC](https://discourse.nodered.org/t/modbus-function-code-23/44738 "2021-04-27T17:05:25Z")

</div>

We have a added a new piece of equipment and unfortunately this device only support ModBus function 23 for Writing multiple registers. The generel Modbus nodes only support code 16 for writing multiple registers, and doe…

---

## [Implementing call and return](https://discourse.nodered.org/t/implementing-call-and-return/44807)

<div class="topic-metadata">

**Author:** [@tcr000](https://discourse.nodered.org/u/tcr000)\
**Replies:** 1\
**Last updated:** [27 April 2021 16:16 UTC](https://discourse.nodered.org/t/implementing-call-and-return/44807 "2021-04-27T16:16:13Z")

</div>

I am developing an application with several stepper motors on Raspberry Pi. Each stepper motor has its own sub-flow with inject node to update its state and handle commands (home, move, reset). Various nodes can use link…

---

## [MQTT in Node Configuration](https://discourse.nodered.org/t/mqtt-in-node-configuration/44734)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 4\
**Last updated:** [27 April 2021 15:25 UTC](https://discourse.nodered.org/t/mqtt-in-node-configuration/44734 "2021-04-27T15:25:56Z")

</div>

Hello Folks, I am trying to reduce costs using my AWS MQTT broker with Node Red. One of the ways I am hoping to do this is by creating a function filter that only posts a payload if its different to the previous messag…

---

## [Run python functions by execute node](https://discourse.nodered.org/t/run-python-functions-by-execute-node/44796)

<div class="topic-metadata">

**Author:** [@anguslou](https://discourse.nodered.org/u/anguslou)\
**Replies:** 7\
**Last updated:** [27 April 2021 15:15 UTC](https://discourse.nodered.org/t/run-python-functions-by-execute-node/44796 "2021-04-27T15:15:21Z")

</div>

Hi, I have a python script with simple functions: import sys a = sys.argv\[1\] b = int(sys.argv\[2\]) class Hello: def \_\_init\_\_(self, a, b): self.a = a self.b = b def hello(self, a): name = 'hello, ' + self.a prin…

---

## [Allow only last msg.payload to pass](https://discourse.nodered.org/t/allow-only-last-msg-payload-to-pass/44810)

<div class="topic-metadata">

**Author:** [@sahsha](https://discourse.nodered.org/u/sahsha)\
**Replies:** 0\
**Last updated:** [27 April 2021 14:40 UTC](https://discourse.nodered.org/t/allow-only-last-msg-payload-to-pass/44810 "2021-04-27T14:40:23Z")

</div>

Hi everyone, I need help with on how to allow only the last msg.payload to pass. I've made a flow to send email and email is comprised of data from different flows which are executed at different time and when all the v…

---

## [Reading from a PN532 Reader via UARD to PI4 using Node-RED](https://discourse.nodered.org/t/reading-from-a-pn532-reader-via-uard-to-pi4-using-node-red/44808)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 0\
**Last updated:** [27 April 2021 14:30 UTC](https://discourse.nodered.org/t/reading-from-a-pn532-reader-via-uard-to-pi4-using-node-red/44808 "2021-04-27T14:30:53Z")

</div>

Hi forum. I'm trying to read the content of a Grove NFC Module from a PI4 Using Node-RED (And a Grove Hat) The device is talking Serial, and I was expecting to read it using the serial node, but this is not working. T…

---

## [Node Red re-loads flows in Chrome tab](https://discourse.nodered.org/t/node-red-re-loads-flows-in-chrome-tab/44646)

<div class="topic-metadata">

**Author:** [@steerage250](https://discourse.nodered.org/u/steerage250)\
**Replies:** 24\
**Last updated:** [27 April 2021 13:16 UTC](https://discourse.nodered.org/t/node-red-re-loads-flows-in-chrome-tab/44646 "2021-04-27T13:16:03Z")

</div>

Prior to a day-or-two ago, I could load NodeRed into a tab in Chrome and could come back to it at any time and the flows were still there, and (more importantly), the debug window was still there with all the history. N…

---

## [One github repository for docker-compose application consisting of a node-red application](https://discourse.nodered.org/t/one-github-repository-for-docker-compose-application-consisting-of-a-node-red-application/44523)

<div class="topic-metadata">

**Author:** [@janvda](https://discourse.nodered.org/u/janvda)\
**Replies:** 8\
**Last updated:** [27 April 2021 12:46 UTC](https://discourse.nodered.org/t/one-github-repository-for-docker-compose-application-consisting-of-a-node-red-application/44523 "2021-04-27T12:46:54Z")

</div>

The context: I am developing a docker compose application consisting of multiple services of which one (or more) service is a node-red application with its specific node-red flows. For development I am using 2 machine…

---

## [How to display mqtt image on uibuilder](https://discourse.nodered.org/t/how-to-display-mqtt-image-on-uibuilder/44280)

<div class="topic-metadata">

**Author:** [@noBody](https://discourse.nodered.org/u/noBody)\
**Replies:** 8\
**Last updated:** [27 April 2021 12:57 UTC](https://discourse.nodered.org/t/how-to-display-mqtt-image-on-uibuilder/44280 "2021-04-27T12:57:53Z")

</div>

Hi, I can display images received via MQTT on the dashboard using ui\_template but I have to send the same image to uibuilder page. I am pretty new to js and can't seem to make it work. Can anyone provide a minimal examp…

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

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