# General

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

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

**Page:** 50

---

## [Moving Node Red project to Raspberry pi 5 - cannot connect to broker](https://discourse.nodered.org/t/moving-node-red-project-to-raspberry-pi-5-cannot-connect-to-broker/95822)

<div class="topic-metadata">

**Author:** [@invictagunner](https://discourse.nodered.org/u/invictagunner)\
**Replies:** 5\
**Last updated:** [6 March 2025 15:38 UTC](https://discourse.nodered.org/t/moving-node-red-project-to-raspberry-pi-5-cannot-connect-to-broker/95822 "2025-03-06T15:38:57Z")

</div>

I am using EMQX broker with connection information as follows:- MQTT Connection Information Address:xxxxxxxxxxxxxxxx.emqxsl.com MQTT over TLS/SSL Port:8883 WebSocket over TLS/SSL Port:8084 CA Certificate:CA Certificate…

---

## [Handling database connections](https://discourse.nodered.org/t/handling-database-connections/95823)

<div class="topic-metadata">

**Author:** [@WDL](https://discourse.nodered.org/u/WDL)\
**Replies:** 1\
**Last updated:** [6 March 2025 15:10 UTC](https://discourse.nodered.org/t/handling-database-connections/95823 "2025-03-06T15:10:38Z")

</div>

Hi, I am performing MySQL database updates from several Nodes, just wondering if there is any advantage in how this is handled in terms of speed and queuing of tasks. There could end up being a few dozen update nodes w…

---

## [Configure Secure Node-Red basically](https://discourse.nodered.org/t/configure-secure-node-red-basically/95653)

<div class="topic-metadata">

**Author:** [@muksidin](https://discourse.nodered.org/u/muksidin)\
**Replies:** 7\
**Last updated:** [6 March 2025 14:50 UTC](https://discourse.nodered.org/t/configure-secure-node-red-basically/95653 "2025-03-06T14:50:07Z")

</div>

Hello, i am new in node-red. So for basic security, i imagine for node-red dashboard make public without password and for node-red editor make secured by enable user and password login. Is it possible to make this. Tha…

---

## [Node creating new message, so losing properties](https://discourse.nodered.org/t/node-creating-new-message-so-losing-properties/95827)

<div class="topic-metadata">

**Author:** [@mayswekkie](https://discourse.nodered.org/u/mayswekkie)\
**Replies:** 2\
**Last updated:** [6 March 2025 14:13 UTC](https://discourse.nodered.org/t/node-creating-new-message-so-losing-properties/95827 "2025-03-06T14:13:44Z")

</div>

Hey all I want to use the node-red-contrib-opcua module to read multiple tags at once using the opc ua client node (action: READ MULTIPLE). The problem with this node is that for this action it constructs a new msg inst…

---

## [How start node-red without any flows running?](https://discourse.nodered.org/t/how-start-node-red-without-any-flows-running/95819)

<div class="topic-metadata">

**Author:** [@Jibun-no-Kage](https://discourse.nodered.org/u/Jibun-no-Kage)\
**Replies:** 3\
**Last updated:** [6 March 2025 10:06 UTC](https://discourse.nodered.org/t/how-start-node-red-without-any-flows-running/95819 "2025-03-06T10:06:12Z")

</div>

How start node-red without any flows running? Have a module that is generating uncaught exception, and it keeps crashing node-red. The issue is module has a bad parameter setting, but since the flow keeps running when …

---

## [Modbus and Kohler RDC2 controller](https://discourse.nodered.org/t/modbus-and-kohler-rdc2-controller/95820)

<div class="topic-metadata">

**Author:** [@k5map](https://discourse.nodered.org/u/k5map)\
**Replies:** 1\
**Last updated:** [6 March 2025 07:29 UTC](https://discourse.nodered.org/t/modbus-and-kohler-rdc2-controller/95820 "2025-03-06T07:29:45Z")

</div>

Has anyone successfully used one of the Modbus nodes and communicated to a Kohler RDC2 controller over TCP?

---

## [GPIO not working, indicates "OK" (yellow)](https://discourse.nodered.org/t/gpio-not-working-indicates-ok-yellow/95755)

<div class="topic-metadata">

**Author:** [@StrongTown](https://discourse.nodered.org/u/StrongTown)\
**Replies:** 44\
**Last updated:** [5 March 2025 23:21 UTC](https://discourse.nodered.org/t/gpio-not-working-indicates-ok-yellow/95755 "2025-03-05T23:21:49Z")

</div>

So I decided to upgrade my project from rPi3 & Bullseye (11) to rPi4 & Bookworm (12). As most can imagine this was a major effort as I had to also reinstall the (proprietary) text to speech software and many other requir…

---

## [Variable amount of requests (hasNext)](https://discourse.nodered.org/t/variable-amount-of-requests-hasnext/95806)

<div class="topic-metadata">

**Author:** [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)\
**Replies:** 1\
**Last updated:** [5 March 2025 15:51 UTC](https://discourse.nodered.org/t/variable-amount-of-requests-hasnext/95806 "2025-03-05T15:51:26Z")

</div>

I need some help figuring out a clean way to handle variable number of http requests. Working with thingsboard API, they use pagination: async getMainElectricMeterDevices() { const mainElectricMeterProfileId = "…

---

## [NR runs on wrong time zone](https://discourse.nodered.org/t/nr-runs-on-wrong-time-zone/95593)

<div class="topic-metadata">

**Author:** [@ruffieuxh](https://discourse.nodered.org/u/ruffieuxh)\
**Replies:** 24\
**Last updated:** [5 March 2025 15:45 UTC](https://discourse.nodered.org/t/nr-runs-on-wrong-time-zone/95593 "2025-03-05T15:45:37Z")

</div>

Hi, My node-red installation seems to run on UTC/GMT time zone, but should run on GMT+1. In a function node, new Date() returns UTC time, I would expect the time for my timezone. Also a call like new Date("2025-02-23T…

---

## [Node Red AEDES MQTT Broker Question](https://discourse.nodered.org/t/node-red-aedes-mqtt-broker-question/95733)

<div class="topic-metadata">

**Author:** [@Jeffro](https://discourse.nodered.org/u/Jeffro)\
**Replies:** 25\
**Last updated:** [5 March 2025 06:11 UTC](https://discourse.nodered.org/t/node-red-aedes-mqtt-broker-question/95733 "2025-03-05T06:11:13Z")

</div>

Hello! I am trying to make an escape room bomb prop, similar to what Alastair Aitchison created in this video: Google Search Since this video was created in 2020, the issue I am running into is that the original Node …

---

## [OPC Communication](https://discourse.nodered.org/t/opc-communication/95789)

<div class="topic-metadata">

**Author:** [@Mysmoo](https://discourse.nodered.org/u/Mysmoo)\
**Replies:** 22\
**Last updated:** [5 March 2025 11:36 UTC](https://discourse.nodered.org/t/opc-communication/95789 "2025-03-05T11:36:26Z")

</div>

Hey, I am new to Node-Red and trying to learn. What i am trying to do is read 6 signals from the OPC. I send then with a Join block and read them out in array. Code looks like this after the Join block: let msg1 = {}…

---

## [How can I configure a Modbus TCP client node in Node-RED to listen for incoming connections? Once the connection is established, I would like the client to start polling data](https://discourse.nodered.org/t/how-can-i-configure-a-modbus-tcp-client-node-in-node-red-to-listen-for-incoming-connections-once-the-connection-is-established-i-would-like-the-client-to-start-polling-data/94402)

<div class="topic-metadata">

**Author:** [@kpkpkalpesh](https://discourse.nodered.org/u/kpkpkalpesh)\
**Replies:** 7\
**Last updated:** [5 March 2025 08:48 UTC](https://discourse.nodered.org/t/how-can-i-configure-a-modbus-tcp-client-node-in-node-red-to-listen-for-incoming-connections-once-the-connection-is-established-i-would-like-the-client-to-start-polling-data/94402 "2025-03-05T08:48:22Z")

</div>

I want the node red Modbus client to listen on port . Once my Modbus device is powered up, it should automatically connect to the node red Modbus client using the node red IP address and the port. After the device is con…

---

## [Recent update to Debian install script](https://discourse.nodered.org/t/recent-update-to-debian-install-script/95565)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 6\
**Last updated:** [5 March 2025 00:46 UTC](https://discourse.nodered.org/t/recent-update-to-debian-install-script/95565 "2025-03-05T00:46:37Z")

</div>

Background The additional security recommendations at the end of the installation script now look like this The script now automatically runs node-red admin init and then sets ownership of settings.js to root:root (0…

---

## [Node-RED running fine but suddenly shuts down and loses connection](https://discourse.nodered.org/t/node-red-running-fine-but-suddenly-shuts-down-and-loses-connection/95790)

<div class="topic-metadata">

**Author:** [@nononode](https://discourse.nodered.org/u/nononode)\
**Replies:** 1\
**Last updated:** [4 March 2025 16:59 UTC](https://discourse.nodered.org/t/node-red-running-fine-but-suddenly-shuts-down-and-loses-connection/95790 "2025-03-04T16:59:40Z")

</div>

I set up Node-RED on an EC2 instance using Docker and installed it via the command line. It was working fine, and I could access it without any issues for the past few days. However, today, it suddenly lost connection, a…

---

## [Gpio end node catch](https://discourse.nodered.org/t/gpio-end-node-catch/95774)

<div class="topic-metadata">

**Author:** [@pin32](https://discourse.nodered.org/u/pin32)\
**Replies:** 12\
**Last updated:** [4 March 2025 15:41 UTC](https://discourse.nodered.org/t/gpio-end-node-catch/95774 "2025-03-04T15:41:58Z")

</div>

hello, I need to monitor the operation of some gpio (on rpi), I would like to use the catch node and possibly the status node. I never used these nodes and it is a little complicated to understand how they work. I would…

---

## [What's going on here? (code and errors)](https://discourse.nodered.org/t/whats-going-on-here-code-and-errors/95783)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 4\
**Last updated:** [4 March 2025 12:29 UTC](https://discourse.nodered.org/t/whats-going-on-here-code-and-errors/95783 "2025-03-04T12:29:38Z")

</div>

I'm stuck on a problem with context and and trying to check things. To that end this is a bit of code I wrote let x = context.get("test") || 0; if (msg.payload == "x") { context.set("test",1) } else if (msg.payloa…

---

## [Dashboard 2.0 - format table](https://discourse.nodered.org/t/dashboard-2-0-format-table/95753)

<div class="topic-metadata">

**Author:** [@Switchblade2](https://discourse.nodered.org/u/Switchblade2)\
**Replies:** 3\
**Last updated:** [4 March 2025 11:46 UTC](https://discourse.nodered.org/t/dashboard-2-0-format-table/95753 "2025-03-04T11:46:39Z")

</div>

Hi, I want to reduce the height of the rows in a table to have a more compact view of the table. The table has 12 rows so it covers more than a 13" screen I've tired using a template node with the following code \<tem…

---

## [JSONata interprets message differently from debug node](https://discourse.nodered.org/t/jsonata-interprets-message-differently-from-debug-node/95750)

<div class="topic-metadata">

**Author:** [@IanH](https://discourse.nodered.org/u/IanH)\
**Replies:** 14\
**Last updated:** [4 March 2025 11:23 UTC](https://discourse.nodered.org/t/jsonata-interprets-message-differently-from-debug-node/95750 "2025-03-04T11:23:10Z")

</div>

SYSTEM Raspi 3B+ running recently updated bookworm NR 4.0.9 nodejs 20.18.3 Problem I have a case where JSONata in a change node is producing (to an element of an object) a different value to that displayed in a debu…

---

## [Help with how to edit OLD code](https://discourse.nodered.org/t/help-with-how-to-edit-old-code/95781)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [4 March 2025 10:30 UTC](https://discourse.nodered.org/t/help-with-how-to-edit-old-code/95781 "2025-03-04T10:30:19Z")

</div>

I'm going through editing/updating some OLD code. Alas I was using var rather than let and I would like to change them all from var to let. But as I've found the search/replace is a bit ..... wobbly. If I search simpl…

---

## [Can I calculate how many hours an minutes have gone from an Epoch time and until now in a function node?](https://discourse.nodered.org/t/can-i-calculate-how-many-hours-an-minutes-have-gone-from-an-epoch-time-and-until-now-in-a-function-node/95764)

<div class="topic-metadata">

**Author:** [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Replies:** 6\
**Last updated:** [4 March 2025 09:59 UTC](https://discourse.nodered.org/t/can-i-calculate-how-many-hours-an-minutes-have-gone-from-an-epoch-time-and-until-now-in-a-function-node/95764 "2025-03-04T09:59:48Z")

</div>

I'm adapting a Norwegian gas prices flow to my use. It had a lot of UI stuff, which I have removed. And I have the function node that goes before the sending over MQTT down to this: msg.topic = "Bensinstasjoner" var kje…

---

## [Tabulator with formatter lookup](https://discourse.nodered.org/t/tabulator-with-formatter-lookup/95767)

<div class="topic-metadata">

**Author:** [@SergioRT](https://discourse.nodered.org/u/SergioRT)\
**Replies:** 5\
**Last updated:** [3 March 2025 16:02 UTC](https://discourse.nodered.org/t/tabulator-with-formatter-lookup/95767 "2025-03-03T16:02:34Z")

</div>

Hi everyone I have included in a tabulator object this field { "title":"Avis", "field": "avis", "formatter":"lookup", "width": "8%", "hozAlign": "left", "editable":true, "formatterParams": { "F":"Favorable", "…

---

## [Problem with calendar input to Home assistant](https://discourse.nodered.org/t/problem-with-calendar-input-to-home-assistant/95766)

<div class="topic-metadata">

**Author:** [@bvndb](https://discourse.nodered.org/u/bvndb)\
**Replies:** 13\
**Last updated:** [3 March 2025 12:56 UTC](https://discourse.nodered.org/t/problem-with-calendar-input-to-home-assistant/95766 "2025-03-03T12:56:56Z")

</div>

When i create a flow and send the data as a msg to a create calendar event i got this error : InputError: Invalid JSON: {“\[object Object\]”} When i put the (captured data directly in the data field it works. What am i do…

---

## [Node-red-contrib-postgres-multi can't connect](https://discourse.nodered.org/t/node-red-contrib-postgres-multi-cant-connect/95728)

<div class="topic-metadata">

**Author:** [@SergioRT](https://discourse.nodered.org/u/SergioRT)\
**Replies:** 2\
**Last updated:** [3 March 2025 09:42 UTC](https://discourse.nodered.org/t/node-red-contrib-postgres-multi-cant-connect/95728 "2025-03-03T09:42:32Z")

</div>

Hello everyone I am trying to use node node-red-contrib-postgres-multi to execute multipe queries My payload : msg.payload=\[ { query:'select \* from pjDefVisas;', output:true }, { query:'select \* from pjDefStat…

---

## [Venting out - depressed developer](https://discourse.nodered.org/t/venting-out-depressed-developer/95586)

<div class="topic-metadata">

**Author:** [@AllanOricil](https://discourse.nodered.org/u/AllanOricil)\
**Replies:** 8\
**Last updated:** [2 March 2025 22:02 UTC](https://discourse.nodered.org/t/venting-out-depressed-developer/95586 "2025-03-02T22:02:52Z")

</div>

I would like to say sorry to everyone that I may have offended with one of my posts or comments. I've been suffering with depression for the past 8 years and 4 years ago I reached a state where I was no longer leaving my…

---

## [The problem with node-red freezes in the browser](https://discourse.nodered.org/t/the-problem-with-node-red-freezes-in-the-browser/95739)

<div class="topic-metadata">

**Author:** [@tkreks](https://discourse.nodered.org/u/tkreks)\
**Replies:** 7\
**Last updated:** [2 March 2025 11:44 UTC](https://discourse.nodered.org/t/the-problem-with-node-red-freezes-in-the-browser/95739 "2025-03-02T11:44:24Z")

</div>

Hello everyone I have encountered such a problem that node-red stops working in the browser. It looks like this. I'm working with the flow. There are http in and out notes in this stream, after the changes in the stream,…

---

## [Build CLIs with Node-RED](https://discourse.nodered.org/t/build-clis-with-node-red/95745)

<div class="topic-metadata">

**Author:** [@AllanOricil](https://discourse.nodered.org/u/AllanOricil)\
**Replies:** 1\
**Last updated:** [2 March 2025 08:30 UTC](https://discourse.nodered.org/t/build-clis-with-node-red/95745 "2025-03-02T08:30:36Z")

</div>

I was able to successfully conduct an experiment to validate weather it is possible to build CLIs with Node-RED I made a cli that shows a progress bar while it is fetching an API N times, and at the end it outputs a j…

---

## [Reconnect error from nodered when trying to connect to the prosys opcua server](https://discourse.nodered.org/t/reconnect-error-from-nodered-when-trying-to-connect-to-the-prosys-opcua-server/95731)

<div class="topic-metadata">

**Author:** [@liamkelly15](https://discourse.nodered.org/u/liamkelly15)\
**Replies:** 0\
**Last updated:** [1 March 2025 16:01 UTC](https://discourse.nodered.org/t/reconnect-error-from-nodered-when-trying-to-connect-to-the-prosys-opcua-server/95731 "2025-03-01T16:01:49Z")

</div>

Hi I cannot connect to the prosys ua server - all security is set to None - the node red logs read I am using the prosys connection address from noedred Thx Liam

---

## [Newbe problem with starting NodeRed](https://discourse.nodered.org/t/newbe-problem-with-starting-nodered/95707)

<div class="topic-metadata">

**Author:** [@Janvi](https://discourse.nodered.org/u/Janvi)\
**Replies:** 5\
**Last updated:** [1 March 2025 09:09 UTC](https://discourse.nodered.org/t/newbe-problem-with-starting-nodered/95707 "2025-03-01T09:09:20Z")

</div>

As a newbe, I tried to do my first flow using NodeRed. The installation is a Victron Cerbo GX running Venus where NodeRed is already pre-installed within the big image. Installation went through without errors. I can inv…

---

## [Priority between node UI field VS msg value](https://discourse.nodered.org/t/priority-between-node-ui-field-vs-msg-value/95714)

<div class="topic-metadata">

**Author:** [@jhamel](https://discourse.nodered.org/u/jhamel)\
**Replies:** 2\
**Last updated:** [28 February 2025 18:06 UTC](https://discourse.nodered.org/t/priority-between-node-ui-field-vs-msg-value/95714 "2025-02-28T18:06:15Z")

</div>

We are having a "dispute" in another forum which makes uses of Node-RED. Can some Node-RED founder intervene as to which should have precedence between UI field value and msg value? In the end it is up to the developpe…

---

## [Javascript function to parse complex json object](https://discourse.nodered.org/t/javascript-function-to-parse-complex-json-object/95700)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.nodered.org/u/Mick)\
**Replies:** 8\
**Last updated:** [28 February 2025 18:11 UTC](https://discourse.nodered.org/t/javascript-function-to-parse-complex-json-object/95700 "2025-02-28T18:11:44Z")

</div>

I am trying to parse a complex json object Here is the object. I am using the following flow to parse the data function getAllKeyValuePairs(obj, path = '') { const results = \[\]; for (const key in obj) { …

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

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