# Latest

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

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

**Page:** 416

---

## [Sending whole message using MQTT](https://discourse.nodered.org/t/sending-whole-message-using-mqtt/73868)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 17\
**Last updated:** [19 January 2023 11:17 UTC](https://discourse.nodered.org/t/sending-whole-message-using-mqtt/73868 "2023-01-19T11:17:10Z")

</div>

When I want to send a whole message to another NR instance, I use MQTT and put this blockly node in front of the MQTT out node to "shift" the whole message into msg.payload translates into but I'm wondering if we a…

---

## [Not able to pre fill value in text input stored in defaults](https://discourse.nodered.org/t/not-able-to-pre-fill-value-in-text-input-stored-in-defaults/73899)

<div class="topic-metadata">

**Author:** [@syedhannan](https://discourse.nodered.org/u/syedhannan)\
**Replies:** 2\
**Last updated:** [19 January 2023 10:50 UTC](https://discourse.nodered.org/t/not-able-to-pre-fill-value-in-text-input-stored-in-defaults/73899 "2023-01-19T10:50:16Z")

</div>

I have stored a value in defaults which I want to pre fill in the editor but it doesn't show up. defaults: { name: { value: "" }, hs\_Timezone: { value: "" }, hs\_IP: { value: "12345" }, //not shown…

---

## [MSSQL in a function](https://discourse.nodered.org/t/mssql-in-a-function/73878)

<div class="topic-metadata">

**Author:** [@pkdata-pkthedj](https://discourse.nodered.org/u/pkdata-pkthedj)\
**Replies:** 15\
**Last updated:** [19 January 2023 09:44 UTC](https://discourse.nodered.org/t/mssql-in-a-function/73878 "2023-01-19T09:44:34Z")

</div>

Can anyone figure out the problem here var endDate = flow.get("endDate") || false; //var endTime = flow.get("endTime") || false; // check if date range is correct if (startDate && endDate && new Date(endDat…

---

## [My NR Fs-file-lister folder is undefined](https://discourse.nodered.org/t/my-nr-fs-file-lister-folder-is-undefined/73735)

<div class="topic-metadata">

**Author:** [@f3lixlee](https://discourse.nodered.org/u/f3lixlee)\
**Replies:** 11\
**Last updated:** [19 January 2023 09:40 UTC](https://discourse.nodered.org/t/my-nr-fs-file-lister-folder-is-undefined/73735 "2023-01-19T09:40:35Z")

</div>

Hi Good Morning Guys, I don't know why my fs-file-lister folder is undefined. cant even detect the folder can someone tell me how to fix it?

---

## [Node-red app hangs immediately](https://discourse.nodered.org/t/node-red-app-hangs-immediately/73901)

<div class="topic-metadata">

**Author:** [@oskaerd](https://discourse.nodered.org/u/oskaerd)\
**Replies:** 0\
**Last updated:** [19 January 2023 08:48 UTC](https://discourse.nodered.org/t/node-red-app-hangs-immediately/73901 "2023-01-19T08:48:37Z")

</div>

Hi, I want to use Node-RED container running on k3s cluster on 64-bit windows 10 PC. I create a deployment with the latest image from dosckerhub on windows 10 64-bit platforms (tried on 2 private PCs). Once the pod is …

---

## [Help building variable name from nodes](https://discourse.nodered.org/t/help-building-variable-name-from-nodes/73841)

<div class="topic-metadata">

**Author:** [@cmooty73](https://discourse.nodered.org/u/cmooty73)\
**Replies:** 3\
**Last updated:** [19 January 2023 07:52 UTC](https://discourse.nodered.org/t/help-building-variable-name-from-nodes/73841 "2023-01-19T07:52:47Z")

</div>

All, I'm trying to send a random sound to Alexa from a list of 10 of her sounds. I've used a change node to assign the sound names to flow.1 through flow.10. Then a random node picks a number from 1 through 10. Now I'…

---

## [Template node widget output on click - Json for ui control](https://discourse.nodered.org/t/template-node-widget-output-on-click-json-for-ui-control/73889)

<div class="topic-metadata">

**Author:** [@Vilnis\_R](https://discourse.nodered.org/u/Vilnis_R)\
**Replies:** 1\
**Last updated:** [19 January 2023 08:08 UTC](https://discourse.nodered.org/t/template-node-widget-output-on-click-json-for-ui-control/73889 "2023-01-19T08:08:20Z")

</div>

Hi, I have template node widgets with some data to display in Dashboard Home Tab. They also could serve as buttons to jump on other tabs where I put Back buttons to return at Home. There are no problems with button node…

---

## [Feature Request - node-red-node-serialport](https://discourse.nodered.org/t/feature-request-node-red-node-serialport/73894)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.nodered.org/u/Mick)\
**Replies:** 0\
**Last updated:** [19 January 2023 00:48 UTC](https://discourse.nodered.org/t/feature-request-node-red-node-serialport/73894 "2023-01-19T00:48:11Z")

</div>

There are applications where the serial port DSR set to low/high is used to turn off/on hardware. It seems the value is hard coded and can't be set via msg input. I am requesting a enhancement that would allow the valu…

---

## [Data From HTML -\> JS To Send data](https://discourse.nodered.org/t/data-from-html-js-to-send-data/73843)

<div class="topic-metadata">

**Author:** [@fostm](https://discourse.nodered.org/u/fostm)\
**Replies:** 2\
**Last updated:** [19 January 2023 00:16 UTC](https://discourse.nodered.org/t/data-from-html-js-to-send-data/73843 "2023-01-19T00:16:45Z")

</div>

Hi, I'm Yeon Data From HTML -\> JS To Send data Is there any other way to send it besides the input element? For example, as shown in the picture below, Instead of using input elements, you can use the I would like t…

---

## [Forked Node-Red Package Fails upon minor change (1 to 2)](https://discourse.nodered.org/t/forked-node-red-package-fails-upon-minor-change-1-to-2/73879)

<div class="topic-metadata">

**Author:** [@stokes776](https://discourse.nodered.org/u/stokes776)\
**Replies:** 9\
**Last updated:** [18 January 2023 22:55 UTC](https://discourse.nodered.org/t/forked-node-red-package-fails-upon-minor-change-1-to-2/73879 "2023-01-18T22:55:40Z")

</div>

Hello, EDIT: I have posted on the issues page of the original repo, on a thread where someone was asking for a similar feature years ago, but there has been no response. Im using a package that works exactly the way I …

---

## [Motion sensor, switch and more](https://discourse.nodered.org/t/motion-sensor-switch-and-more/73783)

<div class="topic-metadata">

**Author:** [@Leopoll](https://discourse.nodered.org/u/Leopoll)\
**Replies:** 3\
**Last updated:** [18 January 2023 20:07 UTC](https://discourse.nodered.org/t/motion-sensor-switch-and-more/73783 "2023-01-18T20:07:30Z")

</div>

I have a standard light control scheme using a switch and a motion sensor. If the light is turned on by the switch, context.flow is TRUE and the motion sensor cannot turn off the light. But what if I turn on the light…

---

## [Confused wiring with import/copy and subflow](https://discourse.nodered.org/t/confused-wiring-with-import-copy-and-subflow/73746)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 3\
**Last updated:** [18 January 2023 21:10 UTC](https://discourse.nodered.org/t/confused-wiring-with-import-copy-and-subflow/73746 "2023-01-18T21:10:48Z")

</div>

Is there a known issue in 3.0.2 with the internal wiring getting mixed up when importing a flow and copying nodes into a subflow? I believe that what I did was import a flow, create a new subflow, and copy a function no…

---

## [Read data from smartlife devices](https://discourse.nodered.org/t/read-data-from-smartlife-devices/73886)

<div class="topic-metadata">

**Author:** [@Geniom](https://discourse.nodered.org/u/Geniom)\
**Replies:** 3\
**Last updated:** [18 January 2023 20:30 UTC](https://discourse.nodered.org/t/read-data-from-smartlife-devices/73886 "2023-01-18T20:30:11Z")

</div>

Hi, is possible, and how, read data from smartlife devices (not tuya) Some example? Tha ks to all

---

## [How to detect multiple presses on a single button](https://discourse.nodered.org/t/how-to-detect-multiple-presses-on-a-single-button/20560)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 67\
**Last updated:** [18 January 2023 20:15 UTC](https://discourse.nodered.org/t/how-to-detect-multiple-presses-on-a-single-button/20560 "2023-01-18T20:15:04Z")

</div>

With reference to this thread: Single button multiple presses Have you ever wanted to allow multiple presses from a button do multiple things? This flow allows that. One "problem" the use of a flow. variable. If…

---

## [Image from html](https://discourse.nodered.org/t/image-from-html/73834)

<div class="topic-metadata">

**Author:** [@smitterer](https://discourse.nodered.org/u/smitterer)\
**Replies:** 4\
**Last updated:** [18 January 2023 20:11 UTC](https://discourse.nodered.org/t/image-from-html/73834 "2023-01-18T20:11:29Z")

</div>

Hi everyone, I need to generate an image with data from Home Assistant which will later be shown on an e-ink display. I'd like to use the template node for that. The generated html should then be converted into an ima…

---

## [Connection of python script in node red](https://discourse.nodered.org/t/connection-of-python-script-in-node-red/73770)

<div class="topic-metadata">

**Author:** [@Pawandeep](https://discourse.nodered.org/u/Pawandeep)\
**Replies:** 12\
**Last updated:** [18 January 2023 19:13 UTC](https://discourse.nodered.org/t/connection-of-python-script-in-node-red/73770 "2023-01-18T19:13:48Z")

</div>

Hello Everyone, I want to ask how to install python libraries in node-red. I used a program given on this Node-RED only, where I had to create a python environment and bash flow. But Then there is an error "make is not…

---

## [Widgetlords PI-SPI Analog input module?](https://discourse.nodered.org/t/widgetlords-pi-spi-analog-input-module/73881)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 0\
**Last updated:** [18 January 2023 18:59 UTC](https://discourse.nodered.org/t/widgetlords-pi-spi-analog-input-module/73881 "2023-01-18T18:59:34Z")

</div>

Is anybody using anything like this to read a (4-20ma) sensor to the Raspberry Pi?

---

## [Syntax accessing windows file names from linux](https://discourse.nodered.org/t/syntax-accessing-windows-file-names-from-linux/73846)

<div class="topic-metadata">

**Author:** [@ulfh2018](https://discourse.nodered.org/u/ulfh2018)\
**Replies:** 13\
**Last updated:** [18 January 2023 18:47 UTC](https://discourse.nodered.org/t/syntax-accessing-windows-file-names-from-linux/73846 "2023-01-18T18:47:45Z")

</div>

I know this is an off topic, so please excuse me, but the docker forum seems not to be able to help me since I cannot post more than 2 topics as a new user and I don't know howto delet the two I have entered. I am using…

---

## [What signal is sent to exec nodes when node-red terminates?](https://discourse.nodered.org/t/what-signal-is-sent-to-exec-nodes-when-node-red-terminates/73819)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 5\
**Last updated:** [18 January 2023 16:44 UTC](https://discourse.nodered.org/t/what-signal-is-sent-to-exec-nodes-when-node-red-terminates/73819 "2023-01-18T16:44:22Z")

</div>

When node-red terminates normally (ie not a crash) it terminates processes running in exec nodes. Does it do this by sending a particular signal or does node red rely on the system to close down spawned processes? The …

---

## [How to run node-red + wireguard in docker?](https://discourse.nodered.org/t/how-to-run-node-red-wireguard-in-docker/73869)

<div class="topic-metadata">

**Author:** [@orrinen](https://discourse.nodered.org/u/orrinen)\
**Replies:** 1\
**Last updated:** [18 January 2023 16:35 UTC](https://discourse.nodered.org/t/how-to-run-node-red-wireguard-in-docker/73869 "2023-01-18T16:35:21Z")

</div>

Good evening. I have an application in node-red which need a connection to a remote VPN server(over wan/internet). This to make sure that the node red app always have access to the remote site i want to connect it to. T…

---

## [Convert data string to payload value](https://discourse.nodered.org/t/convert-data-string-to-payload-value/73861)

<div class="topic-metadata">

**Author:** [@thomasoggier](https://discourse.nodered.org/u/thomasoggier)\
**Replies:** 2\
**Last updated:** [18 January 2023 14:36 UTC](https://discourse.nodered.org/t/convert-data-string-to-payload-value/73861 "2023-01-18T14:36:49Z")

</div>

Hello, Using websockets request, I get some data from the node in a long string and I need to convert it into readable data. The data I get looks: msg.payload= \<Navigation id='0x4f7248'\>\<item id='0x513f30'\>\<name\>Tempe…

---

## [How to extract nibble data in buffer-parser](https://discourse.nodered.org/t/how-to-extract-nibble-data-in-buffer-parser/73870)

<div class="topic-metadata">

**Author:** [@hermannvos](https://discourse.nodered.org/u/hermannvos)\
**Replies:** 2\
**Last updated:** [18 January 2023 14:30 UTC](https://discourse.nodered.org/t/how-to-extract-nibble-data-in-buffer-parser/73870 "2023-01-18T14:30:38Z")

</div>

Good day, I am looking for some help to extract nibble data coming from a DSE Generator controller over Modbus. I did see the option to use BCD but not sure how to properly use it in the configuration. I have attac…

---

## [Help with split node and html page info](https://discourse.nodered.org/t/help-with-split-node-and-html-page-info/73837)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 2\
**Last updated:** [18 January 2023 13:54 UTC](https://discourse.nodered.org/t/help-with-split-node-and-html-page-info/73837 "2023-01-18T13:54:23Z")

</div>

I have a web page from a device that returns a page like thus I'm trying to get the two lines of info where it says light 1 light off and XXXX count. Setup a split node with the /n and I get this which sort of, …

---

## [Google home utterance](https://discourse.nodered.org/t/google-home-utterance/73864)

<div class="topic-metadata">

**Author:** [@ronyn77](https://discourse.nodered.org/u/ronyn77)\
**Replies:** 0\
**Last updated:** [18 January 2023 13:39 UTC](https://discourse.nodered.org/t/google-home-utterance/73864 "2023-01-18T13:39:07Z")

</div>

Is there a way to "catch" the utterance of what I am saying to google and transcribe it into text so that could be processed inside node red? Like a node which is listening and another node which could transcribe it...…

---

## [Triggering a python script that opens a browser window](https://discourse.nodered.org/t/triggering-a-python-script-that-opens-a-browser-window/73709)

<div class="topic-metadata">

**Author:** [@ostiniatoze](https://discourse.nodered.org/u/ostiniatoze)\
**Replies:** 2\
**Last updated:** [18 January 2023 13:17 UTC](https://discourse.nodered.org/t/triggering-a-python-script-that-opens-a-browser-window/73709 "2023-01-18T13:17:27Z")

</div>

I'd like to use the exec node to run a script that will open a browser window to download a file. The script runs fine when run from the command line but nothing happens when I run it using the exec node, there's no erro…

---

## [Shelly button actions to Node-Red](https://discourse.nodered.org/t/shelly-button-actions-to-node-red/73667)

<div class="topic-metadata">

**Author:** [@juntiedt](https://discourse.nodered.org/u/juntiedt)\
**Replies:** 0\
**Last updated:** [14 January 2023 15:27 UTC](https://discourse.nodered.org/t/shelly-button-actions-to-node-red/73667 "2023-01-14T15:27:19Z")

</div>

I am using shelly buttons to switch z-wave plugs running z-wave-js shelly button actions: http://10.0.0.50:1880/output?s=shelly\_Button1:s http://10.0.0.50:1880/output?s=shelly\_Button1:l http://10.0.0.50:1880/output?s…

---

## [@kevingodell/node-red-mp4frag published to npm](https://discourse.nodered.org/t/kevingodell-node-red-mp4frag-published-to-npm/72354)

<div class="topic-metadata">

**Author:** [@kevinGodell](https://discourse.nodered.org/u/kevinGodell)\
**Replies:** 16\
**Last updated:** [18 January 2023 11:02 UTC](https://discourse.nodered.org/t/kevingodell-node-red-mp4frag-published-to-npm/72354 "2023-01-18T11:02:59Z")

</div>

Out with the old, ... npm uninstall node-red-contrib-mp4frag npm install @kevingodell/node-red-mp4frag If you have used node-red-contrib-mp4frag in the past, you will notice some changes. repo name changed from kevi…

---

## [Import a big set of flows](https://discourse.nodered.org/t/import-a-big-set-of-flows/73786)

<div class="topic-metadata">

**Author:** [@pmoscode](https://discourse.nodered.org/u/pmoscode)\
**Replies:** 6\
**Last updated:** [18 January 2023 10:54 UTC](https://discourse.nodered.org/t/import-a-big-set-of-flows/73786 "2023-01-18T10:54:20Z")

</div>

Hi Folks, I try to import a backup of my flows from an old Node-Red instance on the new one. The JSON file size is around 200kb. My problem is: Neither the UI nor the API-call to /flows \[POST\] seems to be able to imp…

---

## [Node-RED Refused to Connect](https://discourse.nodered.org/t/node-red-refused-to-connect/73845)

<div class="topic-metadata">

**Author:** [@ahmedt04](https://discourse.nodered.org/u/ahmedt04)\
**Replies:** 3\
**Last updated:** [18 January 2023 10:46 UTC](https://discourse.nodered.org/t/node-red-refused-to-connect/73845 "2023-01-18T10:46:22Z")

</div>

Hello, I'm having a problem with node-red, i can't start it anymore, every time i try to start it i get error: refused to connect, i am using an iot2050, if anyone can please help me. thank you.

---

## [How to read saved data from json code to ui-chart](https://discourse.nodered.org/t/how-to-read-saved-data-from-json-code-to-ui-chart/73835)

<div class="topic-metadata">

**Author:** [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Replies:** 1\
**Last updated:** [18 January 2023 10:39 UTC](https://discourse.nodered.org/t/how-to-read-saved-data-from-json-code-to-ui-chart/73835 "2023-01-18T10:39:17Z")

</div>

\[ { "id": "d3bbd1c0.07cec", "type": "inject", "z": "03dd6101fc31dadf", "name": "", "props": \[ { "p": "payload" }, { …

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

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