# Latest

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

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

**Page:** 214

---

## [\[login/join\] password bcrypt with mysql](https://discourse.nodered.org/t/login-join-password-bcrypt-with-mysql/86724)

<div class="topic-metadata">

**Author:** [@2shlee](https://discourse.nodered.org/u/2shlee)\
**Replies:** 6\
**Last updated:** [29 March 2024 07:57 UTC](https://discourse.nodered.org/t/login-join-password-bcrypt-with-mysql/86724 "2024-03-29T07:57:54Z")

</div>

When registering as a member, the password is hash encrypted and stored in the db. And when you log in, compare the "saved password value" with the encrypted input value. But the hash value does not match.. Please tell …

---

## [Node-red command not found](https://discourse.nodered.org/t/node-red-command-not-found/86845)

<div class="topic-metadata">

**Author:** [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Replies:** 2\
**Last updated:** [29 March 2024 03:21 UTC](https://discourse.nodered.org/t/node-red-command-not-found/86845 "2024-03-29T03:21:39Z")

</div>

hello vateran i have install the node-red by command npm install -g --unsafe-perm node-red. and when bash node-red to start it, i get feedback node-red command not found. how can i fixed? thanks for reading

---

## [Restart after upgrade log message](https://discourse.nodered.org/t/restart-after-upgrade-log-message/86841)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 4\
**Last updated:** [28 March 2024 21:36 UTC](https://discourse.nodered.org/t/restart-after-upgrade-log-message/86841 "2024-03-28T21:36:00Z")

</div>

Just updated a node-RED instance to v3.1.8, and noticed in the install log a line suggesting that I can restart node-RED by using an icon under Menu / Programming / Node-RED... I don't know if it's been there forever an…

---

## [Node-Red Install Script Not Completing](https://discourse.nodered.org/t/node-red-install-script-not-completing/86830)

<div class="topic-metadata">

**Author:** [@jgreenmt](https://discourse.nodered.org/u/jgreenmt)\
**Replies:** 9\
**Last updated:** [28 March 2024 21:14 UTC](https://discourse.nodered.org/t/node-red-install-script-not-completing/86830 "2024-03-28T21:14:12Z")

</div>

Hello, I have installed Node-Red on dozens of machines (Raspberry Pi's and PC's) and have never had an issue with the official install script bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/m…

---

## [Is there any way to update the flow creds encryption key outside of the editor?](https://discourse.nodered.org/t/is-there-any-way-to-update-the-flow-creds-encryption-key-outside-of-the-editor/86814)

<div class="topic-metadata">

**Author:** [@raspberry](https://discourse.nodered.org/u/raspberry)\
**Replies:** 4\
**Last updated:** [28 March 2024 21:11 UTC](https://discourse.nodered.org/t/is-there-any-way-to-update-the-flow-creds-encryption-key-outside-of-the-editor/86814 "2024-03-28T21:11:40Z")

</div>

Hello, I am about to do an update on a remotely deployed node-red instance. I can only access the command line of the machine running node-red, so no editor access. If I ever need to change the flow credentials key for …

---

## [Latest docker image Node.js version 16.20 how to pull a newer node version with docker](https://discourse.nodered.org/t/latest-docker-image-node-js-version-16-20-how-to-pull-a-newer-node-version-with-docker/86839)

<div class="topic-metadata">

**Author:** [@hadwll](https://discourse.nodered.org/u/hadwll)\
**Replies:** 1\
**Last updated:** [28 March 2024 19:55 UTC](https://discourse.nodered.org/t/latest-docker-image-node-js-version-16-20-how-to-pull-a-newer-node-version-with-docker/86839 "2024-03-28T19:55:33Z")

</div>

The latest docker image gives us a node version of 16.20 docker run -it -p 1880:1880 -v node\_red\_data:/data --name mynodered nodered/node-red:3.1.8 Welcome to Node-RED 28 Mar 19:41:35 - \[info\] Node-RED version: v3.1.…

---

## [How to close/disconnect TCP connection with remote host?](https://discourse.nodered.org/t/how-to-close-disconnect-tcp-connection-with-remote-host/86236)

<div class="topic-metadata">

**Author:** [@pwrk\_mrymarczyk](https://discourse.nodered.org/u/pwrk_mrymarczyk)\
**Replies:** 9\
**Last updated:** [28 March 2024 17:36 UTC](https://discourse.nodered.org/t/how-to-close-disconnect-tcp-connection-with-remote-host/86236 "2024-03-28T17:36:13Z")

</div>

Hello, We have connected NR to our industrial printers. Everything works correctly so far but I cannot find any way to close active connection with the printers. Why: If any error occurs in our NR logic we want to let …

---

## [How can I make code run after a certain time? Without blocking the rest](https://discourse.nodered.org/t/how-can-i-make-code-run-after-a-certain-time-without-blocking-the-rest/86836)

<div class="topic-metadata">

**Author:** [@hansimeister](https://discourse.nodered.org/u/hansimeister)\
**Replies:** 1\
**Last updated:** [28 March 2024 16:38 UTC](https://discourse.nodered.org/t/how-can-i-make-code-run-after-a-certain-time-without-blocking-the-rest/86836 "2024-03-28T16:38:45Z")

</div>

Hi there! I have the code below. It runs smoothly however the token expires after 1hr and I have to fetch a new one, create a new connection, new session etc. How can I do this 1hr after first obtaining the token? All my…

---

## [Off topic ... but I just need to extract a tar.gz file and keep owner & group?](https://discourse.nodered.org/t/off-topic-but-i-just-need-to-extract-a-tar-gz-file-and-keep-owner-group/86832)

<div class="topic-metadata">

**Author:** [@questuk](https://discourse.nodered.org/u/questuk)\
**Replies:** 2\
**Last updated:** [28 March 2024 15:32 UTC](https://discourse.nodered.org/t/off-topic-but-i-just-need-to-extract-a-tar-gz-file-and-keep-owner-group/86832 "2024-03-28T15:32:00Z")

</div>

Hi, I apologise for this being off topic, but I have tried all day and some of yesterday, to extract with correct owner and group and failed. I have a host pc ( where the tar file comes from ) and a remote PC, on both …

---

## [Random abort when 2 projects are running Node-Red](https://discourse.nodered.org/t/random-abort-when-2-projects-are-running-node-red/86723)

<div class="topic-metadata">

**Author:** [@badflash](https://discourse.nodered.org/u/badflash)\
**Replies:** 7\
**Last updated:** [28 March 2024 15:07 UTC](https://discourse.nodered.org/t/random-abort-when-2-projects-are-running-node-red/86723 "2024-03-28T15:07:54Z")

</div>

I have two different Pi-Pico W projects I'm working on. One is a PID Incubator for hatching bird eggs, the other is an infinite repeat cycle timer to control a fogging device in a mushroom grow chamber. The Incubator see…

---

## [Iterate subflow properties](https://discourse.nodered.org/t/iterate-subflow-properties/86779)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 3\
**Last updated:** [28 March 2024 13:25 UTC](https://discourse.nodered.org/t/iterate-subflow-properties/86779 "2024-03-28T13:25:45Z")

</div>

Is the set of subflow properties available inside the subflow? It would be helpful if I could access the property env var names as an array of keys or similar in a function node. I need to load all the env var keys and …

---

## [Function editor highlights text arbitrarily?](https://discourse.nodered.org/t/function-editor-highlights-text-arbitrarily/85571)

<div class="topic-metadata">

**Author:** [@Rgrove](https://discourse.nodered.org/u/Rgrove)\
**Replies:** 43\
**Last updated:** [28 March 2024 09:57 UTC](https://discourse.nodered.org/t/function-editor-highlights-text-arbitrarily/85571 "2024-03-28T09:57:26Z")

</div>

I recently upgraded my home NR, and am now finding when I open a function node to edit, as soon as I click the code/text I want to change, it highlights a whole block between where I'd last left the cursor and just click…

---

## [Didn't install serial node](https://discourse.nodered.org/t/didnt-install-serial-node/86760)

<div class="topic-metadata">

**Author:** [@Ajinkya09](https://discourse.nodered.org/u/Ajinkya09)\
**Replies:** 7\
**Last updated:** [28 March 2024 10:22 UTC](https://discourse.nodered.org/t/didnt-install-serial-node/86760 "2024-03-28T10:22:19Z")

</div>

---

## [Problem with Custom UI node](https://discourse.nodered.org/t/problem-with-custom-ui-node/86828)

<div class="topic-metadata">

**Author:** [@greenDog](https://discourse.nodered.org/u/greenDog)\
**Replies:** 0\
**Last updated:** [28 March 2024 10:14 UTC](https://discourse.nodered.org/t/problem-with-custom-ui-node/86828 "2024-03-28T10:14:49Z")

</div>

Hello, I have a problem updating the custom UI node in the dashboard. Is it possible to change the format parameter of addWidget, e.g. in the node.on function or in the beforeEmit property? The result should be that a …

---

## [Setting up the mosquitto password file](https://discourse.nodered.org/t/setting-up-the-mosquitto-password-file/86812)

<div class="topic-metadata">

**Author:** [@badflash](https://discourse.nodered.org/u/badflash)\
**Replies:** 2\
**Last updated:** [27 March 2024 21:13 UTC](https://discourse.nodered.org/t/setting-up-the-mosquitto-password-file/86812 "2024-03-27T21:13:49Z")

</div>

I'm running into some weird stuff. I am following a tutorial on setting up mosquitto here: https://www.youtube.com/watch?v=72u6gIkeqUc But I get this weird error when I try to set up the password. Any ideas?

---

## [UI Template ng-click binding msg to ng-click to send](https://discourse.nodered.org/t/ui-template-ng-click-binding-msg-to-ng-click-to-send/86813)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.nodered.org/u/Mick)\
**Replies:** 2\
**Last updated:** [27 March 2024 19:46 UTC](https://discourse.nodered.org/t/ui-template-ng-click-binding-msg-to-ng-click-to-send/86813 "2024-03-27T19:46:03Z")

</div>

I am trying to bind an input msg to my Ui template so that I can send it via ng-click. So far it has eluded me. I have tried scope.$watch and can create the variable but ng-click is not sending it. Here is my flow: …

---

## [Send a variable from Node-Red to Domoticz via http](https://discourse.nodered.org/t/send-a-variable-from-node-red-to-domoticz-via-http/86698)

<div class="topic-metadata">

**Author:** [@RiWo](https://discourse.nodered.org/u/RiWo)\
**Replies:** 3\
**Last updated:** [27 March 2024 19:43 UTC](https://discourse.nodered.org/t/send-a-variable-from-node-red-to-domoticz-via-http/86698 "2024-03-27T19:43:38Z")

</div>

I'm trying to send a variable from Node-Red to Domoticz via http. In Node-red I make a variable available in a msg.payload, but if I do it as below, I get the value 0 for the dummy variable in Domoticz. /json.htm?type=c…

---

## [Putting different images in a pdf, duplication error](https://discourse.nodered.org/t/putting-different-images-in-a-pdf-duplication-error/86768)

<div class="topic-metadata">

**Author:** [@Erissin\_Industria4.0](https://discourse.nodered.org/u/Erissin_Industria4.0)\
**Replies:** 7\
**Last updated:** [27 March 2024 19:25 UTC](https://discourse.nodered.org/t/putting-different-images-in-a-pdf-duplication-error/86768 "2024-03-27T19:25:36Z")

</div>

Again I'm here with this PDF issue, I can put the images inside the PDF, but even though I put the directory of different images one always overlaps the other, I've tried several things and so far I haven't been able to …

---

## [Node-Red install in windows and .node-red folder location before first running](https://discourse.nodered.org/t/node-red-install-in-windows-and-node-red-folder-location-before-first-running/86807)

<div class="topic-metadata">

**Author:** [@HarryPottar](https://discourse.nodered.org/u/HarryPottar)\
**Replies:** 2\
**Last updated:** [27 March 2024 18:52 UTC](https://discourse.nodered.org/t/node-red-install-in-windows-and-node-red-folder-location-before-first-running/86807 "2024-03-27T18:52:45Z")

</div>

Hello, I have finally have node-red running on a Windows VM in Azure. Took a while but finally through PM2 I have it running as a service and not under a user. So when I log out of the RDP it stays running. I need to m…

---

## [Dashboard synchronization problem on multiple devices](https://discourse.nodered.org/t/dashboard-synchronization-problem-on-multiple-devices/86777)

<div class="topic-metadata">

**Author:** [@pesentiivan](https://discourse.nodered.org/u/pesentiivan)\
**Replies:** 11\
**Last updated:** [27 March 2024 18:26 UTC](https://discourse.nodered.org/t/dashboard-synchronization-problem-on-multiple-devices/86777 "2024-03-27T18:26:12Z")

</div>

\<div id="container"\> \<div id="btn-4ways"\> \<!-- Freccia verso l'alto --\> \<svg viewBox="0 0 20 10" id="up" class="direction"\> \<path d="M10,2 L0,10 L20,10 Z" /\> \<div id=…

---

## [Upgrade a bitcoin flow for Ulanzi TC001 runnig awtrix](https://discourse.nodered.org/t/upgrade-a-bitcoin-flow-for-ulanzi-tc001-runnig-awtrix/86762)

<div class="topic-metadata">

**Author:** [@johnny5](https://discourse.nodered.org/u/johnny5)\
**Replies:** 2\
**Last updated:** [27 March 2024 18:08 UTC](https://discourse.nodered.org/t/upgrade-a-bitcoin-flow-for-ulanzi-tc001-runnig-awtrix/86762 "2024-03-27T18:08:57Z")

</div>

I was searching for a live bitcoin ticker and found the pixel clock Ulanzi TC001 to use for. After installing awtrix (custom firmware) and the bitcoin flow, it works (and looks) pretty good. The flow pulls data from a AP…

---

## [Best practise to use http request with digest auth](https://discourse.nodered.org/t/best-practise-to-use-http-request-with-digest-auth/85931)

<div class="topic-metadata">

**Author:** [@Bond246](https://discourse.nodered.org/u/Bond246)\
**Replies:** 12\
**Last updated:** [27 March 2024 15:53 UTC](https://discourse.nodered.org/t/best-practise-to-use-http-request-with-digest-auth/85931 "2024-03-27T15:53:10Z")

</div>

Hello, i'm programming an application with node-red that builds a dashboard with status information from an API providing information of that API-Server. So i build a lot of flows generating API request URLs and send t…

---

## [Dashboard 2, ui-node in subflow, unable to position widget in group](https://discourse.nodered.org/t/dashboard-2-ui-node-in-subflow-unable-to-position-widget-in-group/86805)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 2\
**Last updated:** [27 March 2024 14:42 UTC](https://discourse.nodered.org/t/dashboard-2-ui-node-in-subflow-unable-to-position-widget-in-group/86805 "2024-03-27T14:42:15Z")

</div>

Has anyone else experimented with ui nodes inside a subflow? I have a ui-template in a subflow with the Group configured via an subflow property. It functions correctly except that the position of the widget in the gro…

---

## [Proposal: Config Nodes "+"](https://discourse.nodered.org/t/proposal-config-nodes/86629)

<div class="topic-metadata">

**Author:** [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Replies:** 13\
**Last updated:** [27 March 2024 14:13 UTC](https://discourse.nodered.org/t/proposal-config-nodes/86629 "2024-03-27T14:13:46Z")

</div>

I've always found the UX around adding a new config node very frustrating, I regularly see users confused around how to add a new ui-group, etc. within Dashboard 2.0, and it's a similar experience when working with MQTT …

---

## [Function to a command](https://discourse.nodered.org/t/function-to-a-command/86784)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 7\
**Last updated:** [27 March 2024 14:13 UTC](https://discourse.nodered.org/t/function-to-a-command/86784 "2024-03-27T14:13:40Z")

</div>

Hello! Is it possible in Node Red to pass a function to a command that is then executed? For example: msg.payload = msg.payload.1 + msg.payload.2 I hope someone can help me. Thanks in advance.

---

## [The installation script has no output in raspberrypi](https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803)

<div class="topic-metadata">

**Author:** [@lmy235638](https://discourse.nodered.org/u/lmy235638)\
**Replies:** 6\
**Last updated:** [27 March 2024 13:47 UTC](https://discourse.nodered.org/t/the-installation-script-has-no-output-in-raspberrypi/86803 "2024-03-27T13:47:52Z")

</div>

Hi, I tried installing nodered locally on my new raspberry pi 4B and the provided Github install script does not work.I followed the official docs,make sure git curl build-essential works successfully.But when I ran the …

---

## [Node Red freezing](https://discourse.nodered.org/t/node-red-freezing/86607)

<div class="topic-metadata">

**Author:** [@geoffatblacktusk](https://discourse.nodered.org/u/geoffatblacktusk)\
**Replies:** 9\
**Last updated:** [27 March 2024 13:31 UTC](https://discourse.nodered.org/t/node-red-freezing/86607 "2024-03-27T13:31:56Z")

</div>

I have a mission ciritical NodeRed application running on version 2.0.6 that has been running for a couple of years with no obvious issues. The same application is running at a number of sites and the incoming communicat…

---

## [Can not change the x-as of line chart chart-image](https://discourse.nodered.org/t/can-not-change-the-x-as-of-line-chart-chart-image/86806)

<div class="topic-metadata">

**Author:** [@robbe.haerens](https://discourse.nodered.org/u/robbe.haerens)\
**Replies:** 0\
**Last updated:** [27 March 2024 13:29 UTC](https://discourse.nodered.org/t/can-not-change-the-x-as-of-line-chart-chart-image/86806 "2024-03-27T13:29:52Z")

</div>

righ now i am trying to make a line chart from a csv with a value on every row. this works at the moment all the values are nicely included in the linechart. but when i want to put the x-axis with values from 00 to 23,…

---

## [Read Once Setup of S7 node](https://discourse.nodered.org/t/read-once-setup-of-s7-node/86802)

<div class="topic-metadata">

**Author:** [@dk1507](https://discourse.nodered.org/u/dk1507)\
**Replies:** 0\
**Last updated:** [27 March 2024 11:07 UTC](https://discourse.nodered.org/t/read-once-setup-of-s7-node/86802 "2024-03-27T11:07:03Z")

</div>

Hi, Guys, I am new to node-red need help on the usage of node-red-contrib-s7. What I am trying to do is with a trigger or event, the node will read a variable from a PLC endpoint(setup via S7\_Control node). Whatever I s…

---

## [Export with dependant](https://discourse.nodered.org/t/export-with-dependant/86797)

<div class="topic-metadata">

**Author:** [@HenryTrang](https://discourse.nodered.org/u/HenryTrang)\
**Replies:** 4\
**Last updated:** [27 March 2024 08:53 UTC](https://discourse.nodered.org/t/export-with-dependant/86797 "2024-03-27T08:53:55Z")

</div>

Hello veteran, my flow include node-red-node-mysql, may i export the flow along with the dependant? as the user may not know how to install node-red-node-mysql.

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

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