# General

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

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

**Page:** 219

---

## [Deduplicate Messages based on specific property](https://discourse.nodered.org/t/deduplicate-messages-based-on-specific-property/77749)

<div class="topic-metadata">

**Author:** [@stokes776](https://discourse.nodered.org/u/stokes776)\
**Replies:** 2\
**Last updated:** [20 April 2023 18:25 UTC](https://discourse.nodered.org/t/deduplicate-messages-based-on-specific-property/77749 "2023-04-20T18:25:04Z")

</div>

Hello, I have sensors being heard by several gateways. Those gateways push those messages up to the cloud Node-Red server. Node-Red then has two very similar messages incoming with the exact same telemetry, but slightl…

---

## [Node-red date picker issue](https://discourse.nodered.org/t/node-red-date-picker-issue/76567)

<div class="topic-metadata">

**Author:** [@daled](https://discourse.nodered.org/u/daled)\
**Replies:** 9\
**Last updated:** [20 April 2023 17:38 UTC](https://discourse.nodered.org/t/node-red-date-picker-issue/76567 "2023-04-20T17:38:58Z")

</div>

I'm using node-red version 3.0.2. I observe that the date-picker node returns a random time on the date I select. This does not work for me (I want to add a specific time to the date). I observe that in github this probl…

---

## [Calling Environment Variables in Change Node for Global Variable name](https://discourse.nodered.org/t/calling-environment-variables-in-change-node-for-global-variable-name/77747)

<div class="topic-metadata">

**Author:** [@KAMERONSWENSON](https://discourse.nodered.org/u/KAMERONSWENSON)\
**Replies:** 4\
**Last updated:** [20 April 2023 16:51 UTC](https://discourse.nodered.org/t/calling-environment-variables-in-change-node-for-global-variable-name/77747 "2023-04-20T16:51:39Z")

</div>

Hello Everyone, I am building a flow that contains a large amount of subflows. Within these subflows you find one node named ArrayDefect"X". X being an identifier. I have to set these array for each individual machine t…

---

## [Finding a Property in a constantly updating Array](https://discourse.nodered.org/t/finding-a-property-in-a-constantly-updating-array/77736)

<div class="topic-metadata">

**Author:** [@CJ10](https://discourse.nodered.org/u/CJ10)\
**Replies:** 9\
**Last updated:** [20 April 2023 15:32 UTC](https://discourse.nodered.org/t/finding-a-property-in-a-constantly-updating-array/77736 "2023-04-20T15:32:34Z")

</div>

I would like to access an array of 3 values. They are in a property, but during each pass through my flow, a new property is added, containing a new set of 3 values. Basically, I always need to access the final property …

---

## [Removing certain frequencies from data](https://discourse.nodered.org/t/removing-certain-frequencies-from-data/77742)

<div class="topic-metadata">

**Author:** [@madeline](https://discourse.nodered.org/u/madeline)\
**Replies:** 4\
**Last updated:** [20 April 2023 15:36 UTC](https://discourse.nodered.org/t/removing-certain-frequencies-from-data/77742 "2023-04-20T15:36:40Z")

</div>

Hello everyone, I am collecting data from a load cell, but it is being corrupted due to an unfixable hardware issue. The corruption comes in the form of turning the data into a baseline sine wave, but it still increase…

---

## [Storing a variable](https://discourse.nodered.org/t/storing-a-variable/77729)

<div class="topic-metadata">

**Author:** [@ebolisa](https://discourse.nodered.org/u/ebolisa)\
**Replies:** 7\
**Last updated:** [20 April 2023 15:12 UTC](https://discourse.nodered.org/t/storing-a-variable/77729 "2023-04-20T15:12:59Z")

</div>

Hi, In a project, I'm using a slider to set a variable which is then sent to mqtt. \[this works\] Said variable is then stored in a file. \[this works\] At boot/reboot the variable is red and sent to the slider. \[this wor…

---

## [Change state of entities](https://discourse.nodered.org/t/change-state-of-entities/77220)

<div class="topic-metadata">

**Author:** [@Rhysgh](https://discourse.nodered.org/u/Rhysgh)\
**Replies:** 4\
**Last updated:** [20 April 2023 14:41 UTC](https://discourse.nodered.org/t/change-state-of-entities/77220 "2023-04-20T14:41:14Z")

</div>

Hi, I'm using node-red in home assistant. Il trying to change the state of entities but I'm not getting it.. .. how would you do this? "battery\_working\_mode": "Time Of Use"\`\` i asked my mate chat gbt but hes got hi…

---

## [CRC-32 can't get the correct check sum - any help appreciated](https://discourse.nodered.org/t/crc-32-cant-get-the-correct-check-sum-any-help-appreciated/77627)

<div class="topic-metadata">

**Author:** [@dr\_cave\_dweller](https://discourse.nodered.org/u/dr_cave_dweller)\
**Replies:** 6\
**Last updated:** [20 April 2023 14:09 UTC](https://discourse.nodered.org/t/crc-32-cant-get-the-correct-check-sum-any-help-appreciated/77627 "2023-04-20T14:09:46Z")

</div>

HI, I am trying to write a function node to output CRC-32 values based on a Hex value input, but the calculated CRC values are incorrect. I had no trouble writing function nodes for CRC-8 and CRC-16 so I am not sure why …

---

## [Importing function from Node.js module](https://discourse.nodered.org/t/importing-function-from-node-js-module/77741)

<div class="topic-metadata">

**Author:** [@dazfitzg](https://discourse.nodered.org/u/dazfitzg)\
**Replies:** 1\
**Last updated:** [20 April 2023 13:11 UTC](https://discourse.nodered.org/t/importing-function-from-node-js-module/77741 "2023-04-20T13:11:19Z")

</div>

Forgive me if I am doing something stupid, but I am just learning Node-Red and have a little knowledge of JavaScript. I am trying to import the GTFS node from NPM into my Node-Red flow using a Function Node. The exampl…

---

## [NodeRED Error: ENOENT: no such file or directory, open '/dev/i2c-1](https://discourse.nodered.org/t/nodered-error-enoent-no-such-file-or-directory-open-dev-i2c-1/77733)

<div class="topic-metadata">

**Author:** [@donaruma](https://discourse.nodered.org/u/donaruma)\
**Replies:** 2\
**Last updated:** [20 April 2023 13:11 UTC](https://discourse.nodered.org/t/nodered-error-enoent-no-such-file-or-directory-open-dev-i2c-1/77733 "2023-04-20T13:11:36Z")

</div>

Hello everybody, I am currently stuck with the following problem Error: ENOENT: no such file or directory, open '/dev/i2c-1' the ADS1115 is setup correctly have already tried to fix the error with the following…

---

## [Upgrade to Node-Red 3, now getting an error message in flows](https://discourse.nodered.org/t/upgrade-to-node-red-3-now-getting-an-error-message-in-flows/77726)

<div class="topic-metadata">

**Author:** [@dr\_cave\_dweller](https://discourse.nodered.org/u/dr_cave_dweller)\
**Replies:** 2\
**Last updated:** [20 April 2023 10:13 UTC](https://discourse.nodered.org/t/upgrade-to-node-red-3-now-getting-an-error-message-in-flows/77726 "2023-04-20T10:13:40Z")

</div>

Hi, I have upgraded Node-Red and now getting errors in my old existing flow when deploying. The nodes that have an issue are ones where I take the input message, do something with it, then output a new output message unr…

---

## [Issues with Firebase references in Node-Red flows](https://discourse.nodered.org/t/issues-with-firebase-references-in-node-red-flows/77735)

<div class="topic-metadata">

**Author:** [@pereibex](https://discourse.nodered.org/u/pereibex)\
**Replies:** 0\
**Last updated:** [20 April 2023 10:01 UTC](https://discourse.nodered.org/t/issues-with-firebase-references-in-node-red-flows/77735 "2023-04-20T10:01:07Z")

</div>

It is not possible to use document references through the Javascript SDK for Firebase. FirebaseError: \[code=invalid-argument\]: Function setDoc() called with invalid data. Data must be an object, but it was: a custom Obj…

---

## [No Dashboard and Raspberry Pi inactive](https://discourse.nodered.org/t/no-dashboard-and-raspberry-pi-inactive/77708)

<div class="topic-metadata">

**Author:** [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Replies:** 9\
**Last updated:** [20 April 2023 08:41 UTC](https://discourse.nodered.org/t/no-dashboard-and-raspberry-pi-inactive/77708 "2023-04-20T08:41:31Z")

</div>

Hi Folks I've been using my Pi4 to to run home automation's via a Node Red instance and have had much success for the last two years or so. The Pi in combination with Node red has performed pretty much flawlessly during…

---

## [Compare Actual Time with Node-Red Time](https://discourse.nodered.org/t/compare-actual-time-with-node-red-time/77719)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 7\
**Last updated:** [20 April 2023 07:43 UTC](https://discourse.nodered.org/t/compare-actual-time-with-node-red-time/77719 "2023-04-20T07:43:03Z")

</div>

Hi all, is it possible to compare the actual time to a given time and act accordingly ? The code that I already have looks like this, but I do not how know to get the actual time from node-red and compare it to a plann…

---

## [Audio problems using exec node](https://discourse.nodered.org/t/audio-problems-using-exec-node/77706)

<div class="topic-metadata">

**Author:** [@muggins](https://discourse.nodered.org/u/muggins)\
**Replies:** 40\
**Last updated:** [19 April 2023 20:34 UTC](https://discourse.nodered.org/t/audio-problems-using-exec-node/77706 "2023-04-19T20:34:46Z")

</div>

I have been using an exec mode in node red to play mp3 files for quite some time and now it has stopped working. I can't find any error messages anywhere. If I run this line in a terminal window it works mpg123 /home/…

---

## [Node-red-start......doesn't](https://discourse.nodered.org/t/node-red-start-doesnt/77724)

<div class="topic-metadata">

**Author:** [@rhody456](https://discourse.nodered.org/u/rhody456)\
**Replies:** 1\
**Last updated:** [19 April 2023 20:16 UTC](https://discourse.nodered.org/t/node-red-start-doesnt/77724 "2023-04-19T20:16:14Z")

</div>

just got this loaded and wanted to start using ...node-red-start, but I get...command not found. tried node-red ...same thing

---

## [How to send string node to a table in Postgres](https://discourse.nodered.org/t/how-to-send-string-node-to-a-table-in-postgres/77678)

<div class="topic-metadata">

**Author:** [@daaven](https://discourse.nodered.org/u/daaven)\
**Replies:** 6\
**Last updated:** [19 April 2023 19:06 UTC](https://discourse.nodered.org/t/how-to-send-string-node-to-a-table-in-postgres/77678 "2023-04-19T19:06:56Z")

</div>

The two MQTT nodes, Customer Name & Description, are ASCII code that are 'split' then changed to string characters. I want to send those strings to a table in my database using postgres. I figured out how to send al…

---

## [HowTo use assert](https://discourse.nodered.org/t/howto-use-assert/77718)

<div class="topic-metadata">

**Author:** [@Moosbueffel](https://discourse.nodered.org/u/Moosbueffel)\
**Replies:** 11\
**Last updated:** [19 April 2023 17:39 UTC](https://discourse.nodered.org/t/howto-use-assert/77718 "2023-04-19T17:39:07Z")

</div>

I tried to use assert. On some pages (eg.g here) I read, that it is built in into Node.js and Node-Red. But I failed to use it. I tried: // Testskript für den Flow const assert = require("assert"); // Importieren der a…

---

## [Monitor Large Array of Objects for Changes](https://discourse.nodered.org/t/monitor-large-array-of-objects-for-changes/77714)

<div class="topic-metadata">

**Author:** [@KAMERONSWENSON](https://discourse.nodered.org/u/KAMERONSWENSON)\
**Replies:** 5\
**Last updated:** [19 April 2023 16:59 UTC](https://discourse.nodered.org/t/monitor-large-array-of-objects-for-changes/77714 "2023-04-19T16:59:08Z")

</div>

Hello Everyone, I am trying to monitor a large array of objects. Each object contains a Machine ID and a Mold ID coming from a SQL database. I want to monitor for every time we change our Mold ID in a particular Machine…

---

## [WebSocket Application](https://discourse.nodered.org/t/websocket-application/77712)

<div class="topic-metadata">

**Author:** [@boarak](https://discourse.nodered.org/u/boarak)\
**Replies:** 1\
**Last updated:** [19 April 2023 15:01 UTC](https://discourse.nodered.org/t/websocket-application/77712 "2023-04-19T15:01:39Z")

</div>

Hello All, My question is related to WebSocket. I tried that with the local host and it is working. I can see the message. But I can see that error when I tried it via HoloLens IP address. "An error occurred while send…

---

## [How to pass json object as input to python script through exec node?](https://discourse.nodered.org/t/how-to-pass-json-object-as-input-to-python-script-through-exec-node/77536)

<div class="topic-metadata">

**Author:** [@Satyam](https://discourse.nodered.org/u/Satyam)\
**Replies:** 8\
**Last updated:** [19 April 2023 14:24 UTC](https://discourse.nodered.org/t/how-to-pass-json-object-as-input-to-python-script-through-exec-node/77536 "2023-04-19T14:24:07Z")

</div>

please find the node-red code below: \[ { "id": "1ff7a51a41da7b57", "type": "tab", "label": "Flow 2", "disabled": false, "info": "", "env": \[\] }, { "id"…

---

## [Unable to get file from a FTP server using advanced-ftp node in Active Mode](https://discourse.nodered.org/t/unable-to-get-file-from-a-ftp-server-using-advanced-ftp-node-in-active-mode/77711)

<div class="topic-metadata">

**Author:** [@PS2525](https://discourse.nodered.org/u/PS2525)\
**Replies:** 5\
**Last updated:** [19 April 2023 12:19 UTC](https://discourse.nodered.org/t/unable-to-get-file-from-a-ftp-server-using-advanced-ftp-node-in-active-mode/77711 "2023-04-19T12:19:36Z")

</div>

Using an advanced-ftp node, I was successfully able to get a file regularly from an FTP server to my local system which was by default in Passive Mode. However, due to some changes in my internet router's policy, I can f…

---

## [Node red don’t restart](https://discourse.nodered.org/t/node-red-don-t-restart/77702)

<div class="topic-metadata">

**Author:** [@droneman83](https://discourse.nodered.org/u/droneman83)\
**Replies:** 1\
**Last updated:** [19 April 2023 09:05 UTC](https://discourse.nodered.org/t/node-red-don-t-restart/77702 "2023-04-19T09:05:19Z")

</div>

After latest Ha release, node red won’t restart by it self. Even know in the log it do say that NR is running when I push start, and when I open add on is says bad gate way.

---

## [Token in Cred files](https://discourse.nodered.org/t/token-in-cred-files/77680)

<div class="topic-metadata">

**Author:** [@smallf00t](https://discourse.nodered.org/u/smallf00t)\
**Replies:** 2\
**Last updated:** [19 April 2023 08:31 UTC](https://discourse.nodered.org/t/token-in-cred-files/77680 "2023-04-19T08:31:17Z")

</div>

Hi, i would like to add an influxdb token in flows\_cred.json it s done but in my node says authorisation require Add it manualy (the same) and it s ok (same id) i missed something ? Thanks

---

## [Issue with serial node](https://discourse.nodered.org/t/issue-with-serial-node/77448)

<div class="topic-metadata">

**Author:** [@pcnr](https://discourse.nodered.org/u/pcnr)\
**Replies:** 15\
**Last updated:** [19 April 2023 08:14 UTC](https://discourse.nodered.org/t/issue-with-serial-node/77448 "2023-04-19T08:14:34Z")

</div>

Good morning everyone I'm using node-red serial node to send a request to a GPS HAT on Raspberry Pi and get the location in response. The issue is that sometimes, seems after some reboot but not certain, it sends a few …

---

## [Cant send data to redis cluster](https://discourse.nodered.org/t/cant-send-data-to-redis-cluster/77705)

<div class="topic-metadata">

**Author:** [@Josh](https://discourse.nodered.org/u/Josh)\
**Replies:** 0\
**Last updated:** [19 April 2023 06:03 UTC](https://discourse.nodered.org/t/cant-send-data-to-redis-cluster/77705 "2023-04-19T06:03:12Z")

</div>

Hi Forum, Im finding it difficult to send data to redis cluster using the redis node. Has anyone tried doing that or any examples? Thanks in advance.

---

## [Is there any way to get frames out of the ffmpeg node?](https://discourse.nodered.org/t/is-there-any-way-to-get-frames-out-of-the-ffmpeg-node/77576)

<div class="topic-metadata">

**Author:** [@Seba3Fi](https://discourse.nodered.org/u/Seba3Fi)\
**Replies:** 13\
**Last updated:** [18 April 2023 20:10 UTC](https://discourse.nodered.org/t/is-there-any-way-to-get-frames-out-of-the-ffmpeg-node/77576 "2023-04-18T20:10:44Z")

</div>

Dear @kevinGodell, thanks for posting the ffmpeg module, I am testing it in the context of a home made security system (learning process) My current workflow is something like this: -In Scrypted the rstp flows are proc…

---

## [HTML-parce to SQL Flow optimization](https://discourse.nodered.org/t/html-parce-to-sql-flow-optimization/77652)

<div class="topic-metadata">

**Author:** [@DaZeller](https://discourse.nodered.org/u/DaZeller)\
**Replies:** 7\
**Last updated:** [18 April 2023 19:37 UTC](https://discourse.nodered.org/t/html-parce-to-sql-flow-optimization/77652 "2023-04-18T19:37:27Z")

</div>

Hello there, I have a flow to read values from my Heating-Systems Web-UI an puts the data into an SQL-DB. The Flow is working quite well, but it looks somehow complex and not easy to maintain or extend. The current Flo…

---

## [Nod red keep rebooting due FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory](https://discourse.nodered.org/t/nod-red-keep-rebooting-due-fatal-error-reached-heap-limit-allocation-failed-javascript-heap-out-of-memory/77665)

<div class="topic-metadata">

**Author:** [@Soiski](https://discourse.nodered.org/u/Soiski)\
**Replies:** 10\
**Last updated:** [18 April 2023 17:28 UTC](https://discourse.nodered.org/t/nod-red-keep-rebooting-due-fatal-error-reached-heap-limit-allocation-failed-javascript-heap-out-of-memory/77665 "2023-04-18T17:28:40Z")

</div>

Here is my current problem. Running Node red (3.0.2 / nodejs 18.16.0) locally on Ubuntu 18.04 LTS with 16 GB memory (Ryzen 5 machine) . Heap memory allocation is 4 GB. Started to experience reboots on node red a week ag…

---

## [How many node red instance on 1 server](https://discourse.nodered.org/t/how-many-node-red-instance-on-1-server/77688)

<div class="topic-metadata">

**Author:** [@soerenbull](https://discourse.nodered.org/u/soerenbull)\
**Replies:** 2\
**Last updated:** [18 April 2023 13:59 UTC](https://discourse.nodered.org/t/how-many-node-red-instance-on-1-server/77688 "2023-04-18T13:59:21Z")

</div>

Hi. I am currently looking into big PLC controlling project, witch might could be run with Node Red: The Case is: Around 200 pcs of small PLC in different locations should be running with same number of individual das…

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

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