# General

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

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

**Page:** 62

---

## [Help with how to make a node to do this function](https://discourse.nodered.org/t/help-with-how-to-make-a-node-to-do-this-function/94381)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 42\
**Last updated:** [7 January 2025 21:44 UTC](https://discourse.nodered.org/t/help-with-how-to-make-a-node-to-do-this-function/94381 "2025-01-07T21:44:38Z")

</div>

From this link: Three and four-way switching – Basic Lighting for Electricians: Level 1. I'm wanting to make a node that (ok, 2 nodes) to emulate the switches in the diagrams. SPST and DPDT. No dashboard needed. inj…

---

## [Node Red - Modbus Custom FC](https://discourse.nodered.org/t/node-red-modbus-custom-fc/94438)

<div class="topic-metadata">

**Author:** [@bjarne97](https://discourse.nodered.org/u/bjarne97)\
**Replies:** 1\
**Last updated:** [7 January 2025 21:37 UTC](https://discourse.nodered.org/t/node-red-modbus-custom-fc/94438 "2025-01-07T21:37:50Z")

</div>

Hello all, I am currently working on a project in which I need to read a specific device via Modbus in Node-RED. The problem is that this device uses a custom function code (FC66), and unfortunately in Node-RED I immedi…

---

## [credentialSecret, settings.js and git](https://discourse.nodered.org/t/credentialsecret-settings-js-and-git/94290)

<div class="topic-metadata">

**Author:** [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)\
**Replies:** 11\
**Last updated:** [7 January 2025 20:10 UTC](https://discourse.nodered.org/t/credentialsecret-settings-js-and-git/94290 "2025-01-07T20:10:28Z")

</div>

Happy new year everyone! Wanted to start the new year by improving my node red settings :smiley: I always used the credentialSecret: false in settings.js. But now I changed to a password. What is the consequence of this…

---

## [Mqtt as a debugging aid](https://discourse.nodered.org/t/mqtt-as-a-debugging-aid/94344)

<div class="topic-metadata">

**Author:** [@ozdw](https://discourse.nodered.org/u/ozdw)\
**Replies:** 14\
**Last updated:** [7 January 2025 20:04 UTC](https://discourse.nodered.org/t/mqtt-as-a-debugging-aid/94344 "2025-01-07T20:04:05Z")

</div>

I'm sure others have discovered this, but I don't see a recent mention so thought I would share this tip. I use mqtt for all the standard purposes, but also as the core of my flow and device monitoring. All important f…

---

## [Ok, just for the fun of it - best programmer memes](https://discourse.nodered.org/t/ok-just-for-the-fun-of-it-best-programmer-memes/94376)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 3\
**Last updated:** [7 January 2025 15:25 UTC](https://discourse.nodered.org/t/ok-just-for-the-fun-of-it-best-programmer-memes/94376 "2025-01-07T15:25:52Z")

</div>

I was watching this: And saw this as one of the mames: I'm not sure if it is true, ironic, or what... But maybe just gives you a laugh.

---

## [Why not configure themes in .config.users.json?](https://discourse.nodered.org/t/why-not-configure-themes-in-config-users-json/94393)

<div class="topic-metadata">

**Author:** [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)\
**Replies:** 10\
**Last updated:** [7 January 2025 14:35 UTC](https://discourse.nodered.org/t/why-not-configure-themes-in-config-users-json/94393 "2025-01-07T14:35:44Z")

</div>

Currently it seems themes is configured inside settings.js, so it will be global for the entire node red instance. Why not have it in .config.users.json so each user can have their own?

---

## [Impossible de lire une variable opcua. msg.payload : undefined](https://discourse.nodered.org/t/impossible-de-lire-une-variable-opcua-msg-payload-undefined/94384)

<div class="topic-metadata">

**Author:** [@Baba288](https://discourse.nodered.org/u/Baba288)\
**Replies:** 6\
**Last updated:** [7 January 2025 11:32 UTC](https://discourse.nodered.org/t/impossible-de-lire-une-variable-opcua-msg-payload-undefined/94384 "2025-01-07T11:32:36Z")

</div>

Bonjour, je suis débutant sur nodered et je cherche à lire une variable string sur un serveur opcua créer sur un automate pc embarqué beckoff. J'ai un rasberry pi 3 et nodered v4.06. J'ai bien créer le serveur et j'ai r…

---

## [Modbus Kostal pio 7.0 problem](https://discourse.nodered.org/t/modbus-kostal-pio-7-0-problem/94409)

<div class="topic-metadata">

**Author:** [@RienPutmans](https://discourse.nodered.org/u/RienPutmans)\
**Replies:** 0\
**Last updated:** [6 January 2025 19:04 UTC](https://discourse.nodered.org/t/modbus-kostal-pio-7-0-problem/94409 "2025-01-06T19:04:59Z")

</div>

I have a modul from ABB ILPH RS232-485 / Ethernet module to read a old PV-converter from Kostal. The type 7.0 don't have TCP/ip and only modbus-rtu. The configuration 9600 bps is the default baudrate, even parity is u…

---

## [\[HA\] Using Wait Until with a different payload](https://discourse.nodered.org/t/ha-using-wait-until-with-a-different-payload/94401)

<div class="topic-metadata">

**Author:** [@pauloon](https://discourse.nodered.org/u/pauloon)\
**Replies:** 3\
**Last updated:** [6 January 2025 17:23 UTC](https://discourse.nodered.org/t/ha-using-wait-until-with-a-different-payload/94401 "2025-01-06T17:23:19Z")

</div>

Hey guys! I use NodeRed with my Home Assistant, and with the recent changes that are happening in the Zigbee2MQTT add-on we are going to lose the "action sensor" entities, to capture scene button actions. With action be…

---

## [2FA on admin login screen](https://discourse.nodered.org/t/2fa-on-admin-login-screen/94375)

<div class="topic-metadata">

**Author:** [@Hans4711](https://discourse.nodered.org/u/Hans4711)\
**Replies:** 6\
**Last updated:** [6 January 2025 15:02 UTC](https://discourse.nodered.org/t/2fa-on-admin-login-screen/94375 "2025-01-06T15:02:00Z")

</div>

How to enable 2FA on admin login screen?

---

## [Okta SSO stopped functioning after upgrading from v3.02 to v4.05](https://discourse.nodered.org/t/okta-sso-stopped-functioning-after-upgrading-from-v3-02-to-v4-05/94405)

<div class="topic-metadata">

**Author:** [@helenzhang43](https://discourse.nodered.org/u/helenzhang43)\
**Replies:** 0\
**Last updated:** [6 January 2025 15:23 UTC](https://discourse.nodered.org/t/okta-sso-stopped-functioning-after-upgrading-from-v3-02-to-v4-05/94405 "2025-01-06T15:23:16Z")

</div>

After upgrading Node-Red docker image from v3.0.2 to v4.0.5, okta sso login stopped working with an error: Uncaught TypeError: Cannot read properties of undefined (reading 'substring'). The settings.json file contains t…

---

## [credentialSecret not applied when using projects](https://discourse.nodered.org/t/credentialsecret-not-applied-when-using-projects/94388)

<div class="topic-metadata">

**Author:** [@ThingsTinkerer](https://discourse.nodered.org/u/ThingsTinkerer)\
**Replies:** 2\
**Last updated:** [6 January 2025 10:39 UTC](https://discourse.nodered.org/t/credentialsecret-not-applied-when-using-projects/94388 "2025-01-06T10:39:33Z")

</div>

Got a Node Red running in docker with projects enabled. Originally I had credentialSecret: false in settings.js. But now I changed to a secret string (ie. credentialSecret: "a-secret-string). How to enable this? I thoug…

---

## [Event-trigger for join node](https://discourse.nodered.org/t/event-trigger-for-join-node/94301)

<div class="topic-metadata">

**Author:** [@micha53](https://discourse.nodered.org/u/micha53)\
**Replies:** 18\
**Last updated:** [6 January 2025 09:55 UTC](https://discourse.nodered.org/t/event-trigger-for-join-node/94301 "2025-01-06T09:55:36Z")

</div>

Hi, I am just starting with node red and want to join several payloads from an OBD2-Adapter and a wallbox. I want to write into a csv-file depending on the alternating status between "online" and "offline". In my proj…

---

## [Performance-related concerns regarding Node-RED](https://discourse.nodered.org/t/performance-related-concerns-regarding-node-red/94382)

<div class="topic-metadata">

**Author:** [@ramakant](https://discourse.nodered.org/u/ramakant)\
**Replies:** 1\
**Last updated:** [6 January 2025 09:55 UTC](https://discourse.nodered.org/t/performance-related-concerns-regarding-node-red/94382 "2025-01-06T09:55:13Z")

</div>

Hi everyone, performance-related concerns regarding Node-RED. Specifically, I’d like to know if Node-RED has an LRU (Least Recently Used) cache mechanism implemented? While reviewing the setup, I noticed that the lru-c…

---

## [Anyone know what this is?](https://discourse.nodered.org/t/anyone-know-what-this-is/94242)

<div class="topic-metadata">

**Author:** [@Cathprotech](https://discourse.nodered.org/u/Cathprotech)\
**Replies:** 4\
**Last updated:** [6 January 2025 08:40 UTC](https://discourse.nodered.org/t/anyone-know-what-this-is/94242 "2025-01-06T08:40:21Z")

</div>

I have not used Node-Red for quite some time now and I noticed it was still running on my RPi4. I opened the web server page only to be greated with this: (Hopefull the image is below). First thing is, none of my fl…

---

## [HELP! Displaying Dashboard on public webpage like Wordpress](https://discourse.nodered.org/t/help-displaying-dashboard-on-public-webpage-like-wordpress/94359)

<div class="topic-metadata">

**Author:** [@letshobby](https://discourse.nodered.org/u/letshobby)\
**Replies:** 3\
**Last updated:** [5 January 2025 15:33 UTC](https://discourse.nodered.org/t/help-displaying-dashboard-on-public-webpage-like-wordpress/94359 "2025-01-05T15:33:36Z")

</div>

HELLO! I am looking to figure out a way to display my Nodered dashboard on a website like wordpress. I am building my own personal resume portfolio site and I built a dashboard in node red I want displayed on my website…

---

## [Issue with Multiple Topology Renderings on Tab Switch in Node-RED Dashboard](https://discourse.nodered.org/t/issue-with-multiple-topology-renderings-on-tab-switch-in-node-red-dashboard/94369)

<div class="topic-metadata">

**Author:** [@Nandhini-Subramaniya](https://discourse.nodered.org/u/Nandhini-Subramaniya)\
**Replies:** 0\
**Last updated:** [5 January 2025 15:25 UTC](https://discourse.nodered.org/t/issue-with-multiple-topology-renderings-on-tab-switch-in-node-red-dashboard/94369 "2025-01-05T15:25:43Z")

</div>

I am working on a Node-RED flow where I have a ui-template node rendering a network topology using Next.js. The topology is displayed when navigating to the /topo1 page. However, I am facing an issue when switching betwe…

---

## [Function with two Inputs to one Output](https://discourse.nodered.org/t/function-with-two-inputs-to-one-output/94368)

<div class="topic-metadata">

**Author:** [@tech152](https://discourse.nodered.org/u/tech152)\
**Replies:** 3\
**Last updated:** [5 January 2025 13:53 UTC](https://discourse.nodered.org/t/function-with-two-inputs-to-one-output/94368 "2025-01-05T13:53:22Z")

</div>

Hi, i have a flow and need help with a function. I have two msg.payload as Input. In this function should be converted to msg.payload.lat and the other to msg.payload.lon Can me help someone? Thanks \[ { …

---

## [Save email attachments to Nextcloud](https://discourse.nodered.org/t/save-email-attachments-to-nextcloud/94090)

<div class="topic-metadata">

**Author:** [@tty6747fg8](https://discourse.nodered.org/u/tty6747fg8)\
**Replies:** 32\
**Last updated:** [5 January 2025 10:12 UTC](https://discourse.nodered.org/t/save-email-attachments-to-nextcloud/94090 "2025-01-05T10:12:16Z")

</div>

hello, is it possible to have something like this in node-red? googling, i found this https://n8n.io/workflows/1344-save-email-attachments-to-nextcloud/ but chatgpt is unable to convert this into node-red json

---

## [Mysql INSERT or UPDATE multiple columns on duplicate key](https://discourse.nodered.org/t/mysql-insert-or-update-multiple-columns-on-duplicate-key/94357)

<div class="topic-metadata">

**Author:** [@philtao](https://discourse.nodered.org/u/philtao)\
**Replies:** 4\
**Last updated:** [5 January 2025 08:59 UTC](https://discourse.nodered.org/t/mysql-insert-or-update-multiple-columns-on-duplicate-key/94357 "2025-01-05T08:59:13Z")

</div>

Hi, I am new to Node-Red and after a few days of research I got the following flow to work, but it seems complicated to achieve something simple. I am wondering if there is a better way to do a SQL 'INSERT' with 'UPDAT…

---

## [PDF Make Node, Issues creating an E-mail with text](https://discourse.nodered.org/t/pdf-make-node-issues-creating-an-e-mail-with-text/94325)

<div class="topic-metadata">

**Author:** [@wuddy](https://discourse.nodered.org/u/wuddy)\
**Replies:** 18\
**Last updated:** [4 January 2025 20:19 UTC](https://discourse.nodered.org/t/pdf-make-node-issues-creating-an-e-mail-with-text/94325 "2025-01-04T20:19:47Z")

</div>

Hey everyone, I'm Michael from Germany, and I'm pretty new to Node-RED. I recently built a machine for vacuum testing and now want to create a protocol for the testing process. The protocol should include information l…

---

## [Exec node thinks I'm sending sudo](https://discourse.nodered.org/t/exec-node-thinks-im-sending-sudo/94356)

<div class="topic-metadata">

**Author:** [@Rgrove](https://discourse.nodered.org/u/Rgrove)\
**Replies:** 1\
**Last updated:** [4 January 2025 17:28 UTC](https://discourse.nodered.org/t/exec-node-thinks-im-sending-sudo/94356 "2025-01-04T17:28:35Z")

</div>

edit: Please pardon, just discovered the command I'm running automatically prompts for root access, which is why the exec node is kicking it back. Leaving this here for the moment in case someone searches the same respo…

---

## [Communication Node Red rs485 without Modbus?](https://discourse.nodered.org/t/communication-node-red-rs485-without-modbus/94345)

<div class="topic-metadata">

**Author:** [@firstfacility](https://discourse.nodered.org/u/firstfacility)\
**Replies:** 7\
**Last updated:** [4 January 2025 16:25 UTC](https://discourse.nodered.org/t/communication-node-red-rs485-without-modbus/94345 "2025-01-04T16:25:58Z")

</div>

Hi everyone, I\`m trying to read the Values from a Greisinger Gia1002 ns with a rs485 device. I try it with Node Red Modbus Reader but in the Debug ther is ony an Timeout. I think my device don´t support Modbus. Can i u…

---

## [Setting permits](https://discourse.nodered.org/t/setting-permits/94354)

<div class="topic-metadata">

**Author:** [@marwer](https://discourse.nodered.org/u/marwer)\
**Replies:** 0\
**Last updated:** [4 January 2025 15:53 UTC](https://discourse.nodered.org/t/setting-permits/94354 "2025-01-04T15:53:17Z")

</div>

Hallo, Offensichtlich muss ich die Rechte auf meinem System ändern, um node red ausführen zu können. Welche Rechte muss ich setzen? Fehlermeldung gegenwärtig gesetzte Rechte Danke & mfg Martin HAT SICH ERLEDIGT! M…

---

## [Specify a bucket in a Node-RED InfluxDB query node](https://discourse.nodered.org/t/specify-a-bucket-in-a-node-red-influxdb-query-node/94105)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 10\
**Last updated:** [4 January 2025 13:29 UTC](https://discourse.nodered.org/t/specify-a-bucket-in-a-node-red-influxdb-query-node/94105 "2025-01-04T13:29:33Z")

</div>

Hi there If I use an InfluxDBout node, there's the option to specify a bucket. That way I can send measurements to InfluxDB under a given bucket. But now I want to write a query and pass this to an InfluxDBin node (whi…

---

## [HTTP request : url set by Inject-node or Function-node](https://discourse.nodered.org/t/http-request-url-set-by-inject-node-or-function-node/94347)

<div class="topic-metadata">

**Author:** [@Tany](https://discourse.nodered.org/u/Tany)\
**Replies:** 2\
**Last updated:** [4 January 2025 09:31 UTC](https://discourse.nodered.org/t/http-request-url-set-by-inject-node-or-function-node/94347 "2025-01-04T09:31:16Z")

</div>

URL is responding when entered via Inject, or via Chrome browser. Responding with "Forbidden" when entered via Function Node. What is the difference ? Cheers, T \[ { "id": "4b706968f2762ff3", "…

---

## [Anyone got any top tips for training face recognition?](https://discourse.nodered.org/t/anyone-got-any-top-tips-for-training-face-recognition/94340)

<div class="topic-metadata">

**Author:** [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Replies:** 3\
**Last updated:** [4 January 2025 05:44 UTC](https://discourse.nodered.org/t/anyone-got-any-top-tips-for-training-face-recognition/94340 "2025-01-04T05:44:08Z")

</div>

I'm opening a new topic to avoid polluting this one - I'm using @meeki007 node-red-contrib-facial-recognition set to use ssd mobilenet v1 to announce who is at the door, when my new Reolink camera detects a person. Th…

---

## [Quickly sift through search results (node red palette)](https://discourse.nodered.org/t/quickly-sift-through-search-results-node-red-palette/94324)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 8\
**Last updated:** [4 January 2025 00:00 UTC](https://discourse.nodered.org/t/quickly-sift-through-search-results-node-red-palette/94324 "2025-01-04T00:00:46Z")

</div>

Not sure if this is a feature request, or if someone can tell me I'm doing it wrong :slight\_smile: The problem: When I search for something in palette, then I click on one of the many results, it takes me to that re…

---

## [A question about Promises and catch()](https://discourse.nodered.org/t/a-question-about-promises-and-catch/94334)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 5\
**Last updated:** [3 January 2025 22:01 UTC](https://discourse.nodered.org/t/a-question-about-promises-and-catch/94334 "2025-01-03T22:01:54Z")

</div>

I am trying to debug a third party nodejs package. In there is some code like asyncFunctionReturningPromise() .then(/\*ok code ...\*/) .catch(); Note that the catch is empty. If the function throws an exception the…

---

## [Get current.state of an HA entity and send it to Telegram](https://discourse.nodered.org/t/get-current-state-of-an-ha-entity-and-send-it-to-telegram/94211)

<div class="topic-metadata">

**Author:** [@bemo47](https://discourse.nodered.org/u/bemo47)\
**Replies:** 7\
**Last updated:** [3 January 2025 18:12 UTC](https://discourse.nodered.org/t/get-current-state-of-an-ha-entity-and-send-it-to-telegram/94211 "2025-01-03T18:12:53Z")

</div>

Hi, Now, i am able to define a command for my bot and then when chosing an option, temperature for now, in telegram i would like to get the current.state of my sensor temperature. I can see that the value is correct in…

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

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