# Latest

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

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

**Page:** 303

---

## [Modbus IO board help](https://discourse.nodered.org/t/modbus-io-board-help/81190)

<div class="topic-metadata">

**Author:** [@andre\_x](https://discourse.nodered.org/u/andre_x)\
**Replies:** 0\
**Last updated:** [11 September 2023 09:22 UTC](https://discourse.nodered.org/t/modbus-io-board-help/81190 "2023-09-11T09:22:35Z")

</div>

Hi everybody! I have bought an ethernet to RS485 board and an IO board (8 in / 8 out). With the node Modebus Read (node-red-contrib-modbus) I see that they communicate, but receive only zeros (In the input board the in…

---

## [Unable to install the node red on raspberry pi](https://discourse.nodered.org/t/unable-to-install-the-node-red-on-raspberry-pi/81187)

<div class="topic-metadata">

**Author:** [@Jagadeesh\_aditya](https://discourse.nodered.org/u/Jagadeesh_aditya)\
**Replies:** 4\
**Last updated:** [11 September 2023 08:47 UTC](https://discourse.nodered.org/t/unable-to-install-the-node-red-on-raspberry-pi/81187 "2023-09-11T08:47:25Z")

</div>

Hi, the experts of Node-Red, I am an undergraduate teacher, very new to Node-Red. I am unable to install node red on my raspberry pi. Could some one please help me. What mistake i did. Plese find the error message here: …

---

## [Context variables encrypted at rest?](https://discourse.nodered.org/t/context-variables-encrypted-at-rest/81153)

<div class="topic-metadata">

**Author:** [@parasaurolophus](https://discourse.nodered.org/u/parasaurolophus)\
**Replies:** 10\
**Last updated:** [10 September 2023 23:46 UTC](https://discourse.nodered.org/t/context-variables-encrypted-at-rest/81153 "2023-09-10T23:46:42Z")

</div>

Thanks to all the contributors for great new features. I cannot express how satisfying it is to me finally to see my mermaid diagrams render properly in the Node-RED editor. :slight\_smile: One nit: it would have been ni…

---

## [Inexplicable Variable Becomes Undefined Inside Function](https://discourse.nodered.org/t/inexplicable-variable-becomes-undefined-inside-function/81179)

<div class="topic-metadata">

**Author:** [@adalbiot](https://discourse.nodered.org/u/adalbiot)\
**Replies:** 4\
**Last updated:** [10 September 2023 22:41 UTC](https://discourse.nodered.org/t/inexplicable-variable-becomes-undefined-inside-function/81179 "2023-09-10T22:41:14Z")

</div>

I'm facing an issue in my Node-RED flow. I have a string injection node that sends a message with a value 'a30b74fa' to a function. However, when it reaches the function, the 'tagToCheck' variable, which should contain '…

---

## [Serial in node - no data](https://discourse.nodered.org/t/serial-in-node-no-data/81161)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 2\
**Last updated:** [10 September 2023 20:40 UTC](https://discourse.nodered.org/t/serial-in-node-no-data/81161 "2023-09-10T20:40:07Z")

</div>

I have some data arriving via RF to a Raspberry Pi 3b+ and can see the data arriving via minicom in the Pi using the command sudo minicom -D /dev/ttyAMA0 -b9600 I'm trying to access that data by using a serial in node…

---

## [Mysqldump - how to create a backup of mysql database from node-red](https://discourse.nodered.org/t/mysqldump-how-to-create-a-backup-of-mysql-database-from-node-red/81133)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 5\
**Last updated:** [10 September 2023 11:17 UTC](https://discourse.nodered.org/t/mysqldump-how-to-create-a-backup-of-mysql-database-from-node-red/81133 "2023-09-10T11:17:51Z")

</div>

Hi, I tried searching forum but could not get any relevant results. so here is the question. How do I make a backup of my mysql database from node-red ? I am able to create a backup using mysqldump command in the resp…

---

## [How long from publishing new module version to it showing up in palette manager?](https://discourse.nodered.org/t/how-long-from-publishing-new-module-version-to-it-showing-up-in-palette-manager/81170)

<div class="topic-metadata">

**Author:** [@mountaindude](https://discourse.nodered.org/u/mountaindude)\
**Replies:** 3\
**Last updated:** [10 September 2023 09:36 UTC](https://discourse.nodered.org/t/how-long-from-publishing-new-module-version-to-it-showing-up-in-palette-manager/81170 "2023-09-10T09:36:38Z")

</div>

This was discussed here already, with the answer that the palette mgr updates every 30 minutes. Over the last week or so I've however regularly seen update times of many hours, and now with the latest version of my @pta…

---

## [Extension object opcua compact server](https://discourse.nodered.org/t/extension-object-opcua-compact-server/81171)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 0\
**Last updated:** [10 September 2023 06:09 UTC](https://discourse.nodered.org/t/extension-object-opcua-compact-server/81171 "2023-09-10T06:09:26Z")

</div>

Hi all I'm learning use extension object in opcua server opcua. Have someone a tutorial or example? Many thanks

---

## [Node-RED 3.1, status under node has an odd background appearance?](https://discourse.nodered.org/t/node-red-3-1-status-under-node-has-an-odd-background-appearance/81143)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 18\
**Last updated:** [10 September 2023 02:46 UTC](https://discourse.nodered.org/t/node-red-3-1-status-under-node-has-an-odd-background-appearance/81143 "2023-09-10T02:46:13Z")

</div>

Erm I coule well be wrong but ercently I upgraded my NR to nodejs 18 and NR to 3.0-something. All was well. This morning I upgraded to NR 3.10 - flawless using your script.... I could be wrong but until this morning I …

---

## [What are people doing with the underlying OS and updates?](https://discourse.nodered.org/t/what-are-people-doing-with-the-underlying-os-and-updates/81154)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 4\
**Last updated:** [10 September 2023 02:39 UTC](https://discourse.nodered.org/t/what-are-people-doing-with-the-underlying-os-and-updates/81154 "2023-09-10T02:39:27Z")

</div>

Guys, Now that 3.10 is in the Wild i intend to build a new VM as my primary OS for my live system. Currently running on Ubuntu 20.04 (LTS) I note now that Debian has finally moved to havving a LTS version. What are p…

---

## [TypeError: Cannot read properties of undefined (reading 'Total\_in')"](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-total-in/81165)

<div class="topic-metadata">

**Author:** [@Tobi31](https://discourse.nodered.org/u/Tobi31)\
**Replies:** 3\
**Last updated:** [9 September 2023 23:18 UTC](https://discourse.nodered.org/t/typeerror-cannot-read-properties-of-undefined-reading-total-in/81165 "2023-09-09T23:18:44Z")

</div>

Hi together, i am trying to extract my mqtt data by a change as well as a function the value Power.Total\_in. This is extracted cleanly, at least according to the debug. Strangely, right after the change in the function…

---

## [How to clear context?](https://discourse.nodered.org/t/how-to-clear-context/80880)

<div class="topic-metadata">

**Author:** [@michael1](https://discourse.nodered.org/u/michael1)\
**Replies:** 4\
**Last updated:** [9 September 2023 22:23 UTC](https://discourse.nodered.org/t/how-to-clear-context/80880 "2023-09-09T22:23:12Z")

</div>

Is there a way to clear entire context? I've found two ways to do that: Use Switch -\> delete.flow but it needs to be specified unless there is some way to delete all? Use context.set() = undefined but it doesn't seem t…

---

## [SQLITE does not update from database in homenetwork](https://discourse.nodered.org/t/sqlite-does-not-update-from-database-in-homenetwork/81163)

<div class="topic-metadata">

**Author:** [@redsql](https://discourse.nodered.org/u/redsql)\
**Replies:** 0\
**Last updated:** [9 September 2023 18:56 UTC](https://discourse.nodered.org/t/sqlite-does-not-update-from-database-in-homenetwork/81163 "2023-09-09T18:56:41Z")

</div>

Hello everybody I am new here. I have an issue with node-red and Sqlite in my home network. On my Pi3 I have installed MQTT, Node-red(3.0.1) with Sqlite(1.0.3) and a database on the same device. The database is stored …

---

## [How to remove the gap between template node and other nodes?](https://discourse.nodered.org/t/how-to-remove-the-gap-between-template-node-and-other-nodes/81158)

<div class="topic-metadata">

**Author:** [@thematrixrearwindow](https://discourse.nodered.org/u/thematrixrearwindow)\
**Replies:** 0\
**Last updated:** [9 September 2023 14:59 UTC](https://discourse.nodered.org/t/how-to-remove-the-gap-between-template-node-and-other-nodes/81158 "2023-09-09T14:59:45Z")

</div>

My template node's code is the following: \<style\> .container { overflow: hidden !important; padding: 0 !important; margin: 0 !important; } .button { background-color: red !important; color: white …

---

## [Node multiple in/out for better flow structure](https://discourse.nodered.org/t/node-multiple-in-out-for-better-flow-structure/81115)

<div class="topic-metadata">

**Author:** [@stone](https://discourse.nodered.org/u/stone)\
**Replies:** 5\
**Last updated:** [9 September 2023 14:18 UTC](https://discourse.nodered.org/t/node-multiple-in-out-for-better-flow-structure/81115 "2023-09-09T14:18:55Z")

</div>

so here is my proposal: add top and bottom in/out to ALL nodes. --if the node has a left side in, then it should have a top side in as well. --if the node has a right side out, then it should have a bottom side out …

---

## [Navigating between flows](https://discourse.nodered.org/t/navigating-between-flows/81141)

<div class="topic-metadata">

**Author:** [@duaw](https://discourse.nodered.org/u/duaw)\
**Replies:** 4\
**Last updated:** [9 September 2023 13:31 UTC](https://discourse.nodered.org/t/navigating-between-flows/81141 "2023-09-09T13:31:40Z")

</div>

Hi there! Each flow populates a tab in the browser. With many flows, the list at the top gets longer and longer. Most time the tar bar is not long enough: Only a fraction of all flows is visible at a time. Searching & …

---

## [\[Industrial Automation\] How to code better? plz give me some advice](https://discourse.nodered.org/t/industrial-automation-how-to-code-better-plz-give-me-some-advice/81129)

<div class="topic-metadata">

**Author:** [@bing-zhub](https://discourse.nodered.org/u/bing-zhub)\
**Replies:** 3\
**Last updated:** [9 September 2023 09:35 UTC](https://discourse.nodered.org/t/industrial-automation-how-to-code-better-plz-give-me-some-advice/81129 "2023-09-09T09:35:25Z")

</div>

Hi there, I am using Node-RED to work on a project which has more than 10 step motor and other 4 kinds of sensors commnicating to pc with serial. To be more specificially, one port(rs232) connected to a weight sensor to…

---

## [NodeRed crashes with high CPU load](https://discourse.nodered.org/t/nodered-crashes-with-high-cpu-load/80977)

<div class="topic-metadata">

**Author:** [@Graefe](https://discourse.nodered.org/u/Graefe)\
**Replies:** 2\
**Last updated:** [9 September 2023 09:20 UTC](https://discourse.nodered.org/t/nodered-crashes-with-high-cpu-load/80977 "2023-09-09T09:20:33Z")

</div>

Hi, every 24h or so, NodeRed suddenly has a high CPU load (up from 0.5% to 30%) and becomes unresponsive and I cannot load the UI. The Log shows the following: So, it's about http-request and 192.168.3.90 which is m…

---

## [Dashboard Sidebar Not Working in Chrome](https://discourse.nodered.org/t/dashboard-sidebar-not-working-in-chrome/81145)

<div class="topic-metadata">

**Author:** [@dudleyjosh](https://discourse.nodered.org/u/dudleyjosh)\
**Replies:** 5\
**Last updated:** [8 September 2023 20:38 UTC](https://discourse.nodered.org/t/dashboard-sidebar-not-working-in-chrome/81145 "2023-09-08T20:38:39Z")

</div>

All of a sudden (probably after a Chrome update which shows as Version 116.0.5845.179) the Dashboard is empty in the Node-RED editor sidebar. It works fine in both Safari and Brave but I get the errors shown in the scree…

---

## [Single Page Application - UI for Manufacturing Application](https://discourse.nodered.org/t/single-page-application-ui-for-manufacturing-application/81102)

<div class="topic-metadata">

**Author:** [@juggler](https://discourse.nodered.org/u/juggler)\
**Replies:** 5\
**Last updated:** [8 September 2023 19:34 UTC](https://discourse.nodered.org/t/single-page-application-ui-for-manufacturing-application/81102 "2023-09-08T19:34:23Z")

</div>

To start, I am an automation systems architect/engineer and experienced in most of the common programming languages and architectures. Use Case: Operator is assembling a widget, screwing in 4 bolts with a torque tool. …

---

## [Read multiple csv files](https://discourse.nodered.org/t/read-multiple-csv-files/81114)

<div class="topic-metadata">

**Author:** [@gioespo](https://discourse.nodered.org/u/gioespo)\
**Replies:** 5\
**Last updated:** [8 September 2023 19:33 UTC](https://discourse.nodered.org/t/read-multiple-csv-files/81114 "2023-09-08T19:33:09Z")

</div>

Hello everyone, I need to read several csv files present in the same folder without having to change the path each time. is it possible to do this? If yes, how? I have not found any solution at the moment. I am new to…

---

## [Add value from api to opc server](https://discourse.nodered.org/t/add-value-from-api-to-opc-server/81151)

<div class="topic-metadata">

**Author:** [@mabba85](https://discourse.nodered.org/u/mabba85)\
**Replies:** 0\
**Last updated:** [8 September 2023 17:53 UTC](https://discourse.nodered.org/t/add-value-from-api-to-opc-server/81151 "2023-09-08T17:53:34Z")

</div>

Hi how to move the value from api to opc server the opc server is working and i can get the value from API but how do i make the connection between? i have tryed with the set count msg.payload.variableValue but is ha…

---

## [Template node and python](https://discourse.nodered.org/t/template-node-and-python/81146)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 14\
**Last updated:** [8 September 2023 17:47 UTC](https://discourse.nodered.org/t/template-node-and-python/81146 "2023-09-08T17:47:48Z")

</div>

Hi, I need to use python to run a script, and I'm scrambling to solve this two issues. I need to have the script within node-red for several reasons. Actually, I wrote the python script within the template node, then via…

---

## [No node.js update on Openmediavault 4.x](https://discourse.nodered.org/t/no-node-js-update-on-openmediavault-4-x/81101)

<div class="topic-metadata">

**Author:** [@stefan24](https://discourse.nodered.org/u/stefan24)\
**Replies:** 12\
**Last updated:** [8 September 2023 15:41 UTC](https://discourse.nodered.org/t/no-node-js-update-on-openmediavault-4-x/81101 "2023-09-08T15:41:06Z")

</div>

Openmediavault 4.1.36-1 (Arrakis) is based on Debian GNU/Linux 9.11 (stretch) I have used the Pi script long time ago to install Node-RED 2.2 and now tried to install the new 3.1 version with parameter --node16. But I…

---

## [Bacnet Write block](https://discourse.nodered.org/t/bacnet-write-block/81118)

<div class="topic-metadata">

**Author:** [@AndrewTw](https://discourse.nodered.org/u/AndrewTw)\
**Replies:** 2\
**Last updated:** [8 September 2023 15:33 UTC](https://discourse.nodered.org/t/bacnet-write-block/81118 "2023-09-08T15:33:43Z")

</div>

Hi I am new to Node-Red and am trying to use the bacnet node. I can get the read to work and the write to work. What I can't figure out is how to put a value into the write block. To clarify (I hope) the write block wor…

---

## [Trying to add two inputs, but not sure how](https://discourse.nodered.org/t/trying-to-add-two-inputs-but-not-sure-how/81144)

<div class="topic-metadata">

**Author:** [@rmystique](https://discourse.nodered.org/u/rmystique)\
**Replies:** 1\
**Last updated:** [8 September 2023 14:15 UTC](https://discourse.nodered.org/t/trying-to-add-two-inputs-but-not-sure-how/81144 "2023-09-08T14:15:26Z")

</div>

Here is what I have pieced together, but not sure what I'm doing here, not getting any output to the debug? \[ { "id": "6d7c3b91d83d126b", "type": "function", "z": "f672d0ac69fd5b97", …

---

## [What are flexServerInternals and sandboxFlowContext variables](https://discourse.nodered.org/t/what-are-flexserverinternals-and-sandboxflowcontext-variables/81142)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 0\
**Last updated:** [8 September 2023 13:02 UTC](https://discourse.nodered.org/t/what-are-flexserverinternals-and-sandboxflowcontext-variables/81142 "2023-09-08T13:02:54Z")

</div>

hi all I'm using opcua compact server node and in a tutorial there are the following command in the javascript code function constructAlarmAddressSpace(server,addressSpace,eventObjects,done){ ... ... var flexServerIn…

---

## [Dealing with API end points and arguments](https://discourse.nodered.org/t/dealing-with-api-end-points-and-arguments/81130)

<div class="topic-metadata">

**Author:** [@arishy](https://discourse.nodered.org/u/arishy)\
**Replies:** 9\
**Last updated:** [8 September 2023 12:29 UTC](https://discourse.nodered.org/t/dealing-with-api-end-points-and-arguments/81130 "2023-09-08T12:29:28Z")

</div>

I will use this url but I am hoping for general response. Here is an Example: \[https://api.first.org/data/v1/countries?region=africa&limit.=3&pretty=true\] My question is: How to use inject node to provide the "variabl…

---

## [Dashboard Graph from Sqlite3 data](https://discourse.nodered.org/t/dashboard-graph-from-sqlite3-data/81120)

<div class="topic-metadata">

**Author:** [@Delle](https://discourse.nodered.org/u/Delle)\
**Replies:** 2\
**Last updated:** [8 September 2023 10:24 UTC](https://discourse.nodered.org/t/dashboard-graph-from-sqlite3-data/81120 "2023-09-08T10:24:38Z")

</div>

Hi, I 'm trying to plot a Graph from Sqlite3 data, so far so good. This is working: var dataout = \[\]; var a1 = \[\]; var payload = msg.payload for (let i = 0; i \< payload.length; i++) { ---\>\>\> var yy = payload\[i\].powe…

---

## [Write home or to whom?](https://discourse.nodered.org/t/write-home-or-to-whom/81135)

<div class="topic-metadata">

**Author:** [@Frida](https://discourse.nodered.org/u/Frida)\
**Replies:** 2\
**Last updated:** [8 September 2023 09:13 UTC](https://discourse.nodered.org/t/write-home-or-to-whom/81135 "2023-09-08T09:13:58Z")

</div>

After the last updates of node-red, I have noticed that it has started writing home. I have not set up anything to write outside my home network. On a rpiz2w 6 Sep 01:51:59 - \[red\] Uncaught Exception: 6 Sep 01:51:59 -…

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

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