# Latest

**URL:** https://discourse.nodered.org/latest.md?no_subcategories=false&page=356

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

**Page:** 357

---

## [Multi-line text editor on the dashboard](https://discourse.nodered.org/t/multi-line-text-editor-on-the-dashboard/77722)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 13\
**Last updated:** [21 April 2023 11:22 UTC](https://discourse.nodered.org/t/multi-line-text-editor-on-the-dashboard/77722 "2023-04-21T11:22:23Z")

</div>

I want to build a simple text editor on the dashboard. I thought the dashboard text input supports multi-line, but it does not. Also it would be extra sweet if it would support syntax highlight, for example if I edit she…

---

## [Retrieve values from payload object](https://discourse.nodered.org/t/retrieve-values-from-payload-object/77764)

<div class="topic-metadata">

**Author:** [@HB\_1](https://discourse.nodered.org/u/HB_1)\
**Replies:** 7\
**Last updated:** [21 April 2023 11:06 UTC](https://discourse.nodered.org/t/retrieve-values-from-payload-object/77764 "2023-04-21T11:06:21Z")

</div>

Hi all, New to node-red here, and looking to store some IoT data coming from TTN into a postgres database. I am having a hard time formatting the data. Here is the payload I receive 4/21/2023, 1:19:29 AM\[node: msg.pa…

---

## [Custom node's input port disappears if the "inputs" field's value is greater than 1](https://discourse.nodered.org/t/custom-nodes-input-port-disappears-if-the-inputs-fields-value-is-greater-than-1/77760)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 2\
**Last updated:** [21 April 2023 10:02 UTC](https://discourse.nodered.org/t/custom-nodes-input-port-disappears-if-the-inputs-fields-value-is-greater-than-1/77760 "2023-04-21T10:02:14Z")

</div>

Environment Node-RED 2.0.5 Repro For my custom node, I allow two input ports, so in node.html, I filled the number of inputs this way inputs: 2, outputs: 2, Expectation Knowing that NR supports a single in-port, I exp…

---

## [Function Node and complete Flow for the GPT4All-J AI Text Generator Model](https://discourse.nodered.org/t/function-node-and-complete-flow-for-the-gpt4all-j-ai-text-generator-model/77771)

<div class="topic-metadata">

**Author:** [@rozek](https://discourse.nodered.org/u/rozek)\
**Replies:** 2\
**Last updated:** [21 April 2023 09:27 UTC](https://discourse.nodered.org/t/function-node-and-complete-flow-for-the-gpt4all-j-ai-text-generator-model/77771 "2023-04-21T09:27:34Z")

</div>

As promised yesterday: the function node for the GPT4All-J AI text generator model is fully available now. Please note: inference runs on the CPU (without requiring any special hardware) but still completes within a few …

---

## [Bad data inject \[warning\]](https://discourse.nodered.org/t/bad-data-inject-warning/77737)

<div class="topic-metadata">

**Author:** [@ALIEN](https://discourse.nodered.org/u/ALIEN)\
**Replies:** 8\
**Last updated:** [21 April 2023 08:03 UTC](https://discourse.nodered.org/t/bad-data-inject-warning/77737 "2023-04-21T08:03:12Z")

</div>

Hello friends, I have a warning " bad data inject " while I am importing data from DB and show it on bar chart. The point is all the process is done perfectly and also data represented correctly on bar chart but I don't …

---

## [Capture data through a button to send to a dashboard](https://discourse.nodered.org/t/capture-data-through-a-button-to-send-to-a-dashboard/77696)

<div class="topic-metadata">

**Author:** [@Jhontan14](https://discourse.nodered.org/u/Jhontan14)\
**Replies:** 7\
**Last updated:** [21 April 2023 08:45 UTC](https://discourse.nodered.org/t/capture-data-through-a-button-to-send-to-a-dashboard/77696 "2023-04-21T08:45:19Z")

</div>

Hello everyone I'm trying to load data in a "form" when the buttons are clicked. Simulate sending data through a serial node using a random number generator. Practically I needed that at the moment of selecting the le…

---

## [How create new nodes?](https://discourse.nodered.org/t/how-create-new-nodes/77746)

<div class="topic-metadata">

**Author:** [@namexx](https://discourse.nodered.org/u/namexx)\
**Replies:** 9\
**Last updated:** [21 April 2023 08:40 UTC](https://discourse.nodered.org/t/how-create-new-nodes/77746 "2023-04-21T08:40:13Z")

</div>

Hello guys, I'm trying to create my first node in Node-RED, but I haven't been successful so far. I'm using the lower-case example from Node-RED. The steps I'm following are the following: 1.-create folder in director…

---

## [How to hide the new process button in the workspace area?](https://discourse.nodered.org/t/how-to-hide-the-new-process-button-in-the-workspace-area/77765)

<div class="topic-metadata">

**Author:** [@1260215278](https://discourse.nodered.org/u/1260215278)\
**Replies:** 1\
**Last updated:** [21 April 2023 08:38 UTC](https://discourse.nodered.org/t/how-to-hide-the-new-process-button-in-the-workspace-area/77765 "2023-04-21T08:38:07Z")

</div>

I want to hide the editing functionality of the workspace area. But I can't find it in the documentation, can you tell me? Thanks

---

## [Hide/secure dashboard zu code](https://discourse.nodered.org/t/hide-secure-dashboard-zu-code/77779)

<div class="topic-metadata">

**Author:** [@BlackDevil](https://discourse.nodered.org/u/BlackDevil)\
**Replies:** 1\
**Last updated:** [21 April 2023 08:36 UTC](https://discourse.nodered.org/t/hide-secure-dashboard-zu-code/77779 "2023-04-21T08:36:07Z")

</div>

Good day everyone I am still quite new to NodeRed but after getting a first touch I am using it more and more mainly as a Gateway from other buses and systems to my customer KNX systems. I am interested in the dashboar…

---

## [Auto arrange flow](https://discourse.nodered.org/t/auto-arrange-flow/77758)

<div class="topic-metadata">

**Author:** [@Bean](https://discourse.nodered.org/u/Bean)\
**Replies:** 1\
**Last updated:** [21 April 2023 08:15 UTC](https://discourse.nodered.org/t/auto-arrange-flow/77758 "2023-04-21T08:15:06Z")

</div>

Hello, Is there a way to auto arrange the flows? I found an issue on github pointing to the forum, but couldn't find anything about it in the search. :sweat\_smile: Thanks :grin:

---

## [Power shell script trigger](https://discourse.nodered.org/t/power-shell-script-trigger/77772)

<div class="topic-metadata">

**Author:** [@nagaabhishek](https://discourse.nodered.org/u/nagaabhishek)\
**Replies:** 2\
**Last updated:** [21 April 2023 05:51 UTC](https://discourse.nodered.org/t/power-shell-script-trigger/77772 "2023-04-21T05:51:47Z")

</div>

Hi all, How to trigger a powershell script on a windows server from nodered. Both nodered and powershell scripts are on different servers and both are running windows os. Thank you

---

## [Function Node and complete Flow for the (unfiltered) GPT4All AI Text Generator Model](https://discourse.nodered.org/t/function-node-and-complete-flow-for-the-unfiltered-gpt4all-ai-text-generator-model/77770)

<div class="topic-metadata">

**Author:** [@rozek](https://discourse.nodered.org/u/rozek)\
**Replies:** 0\
**Last updated:** [21 April 2023 04:03 UTC](https://discourse.nodered.org/t/function-node-and-complete-flow-for-the-unfiltered-gpt4all-ai-text-generator-model/77770 "2023-04-21T04:03:08Z")

</div>

As promised yesterday: the function node for the (unfiltered) GPT4All AI text generator model is fully available now. Please note: inference runs on the CPU (without requiring any special hardware) but still completes wi…

---

## [Function Node and complete Flow for the (filtered) GPT4All AI Text Generator Model](https://discourse.nodered.org/t/function-node-and-complete-flow-for-the-filtered-gpt4all-ai-text-generator-model/77769)

<div class="topic-metadata">

**Author:** [@rozek](https://discourse.nodered.org/u/rozek)\
**Replies:** 0\
**Last updated:** [21 April 2023 03:54 UTC](https://discourse.nodered.org/t/function-node-and-complete-flow-for-the-filtered-gpt4all-ai-text-generator-model/77769 "2023-04-21T03:54:42Z")

</div>

As promised yesterday: the function node for the (filtered) GPT4All AI text generator model is fully available now. Please note: inference runs on the CPU (without requiring any special hardware) but still completes with…

---

## [Function Node and complete Flow for the Alpaca AI Text Generator Model](https://discourse.nodered.org/t/function-node-and-complete-flow-for-the-alpaca-ai-text-generator-model/77768)

<div class="topic-metadata">

**Author:** [@rozek](https://discourse.nodered.org/u/rozek)\
**Replies:** 0\
**Last updated:** [21 April 2023 03:02 UTC](https://discourse.nodered.org/t/function-node-and-complete-flow-for-the-alpaca-ai-text-generator-model/77768 "2023-04-21T03:02:50Z")

</div>

As promised yesterday: the function node for the Stanford Alpaca AI text generator model is fully available now. Please note: inference runs on the CPU (without requiring any special hardware) but still completes within …

---

## [Function Node and complete Flow for the LLaMA AI Text Generator Model](https://discourse.nodered.org/t/function-node-and-complete-flow-for-the-llama-ai-text-generator-model/77767)

<div class="topic-metadata">

**Author:** [@rozek](https://discourse.nodered.org/u/rozek)\
**Replies:** 0\
**Last updated:** [21 April 2023 02:54 UTC](https://discourse.nodered.org/t/function-node-and-complete-flow-for-the-llama-ai-text-generator-model/77767 "2023-04-21T02:54:19Z")

</div>

As promised yesterday: the function node for the LLaMA AI text model is fully available now. Please note: inference runs on the CPU (without requiring any special hardware) but still completes within a few seconds. Havi…

---

## [How to use functions in DLL files on node red?](https://discourse.nodered.org/t/how-to-use-functions-in-dll-files-on-node-red/77744)

<div class="topic-metadata">

**Author:** [@Mr\_Li](https://discourse.nodered.org/u/Mr_Li)\
**Replies:** 6\
**Last updated:** [21 April 2023 01:22 UTC](https://discourse.nodered.org/t/how-to-use-functions-in-dll-files-on-node-red/77744 "2023-04-21T01:22:28Z")

</div>

How to use functions in DLL files on node red?

---

## [Need help with flow variables](https://discourse.nodered.org/t/need-help-with-flow-variables/77753)

<div class="topic-metadata">

**Author:** [@DoctorDan](https://discourse.nodered.org/u/DoctorDan)\
**Replies:** 2\
**Last updated:** [21 April 2023 00:53 UTC](https://discourse.nodered.org/t/need-help-with-flow-variables/77753 "2023-04-21T00:53:49Z")

</div>

I'm new here so I apologize in advance if I don't pose this question correctly or don't post the right stuff. I have an iot app (rtl\_433) feeding mqtt. My goal is to create a web page that will display the latest readin…

---

## [How to send MQTT string value to a postgres table](https://discourse.nodered.org/t/how-to-send-mqtt-string-value-to-a-postgres-table/77757)

<div class="topic-metadata">

**Author:** [@daaven](https://discourse.nodered.org/u/daaven)\
**Replies:** 2\
**Last updated:** [20 April 2023 23:45 UTC](https://discourse.nodered.org/t/how-to-send-mqtt-string-value-to-a-postgres-table/77757 "2023-04-20T23:45:40Z")

</div>

I have an MQTT node called "description" this node comes in as ASCII code from a PLC. The string node converts the ASCII code into a string value. I inserted debugs node so you can see how the message is moving. My …

---

## [Running Node-RED on AWS](https://discourse.nodered.org/t/running-node-red-on-aws/14884)

<div class="topic-metadata">

**Author:** [@guysqr](https://discourse.nodered.org/u/guysqr)\
**Replies:** 2\
**Last updated:** [20 April 2023 20:43 UTC](https://discourse.nodered.org/t/running-node-red-on-aws/14884 "2023-04-20T20:43:58Z")

</div>

Hi folks I've put together a repo that will let you set up Node-RED on AWS running on multiple instances behind a load balancer - high availability for Node-RED on AWS in other words. It works by sharing the filesyst…

---

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

---

## [Reading PLC variables from Siemens ET200S CPU](https://discourse.nodered.org/t/reading-plc-variables-from-siemens-et200s-cpu/77728)

<div class="topic-metadata">

**Author:** [@fox](https://discourse.nodered.org/u/fox)\
**Replies:** 2\
**Last updated:** [20 April 2023 11:31 UTC](https://discourse.nodered.org/t/reading-plc-variables-from-siemens-et200s-cpu/77728 "2023-04-20T11:31:19Z")

</div>

Hi, I want read out tags from a Siemens ET200S CPU, I managed to get the thing working with the Siemens PLCSIM, I can read out data from my program in that case. When I try to connect to the actual PLC I get a timeout …

[Previous page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=355)

[Next page](https://discourse.nodered.org/latest.md?no_subcategories=false&page=357)
