# General

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

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

**Page:** 309

---

## [Workings of the Smooth node](https://discourse.nodered.org/t/workings-of-the-smooth-node/69153)

<div class="topic-metadata">

**Author:** [@MikeyMan83](https://discourse.nodered.org/u/MikeyMan83)\
**Replies:** 2\
**Last updated:** [17 October 2022 16:51 UTC](https://discourse.nodered.org/t/workings-of-the-smooth-node/69153 "2022-10-17T16:51:53Z")

</div>

Hi all, I was looking for a rolling average over time, but it seems smoothing the values might do the trick. Now what i'm wondering is some of the working of the node. I already found out that it can only process numb…

---

## [Require libraries in a custom node](https://discourse.nodered.org/t/require-libraries-in-a-custom-node/14146)

<div class="topic-metadata">

**Author:** [@malfarasplux](https://discourse.nodered.org/u/malfarasplux)\
**Replies:** 12\
**Last updated:** [17 October 2022 15:02 UTC](https://discourse.nodered.org/t/require-libraries-in-a-custom-node/14146 "2022-10-17T15:02:54Z")

</div>

Hello there, I'm trying to set up a bunch of custom nodes that combine p5 library and Mathjs. Inspired by the nice contrib-example-lower-case https://nodered.org/docs/creating-nodes/first-node I create the building blo…

---

## [Node-Red Offline Installation Package for Debian](https://discourse.nodered.org/t/node-red-offline-installation-package-for-debian/69134)

<div class="topic-metadata">

**Author:** [@sri.003](https://discourse.nodered.org/u/sri.003)\
**Replies:** 1\
**Last updated:** [17 October 2022 14:23 UTC](https://discourse.nodered.org/t/node-red-offline-installation-package-for-debian/69134 "2022-10-17T14:23:48Z")

</div>

Dear All, We are in need to install node-red package in offline is there any useful links to suggest are welcome, and can i get the tech support email for contacting them regarding this

---

## [How to unsubscribe multiple OPC UA nodes?](https://discourse.nodered.org/t/how-to-unsubscribe-multiple-opc-ua-nodes/69129)

<div class="topic-metadata">

**Author:** [@yinjilong](https://discourse.nodered.org/u/yinjilong)\
**Replies:** 2\
**Last updated:** [17 October 2022 14:18 UTC](https://discourse.nodered.org/t/how-to-unsubscribe-multiple-opc-ua-nodes/69129 "2022-10-17T14:18:14Z")

</div>

Same questions with https://discourse.nodered.org/t/opc-ua-unsubscribe-not-working-properly-sometimes/60628?u=yinjilong by @dinesh I also meet this issue. @dinesh Sorry for disturbing you , could you tell me how to sol…

---

## [Writing global context by using the content of a variable instead of a property in quotation marks](https://discourse.nodered.org/t/writing-global-context-by-using-the-content-of-a-variable-instead-of-a-property-in-quotation-marks/69132)

<div class="topic-metadata">

**Author:** [@Gulpman](https://discourse.nodered.org/u/Gulpman)\
**Replies:** 4\
**Last updated:** [17 October 2022 13:43 UTC](https://discourse.nodered.org/t/writing-global-context-by-using-the-content-of-a-variable-instead-of-a-property-in-quotation-marks/69132 "2022-10-17T13:43:39Z")

</div>

Hi everybody, I am trying to write to a global context using a variable as first parameter instead of a hard-coded string but am strugling about what the syntax for that is. If I am running the following code within a …

---

## [Cannot POST /auth/strategy/callback](https://discourse.nodered.org/t/cannot-post-auth-strategy-callback/68886)

<div class="topic-metadata">

**Author:** [@sg26565](https://discourse.nodered.org/u/sg26565)\
**Replies:** 4\
**Last updated:** [17 October 2022 13:25 UTC](https://discourse.nodered.org/t/cannot-post-auth-strategy-callback/68886 "2022-10-17T13:25:56Z")

</div>

I'm trying to get OAuth/OpenID based authentication working for my Node-RED instance. I'm using Azure AD as identity provider and the passport-azure-ad module. My relevant sections of my settings.js look like this ad…

---

## [Download and rename file](https://discourse.nodered.org/t/download-and-rename-file/68724)

<div class="topic-metadata">

**Author:** [@boo](https://discourse.nodered.org/u/boo)\
**Replies:** 6\
**Last updated:** [17 October 2022 12:40 UTC](https://discourse.nodered.org/t/download-and-rename-file/68724 "2022-10-17T12:40:53Z")

</div>

Hi iam able to download file(document) or photo from telegram but it saves as file\_(number+)\[example : file\_5\] is their any way to rename or save the file or photo with the name we want.. i want to keep replacing on the …

---

## [How to solve Node-RED node SNMP Monitor "RequestTimeOutError: Request timed out"](https://discourse.nodered.org/t/how-to-solve-node-red-node-snmp-monitor-requesttimeouterror-request-timed-out/69137)

<div class="topic-metadata">

**Author:** [@worawit.wi](https://discourse.nodered.org/u/worawit.wi)\
**Replies:** 3\
**Last updated:** [17 October 2022 10:44 UTC](https://discourse.nodered.org/t/how-to-solve-node-red-node-snmp-monitor-requesttimeouterror-request-timed-out/69137 "2022-10-17T10:44:15Z")

</div>

Hello I'm monitoring SNMP from Network Device. When I connected Network Device to Node-RED it work well. Then when I Disconnected Network Device debug msg "RequestTimeOutError: Request timed out" and Dashboard Still s…

---

## [Problem installing module](https://discourse.nodered.org/t/problem-installing-module/69123)

<div class="topic-metadata">

**Author:** [@LuisF](https://discourse.nodered.org/u/LuisF)\
**Replies:** 2\
**Last updated:** [17 October 2022 08:49 UTC](https://discourse.nodered.org/t/problem-installing-module/69123 "2022-10-17T08:49:37Z")

</div>

I am trying to intall a module, but the error appears: 2022-10-16T22:24:08.830Z Install : node-red-node-email 1.18.1 2022-10-16T22:24:09.165Z npm.cmd install --no-audit --no-update-notifier --no-fund --save --save-pref…

---

## [How to automatically open the uibuilder webpages after node-red start?](https://discourse.nodered.org/t/how-to-automatically-open-the-uibuilder-webpages-after-node-red-start/68847)

<div class="topic-metadata">

**Author:** [@ConquerAll7](https://discourse.nodered.org/u/ConquerAll7)\
**Replies:** 3\
**Last updated:** [17 October 2022 08:45 UTC](https://discourse.nodered.org/t/how-to-automatically-open-the-uibuilder-webpages-after-node-red-start/68847 "2022-10-17T08:45:23Z")

</div>

How to automatically open the uibuilder webpages after node-red start? My flow works well when I manually open the uibuilder webpages, but how to automatically do this? Thanks for your help!

---

## [Docker logging says Node-Red 'server now running at ...' but i cannot reach it with browser](https://discourse.nodered.org/t/docker-logging-says-node-red-server-now-running-at-but-i-cannot-reach-it-with-browser/69072)

<div class="topic-metadata">

**Author:** [@Vennis](https://discourse.nodered.org/u/Vennis)\
**Replies:** 4\
**Last updated:** [17 October 2022 06:48 UTC](https://discourse.nodered.org/t/docker-logging-says-node-red-server-now-running-at-but-i-cannot-reach-it-with-browser/69072 "2022-10-17T06:48:10Z")

</div>

Hey all, II've been trying to get Node-Red to work via Docker on my Synology NAS for a while now. I use Docker composer for this. My lines in the docker compose file are: nodered: container\_name: nodered image: noder…

---

## [Http request "Missing grant type"](https://discourse.nodered.org/t/http-request-missing-grant-type/69104)

<div class="topic-metadata">

**Author:** [@EidWanna](https://discourse.nodered.org/u/EidWanna)\
**Replies:** 1\
**Last updated:** [17 October 2022 06:45 UTC](https://discourse.nodered.org/t/http-request-missing-grant-type/69104 "2022-10-17T06:45:11Z")

</div>

Debug show "Missing grant type" how do i input in Body , x-www-form-urlencoded grant\_type

---

## [HTML Template Node - Default value and sending clicked option](https://discourse.nodered.org/t/html-template-node-default-value-and-sending-clicked-option/69087)

<div class="topic-metadata">

**Author:** [@PedroFilipe](https://discourse.nodered.org/u/PedroFilipe)\
**Replies:** 4\
**Last updated:** [17 October 2022 00:47 UTC](https://discourse.nodered.org/t/html-template-node-default-value-and-sending-clicked-option/69087 "2022-10-17T00:47:16Z")

</div>

On my project, one of my dashboards is an HTML table that displays the values I have stored in a database table. One of the columns of the table is a classification and I want this column to change based on the value cho…

---

## [Can't do auth Setting in Nodered running on LAN network](https://discourse.nodered.org/t/cant-do-auth-setting-in-nodered-running-on-lan-network/69098)

<div class="topic-metadata">

**Author:** [@Akshay51](https://discourse.nodered.org/u/Akshay51)\
**Replies:** 2\
**Last updated:** [16 October 2022 22:57 UTC](https://discourse.nodered.org/t/cant-do-auth-setting-in-nodered-running-on-lan-network/69098 "2022-10-16T22:57:13Z")

</div>

Hi guys, I'm running my nodered on docker on a LAN network machine1(ubuntu) and accessing it through another system, machine2(windows), on a browser with http://IP\_OF\_MACHINE1:1880. It's working fine but i cannot do au…

---

## [Group does not show styling until browser refresh made](https://discourse.nodered.org/t/group-does-not-show-styling-until-browser-refresh-made/69078)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 13\
**Last updated:** [16 October 2022 21:51 UTC](https://discourse.nodered.org/t/group-does-not-show-styling-until-browser-refresh-made/69078 "2022-10-16T21:51:47Z")

</div>

I've had this problem for several weeks, and it only happens with one group repeatedly, every time I open a new browser window. It occurs with both Chrome Version 106.0.5249.119 (Official Build) (64-bit) & Firefox 105.0…

---

## [Dynamic link out using link call](https://discourse.nodered.org/t/dynamic-link-out-using-link-call/69120)

<div class="topic-metadata">

**Author:** [@tcr000](https://discourse.nodered.org/u/tcr000)\
**Replies:** 0\
**Last updated:** [16 October 2022 21:09 UTC](https://discourse.nodered.org/t/dynamic-link-out-using-link-call/69120 "2022-10-16T21:09:59Z")

</div>

Is there any reason one could not use the dynamic link call node with a timeout of 0s as a dynamic link out node? It seems it would generate a timeout error but, assuming there is no node attached to the output of the li…

---

## [How to receive Humidity data from Sonoff TH10 (SI7021) to InfulxDB trough Node-red?](https://discourse.nodered.org/t/how-to-receive-humidity-data-from-sonoff-th10-si7021-to-infulxdb-trough-node-red/69093)

<div class="topic-metadata">

**Author:** [@TovstuiKohanchik](https://discourse.nodered.org/u/TovstuiKohanchik)\
**Replies:** 5\
**Last updated:** [16 October 2022 18:03 UTC](https://discourse.nodered.org/t/how-to-receive-humidity-data-from-sonoff-th10-si7021-to-infulxdb-trough-node-red/69093 "2022-10-16T18:03:18Z")

</div>

Hi. I created little project where i wanna connect the following chain: MQTT Brocker \> Node-RED \> InfluxDB \>Grafana . I still dont understand what must be right Measurement request and I get next error: Error: A 400 …

---

## [New MQTT conf problem](https://discourse.nodered.org/t/new-mqtt-conf-problem/69047)

<div class="topic-metadata">

**Author:** [@sefaguntepe](https://discourse.nodered.org/u/sefaguntepe)\
**Replies:** 13\
**Last updated:** [16 October 2022 16:47 UTC](https://discourse.nodered.org/t/new-mqtt-conf-problem/69047 "2022-10-16T16:47:38Z")

</div>

Hello, I reset the pico WH due to some problems. I installed Node-Red and MQTT (mosquitto) products again. However, due to identity security made in MQTT ver2, I could not set up MQTT client in my network. How can I ins…

---

## [Reverse proxy for node red with nginx and secure link setup?](https://discourse.nodered.org/t/reverse-proxy-for-node-red-with-nginx-and-secure-link-setup/69079)

<div class="topic-metadata">

**Author:** [@tjareson](https://discourse.nodered.org/u/tjareson)\
**Replies:** 10\
**Last updated:** [16 October 2022 12:20 UTC](https://discourse.nodered.org/t/reverse-proxy-for-node-red-with-nginx-and-secure-link-setup/69079 "2022-10-16T12:20:37Z")

</div>

Hello, not sure if that is the right forum for this topic: I'm currently running node red via a reverse proxy and client-certificate based authentication, which is the most secure way I can think of to access home auto…

---

## [Cumulative running time](https://discourse.nodered.org/t/cumulative-running-time/3278)

<div class="topic-metadata">

**Author:** [@jfehl](https://discourse.nodered.org/u/jfehl)\
**Replies:** 13\
**Last updated:** [16 October 2022 11:03 UTC](https://discourse.nodered.org/t/cumulative-running-time/3278 "2022-10-16T11:03:49Z")

</div>

I am looking for suggestions on a node, or way to capture cumulative running time of equipment. For example: a machine runs for 2 hrs, then is down for 20 minutes, then starts again for 3 hrs, so the cumulative time is …

---

## [Switch only on true for a change-over of the output](https://discourse.nodered.org/t/switch-only-on-true-for-a-change-over-of-the-output/69021)

<div class="topic-metadata">

**Author:** [@Sweetpeet](https://discourse.nodered.org/u/Sweetpeet)\
**Replies:** 6\
**Last updated:** [16 October 2022 09:25 UTC](https://discourse.nodered.org/t/switch-only-on-true-for-a-change-over-of-the-output/69021 "2022-10-16T09:25:51Z")

</div>

Hi There, I'm quite new to NR and I'm trying to use a pulse switch on the GPIO board to output a JSON dimmer value to my dimmers. What I want is: On the first push of the switch the output is 1 and on the second push of …

---

## [Attempted to update NR (late at night) now nothing works (Solved)](https://discourse.nodered.org/t/attempted-to-update-nr-late-at-night-now-nothing-works-solved/69096)

<div class="topic-metadata">

**Author:** [@CaptClaude](https://discourse.nodered.org/u/CaptClaude)\
**Replies:** 1\
**Last updated:** [16 October 2022 06:12 UTC](https://discourse.nodered.org/t/attempted-to-update-nr-late-at-night-now-nothing-works-solved/69096 "2022-10-16T06:12:22Z")

</div>

I know I shouldn't do things like this late in the evening... OS: MacOS Previously working system: 15 Oct 23:59:55 - \[info\] Node-RED version: v0.19.1 15 Oct 23:59:55 - \[info\] Node.js version: v6.11.4 15 Oct 23:59:55 …

---

## [Retrieving node IDs for members of flows and subflows/subflow instances](https://discourse.nodered.org/t/retrieving-node-ids-for-members-of-flows-and-subflows-subflow-instances/69091)

<div class="topic-metadata">

**Author:** [@shimbone](https://discourse.nodered.org/u/shimbone)\
**Replies:** 2\
**Last updated:** [16 October 2022 05:53 UTC](https://discourse.nodered.org/t/retrieving-node-ids-for-members-of-flows-and-subflows-subflow-instances/69091 "2022-10-16T05:53:30Z")

</div>

The metrics log seems to be the best source of what a NR server is doing at any given time. To maximize its benefit one needs to have a manifest of how the node IDs are members of individual flows, subflows, and subflow…

---

## [Weird TCP messages coming into my flow](https://discourse.nodered.org/t/weird-tcp-messages-coming-into-my-flow/69073)

<div class="topic-metadata">

**Author:** [@ifiififiifiif](https://discourse.nodered.org/u/ifiififiifiif)\
**Replies:** 4\
**Last updated:** [15 October 2022 20:46 UTC](https://discourse.nodered.org/t/weird-tcp-messages-coming-into-my-flow/69073 "2022-10-15T20:46:45Z")

</div>

Hi. Thanks for reading my post. I'm having great luck as a newbie with node-red overall for a project that I'm working on. The one thing I can't seem to figure out is a strange message that comes every now and then from …

---

## [Update Node.js 12.22.9 to latest version question](https://discourse.nodered.org/t/update-node-js-12-22-9-to-latest-version-question/69059)

<div class="topic-metadata">

**Author:** [@gschmidt](https://discourse.nodered.org/u/gschmidt)\
**Replies:** 9\
**Last updated:** [15 October 2022 17:28 UTC](https://discourse.nodered.org/t/update-node-js-12-22-9-to-latest-version-question/69059 "2022-10-15T17:28:14Z")

</div>

Hi, On my Raspberry Pi 3b+ with Raspbian Buster I want to update Zigbee2mqtt to the latest version. However this version uses Nodejs 14 or higher and currently the raspberry pi runs Node-red 12.22.9 If I update Node-…

---

## [Use the .h5 file in node red](https://discourse.nodered.org/t/use-the-h5-file-in-node-red/69076)

<div class="topic-metadata">

**Author:** [@fseabra](https://discourse.nodered.org/u/fseabra)\
**Replies:** 0\
**Last updated:** [15 October 2022 17:04 UTC](https://discourse.nodered.org/t/use-the-h5-file-in-node-red/69076 "2022-10-15T17:04:02Z")

</div>

I have created, trained and tested my ML model in Google Colab. Now, I wanted to use the .h5 file I got from Colab, to put it into practice in node red. How can I do it? Can someone guide me? Thank you

---

## [Node Red stops with Uncaught Exception](https://discourse.nodered.org/t/node-red-stops-with-uncaught-exception/69054)

<div class="topic-metadata">

**Author:** [@saxenaramesh](https://discourse.nodered.org/u/saxenaramesh)\
**Replies:** 4\
**Last updated:** [15 October 2022 11:47 UTC](https://discourse.nodered.org/t/node-red-stops-with-uncaught-exception/69054 "2022-10-15T11:47:21Z")

</div>

I am able to start Node red properly. However after sometime, it stops abruptly. I got one "uncaught exception" alert. There are few more things which are mentioned with this alert as shown in the screen shot pasted belo…

---

## [Looking for an 'energy distribution' chart for a home similar to](https://discourse.nodered.org/t/looking-for-an-energy-distribution-chart-for-a-home-similar-to/67368)

<div class="topic-metadata">

**Author:** [@samos](https://discourse.nodered.org/u/samos)\
**Replies:** 12\
**Last updated:** [15 October 2022 08:57 UTC](https://discourse.nodered.org/t/looking-for-an-energy-distribution-chart-for-a-home-similar-to/67368 "2022-10-15T08:57:49Z")

</div>

Hello, I'm searching for something like this energy distribution chart that I can push my data into, so that it can render a pretty 'animated flow' of energy amongst power consumption and power generation sources. pic a…

---

## [Basic adding (sum) of var values/numbers using function node](https://discourse.nodered.org/t/basic-adding-sum-of-var-values-numbers-using-function-node/69046)

<div class="topic-metadata">

**Author:** [@GitHubxtsnl](https://discourse.nodered.org/u/GitHubxtsnl)\
**Replies:** 3\
**Last updated:** [15 October 2022 08:13 UTC](https://discourse.nodered.org/t/basic-adding-sum-of-var-values-numbers-using-function-node/69046 "2022-10-15T08:13:06Z")

</div>

I've been testing for hours now and just cannot seem to find a solution. I'm missing something but just do not get it. Please assist (I'm a beginner) with Node-red. I want to calculate the total costs, so add up of all …

---

## [GET Tuya cloud (power day)](https://discourse.nodered.org/t/get-tuya-cloud-power-day/68898)

<div class="topic-metadata">

**Author:** [@wiwan-wijoyo](https://discourse.nodered.org/u/wiwan-wijoyo)\
**Replies:** 3\
**Last updated:** [15 October 2022 06:50 UTC](https://discourse.nodered.org/t/get-tuya-cloud-power-day/68898 "2022-10-15T06:50:55Z")

</div>

Hi, Can someone help me.. I have node red integration with tuya cloud API and I need to check my smart plug consumption per day. I try to send command total power working well but if I send command power day the result …

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

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