# Latest

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

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

**Page:** 358

---

## [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…

---

## [Change button label using node ID](https://discourse.nodered.org/t/change-button-label-using-node-id/77691)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 2\
**Last updated:** [19 April 2023 16:56 UTC](https://discourse.nodered.org/t/change-button-label-using-node-id/77691 "2023-04-19T16:56:40Z")

</div>

The result of one flow should be used to change the label of a button in a second flow. How can this be realized? Can the node ID of the button in the second flow be used for this? This way the first flow should create…

---

## [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.

---

## [How to find the perfect hardware](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393)

<div class="topic-metadata">

**Author:** [@Manuel\_o](https://discourse.nodered.org/u/Manuel_o)\
**Replies:** 16\
**Last updated:** [19 April 2023 05:41 UTC](https://discourse.nodered.org/t/how-to-find-the-perfect-hardware/77393 "2023-04-19T05:41:27Z")

</div>

Hello friends. I am currently running my NR-program to read and control my pump. For this i talk to the pump via MODBUS (nodes) and send data (and recieve) to (from) my MQTT server that is running on a vm. Right now i …

---

## [Separate letters and add a hyphen](https://discourse.nodered.org/t/separate-letters-and-add-a-hyphen/77677)

<div class="topic-metadata">

**Author:** [@Jhontan14](https://discourse.nodered.org/u/Jhontan14)\
**Replies:** 8\
**Last updated:** [19 April 2023 05:33 UTC](https://discourse.nodered.org/t/separate-letters-and-add-a-hyphen/77677 "2023-04-19T05:33:19Z")

</div>

Hello community, I am trying to separate the word that is entered in the "Código" field, that is, the user will enter, for example, AWS001, and I want that when the debuj node arrives, it is separated by a script as show…

---

## [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…

---

## [Get Data to Var... but nothing work](https://discourse.nodered.org/t/get-data-to-var-but-nothing-work/77571)

<div class="topic-metadata">

**Author:** [@einfach112](https://discourse.nodered.org/u/einfach112)\
**Replies:** 5\
**Last updated:** [18 April 2023 13:02 UTC](https://discourse.nodered.org/t/get-data-to-var-but-nothing-work/77571 "2023-04-18T13:02:04Z")

</div>

hi! i have a catch node. on this node is a debug node. the return on the debug node is: 14.4.2023, 19:00:30node: debug 43 msg : Object object error: object message: "no JSON" source: object value: undefined \_error: "…

---

## [Extract a Substring from msg.payload and use it as a variable for global.set?](https://discourse.nodered.org/t/extract-a-substring-from-msg-payload-and-use-it-as-a-variable-for-global-set/77687)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 1\
**Last updated:** [18 April 2023 12:33 UTC](https://discourse.nodered.org/t/extract-a-substring-from-msg-payload-and-use-it-as-a-variable-for-global-set/77687 "2023-04-18T12:33:26Z")

</div>

Hi, is there a chance to extract a value from a string, e.g. tele/SP111\_131308/# (i need the value between the slashes) and would like to use it as a global Variable: global.set ("SP111\_131308.State", msg.payload.Sw…

---

## [Deleting a bunch of files with Exec Node](https://discourse.nodered.org/t/deleting-a-bunch-of-files-with-exec-node/77684)

<div class="topic-metadata">

**Author:** [@FloRu](https://discourse.nodered.org/u/FloRu)\
**Replies:** 15\
**Last updated:** [18 April 2023 12:24 UTC](https://discourse.nodered.org/t/deleting-a-bunch-of-files-with-exec-node/77684 "2023-04-18T12:24:27Z")

</div>

Hi! I want to delete a bunch of files using the exec node. When I try to start the job with the payload rm /mnt/dietpi\_userdata/File-to-delete\* the exec node tells me: rm: cannot remove '/mnt/dietpi\_userdata/File-t…

---

## [Node-red Worldmap API query](https://discourse.nodered.org/t/node-red-worldmap-api-query/77663)

<div class="topic-metadata">

**Author:** [@pijush.rinti](https://discourse.nodered.org/u/pijush.rinti)\
**Replies:** 3\
**Last updated:** [18 April 2023 11:08 UTC](https://discourse.nodered.org/t/node-red-worldmap-api-query/77663 "2023-04-18T11:08:17Z")

</div>

Hello experts, I am a newbie in node-red and working on a personal project. I would like to ask if node-red-contrib-web-worldmap is using an external map to present the map to us? Does it use an API for that? Thanks i…

---

## [TCP-IN node send data internally](https://discourse.nodered.org/t/tcp-in-node-send-data-internally/77675)

<div class="topic-metadata">

**Author:** [@bjdaijun](https://discourse.nodered.org/u/bjdaijun)\
**Replies:** 8\
**Last updated:** [18 April 2023 09:08 UTC](https://discourse.nodered.org/t/tcp-in-node-send-data-internally/77675 "2023-04-18T09:08:11Z")

</div>

\[{"id":"19d8c6fadea93ef9","type":"tab","label":"tcp-in","disabled":false,"info":"","env":\[\]},{"id":"1787daf384b3888d","type":"tcp in","z":"19d8c6fadea93ef9","name":"","server":"server","host":"","port":"28001","datamode"…

---

## [Function Node switch with a Click tab like Enable on Debug to assist in Troubleshooting](https://discourse.nodered.org/t/function-node-switch-with-a-click-tab-like-enable-on-debug-to-assist-in-troubleshooting/77504)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 16\
**Last updated:** [18 April 2023 08:24 UTC](https://discourse.nodered.org/t/function-node-switch-with-a-click-tab-like-enable-on-debug-to-assist-in-troubleshooting/77504 "2023-04-18T08:24:10Z")

</div>

I have not seen this, but one may exist somewhere. I'll certainly look. But if anyone knows of such a node please send the link my way. When I'm debugging, sometimes I need to disconnect wires. That requires wire chan…

---

## [Onclick (event)](https://discourse.nodered.org/t/onclick-event/77667)

<div class="topic-metadata">

**Author:** [@CJ10](https://discourse.nodered.org/u/CJ10)\
**Replies:** 2\
**Last updated:** [18 April 2023 06:27 UTC](https://discourse.nodered.org/t/onclick-event/77667 "2023-04-18T06:27:55Z")

</div>

What I am attempting to do is, activate a button on an external website page. The first question I want to ask is, is this even possible using Node Red? If it's not, so be it. But assuming it is possible, then is the ap…

---

## [Declaring array of objects in payload](https://discourse.nodered.org/t/declaring-array-of-objects-in-payload/77657)

<div class="topic-metadata">

**Author:** [@JesFo](https://discourse.nodered.org/u/JesFo)\
**Replies:** 3\
**Last updated:** [18 April 2023 05:24 UTC](https://discourse.nodered.org/t/declaring-array-of-objects-in-payload/77657 "2023-04-18T05:24:21Z")

</div>

Hello. I'm trying to declare an array of objects into my msg.payload using a JavaScript node. I declare my array as such: msg.payload = { DeviceID : '0', Sensors : \[\] } And th…

---

## [Jsonata $number(hexstring) not working](https://discourse.nodered.org/t/jsonata-number-hexstring-not-working/77672)

<div class="topic-metadata">

**Author:** [@Barbudor](https://discourse.nodered.org/u/Barbudor)\
**Replies:** 2\
**Last updated:** [17 April 2023 21:08 UTC](https://discourse.nodered.org/t/jsonata-number-hexstring-not-working/77672 "2023-04-17T21:08:26Z")

</div>

Hi According to Numeric functions · JSONata the function $number("0x12") should return the parsed number 18 (and not 0x18...) However in Node-RED 3.0.2 I get error "Unable to cast value to a number" Can someone confi…

---

## [How can you determine size of table](https://discourse.nodered.org/t/how-can-you-determine-size-of-table/77461)

<div class="topic-metadata">

**Author:** [@Fathi2022](https://discourse.nodered.org/u/Fathi2022)\
**Replies:** 20\
**Last updated:** [17 April 2023 20:32 UTC](https://discourse.nodered.org/t/how-can-you-determine-size-of-table/77461 "2023-04-17T20:32:20Z")

</div>

Determine size of table

---

## [Telegram got nuked](https://discourse.nodered.org/t/telegram-got-nuked/77643)

<div class="topic-metadata">

**Author:** [@jbob762](https://discourse.nodered.org/u/jbob762)\
**Replies:** 7\
**Last updated:** [17 April 2023 19:30 UTC](https://discourse.nodered.org/t/telegram-got-nuked/77643 "2023-04-17T19:30:05Z")

</div>

Telegram bot got nuked. I have had NR working in docker on a rpi for years, it runs my home automation and until today has been flawless. Went to do updates today - there were no updates to NR, but there were a few node…

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

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