# General

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

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

**Page:** 53

---

## [Has anyone successfully deployed Node-RED on AWS Elastic Beanstalk on AL2023 (Amazon Linux 2023)? If so, what was your process?](https://discourse.nodered.org/t/has-anyone-successfully-deployed-node-red-on-aws-elastic-beanstalk-on-al2023-amazon-linux-2023-if-so-what-was-your-process/95471)

<div class="topic-metadata">

**Author:** [@nicholas](https://discourse.nodered.org/u/nicholas)\
**Replies:** 0\
**Last updated:** [17 February 2025 19:54 UTC](https://discourse.nodered.org/t/has-anyone-successfully-deployed-node-red-on-aws-elastic-beanstalk-on-al2023-amazon-linux-2023-if-so-what-was-your-process/95471 "2025-02-17T19:54:21Z")

</div>

Background: I've been running Node-RED on Elastic Beanstalk ("EB") successfully for a few years, on the Amazon Linux 2 platform. However, Amazon Linux 2 ("AL2") is being retired this year and AL2-based EB applications …

---

## [Function node -local variables-](https://discourse.nodered.org/t/function-node-local-variables/95461)

<div class="topic-metadata">

**Author:** [@pin32](https://discourse.nodered.org/u/pin32)\
**Replies:** 9\
**Last updated:** [17 February 2025 17:19 UTC](https://discourse.nodered.org/t/function-node-local-variables/95461 "2025-02-17T17:19:12Z")

</div>

Can you use local or time variables within the code? It seems that they are reset at each cycle and not at startup vome I would expect. in the case how to get the loss of persistence at startup but not in the cycle?

---

## [Got issue in buffer parser node with Mc-protocol node](https://discourse.nodered.org/t/got-issue-in-buffer-parser-node-with-mc-protocol-node/95424)

<div class="topic-metadata">

**Author:** [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Replies:** 19\
**Last updated:** [17 February 2025 14:41 UTC](https://discourse.nodered.org/t/got-issue-in-buffer-parser-node-with-mc-protocol-node/95424 "2025-02-17T14:41:11Z")

</div>

Hi there, I was having issue When i tried 520000 it gives this error "Error: Exception preparing the write buffer for item 'D28': RangeError \[ERR\_OUT\_OF\_RANGE\]: The value of "value" is out of range. It must be \>= -327…

---

## [How to get Startdate and end date of a month for a given date](https://discourse.nodered.org/t/how-to-get-startdate-and-end-date-of-a-month-for-a-given-date/95457)

<div class="topic-metadata">

**Author:** [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Replies:** 2\
**Last updated:** [17 February 2025 11:07 UTC](https://discourse.nodered.org/t/how-to-get-startdate-and-end-date-of-a-month-for-a-given-date/95457 "2025-02-17T11:07:17Z")

</div>

I need to get starting day of the month and ending day of the month for a given date. how do i write a simple function for the same. I tried from this link, but i am unable to get the start day. \`Calculate Last Date of…

---

## [An inputted array, how do i get just the temperature \[0\] shown on debug?](https://discourse.nodered.org/t/an-inputted-array-how-do-i-get-just-the-temperature-0-shown-on-debug/95439)

<div class="topic-metadata">

**Author:** [@questuk](https://discourse.nodered.org/u/questuk)\
**Replies:** 5\
**Last updated:** [16 February 2025 13:56 UTC](https://discourse.nodered.org/t/an-inputted-array-how-do-i-get-just-the-temperature-0-shown-on-debug/95439 "2025-02-16T13:56:56Z")

</div>

Hi, This flow does work and i can get the temperature \[0\], but in the debug node it shows ALL msg.payload messages, I just want the temperature \[0\] value to be in debug ? I have tried variations of Switch node at the s…

---

## [Goodwe SEMS portal Solar panel data to Node-RED Flow - Connection Refused](https://discourse.nodered.org/t/goodwe-sems-portal-solar-panel-data-to-node-red-flow-connection-refused/95445)

<div class="topic-metadata">

**Author:** [@garynl](https://discourse.nodered.org/u/garynl)\
**Replies:** 3\
**Last updated:** [16 February 2025 23:40 UTC](https://discourse.nodered.org/t/goodwe-sems-portal-solar-panel-data-to-node-red-flow-connection-refused/95445 "2025-02-16T23:40:18Z")

</div>

using the flow "Goodwe SEMS portal Solar panel data to Node-RED" to get data from my GOODWE panels. Updated the flow to include my account and and password and the psid (which I got from the portal by logging in success…

---

## ['Illegal instruction' thrown when logging into editor - Node-RED crash](https://discourse.nodered.org/t/illegal-instruction-thrown-when-logging-into-editor-node-red-crash/95431)

<div class="topic-metadata">

**Author:** [@thebaldgeek](https://discourse.nodered.org/u/thebaldgeek)\
**Replies:** 6\
**Last updated:** [16 February 2025 17:44 UTC](https://discourse.nodered.org/t/illegal-instruction-thrown-when-logging-into-editor-node-red-crash/95431 "2025-02-16T17:44:46Z")

</div>

The website is down, so I'm a little frantic/panicked, but will try and take my time here to explain the sequence of events.... My site has been running since March 22nd 2024 mostly trouble free. A few days ago I happe…

---

## [I have to merge some js code in uibuilder](https://discourse.nodered.org/t/i-have-to-merge-some-js-code-in-uibuilder/95423)

<div class="topic-metadata">

**Author:** [@Jayeshpitale1](https://discourse.nodered.org/u/Jayeshpitale1)\
**Replies:** 3\
**Last updated:** [15 February 2025 16:41 UTC](https://discourse.nodered.org/t/i-have-to-merge-some-js-code-in-uibuilder/95423 "2025-02-15T16:41:03Z")

</div>

hi there, i tried to make two code in two different uibuilder node, now wanted to make it in single code for single uibuilder but there is some issued which i dont understand how to solve it so for payload which i send…

---

## [Creating nodes using vite and vitest?](https://discourse.nodered.org/t/creating-nodes-using-vite-and-vitest/95373)

<div class="topic-metadata">

**Author:** [@Stwissel](https://discourse.nodered.org/u/Stwissel)\
**Replies:** 2\
**Last updated:** [15 February 2025 00:20 UTC](https://discourse.nodered.org/t/creating-nodes-using-vite-and-vitest/95373 "2025-02-15T00:20:03Z")

</div>

For frontend development we switched to vite/vitest retireing a melange of other tooling like jest mocha chai webpack etc. So I was thinking to apply it to node development. I started with vitest and GitHub copilot did a…

---

## [How is the sync behaviour of the dashboard implemented?](https://discourse.nodered.org/t/how-is-the-sync-behaviour-of-the-dashboard-implemented/95388)

<div class="topic-metadata">

**Author:** [@bigbean17](https://discourse.nodered.org/u/bigbean17)\
**Replies:** 2\
**Last updated:** [14 February 2025 00:31 UTC](https://discourse.nodered.org/t/how-is-the-sync-behaviour-of-the-dashboard-implemented/95388 "2025-02-14T00:31:05Z")

</div>

Hi, I was wondering how the synced behaviour of dashboard component implemented? For example, there are two users viewing a slider on the dashboard. User A changed the slider value from 0 to 20, on the User B's page, t…

---

## [Do you have a sample of BACnet and a working node that you are using?](https://discourse.nodered.org/t/do-you-have-a-sample-of-bacnet-and-a-working-node-that-you-are-using/95351)

<div class="topic-metadata">

**Author:** [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Replies:** 3\
**Last updated:** [13 February 2025 14:50 UTC](https://discourse.nodered.org/t/do-you-have-a-sample-of-bacnet-and-a-working-node-that-you-are-using/95351 "2025-02-13T14:50:15Z")

</div>

Hello everyone, I researched the nodes that exchange data in bacnet and tried the nodes in the node-red library but I didn't find them very successful. Which one do you use? Can you give me an example?

---

## [Dynamically editing URL message content using a function](https://discourse.nodered.org/t/dynamically-editing-url-message-content-using-a-function/95370)

<div class="topic-metadata">

**Author:** [@shlomo](https://discourse.nodered.org/u/shlomo)\
**Replies:** 6\
**Last updated:** [13 February 2025 12:45 UTC](https://discourse.nodered.org/t/dynamically-editing-url-message-content-using-a-function/95370 "2025-02-13T12:45:15Z")

</div>

Hello everyone, I have a flow that is supposed to send me a WhatsApp message via "CallMeBot" when there is an inequality between two nodes But in practice I can't get it to work even though I checked the API KEY and it …

---

## [MQTT subscribe to selectable Shelly](https://discourse.nodered.org/t/mqtt-subscribe-to-selectable-shelly/95339)

<div class="topic-metadata">

**Author:** [@duaw](https://discourse.nodered.org/u/duaw)\
**Replies:** 7\
**Last updated:** [13 February 2025 09:22 UTC](https://discourse.nodered.org/t/mqtt-subscribe-to-selectable-shelly/95339 "2025-02-13T09:22:34Z")

</div>

Hi, there! I have a real Shelly with its original name like shelly2pm-12345678 and I have a virtual Shelly shelly2pm only present in Node-RED. I prepared the UI so the user can select one or another to send the message…

---

## [Simplify flow using cronplus](https://discourse.nodered.org/t/simplify-flow-using-cronplus/95265)

<div class="topic-metadata">

**Author:** [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)\
**Replies:** 16\
**Last updated:** [12 February 2025 20:27 UTC](https://discourse.nodered.org/t/simplify-flow-using-cronplus/95265 "2025-02-12T20:27:21Z")

</div>

Had an offtopic discussion with @Steve-Mcl elsewhere so making a dedicated discussion here inestad. I have enjoyed the cronplus node as it is ridiculously good, so flexible, supports timezones and everything! My only mi…

---

## [Using HTTP Request for file downloads](https://discourse.nodered.org/t/using-http-request-for-file-downloads/95360)

<div class="topic-metadata">

**Author:** [@jimj](https://discourse.nodered.org/u/jimj)\
**Replies:** 2\
**Last updated:** [12 February 2025 19:39 UTC](https://discourse.nodered.org/t/using-http-request-for-file-downloads/95360 "2025-02-12T19:39:50Z")

</div>

I'm downloading files from a DAM system for distributing via FTP. My problem is with HTTP Request and file-out. I use these together and the resulting file is always unusable. I've tried with JPG and EPUB (a ZIP) and the…

---

## [Feedback on the Projects feature](https://discourse.nodered.org/t/feedback-on-the-projects-feature/95359)

<div class="topic-metadata">

**Author:** [@RvG](https://discourse.nodered.org/u/RvG)\
**Replies:** 0\
**Last updated:** [12 February 2025 17:49 UTC](https://discourse.nodered.org/t/feedback-on-the-projects-feature/95359 "2025-02-12T17:49:13Z")

</div>

Hi, Nick has said sometimes that he doesn't see much feedback on the Projects feature. I do like to use Projects. In my case for making test flows easily available for sharing with colleagues and using them in different…

---

## [Inject after Restart?](https://discourse.nodered.org/t/inject-after-restart/95348)

<div class="topic-metadata">

**Author:** [@lorccan](https://discourse.nodered.org/u/lorccan)\
**Replies:** 4\
**Last updated:** [12 February 2025 16:36 UTC](https://discourse.nodered.org/t/inject-after-restart/95348 "2025-02-12T16:36:30Z")

</div>

I use file based context storage. I log msg.delay and timestamp in flow vars just before calling the delay \[node\] . When Node-RED restarts, if the time now is greater than the sum of the stored timestamp and the stored…

---

## [I cant start node-red, i followed the steps but keep getting the same error](https://discourse.nodered.org/t/i-cant-start-node-red-i-followed-the-steps-but-keep-getting-the-same-error/95330)

<div class="topic-metadata">

**Author:** [@Aguirato](https://discourse.nodered.org/u/Aguirato)\
**Replies:** 12\
**Last updated:** [12 February 2025 15:10 UTC](https://discourse.nodered.org/t/i-cant-start-node-red-i-followed-the-steps-but-keep-getting-the-same-error/95330 "2025-02-12T15:10:16Z")

</div>

Microsoft Windows \[versão 10.0.19045.5247\] (c) Microsoft Corporation. Todos os direitos reservados. C:\\Users\\lusuq\>npm install -g --unsafe-perm node-red added 54 packages, removed 50 packages, and changed 257 packages…

---

## [Best way to add a timestamp to the "msg" object?](https://discourse.nodered.org/t/best-way-to-add-a-timestamp-to-the-msg-object/95342)

<div class="topic-metadata">

**Author:** [@geoff](https://discourse.nodered.org/u/geoff)\
**Replies:** 12\
**Last updated:** [12 February 2025 13:03 UTC](https://discourse.nodered.org/t/best-way-to-add-a-timestamp-to-the-msg-object/95342 "2025-02-12T13:03:13Z")

</div>

What is the best (simplest) way a timestamp to the "msg" object? I have data in "msg.payload" and I wish to add a timestamp. The goal is to add the data and the timestamp to an sqlite database. Would you please say if …

---

## [How to trigger button entity?](https://discourse.nodered.org/t/how-to-trigger-button-entity/95312)

<div class="topic-metadata">

**Author:** [@HexaKosi](https://discourse.nodered.org/u/HexaKosi)\
**Replies:** 2\
**Last updated:** [12 February 2025 07:20 UTC](https://discourse.nodered.org/t/how-to-trigger-button-entity/95312 "2025-02-12T07:20:27Z")

</div>

i use nodered (v19.0.0) with homeassistant (v25.2.1). I have entities of the button type. how can i press these in a flow? unfortunately i can't figure it out by googling. Maybe I am using the wrong search terms!

---

## [Node Red with SMA Modbus, trying to write register 40016 for dynamic power feed-in configuration](https://discourse.nodered.org/t/node-red-with-sma-modbus-trying-to-write-register-40016-for-dynamic-power-feed-in-configuration/95210)

<div class="topic-metadata">

**Author:** [@BH-HomeAssistant](https://discourse.nodered.org/u/BH-HomeAssistant)\
**Replies:** 4\
**Last updated:** [12 February 2025 06:49 UTC](https://discourse.nodered.org/t/node-red-with-sma-modbus-trying-to-write-register-40016-for-dynamic-power-feed-in-configuration/95210 "2025-02-12T06:49:19Z")

</div>

Hi folks, Setup: DataManagerMLite (FW: 1.13.22.R) SMA Energy Meter 3019451079 Sunny Tripower 15000TL-30 (FW: 02.83.03.R) Goal is, to set the active power feed-in with node red dynamically. I've already configured my…

---

## [Help with Modbus write](https://discourse.nodered.org/t/help-with-modbus-write/95331)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 2\
**Last updated:** [12 February 2025 01:25 UTC](https://discourse.nodered.org/t/help-with-modbus-write/95331 "2025-02-12T01:25:16Z")

</div>

Greetings. I can retrieve via FC 4: Read Input Registers the Actual and Setpoint values from my Modbus RTU enabled temperature controller. Now I want to try to write the setpoint using FC 6. Both flows are attached. …

---

## [Node-red with security padlock](https://discourse.nodered.org/t/node-red-with-security-padlock/95326)

<div class="topic-metadata">

**Author:** [@Erissin\_Industria4.0](https://discourse.nodered.org/u/Erissin_Industria4.0)\
**Replies:** 14\
**Last updated:** [11 February 2025 20:10 UTC](https://discourse.nodered.org/t/node-red-with-security-padlock/95326 "2025-02-11T20:10:43Z")

</div>

Hello gentlemen, I generated a certificate signed by myself to use node-red with https, but the site keeps showing the warning as not secure, do you know any way to remove this warning, and leave the site with a secure p…

---

## [Escribir en un archivo xlsx](https://discourse.nodered.org/t/escribir-en-un-archivo-xlsx/95316)

<div class="topic-metadata">

**Author:** [@JoseGC1812](https://discourse.nodered.org/u/JoseGC1812)\
**Replies:** 1\
**Last updated:** [11 February 2025 17:57 UTC](https://discourse.nodered.org/t/escribir-en-un-archivo-xlsx/95316 "2025-02-11T17:57:02Z")

</div>

Buenas tardes. Soy nuevo en esto y estoy intentando escribir las variables que estoy leyendo desde un PLC a un archivo xlsx, pero no se como hacerlo ya que solo me escribe la ultima variable leida y siempre me sobreescri…

---

## [How to create a switch (on/off) on my flow](https://discourse.nodered.org/t/how-to-create-a-switch-on-off-on-my-flow/95323)

<div class="topic-metadata">

**Author:** [@schnre](https://discourse.nodered.org/u/schnre)\
**Replies:** 11\
**Last updated:** [11 February 2025 16:09 UTC](https://discourse.nodered.org/t/how-to-create-a-switch-on-off-on-my-flow/95323 "2025-02-11T16:09:06Z")

</div>

Hi, i've created a flow that send a msg evry 5 seconds and it's infinite now i have to create a switch that make me able to turn on and off the system without "cutting" the flow. Thx in advance :slight\_smile:

---

## [Problems deleting items in global context](https://discourse.nodered.org/t/problems-deleting-items-in-global-context/95310)

<div class="topic-metadata">

**Author:** [@wwyyrrmm](https://discourse.nodered.org/u/wwyyrrmm)\
**Replies:** 6\
**Last updated:** [11 February 2025 13:24 UTC](https://discourse.nodered.org/t/problems-deleting-items-in-global-context/95310 "2025-02-11T13:24:20Z")

</div>

I have too much entries in the global context ("file") stored. I want to delete them by hand in the .node-red/context/global/global.json with node-red-stop the memory shoud be flushed to file with sudo nala I have d…

---

## [Help needed for create a delay in a node](https://discourse.nodered.org/t/help-needed-for-create-a-delay-in-a-node/95319)

<div class="topic-metadata">

**Author:** [@schnre](https://discourse.nodered.org/u/schnre)\
**Replies:** 6\
**Last updated:** [11 February 2025 12:17 UTC](https://discourse.nodered.org/t/help-needed-for-create-a-delay-in-a-node/95319 "2025-02-11T12:17:13Z")

</div>

I'm new and i need to create a node that send some msg and create a delay of 5 second so when i start the node it need to wait 5 seconds and then send a msg and so on

---

## [Problem with simultan serial communication](https://discourse.nodered.org/t/problem-with-simultan-serial-communication/95313)

<div class="topic-metadata">

**Author:** [@Bobbybau91](https://discourse.nodered.org/u/Bobbybau91)\
**Replies:** 0\
**Last updated:** [11 February 2025 10:36 UTC](https://discourse.nodered.org/t/problem-with-simultan-serial-communication/95313 "2025-02-11T10:36:03Z")

</div>

Hello everyone, I have a Revolution Pi 4 with: RS232 interface via USB RS485 interface integrated I am using Node-Red. If I now access the individual interfaces via serial node, this works without any problems. If I …

---

## [Node-red :opc-ua-server msg error Error: The connection may have been rejected by server](https://discourse.nodered.org/t/node-red-opc-ua-server-msg-error-error-the-connection-may-have-been-rejected-by-server/95172)

<div class="topic-metadata">

**Author:** [@gautamt572](https://discourse.nodered.org/u/gautamt572)\
**Replies:** 2\
**Last updated:** [11 February 2025 10:24 UTC](https://discourse.nodered.org/t/node-red-opc-ua-server-msg-error-error-the-connection-may-have-been-rejected-by-server/95172 "2025-02-11T10:24:26Z")

</div>

In Node-red flow while configuring the opcua server getting below error ,we have added certificate and credential as well still getting same error. Note:The flow was working before. After the Restart of OPCUA server ,we…

---

## [Sorting ASC array values](https://discourse.nodered.org/t/sorting-asc-array-values/95308)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 4\
**Last updated:** [11 February 2025 09:45 UTC](https://discourse.nodered.org/t/sorting-asc-array-values/95308 "2025-02-11T09:45:24Z")

</div>

Hi everyone, it's been all morning I try to order my array by col1 asc, without success obviously ... This is my array, can you help me?

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

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