# Latest

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

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

**Page:** 209

---

## [Error: spawn EINVAL](https://discourse.nodered.org/t/error-spawn-einval/87181)

<div class="topic-metadata">

**Author:** [@AS\_Unilu](https://discourse.nodered.org/u/AS_Unilu)\
**Replies:** 2\
**Last updated:** [12 April 2024 08:22 UTC](https://discourse.nodered.org/t/error-spawn-einval/87181 "2024-04-12T08:22:11Z")

</div>

Dear all, I tried to install Node-RED on a Windows 10 machine. However, when trying to start node-red, I receive the following error and node-red does not start: I followed the instructions on the node-red webpage. A…

---

## [How to add 2 inputs every second](https://discourse.nodered.org/t/how-to-add-2-inputs-every-second/87175)

<div class="topic-metadata">

**Author:** [@rmystique](https://discourse.nodered.org/u/rmystique)\
**Replies:** 3\
**Last updated:** [12 April 2024 08:08 UTC](https://discourse.nodered.org/t/how-to-add-2-inputs-every-second/87175 "2024-04-12T08:08:27Z")

</div>

I have 2 variables that are constantly incoming from a ADC and I rate limited them to 1/sec each, I want to combine them (one is positive, one negative) and have the output be the difference between them. I think this ca…

---

## [I can't open the node-red](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135)

<div class="topic-metadata">

**Author:** [@Ravi-F](https://discourse.nodered.org/u/Ravi-F)\
**Replies:** 36\
**Last updated:** [11 April 2024 21:40 UTC](https://discourse.nodered.org/t/i-cant-open-the-node-red/87135 "2024-04-11T21:40:08Z")

</div>

When I start node-red the following message appears: ''' Welcome to Node-RED 10 Apr 15:42:59 - \[info\] Node-RED version: v3.1.8 10 Apr 15:42:59 - \[info\] Node.js version: v20.12.2 10 Apr 15:42:59 - \[info\] Windows\_NT 1…

---

## [Nodered container crash everyday](https://discourse.nodered.org/t/nodered-container-crash-everyday/86933)

<div class="topic-metadata">

**Author:** [@Barbudor](https://discourse.nodered.org/u/Barbudor)\
**Replies:** 13\
**Last updated:** [11 April 2024 19:49 UTC](https://discourse.nodered.org/t/nodered-container-crash-everyday/86933 "2024-04-11T19:49:22Z")

</div>

Hello Since a week I facing a strange crash on one of my nodered container (running in AWS ECS on a FARGATE instance) There is no memory or CPU overload but something seems to happen that I have not been able to identi…

---

## [🎉 Node-RED 3.1.9 released](https://discourse.nodered.org/t/node-red-3-1-9-released/87170)

<div class="topic-metadata">

**Author:** [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Replies:** 0\
**Last updated:** [11 April 2024 18:44 UTC](https://discourse.nodered.org/t/node-red-3-1-9-released/87170 "2024-04-11T18:44:12Z")

</div>

We've just published Node-RED 3.1.9. This fixes the issues reported today where Node-RED would not start on Windows using the very latest Node 18 and Node 20 releases. These releases of Node.js included a security fix …

---

## [Switch Node: Preventing Repeated Execution in Battery Monitoring](https://discourse.nodered.org/t/switch-node-preventing-repeated-execution-in-battery-monitoring/87169)

<div class="topic-metadata">

**Author:** [@Deunan](https://discourse.nodered.org/u/Deunan)\
**Replies:** 3\
**Last updated:** [11 April 2024 18:49 UTC](https://discourse.nodered.org/t/switch-node-preventing-repeated-execution-in-battery-monitoring/87169 "2024-04-11T18:49:00Z")

</div>

I'm extremely new to Node-RED. I'm monitoring the state of charge for a battery via MQTT. I created a switch node with three conditions: \<10, between 10 and 15, and over 15. It works well except for one issue: it keeps e…

---

## [I just want it to return a string with the current Timezone offsett](https://discourse.nodered.org/t/i-just-want-it-to-return-a-string-with-the-current-timezone-offsett/87123)

<div class="topic-metadata">

**Author:** [@IanH](https://discourse.nodered.org/u/IanH)\
**Replies:** 17\
**Last updated:** [11 April 2024 15:50 UTC](https://discourse.nodered.org/t/i-just-want-it-to-return-a-string-with-the-current-timezone-offsett/87123 "2024-04-11T15:50:50Z")

</div>

I am just trying to get a string that reports the current Time zone offset aka "+1000" or "+1100" I have already resorted to a function and this is not making sense, I suddenly have offsett of -600, yet a time stamp …

---

## [First-Time Startup Error](https://discourse.nodered.org/t/first-time-startup-error/87167)

<div class="topic-metadata">

**Author:** [@Abaos](https://discourse.nodered.org/u/Abaos)\
**Replies:** 2\
**Last updated:** [11 April 2024 15:41 UTC](https://discourse.nodered.org/t/first-time-startup-error/87167 "2024-04-11T15:41:34Z")

</div>

Hey, completely new to both NodeRed and this forum. I tried running it for the first time and was met with the following errors: 11 Apr 11:23:42 - \[info\] Node-RED version: v3.1.8 11 Apr 11:23:42 - \[info\] Node.js versio…

---

## [Configuration node, how to add default configuration nodes automatically at startup?](https://discourse.nodered.org/t/configuration-node-how-to-add-default-configuration-nodes-automatically-at-startup/87162)

<div class="topic-metadata">

**Author:** [@etienneh](https://discourse.nodered.org/u/etienneh)\
**Replies:** 1\
**Last updated:** [11 April 2024 15:20 UTC](https://discourse.nodered.org/t/configuration-node-how-to-add-default-configuration-nodes-automatically-at-startup/87162 "2024-04-11T15:20:04Z")

</div>

Hello, I developed a configuration node similar to the one in the documentation ( Configuration nodes : Node-RED ) how can i add one or multiple default configuration nodes automatically at the flow startup, so that th…

---

## [Function api call](https://discourse.nodered.org/t/function-api-call/87138)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 7\
**Last updated:** [11 April 2024 12:38 UTC](https://discourse.nodered.org/t/function-api-call/87138 "2024-04-11T12:38:10Z")

</div>

Hi! I want to use function node to make an API call instead of use the HTTP Request node. Is it possible?. Regards!

---

## [Enotfound error when performing http request to a hostname](https://discourse.nodered.org/t/enotfound-error-when-performing-http-request-to-a-hostname/87136)

<div class="topic-metadata">

**Author:** [@steven\_191](https://discourse.nodered.org/u/steven_191)\
**Replies:** 7\
**Last updated:** [11 April 2024 11:30 UTC](https://discourse.nodered.org/t/enotfound-error-when-performing-http-request-to-a-hostname/87136 "2024-04-11T11:30:27Z")

</div>

I have node red running inside a docker container. I want to perform a http request but get ENOTFOUND error. If I do the same request to the IP it works fine. Ive spoken to the manufacturer and they have said to use mDN…

---

## [Modbus choosing server by msg.payload](https://discourse.nodered.org/t/modbus-choosing-server-by-msg-payload/87154)

<div class="topic-metadata">

**Author:** [@Kreeker](https://discourse.nodered.org/u/Kreeker)\
**Replies:** 2\
**Last updated:** [11 April 2024 11:08 UTC](https://discourse.nodered.org/t/modbus-choosing-server-by-msg-payload/87154 "2024-04-11T11:08:40Z")

</div>

Hello, I'm using node-red-contrib-modbus and i have over 60 ModBus TCP servers which I'm trying to connect to on demand selectively (i have no need to connect to them all at the same time). I get the server IP's from ex…

---

## [Not starting on window 11 "Error: spawn EINVAL"](https://discourse.nodered.org/t/not-starting-on-window-11-error-spawn-einval/87153)

<div class="topic-metadata">

**Author:** [@biohazardxxx](https://discourse.nodered.org/u/biohazardxxx)\
**Replies:** 1\
**Last updated:** [11 April 2024 09:34 UTC](https://discourse.nodered.org/t/not-starting-on-window-11-error-spawn-einval/87153 "2024-04-11T09:34:22Z")

</div>

Fresh Node and node-red installation on win 11 gives this error: Node.js v20.12.2 C:\\Users\\abc\>node-red 11 Apr 11:27:42 - \[info\] Welcome to Node-RED =================== 11 Apr 11:27:42 - \[info\] Node-RED version: v3.1…

---

## [How to solve this issue when im trying to install node red for the first time?](https://discourse.nodered.org/t/how-to-solve-this-issue-when-im-trying-to-install-node-red-for-the-first-time/87147)

<div class="topic-metadata">

**Author:** [@nexto12](https://discourse.nodered.org/u/nexto12)\
**Replies:** 4\
**Last updated:** [11 April 2024 09:13 UTC](https://discourse.nodered.org/t/how-to-solve-this-issue-when-im-trying-to-install-node-red-for-the-first-time/87147 "2024-04-11T09:13:47Z")

</div>

11 Apr 14:34:15 - \[info\] Node-RED version: v3.1.8 11 Apr 14:34:15 - \[info\] Node.js version: v20.12.2 11 Apr 14:34:15 - \[info\] Windows\_NT 10.0.22631 x64 LE 11 Apr 14:34:15 - \[error\] Failed to start server: 11 Apr 14:…

---

## [Incrementing a payload msg and formatting a string](https://discourse.nodered.org/t/incrementing-a-payload-msg-and-formatting-a-string/87142)

<div class="topic-metadata">

**Author:** [@jaredlgeorge](https://discourse.nodered.org/u/jaredlgeorge)\
**Replies:** 1\
**Last updated:** [11 April 2024 04:57 UTC](https://discourse.nodered.org/t/incrementing-a-payload-msg-and-formatting-a-string/87142 "2024-04-11T04:57:55Z")

</div>

I need to send 1rt 1-1 to a udp node. When I send the msg.payload I need to start the output with 1rt 1-1 and increment the last number by 1 until it gets to 17. Example 1rt 1-1, 1rt 1-2, 1rt 1-3 ..... 1rt 1-17. Once …

---

## [Pi Pico W won't auto run main.py or boot.py](https://discourse.nodered.org/t/pi-pico-w-wont-auto-run-main-py-or-boot-py/86952)

<div class="topic-metadata">

**Author:** [@badflash](https://discourse.nodered.org/u/badflash)\
**Replies:** 30\
**Last updated:** [11 April 2024 00:11 UTC](https://discourse.nodered.org/t/pi-pico-w-wont-auto-run-main-py-or-boot-py/86952 "2024-04-11T00:11:12Z")

</div>

There seems to be a weird interaction between using the network library and the I2C on my Pico W's. I am trying to set up any sort of display using I2C and connecting to the internet. The program runs fine when run via T…

---

## [Openweather problem - sorry folks. I goofed](https://discourse.nodered.org/t/openweather-problem-sorry-folks-i-goofed/87137)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 9\
**Last updated:** [10 April 2024 21:22 UTC](https://discourse.nodered.org/t/openweather-problem-sorry-folks-i-goofed/87137 "2024-04-10T21:22:17Z")

</div>

See my other thread: Alas I (we) got distracted from the real problem. At the start I was getting messages saying the node was giving non-valid JSON messages. That digressed into the link-call not returning and I acc…

---

## [Store payload value and match previous values](https://discourse.nodered.org/t/store-payload-value-and-match-previous-values/86166)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 6\
**Last updated:** [10 April 2024 20:44 UTC](https://discourse.nodered.org/t/store-payload-value-and-match-previous-values/86166 "2024-04-10T20:44:00Z")

</div>

Hi all! I need to store two values from two differents payloads let's say: Value 1 payload: object event\_name: "defect.created" payload: object id: 99 Value 2 payload: object case\_number: 53234 Ok, i ca…

---

## [Gauge Datas reset if old datas](https://discourse.nodered.org/t/gauge-datas-reset-if-old-datas/87126)

<div class="topic-metadata">

**Author:** [@schnuller](https://discourse.nodered.org/u/schnuller)\
**Replies:** 4\
**Last updated:** [10 April 2024 19:39 UTC](https://discourse.nodered.org/t/gauge-datas-reset-if-old-datas/87126 "2024-04-10T19:39:24Z")

</div>

Hello is there a way to reset the displayed Data of a gauge, when the data is old ( more as a 10minutes ) the gauge should show ZERO or nothing if no new datas are received.

---

## [Dashboard 2 ui-template in a subflow](https://discourse.nodered.org/t/dashboard-2-ui-template-in-a-subflow/87129)

<div class="topic-metadata">

**Author:** [@stgj](https://discourse.nodered.org/u/stgj)\
**Replies:** 1\
**Last updated:** [10 April 2024 18:30 UTC](https://discourse.nodered.org/t/dashboard-2-ui-template-in-a-subflow/87129 "2024-04-10T18:30:18Z")

</div>

Hi. I would like to use a ui-template in a subflow with group-scope. (Dashboard 2.0) Is it a way for the ui-template to show up in /dashboard as separate group for every subflow I use? If not, is there another way to …

---

## [Shape Shifting USB Device : IODD-ST400-USB-3.0](https://discourse.nodered.org/t/shape-shifting-usb-device-iodd-st400-usb-3-0/87130)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 0\
**Last updated:** [10 April 2024 17:57 UTC](https://discourse.nodered.org/t/shape-shifting-usb-device-iodd-st400-usb-3-0/87130 "2024-04-10T17:57:19Z")

</div>

Not really a smart home thing, but I find this gadget amazing, and is like a Swiss army knife for those that need to always flash USB sticks, or convert ISO files to bootable USB Media I spotted it on a YouTube Video (t…

---

## [Anlagenschema im NodeRed Dashboard erstellen](https://discourse.nodered.org/t/anlagenschema-im-nodered-dashboard-erstellen/86948)

<div class="topic-metadata">

**Author:** [@fpfeifer](https://discourse.nodered.org/u/fpfeifer)\
**Replies:** 2\
**Last updated:** [10 April 2024 17:36 UTC](https://discourse.nodered.org/t/anlagenschema-im-nodered-dashboard-erstellen/86948 "2024-04-10T17:36:32Z")

</div>

Moin zusammen, ist es möglich mithilfe des NodeRed Dashboards Anlagenschemen von z.B. Heizungsanlagen zu erstellen, wo im Hintergrund ein Bild von Schema ist und im Vordergrund Texte und Schalter zum Interagieren. So w…

---

## [How to preserve state of the edit dialog?](https://discourse.nodered.org/t/how-to-preserve-state-of-the-edit-dialog/87029)

<div class="topic-metadata">

**Author:** [@hansimeister](https://discourse.nodered.org/u/hansimeister)\
**Replies:** 9\
**Last updated:** [10 April 2024 15:33 UTC](https://discourse.nodered.org/t/how-to-preserve-state-of-the-edit-dialog/87029 "2024-04-10T15:33:51Z")

</div>

Hey there I want to preserve the selected values and therefore whole state of the custom node code below. What is the best way to do that, that e.g. after browser refresh or restart of node-red the selected values are s…

---

## [Raspberry pi4 rpi-gpio.status.not-available using HC-SR04 pisrf library](https://discourse.nodered.org/t/raspberry-pi4-rpi-gpio-status-not-available-using-hc-sr04-pisrf-library/87100)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 11\
**Last updated:** [10 April 2024 14:41 UTC](https://discourse.nodered.org/t/raspberry-pi4-rpi-gpio-status-not-available-using-hc-sr04-pisrf-library/87100 "2024-04-10T14:41:25Z")

</div>

hi all, i'm trying using pisrf library in nodered to read the signal of ultrasonic sensor HC-SR04. I set the pin input but following error appears: rpi-gpio.status.not-available can someone help me? many thanks in ad…

---

## [(Off topic) The editor on this webpage](https://discourse.nodered.org/t/off-topic-the-editor-on-this-webpage/87087)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 11\
**Last updated:** [10 April 2024 11:46 UTC](https://discourse.nodered.org/t/off-topic-the-editor-on-this-webpage/87087 "2024-04-10T11:46:28Z")

</div>

When I am typing a question - or reply - and press an arrow key: Is it supposed to repeat? So if I am at the end of the line and want to go back a few characters to fix a spelling mistake and press (and hold) the left …

---

## [Open-weather errors. What is happening?](https://discourse.nodered.org/t/open-weather-errors-what-is-happening/87112)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 6\
**Last updated:** [10 April 2024 11:33 UTC](https://discourse.nodered.org/t/open-weather-errors-what-is-happening/87112 "2024-04-10T11:33:43Z")

</div>

I use open-weather a lot and just recently it is throwing weird errors at me. As we are going into winter, (ok, Autumn) it is raining more and more. For now I am doing a series of weather gets from midnight to mid day …

---

## [Debug status not working - I think](https://discourse.nodered.org/t/debug-status-not-working-i-think/87124)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 5\
**Last updated:** [10 April 2024 11:16 UTC](https://discourse.nodered.org/t/debug-status-not-working-i-think/87124 "2024-04-10T11:16:12Z")

</div>

I am not understanding why this isn't working. Ok, originally the message was in msg.time - and I realised it has to be msg.payload. So with that, the status still isn't working.

---

## [Subflow 2 Module helper flow](https://discourse.nodered.org/t/subflow-2-module-helper-flow/82763)

<div class="topic-metadata">

**Author:** [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Replies:** 8\
**Last updated:** [10 April 2024 11:14 UTC](https://discourse.nodered.org/t/subflow-2-module-helper-flow/82763 "2024-04-10T11:14:11Z")

</div>

Hey y'all In the last month, I have seen a slight increase in the need to package subflows as modules, and the guide to do that is here : Packaging a Subflow as a module : Node-RED. This is currently a manual affair. …

---

## [Running Node-Red on an Android Phone](https://discourse.nodered.org/t/running-node-red-on-an-android-phone/87115)

<div class="topic-metadata">

**Author:** [@badflash](https://discourse.nodered.org/u/badflash)\
**Replies:** 1\
**Last updated:** [10 April 2024 10:42 UTC](https://discourse.nodered.org/t/running-node-red-on-an-android-phone/87115 "2024-04-10T10:42:36Z")

</div>

I see the installation instruction for installing on Android, but I can't seem to find out how much memory the phone needs to run it. Can anyone point me in the right direction?

---

## [Not able to connect to Iot Hub](https://discourse.nodered.org/t/not-able-to-connect-to-iot-hub/87120)

<div class="topic-metadata">

**Author:** [@nivi](https://discourse.nodered.org/u/nivi)\
**Replies:** 1\
**Last updated:** [10 April 2024 09:06 UTC](https://discourse.nodered.org/t/not-able-to-connect-to-iot-hub/87120 "2024-04-10T09:06:44Z")

</div>

I am trying to connect to Azure Iot hub using the Azure Iot Hub Receiver node, but connection is not getting established even after giving the correct conection string. I keep getting this error : received Attach for un…

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

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