# General

**URL:** https://discourse.nodered.org/c/general/7.md?page=58

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

**Page:** 59

---

## [NodeRed not finding moment.js - "TypeError: moment is not a function"](https://discourse.nodered.org/t/nodered-not-finding-moment-js-typeerror-moment-is-not-a-function/94735)

<div class="topic-metadata">

**Author:** [@fabiorcosta](https://discourse.nodered.org/u/fabiorcosta)\
**Replies:** 2\
**Last updated:** [19 January 2025 17:18 UTC](https://discourse.nodered.org/t/nodered-not-finding-moment-js-typeerror-moment-is-not-a-function/94735 "2025-01-19T17:18:55Z")

</div>

I have installed moment through "manage pallete". Also added to settings.js functionGlobalContext: { moment: require('moment') } But when trygin to execute a function node: const moment = global.get('moment'); …

---

## [How to configure actionable notifications?](https://discourse.nodered.org/t/how-to-configure-actionable-notifications/94731)

<div class="topic-metadata">

**Author:** [@pabz](https://discourse.nodered.org/u/pabz)\
**Replies:** 6\
**Last updated:** [19 January 2025 16:26 UTC](https://discourse.nodered.org/t/how-to-configure-actionable-notifications/94731 "2025-01-19T16:26:29Z")

</div>

Hey all, I've trying to build actionable notifications in Node Red to push to Home Assistant, but all I get it just normal notifications with no actions or clickable option. I tried the array from this topic (Unable to…

---

## [Function node and handling null as content of message output](https://discourse.nodered.org/t/function-node-and-handling-null-as-content-of-message-output/94732)

<div class="topic-metadata">

**Author:** [@hoekbrwr](https://discourse.nodered.org/u/hoekbrwr)\
**Replies:** 8\
**Last updated:** [19 January 2025 14:36 UTC](https://discourse.nodered.org/t/function-node-and-handling-null-as-content-of-message-output/94732 "2025-01-19T14:36:20Z")

</div>

I have a function that produces an array of 2 message objects, one or both can be null. If I read the documentation("If null is returned, either by itself or as an element of the array, no message is passed on")., there …

---

## [Node-Red to manage garage door and send SMS stopped sending SMS](https://discourse.nodered.org/t/node-red-to-manage-garage-door-and-send-sms-stopped-sending-sms/94108)

<div class="topic-metadata">

**Author:** [@JasGot](https://discourse.nodered.org/u/JasGot)\
**Replies:** 34\
**Last updated:** [19 January 2025 12:19 UTC](https://discourse.nodered.org/t/node-red-to-manage-garage-door-and-send-sms-stopped-sending-sms/94108 "2025-01-19T12:19:38Z")

</div>

I have a Raspberry-Pi that hosts some HTML and uses GPIO to open and close my garage door. It also sends an sms (twilio) message when the door opens and when the door closes. On Dec 10 the SMS portion stopped working. I…

---

## [Debug Node failing to report null as part of the node status](https://discourse.nodered.org/t/debug-node-failing-to-report-null-as-part-of-the-node-status/94720)

<div class="topic-metadata">

**Author:** [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Replies:** 2\
**Last updated:** [19 January 2025 11:01 UTC](https://discourse.nodered.org/t/debug-node-failing-to-report-null-as-part-of-the-node-status/94720 "2025-01-19T11:01:10Z")

</div>

If null is sent to a debug node with the node status check box checked an error message occurs, "TypeError: Cannot convert undefined or null to object" This occurred with a node that has null as an output but can be che…

---

## [CRC 16XMODEM node](https://discourse.nodered.org/t/crc-16xmodem-node/94516)

<div class="topic-metadata">

**Author:** [@pin32](https://discourse.nodered.org/u/pin32)\
**Replies:** 27\
**Last updated:** [19 January 2025 07:03 UTC](https://discourse.nodered.org/t/crc-16xmodem-node/94516 "2025-01-19T07:03:22Z")

</div>

Is there a node that does the crc calculation in question?

---

## [HTTP or Webserver with Node-Red](https://discourse.nodered.org/t/http-or-webserver-with-node-red/94719)

<div class="topic-metadata">

**Author:** [@Andre7tyone](https://discourse.nodered.org/u/Andre7tyone)\
**Replies:** 1\
**Last updated:** [18 January 2025 20:38 UTC](https://discourse.nodered.org/t/http-or-webserver-with-node-red/94719 "2025-01-18T20:38:34Z")

</div>

Hello, I want to display a webpage if I call the Node-Red server IP with the name defined in the "http\_in" node. Example: \<ip\_of\_raspberry:1880/index.php\> This works, but if I click on a button in this webpage to go t…

---

## [Experiences With @sammachin/node-red-matter-controller Node](https://discourse.nodered.org/t/experiences-with-sammachin-node-red-matter-controller-node/94522)

<div class="topic-metadata">

**Author:** [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Replies:** 22\
**Last updated:** [18 January 2025 19:20 UTC](https://discourse.nodered.org/t/experiences-with-sammachin-node-red-matter-controller-node/94522 "2025-01-18T19:20:20Z")

</div>

Firstly I would like to thank @sammachin for developing these nodes and hope that he continues. I have acquired a physical Matter device and have been trying the nodes. Here are my experiences to date; I followed the i…

---

## [Date Format wrong?](https://discourse.nodered.org/t/date-format-wrong/94711)

<div class="topic-metadata">

**Author:** [@firstfacility](https://discourse.nodered.org/u/firstfacility)\
**Replies:** 5\
**Last updated:** [18 January 2025 14:19 UTC](https://discourse.nodered.org/t/date-format-wrong/94711 "2025-01-18T14:19:02Z")

</div>

Hello everyone I have a problem with my script. I'm getting errors sleepStart and SleepEnd. I guess in date format ? "const diffMs = sleepEnd - sleepStart;" Can someone help me ? // Überprüfen, ob die Konvertierung erf…

---

## [Quality Issue in PLC with nodered](https://discourse.nodered.org/t/quality-issue-in-plc-with-nodered/94710)

<div class="topic-metadata">

**Author:** [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Replies:** 5\
**Last updated:** [18 January 2025 12:09 UTC](https://discourse.nodered.org/t/quality-issue-in-plc-with-nodered/94710 "2025-01-18T12:09:22Z")

</div>

Hi There, @Steve-Mcl As per Previous Topic Discussion and the thing worked well for read in mcprotocol for Address D Related Now i Have Issue with C0 it gives Quality Issue For that Address Whereas Other Address are …

---

## [How do I sum the values of a buffer](https://discourse.nodered.org/t/how-do-i-sum-the-values-of-a-buffer/94708)

<div class="topic-metadata">

**Author:** [@redhead](https://discourse.nodered.org/u/redhead)\
**Replies:** 2\
**Last updated:** [18 January 2025 07:57 UTC](https://discourse.nodered.org/t/how-do-i-sum-the-values-of-a-buffer/94708 "2025-01-18T07:57:40Z")

</div>

I need to calculate the sum of the HEX values of a buffer for my serialport string checksum value. for example, here is the buffer: msg.payload = Buffer.from(\[0xca,0x07,0x06,0x01,0x17,0x01,0x00,0x00,0x00,0x00,0x26,0x35…

---

## [3.XXXX EOL plans?](https://discourse.nodered.org/t/3-xxxx-eol-plans/94706)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 1\
**Last updated:** [18 January 2025 06:39 UTC](https://discourse.nodered.org/t/3-xxxx-eol-plans/94706 "2025-01-18T06:39:23Z")

</div>

Without a long dissertation are there plans to EOL 3.XX?

---

## [Restart Node-Red to reset tcp in node connection](https://discourse.nodered.org/t/restart-node-red-to-reset-tcp-in-node-connection/94701)

<div class="topic-metadata">

**Author:** [@gallionjason](https://discourse.nodered.org/u/gallionjason)\
**Replies:** 4\
**Last updated:** [17 January 2025 21:41 UTC](https://discourse.nodered.org/t/restart-node-red-to-reset-tcp-in-node-connection/94701 "2025-01-17T21:41:55Z")

</div>

Hello I'm working on a prototype project and I have a sensor sending data to Node-Red through a tcp connection. Sometimes I lose connection to the device and cant receive data. The easy thing to do that works is just t…

---

## [AB PLC with Ethernet IP Continuous read issue](https://discourse.nodered.org/t/ab-plc-with-ethernet-ip-continuous-read-issue/94687)

<div class="topic-metadata">

**Author:** [@meratterman](https://discourse.nodered.org/u/meratterman)\
**Replies:** 10\
**Last updated:** [17 January 2025 20:46 UTC](https://discourse.nodered.org/t/ab-plc-with-ethernet-ip-continuous-read-issue/94687 "2025-01-17T20:46:04Z")

</div>

Hi, I am trying to setup a continuous read with my PLC. I am able to read when I start the flow however it doesnt come in on a regular cycle. I realize it only comes in when the value changes however I have written di…

---

## [UIbuilder - max payload size problem?](https://discourse.nodered.org/t/uibuilder-max-payload-size-problem/94704)

<div class="topic-metadata">

**Author:** [@hugobox](https://discourse.nodered.org/u/hugobox)\
**Replies:** 2\
**Last updated:** [17 January 2025 19:42 UTC](https://discourse.nodered.org/t/uibuilder-max-payload-size-problem/94704 "2025-01-17T19:42:00Z")

</div>

Hi ! I'm using the uibuilder node. I made a webpage that has an image file input. The webpage outputs to node-red in a JSON as base64 string using the uibuilder.send function. It works well with small images (ex: 116Kb),…

---

## [Msg.flush adding message into the queue](https://discourse.nodered.org/t/msg-flush-adding-message-into-the-queue/94665)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 16\
**Last updated:** [17 January 2025 14:24 UTC](https://discourse.nodered.org/t/msg-flush-adding-message-into-the-queue/94665 "2025-01-17T14:24:46Z")

</div>

I have a flow in which there are nearly 20 messages coming from a node and i split them to process individually so i set a rate limit of approx 20 seconds. however, some messages are empty, and hence dont take any amount…

---

## [Extract GPS data from payload](https://discourse.nodered.org/t/extract-gps-data-from-payload/94652)

<div class="topic-metadata">

**Author:** [@maru](https://discourse.nodered.org/u/maru)\
**Replies:** 12\
**Last updated:** [17 January 2025 11:13 UTC](https://discourse.nodered.org/t/extract-gps-data-from-payload/94652 "2025-01-17T11:13:40Z")

</div>

I'm stuck getting the right data from the payload of a gps tracker. Is the payload (see red arrow) a Hex string? How can I get GPS data from it? Why do I see the battery value (99% charged) but no Latitude Longitude…

---

## [Injecting flow loaded in memory into running node-red not working](https://discourse.nodered.org/t/injecting-flow-loaded-in-memory-into-running-node-red-not-working/94659)

<div class="topic-metadata">

**Author:** [@pcborges](https://discourse.nodered.org/u/pcborges)\
**Replies:** 1\
**Last updated:** [17 January 2025 08:15 UTC](https://discourse.nodered.org/t/injecting-flow-loaded-in-memory-into-running-node-red-not-working/94659 "2025-01-17T08:15:03Z")

</div>

Hi, I have an application where the flow is delivered encrypted. The idea is that when the system boots a javascript script will decrypt the flow, load it straight into memory then inject into the node-red environment. …

---

## [Selling House - what would you leave behind in terms of Automation?](https://discourse.nodered.org/t/selling-house-what-would-you-leave-behind-in-terms-of-automation/94596)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 19\
**Last updated:** [17 January 2025 03:34 UTC](https://discourse.nodered.org/t/selling-house-what-would-you-leave-behind-in-terms-of-automation/94596 "2025-01-17T03:34:26Z")

</div>

Guys, We have decided to sell our place - we have a LOT of automation built with Node Red - from Grid Arbitrage with our Battery and Solar system, through to Pool Automation (for automatic measuring and dosage), lightin…

---

## ['require' not defined?](https://discourse.nodered.org/t/require-not-defined/94683)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 9\
**Last updated:** [16 January 2025 23:16 UTC](https://discourse.nodered.org/t/require-not-defined/94683 "2025-01-16T23:16:40Z")

</div>

Need help with using a module like 'moment' which fails with my setup. This is the code added to a function node: const moment = require('moment'); const now = moment(); // Format the timestamp msg.payload = now.format…

---

## [Combining time and payload information](https://discourse.nodered.org/t/combining-time-and-payload-information/94531)

<div class="topic-metadata">

**Author:** [@SomersetSmartHome](https://discourse.nodered.org/u/SomersetSmartHome)\
**Replies:** 14\
**Last updated:** [16 January 2025 22:47 UTC](https://discourse.nodered.org/t/combining-time-and-payload-information/94531 "2025-01-16T22:47:26Z")

</div>

Based on the work of @notenoughtech, I've finally managed to get a battery powered Tuya TRV talking to Node-Red. There were a some breaking changes in his example flows which I can pass on to anyone who is interested. I…

---

## [Anyone had a play with good-i-deer/node-red-contrib-vision-ai?](https://discourse.nodered.org/t/anyone-had-a-play-with-good-i-deer-node-red-contrib-vision-ai/94460)

<div class="topic-metadata">

**Author:** [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Replies:** 13\
**Last updated:** [16 January 2025 17:54 UTC](https://discourse.nodered.org/t/anyone-had-a-play-with-good-i-deer-node-red-contrib-vision-ai/94460 "2025-01-16T17:54:16Z")

</div>

Inspired by some other discussions, I took the plunge and replaced my Ring Doorbell. I came across these nodes the other day when looking for alternatives to node-red-contrib-facial-recognition With the above node I c…

---

## [SWITCH node question?](https://discourse.nodered.org/t/switch-node-question/94682)

<div class="topic-metadata">

**Author:** [@lee\_evo](https://discourse.nodered.org/u/lee_evo)\
**Replies:** 1\
**Last updated:** [16 January 2025 16:22 UTC](https://discourse.nodered.org/t/switch-node-question/94682 "2025-01-16T16:22:40Z")

</div>

Hi, I have a SWITCH node that's accepting a payload (boolean or numeric) and testing it against 2 rules pin1 output: boolean value pin2 output : number \<= 100 When the payload is a number \<= 100 everything is fine and…

---

## [Regex.test alternate between true and false notwithstanding the value being always the same](https://discourse.nodered.org/t/regex-test-alternate-between-true-and-false-notwithstanding-the-value-being-always-the-same/94678)

<div class="topic-metadata">

**Author:** [@jhamel](https://discourse.nodered.org/u/jhamel)\
**Replies:** 4\
**Last updated:** [16 January 2025 15:24 UTC](https://discourse.nodered.org/t/regex-test-alternate-between-true-and-false-notwithstanding-the-value-being-always-the-same/94678 "2025-01-16T15:24:30Z")

</div>

In the below flow, I have an array with file name. From a function node, I use regex.test to check if the name matches a format. For some unknown reason, while checking this in array.forEach, the result alternate between…

---

## [Nodes lining errors flags in workspace](https://discourse.nodered.org/t/nodes-lining-errors-flags-in-workspace/94667)

<div class="topic-metadata">

**Author:** [@wuppergit](https://discourse.nodered.org/u/wuppergit)\
**Replies:** 4\
**Last updated:** [16 January 2025 13:31 UTC](https://discourse.nodered.org/t/nodes-lining-errors-flags-in-workspace/94667 "2025-01-16T13:31:17Z")

</div>

Hello, sorry for a stupid question. But in the workspace some nodes have a "lining errors" flag (NR 4.0.8, RpI 5). In some cases a rearrange works to get rid of it. But in some cases the flag remains. The Arrange-optio…

---

## [How to disable specific nrlint rule?](https://discourse.nodered.org/t/how-to-disable-specific-nrlint-rule/94673)

<div class="topic-metadata">

**Author:** [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)\
**Replies:** 4\
**Last updated:** [16 January 2025 09:52 UTC](https://discourse.nodered.org/t/how-to-disable-specific-nrlint-rule/94673 "2025-01-16T09:52:47Z")

</div>

When using nrlint, it doesn't take into account module import (as reported here: Similar to · Issue #44 · node-red/nrlint It is a simple click in the editor to ignore, adding this to description of node or flow: // nrl…

---

## [Telegram - how to send an image](https://discourse.nodered.org/t/telegram-how-to-send-an-image/94416)

<div class="topic-metadata">

**Author:** [@Le-Ze](https://discourse.nodered.org/u/Le-Ze)\
**Replies:** 9\
**Last updated:** [15 January 2025 22:06 UTC](https://discourse.nodered.org/t/telegram-how-to-send-an-image/94416 "2025-01-15T22:06:08Z")

</div>

Hi. Sending a message to telegram. it works. I don't know how to add an image. Advice? Thank you.

---

## [Seeed Studio reCamera?](https://discourse.nodered.org/t/seeed-studio-recamera/94410)

<div class="topic-metadata">

**Author:** [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Replies:** 1\
**Last updated:** [15 January 2025 22:03 UTC](https://discourse.nodered.org/t/seeed-studio-recamera/94410 "2025-01-15T22:03:34Z")

</div>

Anyone have any experience with the Seeed Studio reCamera? https://wiki.seeedstudio.com/recamera\_getting\_started/ It has a built in node-red server at IP.Address:1880 and apparently includes nodes for Ultralytics yolo1…

---

## [Use of Exec Node to decipher EXIF metadata](https://discourse.nodered.org/t/use-of-exec-node-to-decipher-exif-metadata/94651)

<div class="topic-metadata">

**Author:** [@sfmaplab](https://discourse.nodered.org/u/sfmaplab)\
**Replies:** 6\
**Last updated:** [15 January 2025 20:32 UTC](https://discourse.nodered.org/t/use-of-exec-node-to-decipher-exif-metadata/94651 "2025-01-15T20:32:14Z")

</div>

Can the Node-Red Exec node handle shell scripts like EXIFTool metadata for photographs?

---

## [Help with YouTube And NodeRED?](https://discourse.nodered.org/t/help-with-youtube-and-nodered/94558)

<div class="topic-metadata">

**Author:** [@Jibun-no-Kage](https://discourse.nodered.org/u/Jibun-no-Kage)\
**Replies:** 3\
**Last updated:** [15 January 2025 19:58 UTC](https://discourse.nodered.org/t/help-with-youtube-and-nodered/94558 "2025-01-15T19:58:59Z")

</div>

Help with YouTube And NodeRED? Local school and out-read organization streams to the internet, their events and efforts to help local community. The have a volunteer media team, that is great, but limited in time and a…

[Previous page](https://discourse.nodered.org/c/general/7.md?page=57)

[Next page](https://discourse.nodered.org/c/general/7.md?page=59)
