# Latest

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

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

**Page:** 453

---

## [Announce: new node: @korve/node-red-convert-unit](https://discourse.nodered.org/t/announce-new-node-korve-node-red-convert-unit/71267)

<div class="topic-metadata">

**Author:** [@korve](https://discourse.nodered.org/u/korve)\
**Replies:** 8\
**Last updated:** [26 November 2022 14:08 UTC](https://discourse.nodered.org/t/announce-new-node-korve-node-red-convert-unit/71267 "2022-11-26T14:08:48Z")

</div>

i hope someone can use this. This node converts from one unit to another unit: I've needed such a functionality for my smart plugs to convert units of energy. The conversation is done by the excellent library convert-…

---

## [SUBSTR in Change Node - HELP Needed](https://discourse.nodered.org/t/substr-in-change-node-help-needed/71148)

<div class="topic-metadata">

**Author:** [@championc](https://discourse.nodered.org/u/championc)\
**Replies:** 6\
**Last updated:** [26 November 2022 11:38 UTC](https://discourse.nodered.org/t/substr-in-change-node-help-needed/71148 "2022-11-26T11:38:23Z")

</div>

Hi all I have a Date and Time string - a runrise date and time - which I am simply looking to extract the time. from. But I keep getting an "undefined" result in the debug messages Here is a string sample - "2022-11-2…

---

## [BITMAP file to HEX string](https://discourse.nodered.org/t/bitmap-file-to-hex-string/71272)

<div class="topic-metadata">

**Author:** [@TWINMIND](https://discourse.nodered.org/u/TWINMIND)\
**Replies:** 1\
**Last updated:** [26 November 2022 07:10 UTC](https://discourse.nodered.org/t/bitmap-file-to-hex-string/71272 "2022-11-26T07:10:49Z")

</div>

Hi everyone Is there a simple way to convert a BITMAP file into a string of HEX (...0x00, 0x1f, 0xf8, 0xff, 0xf8, 0x00, 0x00...) ? Like this tool do https://javl.github.io/image2cpp/ The real story is: I want to auto…

---

## [Node.js version for a new install (in nearly 2023) - still v14?](https://discourse.nodered.org/t/node-js-version-for-a-new-install-in-nearly-2023-still-v14/71264)

<div class="topic-metadata">

**Author:** [@alastaira](https://discourse.nodered.org/u/alastaira)\
**Replies:** 2\
**Last updated:** [25 November 2022 20:52 UTC](https://discourse.nodered.org/t/node-js-version-for-a-new-install-in-nearly-2023-still-v14/71264 "2022-11-25T20:52:33Z")

</div>

Hi! I'm currently creating a new Node-RED installation on Windows 11. Am I right in saying that the latest Node-RED v3.0.2 still only runs on Node.js v14? (as described at Running on Windows : Node-RED )? According to …

---

## [Node-RED doesn't like to import to current flow](https://discourse.nodered.org/t/node-red-doesnt-like-to-import-to-current-flow/71261)

<div class="topic-metadata">

**Author:** [@ralphwetzel](https://discourse.nodered.org/u/ralphwetzel)\
**Replies:** 4\
**Last updated:** [25 November 2022 20:45 UTC](https://discourse.nodered.org/t/node-red-doesnt-like-to-import-to-current-flow/71261 "2022-11-25T20:45:55Z")

</div>

I'm facing the issue, that my NR (3.0.2) doesn't like to import to the current flow - anymore?! Has anyone else already seen such an effect?

---

## [Node red crash suddenly](https://discourse.nodered.org/t/node-red-crash-suddenly/71219)

<div class="topic-metadata">

**Author:** [@298christian](https://discourse.nodered.org/u/298christian)\
**Replies:** 11\
**Last updated:** [25 November 2022 17:37 UTC](https://discourse.nodered.org/t/node-red-crash-suddenly/71219 "2022-11-25T17:37:59Z")

</div>

Hello all. Node-red gets the temperature values of the boiler via the serial port. While I was working with the telegram node, I deployed the last changes and everything got froze. The cpu of the raspberry run to 100% l…

---

## [Function returns undefined - not sure how to pass it through](https://discourse.nodered.org/t/function-returns-undefined-not-sure-how-to-pass-it-through/71251)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 6\
**Last updated:** [25 November 2022 17:10 UTC](https://discourse.nodered.org/t/function-returns-undefined-not-sure-how-to-pass-it-through/71251 "2022-11-25T17:10:34Z")

</div>

I have a function which extracts a value from a msg.status.text. The msg.status.text consists of for example Warm White Level 76. The same for red, green, and blue. The function then sends the value (76 in this case to o…

---

## [Reading from constants.js file from HTML in custom node](https://discourse.nodered.org/t/reading-from-constants-js-file-from-html-in-custom-node/71247)

<div class="topic-metadata">

**Author:** [@ItsDaveTheWave](https://discourse.nodered.org/u/ItsDaveTheWave)\
**Replies:** 2\
**Last updated:** [25 November 2022 17:07 UTC](https://discourse.nodered.org/t/reading-from-constants-js-file-from-html-in-custom-node/71247 "2022-11-25T17:07:04Z")

</div>

Hi there, I wanted to do something apparently simple with my custom nodes, create a constants.js file on the same directory(/nodes) where I store all the .html and .js files. I wanted to access the constants defined in …

---

## [Moment Node - output "Today, Tomorrow, Tuesday, Next Monday"](https://discourse.nodered.org/t/moment-node-output-today-tomorrow-tuesday-next-monday/71214)

<div class="topic-metadata">

**Author:** [@SurfingSpider](https://discourse.nodered.org/u/SurfingSpider)\
**Replies:** 2\
**Last updated:** [25 November 2022 16:33 UTC](https://discourse.nodered.org/t/moment-node-output-today-tomorrow-tuesday-next-monday/71214 "2022-11-25T16:33:12Z")

</div>

I have a moment node that I am trying to get it to output either Today, Tomorrow, Tuesday I set the moment node to Output Format "calendar" but it gives me the time as well as the day. Example Input: 2022-11-28T00:00:…

---

## [Http request node, handling failures silently](https://discourse.nodered.org/t/http-request-node-handling-failures-silently/71246)

<div class="topic-metadata">

**Author:** [@henkkas](https://discourse.nodered.org/u/henkkas)\
**Replies:** 5\
**Last updated:** [25 November 2022 15:37 UTC](https://discourse.nodered.org/t/http-request-node-handling-failures-silently/71246 "2022-11-25T15:37:02Z")

</div>

I am using the HTTP request node. When everything goes well, you get a statusCode=200, any other code is a failure of some sort. But in case of failures, you also get failures reported in debug window and system console.…

---

## [Probelm in executing script ( chart js ) in template node](https://discourse.nodered.org/t/probelm-in-executing-script-chart-js-in-template-node/71248)

<div class="topic-metadata">

**Author:** [@Safouene28](https://discourse.nodered.org/u/Safouene28)\
**Replies:** 0\
**Last updated:** [25 November 2022 15:17 UTC](https://discourse.nodered.org/t/probelm-in-executing-script-chart-js-in-template-node/71248 "2022-11-25T15:17:33Z")

</div>

Hello everyone , Like is mentionned in the title I have a problem when I want to add some effects on the graph , I want to add a shadow with the line , the first time when I deployed the code I had the perfect result ,B…

---

## [Node Red fails to open if I don't have internet access because of lack of material-icons](https://discourse.nodered.org/t/node-red-fails-to-open-if-i-dont-have-internet-access-because-of-lack-of-material-icons/70925)

<div class="topic-metadata">

**Author:** [@vra](https://discourse.nodered.org/u/vra)\
**Replies:** 26\
**Last updated:** [25 November 2022 15:03 UTC](https://discourse.nodered.org/t/node-red-fails-to-open-if-i-dont-have-internet-access-because-of-lack-of-material-icons/70925 "2022-11-25T15:03:55Z")

</div>

Hi all, how are you? I'm making an application with node red and it has graphical interface, everything works fine if I have access to internet but as soon as I got disconnected the internet and remains only in my local…

---

## [TimeSchedulerNode: Error: Module not allowed](https://discourse.nodered.org/t/timeschedulernode-error-module-not-allowed/71224)

<div class="topic-metadata">

**Author:** [@1bit](https://discourse.nodered.org/u/1bit)\
**Replies:** 9\
**Last updated:** [25 November 2022 13:23 UTC](https://discourse.nodered.org/t/timeschedulernode-error-module-not-allowed/71224 "2022-11-25T13:23:55Z")

</div>

After the latest upgrade to Armbian 22.08.8, my node-red refuses to start. Appreciate any help with recovery as my backup is a bit old.

---

## [Auto light on based on sunset AND presence](https://discourse.nodered.org/t/auto-light-on-based-on-sunset-and-presence/71186)

<div class="topic-metadata">

**Author:** [@Tomazzive](https://discourse.nodered.org/u/Tomazzive)\
**Replies:** 5\
**Last updated:** [25 November 2022 12:44 UTC](https://discourse.nodered.org/t/auto-light-on-based-on-sunset-and-presence/71186 "2022-11-25T12:44:15Z")

</div>

Hi, I have been struggling for a long time with this 'simple?' logic: If me or my wife are home ànd the sunset goes in, the outdoor light should go on until 9:30pm. Since I want to use 3 checks, I'm using the boolean …

---

## [Sonoff-Lan-Control](https://discourse.nodered.org/t/sonoff-lan-control/71232)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 3\
**Last updated:** [25 November 2022 12:03 UTC](https://discourse.nodered.org/t/sonoff-lan-control/71232 "2022-11-25T12:03:31Z")

</div>

Hi there, I installed this node with the intention to control a sonoff basic switch over the lan. I can ping the device and its port 8081 is open. However, the node shows "disconnected". Same for the Sonoff-Lan-Listen…

---

## [Reading a serial stirng and breaking it apart based on hex delimita](https://discourse.nodered.org/t/reading-a-serial-stirng-and-breaking-it-apart-based-on-hex-delimita/70956)

<div class="topic-metadata">

**Author:** [@coffeesnob](https://discourse.nodered.org/u/coffeesnob)\
**Replies:** 6\
**Last updated:** [25 November 2022 10:26 UTC](https://discourse.nodered.org/t/reading-a-serial-stirng-and-breaking-it-apart-based-on-hex-delimita/70956 "2022-11-25T10:26:08Z")

</div>

Hi team, I am trying to decode a constant stream of data that is being transmitted via RS485. Following is an example snippet of the data string. 7e 16 10 bf 14 01 04 05 11 28 00 00 00 00 00 00 00 00 00 00 00 00 5e 7e …

---

## [How to transfer Node Red messages/data to stream analytics azure?](https://discourse.nodered.org/t/how-to-transfer-node-red-messages-data-to-stream-analytics-azure/71238)

<div class="topic-metadata">

**Author:** [@Tav](https://discourse.nodered.org/u/Tav)\
**Replies:** 0\
**Last updated:** [25 November 2022 09:47 UTC](https://discourse.nodered.org/t/how-to-transfer-node-red-messages-data-to-stream-analytics-azure/71238 "2022-11-25T09:47:21Z")

</div>

Hello, I have been trying to build cloud dashboards for a smart factory model. For this, I have all my data (software?) on node red. My Problem is: I connected Node-Red with Azure IoT hub which means I can send messages…

---

## [Unable To Copy Flow For Backup](https://discourse.nodered.org/t/unable-to-copy-flow-for-backup/70927)

<div class="topic-metadata">

**Author:** [@Randy](https://discourse.nodered.org/u/Randy)\
**Replies:** 5\
**Last updated:** [24 November 2022 21:38 UTC](https://discourse.nodered.org/t/unable-to-copy-flow-for-backup/70927 "2022-11-24T21:38:03Z")

</div>

Running version 2.1.5 and trying to copy a flow for safe keeping by pasting to Notepad. I click on one node to highlight then CTRL-A to highlight all nodes. Go to Export where all the nodes highlighted are listed. Cli…

---

## [Create a Node that can create a flow](https://discourse.nodered.org/t/create-a-node-that-can-create-a-flow/71007)

<div class="topic-metadata">

**Author:** [@simmoinard](https://discourse.nodered.org/u/simmoinard)\
**Replies:** 10\
**Last updated:** [25 November 2022 08:42 UTC](https://discourse.nodered.org/t/create-a-node-that-can-create-a-flow/71007 "2022-11-25T08:42:24Z")

</div>

Hi everyone, I have a question and couldn't find any answers on the forum : is there a way to create a flow automaticly, using a node ? I explain a bit more : I use Telegram-bot to get informations (ID and password) f…

---

## [Firebase Realtime Database and node-red](https://discourse.nodered.org/t/firebase-realtime-database-and-node-red/71209)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 4\
**Last updated:** [25 November 2022 07:58 UTC](https://discourse.nodered.org/t/firebase-realtime-database-and-node-red/71209 "2022-11-25T07:58:16Z")

</div>

Last few days were trying to manage my Firebase Realtime Database from node-red. So installed the node-red-contrib-firebase, what a disaster, crashed all my test flows. But the alarm bells should have rung as it were las…

---

## [How to create a node red node runs local python scripts on a remote python shell?](https://discourse.nodered.org/t/how-to-create-a-node-red-node-runs-local-python-scripts-on-a-remote-python-shell/71230)

<div class="topic-metadata">

**Author:** [@Dunton](https://discourse.nodered.org/u/Dunton)\
**Replies:** 1\
**Last updated:** [25 November 2022 07:53 UTC](https://discourse.nodered.org/t/how-to-create-a-node-red-node-runs-local-python-scripts-on-a-remote-python-shell/71230 "2022-11-25T07:53:48Z")

</div>

Hi All, I've the code below. the python shell is local. If I want to change it to a remote python, how should I do? const status = require('./status.js') const {spawn} = require('child\_process') //use 'python3' on lin…

---

## [Get value from buffer with expressions](https://discourse.nodered.org/t/get-value-from-buffer-with-expressions/71068)

<div class="topic-metadata">

**Author:** [@walberjunior](https://discourse.nodered.org/u/walberjunior)\
**Replies:** 2\
**Last updated:** [24 November 2022 22:08 UTC](https://discourse.nodered.org/t/get-value-from-buffer-with-expressions/71068 "2022-11-24T22:08:29Z")

</div>

I have a function generating several buffers. Is it possible using expressions (or another way) to retrieve the value of buffers similar to the image below?

---

## [Http request node returning error](https://discourse.nodered.org/t/http-request-node-returning-error/71101)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 20\
**Last updated:** [24 November 2022 20:50 UTC](https://discourse.nodered.org/t/http-request-node-returning-error/71101 "2022-11-24T20:50:54Z")

</div>

A colleague sent me an example flow to obtain data from the Met Office Datahub, which worked fine. However, using that flow as a template, my version failed, and produced errors that say that the api structure is incorr…

---

## [Option in "Link-Call" to discard response after timeout](https://discourse.nodered.org/t/option-in-link-call-to-discard-response-after-timeout/71127)

<div class="topic-metadata">

**Author:** [@omrid](https://discourse.nodered.org/u/omrid)\
**Replies:** 10\
**Last updated:** [24 November 2022 20:32 UTC](https://discourse.nodered.org/t/option-in-link-call-to-discard-response-after-timeout/71127 "2022-11-24T20:32:29Z")

</div>

The addition of "Call-link" with "Return to Sender" has been a wonderful improvement in Node-red, and we use it everywhere. Call-link includes a timeout parameter (which throws an exception). Yet once complete, it alway…

---

## [How do I change the size of the card, not the content itself inside?](https://discourse.nodered.org/t/how-do-i-change-the-size-of-the-card-not-the-content-itself-inside/71208)

<div class="topic-metadata">

**Author:** [@earlywaff](https://discourse.nodered.org/u/earlywaff)\
**Replies:** 0\
**Last updated:** [24 November 2022 19:40 UTC](https://discourse.nodered.org/t/how-do-i-change-the-size-of-the-card-not-the-content-itself-inside/71208 "2022-11-24T19:40:37Z")

</div>

Hi! I'm trying to change the scale,top and left of nr-dashboard-template test visible , in the template. But I can't do it, I don't understand how to refer to this block. Can you give me a hint? I need to change the …

---

## [Github fine-grained personal access tokens and node-red projects](https://discourse.nodered.org/t/github-fine-grained-personal-access-tokens-and-node-red-projects/71207)

<div class="topic-metadata">

**Author:** [@kevinGodell](https://discourse.nodered.org/u/kevinGodell)\
**Replies:** 0\
**Last updated:** [24 November 2022 19:25 UTC](https://discourse.nodered.org/t/github-fine-grained-personal-access-tokens-and-node-red-projects/71207 "2022-11-24T19:25:56Z")

</div>

I just noticed a new beta feature on github for creating fine-grained personal access tokens and ran a few tests to see if it would work with node-red projects. It does, but... on https://github.com/, it is found at set…

---

## [How to implement a 'if-else' logic to decide whether trigger a node?](https://discourse.nodered.org/t/how-to-implement-a-if-else-logic-to-decide-whether-trigger-a-node/71206)

<div class="topic-metadata">

**Author:** [@5Reasons](https://discourse.nodered.org/u/5Reasons)\
**Replies:** 2\
**Last updated:** [24 November 2022 18:54 UTC](https://discourse.nodered.org/t/how-to-implement-a-if-else-logic-to-decide-whether-trigger-a-node/71206 "2022-11-24T18:54:28Z")

</div>

As the picture, I want to implement a logic that is: if the data I get is higher than xxx, then send an email to notice myself. else, don't send the email to disturb myself. How to do that in node-red? Really confus…

---

## [Ignore/block message a specific time](https://discourse.nodered.org/t/ignore-block-message-a-specific-time/71204)

<div class="topic-metadata">

**Author:** [@dowermyr](https://discourse.nodered.org/u/dowermyr)\
**Replies:** 1\
**Last updated:** [24 November 2022 18:48 UTC](https://discourse.nodered.org/t/ignore-block-message-a-specific-time/71204 "2022-11-24T18:48:55Z")

</div>

I'm looking for a node that let's the first message thrugh, the stops all messages for a set time, then opens upp for another message.

---

## [🎉 Refresh tokens in node-red-node-dropbox (Now published as v2.0.0)](https://discourse.nodered.org/t/refresh-tokens-in-node-red-node-dropbox-now-published-as-v2-0-0/65610)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 46\
**Last updated:** [24 November 2022 18:43 UTC](https://discourse.nodered.org/t/refresh-tokens-in-node-red-node-dropbox-now-published-as-v2-0-0/65610 "2022-11-24T18:43:30Z")

</div>

Hi folks, Last week @Paul-Reed reported an issue with the dropbox node in another discussion (and here). Since Paul has always been ready to assist me with my electronics at my house, I was happy to help him in turn... …

---

## [Proper way to install nodes using npm?](https://discourse.nodered.org/t/proper-way-to-install-nodes-using-npm/71188)

<div class="topic-metadata">

**Author:** [@mauricio](https://discourse.nodered.org/u/mauricio)\
**Replies:** 7\
**Last updated:** [24 November 2022 17:44 UTC](https://discourse.nodered.org/t/proper-way-to-install-nodes-using-npm/71188 "2022-11-24T17:44:47Z")

</div>

Hello I'm developing on an Olimex Olinuxino A20 SBC. Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.105-olimex Architecture: arm Installed Node-red with the raspberry pi script From the node-re…

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

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