# Latest

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

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

**Page:** 95

---

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

---

## [Cannot open node-red-dashboard 404 Not Found](https://discourse.nodered.org/t/cannot-open-node-red-dashboard-404-not-found/95792)

<div class="topic-metadata">

**Author:** [@perea\_12](https://discourse.nodered.org/u/perea_12)\
**Replies:** 4\
**Last updated:** [4 March 2025 16:31 UTC](https://discourse.nodered.org/t/cannot-open-node-red-dashboard-404-not-found/95792 "2025-03-04T16:31:58Z")

</div>

Hi, I am trying to open the dashboard from my Node Red, but this page is not working. When I try to open the dashboard and everything is done correctly, the control panel cannot be opened. I don't know what is happeni…

---

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

---

## [Trend charts with zoom and slide functionality?](https://discourse.nodered.org/t/trend-charts-with-zoom-and-slide-functionality/95324)

<div class="topic-metadata">

**Author:** [@dudleyjosh](https://discourse.nodered.org/u/dudleyjosh)\
**Replies:** 9\
**Last updated:** [4 March 2025 11:05 UTC](https://discourse.nodered.org/t/trend-charts-with-zoom-and-slide-functionality/95324 "2025-03-04T11:05:53Z")

</div>

We use some of the Opto22 groovEPIC devices and one of the built-in gadgets in their groovView HMI is a trend chart that allows you to zoom and slide to get zoomed in views of the chart data. see screen recording here I…

---

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

---

## [OK, what just happened?](https://discourse.nodered.org/t/ok-what-just-happened/95780)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 5\
**Last updated:** [4 March 2025 10:04 UTC](https://discourse.nodered.org/t/ok-what-just-happened/95780 "2025-03-04T10:04:29Z")

</div>

Folks, I have been quite for a while now, I know. But suddenly the site seems to have changed. (All today) Originally I was seeing a this site is read only message. Confused. Did a force refresh and got logged out. …

---

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

---

## [Refactor core code or not?](https://discourse.nodered.org/t/refactor-core-code-or-not/95735)

<div class="topic-metadata">

**Author:** [@crisconru](https://discourse.nodered.org/u/crisconru)\
**Replies:** 14\
**Last updated:** [3 March 2025 10:37 UTC](https://discourse.nodered.org/t/refactor-core-code-or-not/95735 "2025-03-03T10:37:46Z")

</div>

I am studying the core code of Node-RED. All the time I see things that probably need a non opinionated refactor (for example remove var for const and let and other JS features) and other opinionated (ESM instead of Comm…

---

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

---

## [Weather widget in Dashboard 2](https://discourse.nodered.org/t/weather-widget-in-dashboard-2/95729)

<div class="topic-metadata">

**Author:** [@maxuser74](https://discourse.nodered.org/u/maxuser74)\
**Replies:** 3\
**Last updated:** [3 March 2025 07:57 UTC](https://discourse.nodered.org/t/weather-widget-in-dashboard-2/95729 "2025-03-03T07:57:54Z")

</div>

Hello guys, I've just finished a simple but functional weather forecast card in Dashboard 2 using Open Meteo API, specifically designed to be nice on mobile. The code is very basic, no message validation or optimizati…

---

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

---

## [Dynamic URL Window Pop-up in NODE HTML template](https://discourse.nodered.org/t/dynamic-url-window-pop-up-in-node-html-template/95752)

<div class="topic-metadata">

**Author:** [@gtei](https://discourse.nodered.org/u/gtei)\
**Replies:** 1\
**Last updated:** [2 March 2025 12:59 UTC](https://discourse.nodered.org/t/dynamic-url-window-pop-up-in-node-html-template/95752 "2025-03-02T12:59:40Z")

</div>

Hi, I would like to open a dynamic URL by clicking on a button using the HTML template node. My msg.payload has the following items: name: device name of device MAC: device MAC address IP: device IP address I would l…

---

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

---

## [OMRON FINS --- Read Real Data NX1P2-9024DT1](https://discourse.nodered.org/t/omron-fins-read-real-data-nx1p2-9024dt1/95746)

<div class="topic-metadata">

**Author:** [@Leo01](https://discourse.nodered.org/u/Leo01)\
**Replies:** 2\
**Last updated:** [1 March 2025 23:53 UTC](https://discourse.nodered.org/t/omron-fins-read-real-data-nx1p2-9024dt1/95746 "2025-03-01T23:53:07Z")

</div>

Good evening everyone, I have just started using Node-red. I am having difficulty reading a Real variable. Could someone kindly give me support and make me understand where I am going wrong? I attach screenshots of my…

---

## [Different alignments of columns in v-data-table](https://discourse.nodered.org/t/different-alignments-of-columns-in-v-data-table/95510)

<div class="topic-metadata">

**Author:** [@xtrailrunner](https://discourse.nodered.org/u/xtrailrunner)\
**Replies:** 15\
**Last updated:** [1 March 2025 21:55 UTC](https://discourse.nodered.org/t/different-alignments-of-columns-in-v-data-table/95510 "2025-03-01T21:55:11Z")

</div>

Hello, I've just started to use Dashboard 2.0 with th v-data-table component. I have a simple table with two columns. First column displays labels and should be left-aligned. The second column displays numerical values…

---

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

---

## [International Space Station Data Stream](https://discourse.nodered.org/t/international-space-station-data-stream/95202)

<div class="topic-metadata">

**Author:** [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Replies:** 36\
**Last updated:** [1 March 2025 09:40 UTC](https://discourse.nodered.org/t/international-space-station-data-stream/95202 "2025-03-01T09:40:12Z")

</div>

Hi All, posting on a personal capacity here, rather than with my FlowFuse/Dashboard hat on. I was recently made aware of the ISS Mimic project by some old colleagues I used to work with at NASA, and thought it'd make a …

---

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

---

## [ESP8266 Unable to Connect to MQTT Broker (rc=-2)](https://discourse.nodered.org/t/esp8266-unable-to-connect-to-mqtt-broker-rc-2/95718)

<div class="topic-metadata">

**Author:** [@Gowtham](https://discourse.nodered.org/u/Gowtham)\
**Replies:** 2\
**Last updated:** [1 March 2025 09:03 UTC](https://discourse.nodered.org/t/esp8266-unable-to-connect-to-mqtt-broker-rc-2/95718 "2025-03-01T09:03:23Z")

</div>

Hello, I am trying to control an LED using ESP8266 via MQTT in Node-RED. The MQTT broker is running on my local machine, and the Node-RED debug node correctly shows the switch payload ("ON"/"OFF"). However, my ESP8266 f…

---

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

---

## [DB2 - Chart node - time serie](https://discourse.nodered.org/t/db2-chart-node-time-serie/95712)

<div class="topic-metadata">

**Author:** [@Switchblade2](https://discourse.nodered.org/u/Switchblade2)\
**Replies:** 4\
**Last updated:** [28 February 2025 18:18 UTC](https://discourse.nodered.org/t/db2-chart-node-time-serie/95712 "2025-02-28T18:18:41Z")

</div>

Hi, I'm starting to use DB2 and struggle with the Chart node. I have an object containing a time serie that I want to plot I get the chart to display the input if I put "X-axis type" as "Linear", but the I can format …

---

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

---

## [Node Edit highlighting](https://discourse.nodered.org/t/node-edit-highlighting/95698)

<div class="topic-metadata">

**Author:** [@xytsrm](https://discourse.nodered.org/u/xytsrm)\
**Replies:** 4\
**Last updated:** [28 February 2025 11:20 UTC](https://discourse.nodered.org/t/node-edit-highlighting/95698 "2025-02-28T11:20:04Z")

</div>

Curious issue started. After double-clicking on a node to open the edit window, the edit window opens will all the contents highlighted in blue. Clicking anywhere within the window removes the highlighting. Doesn't appea…

---

## [Tcp Request return invalid value](https://discourse.nodered.org/t/tcp-request-return-invalid-value/95701)

<div class="topic-metadata">

**Author:** [@bbakjae](https://discourse.nodered.org/u/bbakjae)\
**Replies:** 2\
**Last updated:** [28 February 2025 08:47 UTC](https://discourse.nodered.org/t/tcp-request-return-invalid-value/95701 "2025-02-28T08:47:38Z")

</div>

i build an IoT project with XGT-FENet Protocol i send to PLC 38 length byte data. it return 192 length byte data. it worked but when PLC power has turn off and turn on then tcp request has return first 30 characters fro…

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

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