# General

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

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

**Page:** 297

---

## [Best type of component to switch LED lights](https://discourse.nodered.org/t/best-type-of-component-to-switch-led-lights/14151)

<div class="topic-metadata">

**Author:** [@Poodlepapa](https://discourse.nodered.org/u/Poodlepapa)\
**Replies:** 1\
**Last updated:** [9 November 2022 17:38 UTC](https://discourse.nodered.org/t/best-type-of-component-to-switch-led-lights/14151 "2022-11-09T17:38:16Z")

</div>

Hello all I am looking for a better solution to controlling LED lights. I have built several pi's that control multiple types of LED lights around my place, I've learned a lot over the span of these projects. I starte…

---

## [Credentials file not found](https://discourse.nodered.org/t/credentials-file-not-found/70333)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 2\
**Last updated:** [9 November 2022 16:13 UTC](https://discourse.nodered.org/t/credentials-file-not-found/70333 "2022-11-09T16:13:09Z")

</div>

I copied a flows.json from one node to another node (new installation), there are no credentials used in the flow, NR starts up: 9 Nov 16:31:12 - \[warn\] Encrypted credentials not found $ touch flows\_cred.json .... 9 No…

---

## [Trigger NodeRed flow from postman](https://discourse.nodered.org/t/trigger-nodered-flow-from-postman/70294)

<div class="topic-metadata">

**Author:** [@Ihum](https://discourse.nodered.org/u/Ihum)\
**Replies:** 9\
**Last updated:** [9 November 2022 16:02 UTC](https://discourse.nodered.org/t/trigger-nodered-flow-from-postman/70294 "2022-11-09T16:02:40Z")

</div>

I am new to NodeRED and I'm testing out the APIs. I am trying to Post/trigger a flow on nodeRED through postman. According to the api documentation, something like this should work: curl --location --request POST 'http…

---

## [Label of a table with data from the influxdb database](https://discourse.nodered.org/t/label-of-a-table-with-data-from-the-influxdb-database/70293)

<div class="topic-metadata">

**Author:** [@Joaovitor](https://discourse.nodered.org/u/Joaovitor)\
**Replies:** 4\
**Last updated:** [9 November 2022 14:49 UTC](https://discourse.nodered.org/t/label-of-a-table-with-data-from-the-influxdb-database/70293 "2022-11-09T14:49:45Z")

</div>

Hello. I'm developing a project on node-RED that uses the influxdb database. Well, I have 2 problems related to printing data in a table. 1 - I want the time label to be written as "Tempo" (my mother tongue). Is it poss…

---

## [Inject node with interval - How to wait for flow to finish before injecting again?](https://discourse.nodered.org/t/inject-node-with-interval-how-to-wait-for-flow-to-finish-before-injecting-again/70325)

<div class="topic-metadata">

**Author:** [@Omrizn](https://discourse.nodered.org/u/Omrizn)\
**Replies:** 1\
**Last updated:** [9 November 2022 14:28 UTC](https://discourse.nodered.org/t/inject-node-with-interval-how-to-wait-for-flow-to-finish-before-injecting-again/70325 "2022-11-09T14:28:10Z")

</div>

Hello, I have a flow that I want to run every X seconds, so I'm using the "Inject" node and set interval for X seconds, my goal is to run the flow only if the flow has finished to run, the problem is that the flow runn…

---

## [How to setup the GPIO output node to "OK" status](https://discourse.nodered.org/t/how-to-setup-the-gpio-output-node-to-ok-status/70319)

<div class="topic-metadata">

**Author:** [@aquapark\_lodz](https://discourse.nodered.org/u/aquapark_lodz)\
**Replies:** 2\
**Last updated:** [9 November 2022 14:20 UTC](https://discourse.nodered.org/t/how-to-setup-the-gpio-output-node-to-ok-status/70319 "2022-11-09T14:20:17Z")

</div>

I have question about the behavior of GPIO node in node-red. For now I have simply setup with the PWM light method. I use the following nodes: and the code: \[{"id":"827e38722d9198a7","type":"tab","label":"Flow 1","…

---

## [Broker regularly disconnects and connects?](https://discourse.nodered.org/t/broker-regularly-disconnects-and-connects/70262)

<div class="topic-metadata">

**Author:** [@questuk](https://discourse.nodered.org/u/questuk)\
**Replies:** 15\
**Last updated:** [9 November 2022 12:56 UTC](https://discourse.nodered.org/t/broker-regularly-disconnects-and-connects/70262 "2022-11-09T12:56:17Z")

</div>

Hi, I am running Node-RED on a RPI, I have noticed that sensors I have around my house sometimes do not work. On looking at the Terminal screen after i restarted Node-RED ... I see this Welcome to Node-RED ===========…

---

## [Using subflow environment variable to set mqtt topic](https://discourse.nodered.org/t/using-subflow-environment-variable-to-set-mqtt-topic/15331)

<div class="topic-metadata">

**Author:** [@paul-bivol](https://discourse.nodered.org/u/paul-bivol)\
**Replies:** 19\
**Last updated:** [9 November 2022 10:36 UTC](https://discourse.nodered.org/t/using-subflow-environment-variable-to-set-mqtt-topic/15331 "2022-11-09T10:36:56Z")

</div>

Hello! I want to create a subflow that can turn off a bulb when a certain message is received and then poll its state to make sure the bulb is off. After confirmation it should repeat the input message. The purpose of t…

---

## [\[solved\] Concate msg.payload to array value in template](https://discourse.nodered.org/t/solved-concate-msg-payload-to-array-value-in-template/70303)

<div class="topic-metadata">

**Author:** [@digidax](https://discourse.nodered.org/u/digidax)\
**Replies:** 5\
**Last updated:** [9 November 2022 10:07 UTC](https://discourse.nodered.org/t/solved-concate-msg-payload-to-array-value-in-template/70303 "2022-11-09T10:07:21Z")

</div>

Hi there, I'm using a template for preparing a msg to send it with simple sendmail. How can I append the value with the msg.payload? (text line for email message)? "text": "Device: "+ msg.payload is syntactically inco…

---

## [Modbus server with flex-server](https://discourse.nodered.org/t/modbus-server-with-flex-server/70311)

<div class="topic-metadata">

**Author:** [@crashoverhead](https://discourse.nodered.org/u/crashoverhead)\
**Replies:** 0\
**Last updated:** [9 November 2022 09:23 UTC](https://discourse.nodered.org/t/modbus-server-with-flex-server/70311 "2022-11-09T09:23:05Z")

</div>

HI all, i need of a modbus server and im using Modbus-flex server. the server is configured as figure below and i write the data in to the holding register msg.pv=msg.payload.PV msg.SP=msg.payload.SP msg.PV\_BK=ms…

---

## [Modularization?!](https://discourse.nodered.org/t/modularization/70252)

<div class="topic-metadata">

**Author:** [@pserri](https://discourse.nodered.org/u/pserri)\
**Replies:** 7\
**Last updated:** [9 November 2022 00:25 UTC](https://discourse.nodered.org/t/modularization/70252 "2022-11-09T00:25:41Z")

</div>

Dear community I'm a stakeholder of a recently kicked-off project where Node-Red will be used for machine connectivity and data flows between the machines. Developers in the project team suggest to create a virtual mach…

---

## [Node-red gRPC for Get all data](https://discourse.nodered.org/t/node-red-grpc-for-get-all-data/70284)

<div class="topic-metadata">

**Author:** [@shyamsasi94](https://discourse.nodered.org/u/shyamsasi94)\
**Replies:** 0\
**Last updated:** [8 November 2022 20:51 UTC](https://discourse.nodered.org/t/node-red-grpc-for-get-all-data/70284 "2022-11-08T20:51:06Z")

</div>

I'm using gRPC in node-red and I'm stuck retrieving all the data and editing the data section. Does anyone have a CRUD operation in grpc? I was able to retrieve single data from the server myproto file syntax="proto3"; …

---

## [Python NLP project in node-red?](https://discourse.nodered.org/t/python-nlp-project-in-node-red/70269)

<div class="topic-metadata">

**Author:** [@RavinderSingh13](https://discourse.nodered.org/u/RavinderSingh13)\
**Replies:** 1\
**Last updated:** [8 November 2022 20:32 UTC](https://discourse.nodered.org/t/python-nlp-project-in-node-red/70269 "2022-11-08T20:32:33Z")

</div>

Hello node-red experts, Greetings!! I have been searching about using python in node-red, which I got a module in documentations. Would like to know if there is a project/samples of code/guidance where NLP in python is…

---

## [Configuration Help Please](https://discourse.nodered.org/t/configuration-help-please/70278)

<div class="topic-metadata">

**Author:** [@deninger](https://discourse.nodered.org/u/deninger)\
**Replies:** 0\
**Last updated:** [8 November 2022 19:36 UTC](https://discourse.nodered.org/t/configuration-help-please/70278 "2022-11-08T19:36:45Z")

</div>

I am new to Node-Red, attempting to transition from Claris Connect. I have set up a Node-Red server in Azure and have successfully created some simple flows. My issues is that my install does not appear to be configured…

---

## [Change light brightness that are on](https://discourse.nodered.org/t/change-light-brightness-that-are-on/70243)

<div class="topic-metadata">

**Author:** [@djseek](https://discourse.nodered.org/u/djseek)\
**Replies:** 2\
**Last updated:** [8 November 2022 18:48 UTC](https://discourse.nodered.org/t/change-light-brightness-that-are-on/70243 "2022-11-08T18:48:41Z")

</div>

hi all i stole a flow from here some time ago that gets all lights that are on and turns them off i'd love to use this to auto change my lights brightness when my home mode goes from day to evening. Here's what i'm tr…

---

## [Help needed - Window open climate off - using wildcards](https://discourse.nodered.org/t/help-needed-window-open-climate-off-using-wildcards/70236)

<div class="topic-metadata">

**Author:** [@snickers2k](https://discourse.nodered.org/u/snickers2k)\
**Replies:** 3\
**Last updated:** [8 November 2022 18:21 UTC](https://discourse.nodered.org/t/help-needed-window-open-climate-off-using-wildcards/70236 "2022-11-08T18:21:31Z")

</div>

Hey there. I need your help. What I’m trying to archive is to have a simple „window open, climate off automation“, but with one simple automation, using wildcards. Everywhere I look around, people doing it all one by …

---

## [Help - Need some advice](https://discourse.nodered.org/t/help-need-some-advice/70254)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 5\
**Last updated:** [8 November 2022 17:43 UTC](https://discourse.nodered.org/t/help-need-some-advice/70254 "2022-11-08T17:43:32Z")

</div>

I'm using Node Red & Raspberry Pi, to excute an Api call once daily. The Api retrieves the data from Gas wells that we have across the US. This amounts to 111 wells the data is returned back in Array like this. (Please N…

---

## [Netatmo doorbell](https://discourse.nodered.org/t/netatmo-doorbell/69328)

<div class="topic-metadata">

**Author:** [@madmax](https://discourse.nodered.org/u/madmax)\
**Replies:** 10\
**Last updated:** [8 November 2022 17:42 UTC](https://discourse.nodered.org/t/netatmo-doorbell/69328 "2022-11-08T17:42:44Z")

</div>

Hi! I have a netatmo doorbell, is it possible to integrate it into Node Red? Thanks in advance.

---

## [What is the best way to preserve data after a change node](https://discourse.nodered.org/t/what-is-the-best-way-to-preserve-data-after-a-change-node/70267)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 10\
**Last updated:** [8 November 2022 17:24 UTC](https://discourse.nodered.org/t/what-is-the-best-way-to-preserve-data-after-a-change-node/70267 "2022-11-08T17:24:04Z")

</div>

I have a message coming into a change node. The message consists of payload.status "22.4 C" and payload.value "22" the change node sets payload to payload.status after the change node, I loose the value. I am trying t…

---

## [How to set up login page request and response in node red app?](https://discourse.nodered.org/t/how-to-set-up-login-page-request-and-response-in-node-red-app/70270)

<div class="topic-metadata">

**Author:** [@ashritha.achu2001](https://discourse.nodered.org/u/ashritha.achu2001)\
**Replies:** 0\
**Last updated:** [8 November 2022 16:42 UTC](https://discourse.nodered.org/t/how-to-set-up-login-page-request-and-response-in-node-red-app/70270 "2022-11-08T16:42:51Z")

</div>

I want to set up a responsive login page for my Web UI like if I'm a new user i should register and if old user it should log in.The details should be stored in cloud and it should authenticate the user when they log in.…

---

## [HELP Convert array of objects to array of arrays using change node](https://discourse.nodered.org/t/help-convert-array-of-objects-to-array-of-arrays-using-change-node/70266)

<div class="topic-metadata">

**Author:** [@newbie1](https://discourse.nodered.org/u/newbie1)\
**Replies:** 8\
**Last updated:** [8 November 2022 16:20 UTC](https://discourse.nodered.org/t/help-convert-array-of-objects-to-array-of-arrays-using-change-node/70266 "2022-11-08T16:20:37Z")

</div>

Hi, I am new to Node-RED and I really could use some help. I am trying to read two CSV files containing tables with values and sum up the entries of the two tables. I am now stuck in the step where the CSV node gives me…

---

## [Contrib-TelegramBot-Home](https://discourse.nodered.org/t/contrib-telegrambot-home/70238)

<div class="topic-metadata">

**Author:** [@SplitSecComp](https://discourse.nodered.org/u/SplitSecComp)\
**Replies:** 5\
**Last updated:** [8 November 2022 15:11 UTC](https://discourse.nodered.org/t/contrib-telegrambot-home/70238 "2022-11-08T15:11:13Z")

</div>

Good Morning. I am using Contrib-TelgramBot-Home quite successfully. Everything works. I am battling to get the code right to send a global variable from a function node as a message with TelegramBot-home.. Kindly ass…

---

## [Splitting a string after space](https://discourse.nodered.org/t/splitting-a-string-after-space/70257)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 9\
**Last updated:** [8 November 2022 14:36 UTC](https://discourse.nodered.org/t/splitting-a-string-after-space/70257 "2022-11-08T14:36:19Z")

</div>

I have a incoming msg.payload.Name, which I want to split. The msg.payload.Name always starts with Watts , which is what I want to split. Examples for msg.payload.Name are Watts Power TV Watts Kitchen TV So if I hav…

---

## [Cannot use Azure AD Authentication](https://discourse.nodered.org/t/cannot-use-azure-ad-authentication/69894)

<div class="topic-metadata">

**Author:** [@taffarel55](https://discourse.nodered.org/u/taffarel55)\
**Replies:** 2\
**Last updated:** [8 November 2022 14:35 UTC](https://discourse.nodered.org/t/cannot-use-azure-ad-authentication/69894 "2022-11-08T14:35:45Z")

</div>

Hello guys! I'm trying to put authentication through azure as shown here in the documentation: nodered.org/docs/user-guide/runtime/securing-node-red#oauthopenid-based-authentication Based on these examples: Azure AD …

---

## [Cloud MQTT Dashboard](https://discourse.nodered.org/t/cloud-mqtt-dashboard/70261)

<div class="topic-metadata">

**Author:** [@pcnr](https://discourse.nodered.org/u/pcnr)\
**Replies:** 0\
**Last updated:** [8 November 2022 14:08 UTC](https://discourse.nodered.org/t/cloud-mqtt-dashboard/70261 "2022-11-08T14:08:04Z")

</div>

Good morning I'm trying to control a PLC (read/write) from a Cloud platform available everywhere. At the moment i have a Raspberry with node-red who read/write to PLC and read/write with MQTT to Aedes, installed in a G…

---

## [Project acutalize](https://discourse.nodered.org/t/project-acutalize/70250)

<div class="topic-metadata">

**Author:** [@strbaknxp](https://discourse.nodered.org/u/strbaknxp)\
**Replies:** 0\
**Last updated:** [8 November 2022 11:58 UTC](https://discourse.nodered.org/t/project-acutalize/70250 "2022-11-08T11:58:16Z")

</div>

Hello, would like to ask. I have a NR project and I am running the same flow on the same machine in more instances (more ports) And I am interest in following: When I did some update on one of the instance, create a c…

---

## [Can't write a value to a Controller via modbus due to failure on state sending](https://discourse.nodered.org/t/cant-write-a-value-to-a-controller-via-modbus-due-to-failure-on-state-sending/69985)

<div class="topic-metadata">

**Author:** [@vra](https://discourse.nodered.org/u/vra)\
**Replies:** 1\
**Last updated:** [8 November 2022 11:09 UTC](https://discourse.nodered.org/t/cant-write-a-value-to-a-controller-via-modbus-due-to-failure-on-state-sending/69985 "2022-11-08T11:09:14Z")

</div>

Hi all, how are you?. I'm trying to write a value to a genset controller via node red by using the modbs flex write function but I can't. Every time I try to do so the modbus flex write node sends the following error M…

---

## [Help passing payload to chart](https://discourse.nodered.org/t/help-passing-payload-to-chart/70216)

<div class="topic-metadata">

**Author:** [@vigalent](https://discourse.nodered.org/u/vigalent)\
**Replies:** 10\
**Last updated:** [8 November 2022 10:28 UTC](https://discourse.nodered.org/t/help-passing-payload-to-chart/70216 "2022-11-08T10:28:19Z")

</div>

Sorry if this is covered elsewhere but as a newbie I'm looking for some help on how to pass this array data into a chart every 24hours and populates the values into their respective times (using the interval\_end as the t…

---

## [Modbus TCP loosing connection to clients, does not reconnect](https://discourse.nodered.org/t/modbus-tcp-loosing-connection-to-clients-does-not-reconnect/70001)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 20\
**Last updated:** [7 November 2022 16:04 UTC](https://discourse.nodered.org/t/modbus-tcp-loosing-connection-to-clients-does-not-reconnect/70001 "2022-11-07T16:04:41Z")

</div>

Hi All, I know this is not a new issue, I read about this here, but all the topic and references to github issues seem to get closed without any solution as far as I can see. I wonder if anyone else here have/had simila…

---

## [Node Red crashes and exits with 1](https://discourse.nodered.org/t/node-red-crashes-and-exits-with-1/70176)

<div class="topic-metadata">

**Author:** [@Mikee1234K](https://discourse.nodered.org/u/Mikee1234K)\
**Replies:** 9\
**Last updated:** [8 November 2022 09:45 UTC](https://discourse.nodered.org/t/node-red-crashes-and-exits-with-1/70176 "2022-11-08T09:45:53Z")

</div>

I am running Node Red in Docker for Windows. It has been working fine for some time, and I was changing some flows when it crashed. Looking in the docker log it keeps starting then exiting immediately with 1. It starts u…

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

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