# Latest

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

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

**Page:** 163

---

## [How to Send a STRING/JSON to a .txt File on another PC](https://discourse.nodered.org/t/how-to-send-a-string-json-to-a-txt-file-on-another-pc/90208)

<div class="topic-metadata">

**Author:** [@DaVizzey](https://discourse.nodered.org/u/DaVizzey)\
**Replies:** 22\
**Last updated:** [19 August 2024 10:38 UTC](https://discourse.nodered.org/t/how-to-send-a-string-json-to-a-txt-file-on-another-pc/90208 "2024-08-19T10:38:08Z")

</div>

Hi, i'm a bit new to Node-RED and i was asked a question by a customer: Can I set up some way to store (Locally on their PC) a backup log of the JSON Strings that is sent to their DB in case something happens and i had a…

---

## [Practical solution to unclickable link-in nodes](https://discourse.nodered.org/t/practical-solution-to-unclickable-link-in-nodes/90261)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 5\
**Last updated:** [19 August 2024 10:37 UTC](https://discourse.nodered.org/t/practical-solution-to-unclickable-link-in-nodes/90261 "2024-08-19T10:37:19Z")

</div>

I line my flows up nearly to the edge of the canvas, which as a result causes link-in nodes to become unclickable. Does someone have a practical remedy to work around this ? (without making the flows messy)

---

## [How can I use the Handlebars template to operate the template, which defaults to the mustache template](https://discourse.nodered.org/t/how-can-i-use-the-handlebars-template-to-operate-the-template-which-defaults-to-the-mustache-template/88955)

<div class="topic-metadata">

**Author:** [@yooadmin](https://discourse.nodered.org/u/yooadmin)\
**Replies:** 3\
**Last updated:** [19 August 2024 06:00 UTC](https://discourse.nodered.org/t/how-can-i-use-the-handlebars-template-to-operate-the-template-which-defaults-to-the-mustache-template/88955 "2024-08-19T06:00:41Z")

</div>

How can I use the Handlebars template to operate the template, which defaults to the mustache template

---

## [\[UPDATE\] node-red-contrib-ui-time-scheduler](https://discourse.nodered.org/t/update-node-red-contrib-ui-time-scheduler/43926)

<div class="topic-metadata">

**Author:** [@fellinga](https://discourse.nodered.org/u/fellinga)\
**Replies:** 39\
**Last updated:** [18 August 2024 18:23 UTC](https://discourse.nodered.org/t/update-node-red-contrib-ui-time-scheduler/43926 "2024-08-18T18:23:43Z")

</div>

Ui Time Scheduler It's been a while since the initial announcement of my ui-time-scheduler node, so I wanted to provide an update on how things have developed and of course introduce it to everyone who doesn't know abo…

---

## [Mongodb4 hangs randomly](https://discourse.nodered.org/t/mongodb4-hangs-randomly/90219)

<div class="topic-metadata">

**Author:** [@Mamonetti](https://discourse.nodered.org/u/Mamonetti)\
**Replies:** 21\
**Last updated:** [18 August 2024 14:38 UTC](https://discourse.nodered.org/t/mongodb4-hangs-randomly/90219 "2024-08-18T14:38:47Z")

</div>

Hi Recently I've detected some random problems when trying to connect to mongo using the node-red-contrib-mongodb4 plugin. Attached you have a simple flow that includes some basic stuff to get the collections from a dat…

---

## [Bug position needle widget gauge](https://discourse.nodered.org/t/bug-position-needle-widget-gauge/90239)

<div class="topic-metadata">

**Author:** [@stef68600](https://discourse.nodered.org/u/stef68600)\
**Replies:** 7\
**Last updated:** [18 August 2024 13:35 UTC](https://discourse.nodered.org/t/bug-position-needle-widget-gauge/90239 "2024-08-18T13:35:50Z")

</div>

hello, II am reporting a fairly recurring random bug in the needle position of the gauge D2 widget following whether the pages panel is open or closed. Have a good day

---

## [Lacking Knowledge - Templating JavaScript Object](https://discourse.nodered.org/t/lacking-knowledge-templating-javascript-object/90240)

<div class="topic-metadata">

**Author:** [@Unpuertomex](https://discourse.nodered.org/u/Unpuertomex)\
**Replies:** 2\
**Last updated:** [18 August 2024 11:57 UTC](https://discourse.nodered.org/t/lacking-knowledge-templating-javascript-object/90240 "2024-08-18T11:57:04Z")

</div>

I've been trying to figure out how to capture one of the keys further down the path but with little success. I'm able to identify the key by copying the path from the debug results but when I add it to the template node …

---

## [Better way to declare the output of a function node](https://discourse.nodered.org/t/better-way-to-declare-the-output-of-a-function-node/90225)

<div class="topic-metadata">

**Author:** [@Steve555](https://discourse.nodered.org/u/Steve555)\
**Replies:** 16\
**Last updated:** [18 August 2024 06:06 UTC](https://discourse.nodered.org/t/better-way-to-declare-the-output-of-a-function-node/90225 "2024-08-18T06:06:16Z")

</div>

Hi, Not sure if this is the right spot for this, but, here goes anyway. In order to switch a particular relay I am using I have to send a boolean true or false to, specifically, msg.payload.v I have mucked around a …

---

## [Node-Red and EDI](https://discourse.nodered.org/t/node-red-and-edi/90235)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 5\
**Last updated:** [17 August 2024 20:26 UTC](https://discourse.nodered.org/t/node-red-and-edi/90235 "2024-08-17T20:26:19Z")

</div>

I have done some searching and the only reference I can find is an old project (12 years old) called node-edi-parser. Is anyone aware of any new development efforts? I would like to create an EDI to Shopify system.

---

## [Problems decrypting credentials on Node-Red 4.0.2](https://discourse.nodered.org/t/problems-decrypting-credentials-on-node-red-4-0-2/90237)

<div class="topic-metadata">

**Author:** [@shimbone](https://discourse.nodered.org/u/shimbone)\
**Replies:** 0\
**Last updated:** [17 August 2024 18:54 UTC](https://discourse.nodered.org/t/problems-decrypting-credentials-on-node-red-4-0-2/90237 "2024-08-17T18:54:29Z")

</div>

I upgraded my Node-Red installation from 3.1.10 to 4.0.2. I also copied in a project created in 3.1.10 to the projects folder and asked NR to open it. After loading the project, NR displayed this message When I clic…

---

## [Help with template visibility](https://discourse.nodered.org/t/help-with-template-visibility/90200)

<div class="topic-metadata">

**Author:** [@muggins](https://discourse.nodered.org/u/muggins)\
**Replies:** 6\
**Last updated:** [16 August 2024 17:52 UTC](https://discourse.nodered.org/t/help-with-template-visibility/90200 "2024-08-16T17:52:50Z")

</div>

I have been trying to migrate to dashboard2 and am struggling. I want to reveal some text if the incoming payload is "on" This code looks as if it should work but doesn't. Please help. \[ { "id": "a464aa4f6cd…

---

## [Developing custom node in visual studio code](https://discourse.nodered.org/t/developing-custom-node-in-visual-studio-code/90232)

<div class="topic-metadata">

**Author:** [@jpadie](https://discourse.nodered.org/u/jpadie)\
**Replies:** 5\
**Last updated:** [17 August 2024 13:50 UTC](https://discourse.nodered.org/t/developing-custom-node-in-visual-studio-code/90232 "2024-08-17T13:50:32Z")

</div>

Hello all I'd like some assistance with getting an editor set up so that I can use auto-completion etc in visual studio code. I'm using mac OS. I have my dev folder in home (~/nodeDev/matter). I've installed the deve…

---

## [Email Nodes sending only to own domain, nothing outside](https://discourse.nodered.org/t/email-nodes-sending-only-to-own-domain-nothing-outside/90203)

<div class="topic-metadata">

**Author:** [@Junior1544](https://discourse.nodered.org/u/Junior1544)\
**Replies:** 3\
**Last updated:** [17 August 2024 06:59 UTC](https://discourse.nodered.org/t/email-nodes-sending-only-to-own-domain-nothing-outside/90203 "2024-08-17T06:59:35Z")

</div>

Aloha from Hawaii! I'm building an email trap that'll be part of a Video survailance system along with an alarm system. Basically, I will have a Raspberry Pi that will have the Relay output from the alarm so when the a…

---

## [Let's discuss how we might use AI to detect people in stills, for low CPU users like me](https://discourse.nodered.org/t/lets-discuss-how-we-might-use-ai-to-detect-people-in-stills-for-low-cpu-users-like-me/90164)

<div class="topic-metadata">

**Author:** [@no\_mpimpi](https://discourse.nodered.org/u/no_mpimpi)\
**Replies:** 21\
**Last updated:** [17 August 2024 03:40 UTC](https://discourse.nodered.org/t/lets-discuss-how-we-might-use-ai-to-detect-people-in-stills-for-low-cpu-users-like-me/90164 "2024-08-17T03:40:07Z")

</div>

Greetings, I am trying to solve the problem of false motion alarms using Node-Red, and one of the ways I want to do that is with locally hosted AI. This is my use case. I live on a farm, and have experienced four burg…

---

## [Call C++ from Node-Red (Node.js)](https://discourse.nodered.org/t/call-c-from-node-red-node-js/90217)

<div class="topic-metadata">

**Author:** [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Replies:** 6\
**Last updated:** [16 August 2024 17:14 UTC](https://discourse.nodered.org/t/call-c-from-node-red-node-js/90217 "2024-08-16T17:14:51Z")

</div>

Hello, Node-Red and Node.js are essentially written in C++. Therefore, there is a C++ interface to Node.js. Most of my nodes are written with it. I wanted to share a document with you on how it works. Have fun. cal…

---

## [Convert string to number](https://discourse.nodered.org/t/convert-string-to-number/90213)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 5\
**Last updated:** [16 August 2024 13:10 UTC](https://discourse.nodered.org/t/convert-string-to-number/90213 "2024-08-16T13:10:41Z")

</div>

Hello I have a payload which is a string that looks like this "{"id":100,"percent":22.5}". I need to get the 22.5 and convert it to a number, but not sure how to do this? The percent value can go from 0 to 100 (in this …

---

## [Software PLC with Node-Red](https://discourse.nodered.org/t/software-plc-with-node-red/90216)

<div class="topic-metadata">

**Author:** [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Replies:** 3\
**Last updated:** [16 August 2024 12:04 UTC](https://discourse.nodered.org/t/software-plc-with-node-red/90216 "2024-08-16T12:04:24Z")

</div>

Hello, If you are interested in automation technology with PLC (programmable logic controller), here is a little document from me. I tried to implement a PLC in Node-red. The logic behind it is not immediately underst…

---

## [Shelly plus uni gen2 device control from nodered](https://discourse.nodered.org/t/shelly-plus-uni-gen2-device-control-from-nodered/90214)

<div class="topic-metadata">

**Author:** [@Sirhc](https://discourse.nodered.org/u/Sirhc)\
**Replies:** 1\
**Last updated:** [16 August 2024 11:30 UTC](https://discourse.nodered.org/t/shelly-plus-uni-gen2-device-control-from-nodered/90214 "2024-08-16T11:30:09Z")

</div>

Hello I have a Shelly plus uni gen 2 device which accepts MQTT commands to switch the devices output relays. According to the API, the MQTT commands are as follows: API Documentation: Switch | Shelly Technical Docu…

---

## [Dynamic gauge dashboard 2 property](https://discourse.nodered.org/t/dynamic-gauge-dashboard-2-property/90211)

<div class="topic-metadata">

**Author:** [@stef68600](https://discourse.nodered.org/u/stef68600)\
**Replies:** 1\
**Last updated:** [16 August 2024 10:16 UTC](https://discourse.nodered.org/t/dynamic-gauge-dashboard-2-property/90211 "2024-08-16T10:16:53Z")

</div>

hello, I'm stuck on a small code problem that I can't transform into dachboard 2. below code which works for "gauge" dashboard 1 and which does not work in dachboard 2. Is there a manual for dynamic properties per das…

---

## [Frequent Editor Disconnects with Multi-Instance?](https://discourse.nodered.org/t/frequent-editor-disconnects-with-multi-instance/90205)

<div class="topic-metadata">

**Author:** [@lorccan](https://discourse.nodered.org/u/lorccan)\
**Replies:** 3\
**Last updated:** [16 August 2024 08:42 UTC](https://discourse.nodered.org/t/frequent-editor-disconnects-with-multi-instance/90205 "2024-08-16T08:42:22Z")

</div>

I am running 2 instances of Node-RED (different paths different ports etc under systemd) on a raspberry pi. It's all working fine, but I am noticing that the web editor for the development/test instance is frequently di…

---

## [Status node not working](https://discourse.nodered.org/t/status-node-not-working/90199)

<div class="topic-metadata">

**Author:** [@saraltech](https://discourse.nodered.org/u/saraltech)\
**Replies:** 2\
**Last updated:** [16 August 2024 07:40 UTC](https://discourse.nodered.org/t/status-node-not-working/90199 "2024-08-16T07:40:21Z")

</div>

Hi, I am not able to get status from Status node. Output is always "undefined". My nodered flow is as below: \[ { "id": "8ba35e7a5a5f4383", "type": "modbus-read", "z": "12ee9b8b0c05cf74", …

---

## [CSS Challenge: Water Tank SVG Mask](https://discourse.nodered.org/t/css-challenge-water-tank-svg-mask/90091)

<div class="topic-metadata">

**Author:** [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Replies:** 11\
**Last updated:** [15 August 2024 22:45 UTC](https://discourse.nodered.org/t/css-challenge-water-tank-svg-mask/90091 "2024-08-15T22:45:05Z")

</div>

Hey All, had a play this morning in adding a "Water Tank" to the ui-gauge in Dashboard 2.0 (having also recently added a Battery Gauge) - you can see the PR (and a little video demo) here The challenge I've got is ap…

---

## [Copying long content in editor](https://discourse.nodered.org/t/copying-long-content-in-editor/90201)

<div class="topic-metadata">

**Author:** [@HaroldPetersInskipp](https://discourse.nodered.org/u/HaroldPetersInskipp)\
**Replies:** 7\
**Last updated:** [15 August 2024 21:06 UTC](https://discourse.nodered.org/t/copying-long-content-in-editor/90201 "2024-08-15T21:06:05Z")

</div>

It seems I am unable to copy long content from nodes in the editor without it being abbreviated. Node-RED: version 4.0.2 Browser: Firefox version 129.0.1 I am able to copy long content from other tabs/urls (not Node-R…

---

## [Registering to Hook "viewRedrawNode" from view.js](https://discourse.nodered.org/t/registering-to-hook-viewredrawnode-from-view-js/90191)

<div class="topic-metadata">

**Author:** [@GuyZou](https://discourse.nodered.org/u/GuyZou)\
**Replies:** 6\
**Last updated:** [15 August 2024 20:41 UTC](https://discourse.nodered.org/t/registering-to-hook-viewredrawnode-from-view-js/90191 "2024-08-15T20:41:20Z")

</div>

I'm writing a component ( displaymsg) that displays information taken from message sent to it without requiring a complete dashboard. I use that because I would like not to have to create a full dashboard as the hardwar…

---

## [Please help me format my HTTP POST so that the data of the image actually gets sent](https://discourse.nodered.org/t/please-help-me-format-my-http-post-so-that-the-data-of-the-image-actually-gets-sent/90197)

<div class="topic-metadata">

**Author:** [@no\_mpimpi](https://discourse.nodered.org/u/no_mpimpi)\
**Replies:** 3\
**Last updated:** [15 August 2024 15:38 UTC](https://discourse.nodered.org/t/please-help-me-format-my-http-post-so-that-the-data-of-the-image-actually-gets-sent/90197 "2024-08-15T15:38:23Z")

</div>

Hi all, I desperately need help formatting a POST command. I've searched, but obviously not well, or I'd not be posting. I've lost a day to this, and I'm beating my head against the wall. I'm trying to send an image to…

---

## [Vuetify Labs v-calendar component, possible to add?](https://discourse.nodered.org/t/vuetify-labs-v-calendar-component-possible-to-add/90185)

<div class="topic-metadata">

**Author:** [@Bobo](https://discourse.nodered.org/u/Bobo)\
**Replies:** 1\
**Last updated:** [15 August 2024 09:22 UTC](https://discourse.nodered.org/t/vuetify-labs-v-calendar-component-possible-to-add/90185 "2024-08-15T09:22:44Z")

</div>

Hi @joepavitt Not sure how much work is involved, but was hoping you could add v-calendar to the list of supported Labs components? Cheers Bob

---

## [Getting DeprecationWarnings](https://discourse.nodered.org/t/getting-deprecationwarnings/90187)

<div class="topic-metadata">

**Author:** [@janvda](https://discourse.nodered.org/u/janvda)\
**Replies:** 1\
**Last updated:** [15 August 2024 08:59 UTC](https://discourse.nodered.org/t/getting-deprecationwarnings/90187 "2024-08-15T08:59:53Z")

</div>

Lately (I think after upgrading node-red to v4.0.2 in docker) I am seeing 2 deprecationWarnings. Welcome to Node-RED =================== 15 Aug 10:44:08 - \[info\] Node-RED version: v4.0.2 15 Aug 10:44:08 - \[info\] Node.j…

---

## [Leakage detector](https://discourse.nodered.org/t/leakage-detector/90142)

<div class="topic-metadata">

**Author:** [@martonpeter1](https://discourse.nodered.org/u/martonpeter1)\
**Replies:** 2\
**Last updated:** [15 August 2024 07:10 UTC](https://discourse.nodered.org/t/leakage-detector/90142 "2024-08-15T07:10:42Z")

</div>

Hi! I have some Ewelink Leakage Detectors.. Im checking them trough Node-red, but unfortunately its able to see only two states: battery and RSSI. Nothing about the leak itself. Means it is useless. How can I solve thi…

---

## [Show if nodes are changed in search result](https://discourse.nodered.org/t/show-if-nodes-are-changed-in-search-result/90183)

<div class="topic-metadata">

**Author:** [@svefro](https://discourse.nodered.org/u/svefro)\
**Replies:** 1\
**Last updated:** [15 August 2024 07:07 UTC](https://discourse.nodered.org/t/show-if-nodes-are-changed-in-search-result/90183 "2024-08-15T07:07:14Z")

</div>

After using search history it would be nice to be able to see if i have already changed a node in the result list. Changed nodes should have the blue dot indicating undeployed changes Then i can see if i did a chan…

---

## [Create a single page with 3 Lines of Voltage L1,L2,L3 between 0 and 300 V](https://discourse.nodered.org/t/create-a-single-page-with-3-lines-of-voltage-l1-l2-l3-between-0-and-300-v/90172)

<div class="topic-metadata">

**Author:** [@Jo55](https://discourse.nodered.org/u/Jo55)\
**Replies:** 1\
**Last updated:** [14 August 2024 15:12 UTC](https://discourse.nodered.org/t/create-a-single-page-with-3-lines-of-voltage-l1-l2-l3-between-0-and-300-v/90172 "2024-08-14T15:12:53Z")

</div>

Hi to everyone, I have got a flow for the SMA Sunny Home Manager 2 which gives me all the data into the designed layout boxes on the dashboard on 2 pages as groups. I added another group which should finally show a con…

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

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