# General

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

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

**Page:** 164

---

## [Delay node - Error](https://discourse.nodered.org/t/delay-node-error/82553)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 1\
**Last updated:** [2 November 2023 23:49 UTC](https://discourse.nodered.org/t/delay-node-error/82553 "2023-11-02T23:49:16Z")

</div>

I have set a delay node to 100 days. I noted the following error in the logs: Nov 02 16:43:02 remoteir Node-RED\[593\]: (node:593) TimeoutOverflowWarning: 8640000000 does not fit into a 32-bit signed integer. Nov 02 16…

---

## [Memory leak (context.set / flex.set / global.set)](https://discourse.nodered.org/t/memory-leak-context-set-flex-set-global-set/82465)

<div class="topic-metadata">

**Author:** [@Trubochkin](https://discourse.nodered.org/u/Trubochkin)\
**Replies:** 10\
**Last updated:** [2 November 2023 21:12 UTC](https://discourse.nodered.org/t/memory-leak-context-set-flex-set-global-set/82465 "2023-11-02T21:12:27Z")

</div>

Hello Everyone! Not long ago I started using the latest version (3.1.0) of Node-Red with Node v18.18.2, and I noticed that a memory leak appeared on my devices (Raspberry Pi 3+, Orange Pi PC+). After about a week of use…

---

## [Global variables, wich problems?](https://discourse.nodered.org/t/global-variables-wich-problems/82544)

<div class="topic-metadata">

**Author:** [@Giamma](https://discourse.nodered.org/u/Giamma)\
**Replies:** 12\
**Last updated:** [2 November 2023 20:44 UTC](https://discourse.nodered.org/t/global-variables-wich-problems/82544 "2023-11-02T20:44:15Z")

</div>

I know the difference between global, flow and context variable and I don't use the global variable because some time ago I had read that to reduce memory usage (Pi4), among other things, it was advisable not use global…

---

## [Send Msg From Second Input If First Input Is True](https://discourse.nodered.org/t/send-msg-from-second-input-if-first-input-is-true/82535)

<div class="topic-metadata">

**Author:** [@Sonsofhigsolar](https://discourse.nodered.org/u/Sonsofhigsolar)\
**Replies:** 8\
**Last updated:** [2 November 2023 20:19 UTC](https://discourse.nodered.org/t/send-msg-from-second-input-if-first-input-is-true/82535 "2023-11-02T20:19:40Z")

</div>

Dear All, I'm trying to send a msg which comes from the second input to a function node if the first input to the node is "true" from a Boolean gate ultimate node. I also need to make the function node not send a messa…

---

## [Typescript support](https://discourse.nodered.org/t/typescript-support/82483)

<div class="topic-metadata">

**Author:** [@therustyalex](https://discourse.nodered.org/u/therustyalex)\
**Replies:** 3\
**Last updated:** [2 November 2023 17:10 UTC](https://discourse.nodered.org/t/typescript-support/82483 "2023-11-02T17:10:35Z")

</div>

Are there any plans to support Typescript in node-red in the future?

---

## [Values in context not showing up](https://discourse.nodered.org/t/values-in-context-not-showing-up/82552)

<div class="topic-metadata">

**Author:** [@FeliceM](https://discourse.nodered.org/u/FeliceM)\
**Replies:** 2\
**Last updated:** [2 November 2023 15:15 UTC](https://discourse.nodered.org/t/values-in-context-not-showing-up/82552 "2023-11-02T15:15:14Z")

</div>

I have this simple function which I use to initialise two variables in context: // Manually set context variables context.set("lastTemp", 22); context.set("status", 0); msg.payload = "Context variables initialized: las…

---

## [Hey. need help in function node to control allow msgs to pass via time](https://discourse.nodered.org/t/hey-need-help-in-function-node-to-control-allow-msgs-to-pass-via-time/82539)

<div class="topic-metadata">

**Author:** [@issambfs1](https://discourse.nodered.org/u/issambfs1)\
**Replies:** 3\
**Last updated:** [2 November 2023 13:52 UTC](https://discourse.nodered.org/t/hey-need-help-in-function-node-to-control-allow-msgs-to-pass-via-time/82539 "2023-11-02T13:52:30Z")

</div>

i have being trying many time to set this but get Nothing . i wanna make file csv rule has time in hour and min and code . if the code are correct well go to check the time in file is it in range of current time or +15…

---

## [Scratch MQTT (Kittenblock)](https://discourse.nodered.org/t/scratch-mqtt-kittenblock/82549)

<div class="topic-metadata">

**Author:** [@genli](https://discourse.nodered.org/u/genli)\
**Replies:** 3\
**Last updated:** [2 November 2023 12:36 UTC](https://discourse.nodered.org/t/scratch-mqtt-kittenblock/82549 "2023-11-02T12:36:03Z")

</div>

https://cdn.kittenbot.cn/kittenblock\_189/win/Kittenblock\_1.89.18\_x64\_Setup.exe

---

## [Module ignored due to local copy](https://discourse.nodered.org/t/module-ignored-due-to-local-copy/82530)

<div class="topic-metadata">

**Author:** [@877](https://discourse.nodered.org/u/877)\
**Replies:** 4\
**Last updated:** [2 November 2023 11:51 UTC](https://discourse.nodered.org/t/module-ignored-due-to-local-copy/82530 "2023-11-02T11:51:19Z")

</div>

Updated Node Red to v3.1.0 and found a problem with the dark mode theme I have used forever looking wrong. Example below, the background is now white instead of dark same as the palette: I'm using Node Red in a Docker…

---

## [Offtopic- Your smart home recommendations](https://discourse.nodered.org/t/offtopic-your-smart-home-recommendations/82354)

<div class="topic-metadata">

**Author:** [@nico25](https://discourse.nodered.org/u/nico25)\
**Replies:** 50\
**Last updated:** [2 November 2023 07:34 UTC](https://discourse.nodered.org/t/offtopic-your-smart-home-recommendations/82354 "2023-11-02T07:34:21Z")

</div>

Winter is coming and I am looking for a little project for the next weeks, so I was thinking about getting into home automation.Since my knowledge on this topic is very limited and I know there are surely some smart home…

---

## [Can I use a function to make the alarm sound every minute?](https://discourse.nodered.org/t/can-i-use-a-function-to-make-the-alarm-sound-every-minute/82540)

<div class="topic-metadata">

**Author:** [@Tomi](https://discourse.nodered.org/u/Tomi)\
**Replies:** 7\
**Last updated:** [2 November 2023 07:27 UTC](https://discourse.nodered.org/t/can-i-use-a-function-to-make-the-alarm-sound-every-minute/82540 "2023-11-02T07:27:10Z")

</div>

Hello I set an alarm on my wireless device to go off every five minutes. function using Can I set an alarm to sound every minute?

---

## [Configuring node-red-contrib-i2c - i2cOut settings](https://discourse.nodered.org/t/configuring-node-red-contrib-i2c-i2cout-settings/82018)

<div class="topic-metadata">

**Author:** [@readw](https://discourse.nodered.org/u/readw)\
**Replies:** 4\
**Last updated:** [2 November 2023 00:18 UTC](https://discourse.nodered.org/t/configuring-node-red-contrib-i2c-i2cout-settings/82018 "2023-11-02T00:18:49Z")

</div>

Hi there, I am trying to configure the i2cOut setting in node-red-contrib-i2c. The node is correctly installed and communicating with node red but I am unable to find any information on what the correct parameters sho…

---

## ["unhealthy" docker-state because of ENOTFOUND](https://discourse.nodered.org/t/unhealthy-docker-state-because-of-enotfound/82538)

<div class="topic-metadata">

**Author:** [@Bond246](https://discourse.nodered.org/u/Bond246)\
**Replies:** 0\
**Last updated:** [1 November 2023 22:09 UTC](https://discourse.nodered.org/t/unhealthy-docker-state-because-of-enotfound/82538 "2023-11-01T22:09:50Z")

</div>

Hello, i'm using Node-RED for my home automation and there are different outgoing connections. Some of them are wifi, and also some of them in some cases are not connected all day long or have a weak wifi connection so …

---

## [Problem with Flow with OPCUA Server](https://discourse.nodered.org/t/problem-with-flow-with-opcua-server/82533)

<div class="topic-metadata">

**Author:** [@Ahmaad](https://discourse.nodered.org/u/Ahmaad)\
**Replies:** 0\
**Last updated:** [1 November 2023 20:54 UTC](https://discourse.nodered.org/t/problem-with-flow-with-opcua-server/82533 "2023-11-01T20:54:39Z")

</div>

Hello everyone, I have a problem with building an OPC UA server. I have built a flow where I use an OPC UA server. Everything worked great. I recently checked again and then I see that nothing works anymore. Node-Red …

---

## [Spotify problems with id](https://discourse.nodered.org/t/spotify-problems-with-id/82532)

<div class="topic-metadata">

**Author:** [@Ino](https://discourse.nodered.org/u/Ino)\
**Replies:** 0\
**Last updated:** [1 November 2023 20:41 UTC](https://discourse.nodered.org/t/spotify-problems-with-id/82532 "2023-11-01T20:41:48Z")

</div>

I want import several data (album, playlist,...) of my spotify account in the node-red-contrib-spotify node. I have a paid membership of spotify and after creating the app I get a client id and a client secret. I am usin…

---

## [Yearly light schedule](https://discourse.nodered.org/t/yearly-light-schedule/82528)

<div class="topic-metadata">

**Author:** [@rmystique](https://discourse.nodered.org/u/rmystique)\
**Replies:** 0\
**Last updated:** [1 November 2023 18:33 UTC](https://discourse.nodered.org/t/yearly-light-schedule/82528 "2023-11-01T18:33:12Z")

</div>

Has anyone done or know how I can setup a dashboard that has a year calendar on it that I can set a lighting schedule for each day that I select?

---

## [Having problems iterating over array](https://discourse.nodered.org/t/having-problems-iterating-over-array/82513)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 21\
**Last updated:** [1 November 2023 15:46 UTC](https://discourse.nodered.org/t/having-problems-iterating-over-array/82513 "2023-11-01T15:46:00Z")

</div>

What am I doing wrong here that gives me this unexpected result \[{"id":"fef7fe8fd4d77d41","type":"inject","z":"b2bde7ab2cd3fea7","name":"","props":\[{"p":"payload"}\],"repeat":"","crontab":"","once":false,"onceDelay…

---

## [Udp out, eth0 interface](https://discourse.nodered.org/t/udp-out-eth0-interface/82504)

<div class="topic-metadata">

**Author:** [@kubasmyk](https://discourse.nodered.org/u/kubasmyk)\
**Replies:** 3\
**Last updated:** [1 November 2023 15:25 UTC](https://discourse.nodered.org/t/udp-out-eth0-interface/82504 "2023-11-01T15:25:22Z")

</div>

Hi there, I’m trying to send udp broadcast message to ip address 255.255.255.255 I can see the message successfully comes out on the eth1 as this is where my router with internet location is located. However I require…

---

## [Dynamic node instantiation](https://discourse.nodered.org/t/dynamic-node-instantiation/82517)

<div class="topic-metadata">

**Author:** [@avk999](https://discourse.nodered.org/u/avk999)\
**Replies:** 3\
**Last updated:** [1 November 2023 14:22 UTC](https://discourse.nodered.org/t/dynamic-node-instantiation/82517 "2023-11-01T14:22:03Z")

</div>

I run a relatively complex heating control flow which controls a boiler and a set of TRVs in each zone. I use a list of zones in flow.context and inject/split combo to generate messages for each zone, they trigger funct…

---

## [Node-red-contrib-bluetooth-serial-port installed failed](https://discourse.nodered.org/t/node-red-contrib-bluetooth-serial-port-installed-failed/82502)

<div class="topic-metadata">

**Author:** [@sevekeno](https://discourse.nodered.org/u/sevekeno)\
**Replies:** 3\
**Last updated:** [1 November 2023 13:49 UTC](https://discourse.nodered.org/t/node-red-contrib-bluetooth-serial-port-installed-failed/82502 "2023-11-01T13:49:30Z")

</div>

Hi everyone! I have a problems while installing the node node-red-contrib-bluetooth-serial-port. With node-red-contrib-bluetooth-serial-api (node) - Node-RED too but i resolved installing Visual Studio. Can anyone hel…

---

## [String Subtracion](https://discourse.nodered.org/t/string-subtracion/82514)

<div class="topic-metadata">

**Author:** [@Marv](https://discourse.nodered.org/u/Marv)\
**Replies:** 2\
**Last updated:** [1 November 2023 13:35 UTC](https://discourse.nodered.org/t/string-subtracion/82514 "2023-11-01T13:35:05Z")

</div>

I am getting 2 different string values- and i want to do subtraction with it. Has anyone a function for it?

---

## [Node, is If an input is give](https://discourse.nodered.org/t/node-is-if-an-input-is-give/82508)

<div class="topic-metadata">

**Author:** [@Tomi](https://discourse.nodered.org/u/Tomi)\
**Replies:** 2\
**Last updated:** [1 November 2023 08:28 UTC](https://discourse.nodered.org/t/node-is-if-an-input-is-give/82508 "2023-11-01T08:28:06Z")

</div>

If input is give from a node, is it possible to send data as 1 and receive it from the accordance flow node?

---

## [Ratio per second](https://discourse.nodered.org/t/ratio-per-second/82132)

<div class="topic-metadata">

**Author:** [@Pehuen](https://discourse.nodered.org/u/Pehuen)\
**Replies:** 3\
**Last updated:** [1 November 2023 06:59 UTC](https://discourse.nodered.org/t/ratio-per-second/82132 "2023-11-01T06:59:58Z")

</div>

Hello, is it possible to make a ramp that goes from 0 to a certain value automatically? By giving a pulse that increases in a ratio per second

---

## [RETURN a Payload and a Topic with Function like a injectnode](https://discourse.nodered.org/t/return-a-payload-and-a-topic-with-function-like-a-injectnode/82478)

<div class="topic-metadata">

**Author:** [@einfach112](https://discourse.nodered.org/u/einfach112)\
**Replies:** 3\
**Last updated:** [31 October 2023 23:38 UTC](https://discourse.nodered.org/t/return-a-payload-and-a-topic-with-function-like-a-injectnode/82478 "2023-10-31T23:38:27Z")

</div>

Hello everyone, With an inject node as shown in the photo I manage to send a payload with the content 139790555651 and at the same time a topic with the content 120 (the values don't matter) Here is a picture of the fun…

---

## [Node-Red Installation Issue](https://discourse.nodered.org/t/node-red-installation-issue/82442)

<div class="topic-metadata">

**Author:** [@xytsrm](https://discourse.nodered.org/u/xytsrm)\
**Replies:** 21\
**Last updated:** [29 October 2023 20:21 UTC](https://discourse.nodered.org/t/node-red-installation-issue/82442 "2023-10-29T20:21:57Z")

</div>

I currently have Node-Red running on 2 PC's one version I access via the localhost, the other I access over the local network. The localhost Dashboard version does not respond to Right-Mouse clicks (no popup window), th…

---

## [Array selection help - Selecting last item in array](https://discourse.nodered.org/t/array-selection-help-selecting-last-item-in-array/82496)

<div class="topic-metadata">

**Author:** [@XcOM987](https://discourse.nodered.org/u/XcOM987)\
**Replies:** 14\
**Last updated:** [31 October 2023 20:15 UTC](https://discourse.nodered.org/t/array-selection-help-selecting-last-item-in-array/82496 "2023-10-31T20:15:46Z")

</div>

Hi, I am trying to pull an array from a home assistant sensors attribute, what I want to do is just pass along the last array entry, the issue is the array naming structure is different every time: \[{"id":"861739536…

---

## [Load external modules in the function node](https://discourse.nodered.org/t/load-external-modules-in-the-function-node/82451)

<div class="topic-metadata">

**Author:** [@Henjoe](https://discourse.nodered.org/u/Henjoe)\
**Replies:** 12\
**Last updated:** [31 October 2023 16:57 UTC](https://discourse.nodered.org/t/load-external-modules-in-the-function-node/82451 "2023-10-31T16:57:40Z")

</div>

Hi, How can I load or use external libraries to a function node? I wanna use the "influx" node to my function. I read a lot of tutorials about it seems like it never worked to me. Hope you guys can help me. This is my …

---

## [The editor is not a dashboard (no synths)](https://discourse.nodered.org/t/the-editor-is-not-a-dashboard-no-synths/82480)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 7\
**Last updated:** [31 October 2023 16:48 UTC](https://discourse.nodered.org/t/the-editor-is-not-a-dashboard-no-synths/82480 "2023-10-31T16:48:19Z")

</div>

When I was young, a band called Queen came along. On there early albums, they proudly said "No synths used" This was later dropped (Also see Google and "Do No Evil" as well) :slight\_smile: Is it time to drop "The edit…

---

## [Simple step through outputs on trigger](https://discourse.nodered.org/t/simple-step-through-outputs-on-trigger/82490)

<div class="topic-metadata">

**Author:** [@pabutterworth](https://discourse.nodered.org/u/pabutterworth)\
**Replies:** 7\
**Last updated:** [31 October 2023 16:27 UTC](https://discourse.nodered.org/t/simple-step-through-outputs-on-trigger/82490 "2023-10-31T16:27:46Z")

</div>

Hi, I have what I think should be really simple challenge, but am struggling. I want to setup a flow where each time the flow is triggered it triggers the next output in a sequence I can do with a complex if then else…

---

## [Current best weather API (2023)?](https://discourse.nodered.org/t/current-best-weather-api-2023/82310)

<div class="topic-metadata">

**Author:** [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Replies:** 29\
**Last updated:** [31 October 2023 16:24 UTC](https://discourse.nodered.org/t/current-best-weather-api-2023/82310 "2023-10-31T16:24:10Z")

</div>

I know this subject comes up quite often, but it's a moving target :wink: I'm about to revamp my weather flows and thought I would see if there is any consensus around the best UK API to use. I have been using OWM but …

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

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