# General

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

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

**Page:** 370

---

## [I need help for adding months without output](https://discourse.nodered.org/t/i-need-help-for-adding-months-without-output/63356)

<div class="topic-metadata">

**Author:** [@etmomoabc](https://discourse.nodered.org/u/etmomoabc)\
**Replies:** 1\
**Last updated:** [1 June 2022 17:19 UTC](https://discourse.nodered.org/t/i-need-help-for-adding-months-without-output/63356 "2022-06-01T17:19:20Z")

</div>

Below is what I am using now for heater automation, simple logic, current temp minus set temp to control on and off. It works great. But I want to add months, I need it to work only between May-October! How can it be d…

---

## [502: Bad Gateway](https://discourse.nodered.org/t/502-bad-gateway/63352)

<div class="topic-metadata">

**Author:** [@stresshead](https://discourse.nodered.org/u/stresshead)\
**Replies:** 1\
**Last updated:** [1 June 2022 16:41 UTC](https://discourse.nodered.org/t/502-bad-gateway/63352 "2022-06-01T16:41:06Z")

</div>

Had a brief (like a second) power outage last night. I can't get back into NR from Home Assistant because I'm getting a 502: Bad Gateway error. Tried restoring HA from yesterday, but that doesn't help. Running HA and NR…

---

## [Unable-to-install-node-red-missing-node-js-and-npm-stops-installation](https://discourse.nodered.org/t/unable-to-install-node-red-missing-node-js-and-npm-stops-installation/60161)

<div class="topic-metadata">

**Author:** [@Syed](https://discourse.nodered.org/u/Syed)\
**Replies:** 15\
**Last updated:** [1 June 2022 14:02 UTC](https://discourse.nodered.org/t/unable-to-install-node-red-missing-node-js-and-npm-stops-installation/60161 "2022-06-01T14:02:30Z")

</div>

Running Node-RED install for user pi at /home/pi on debian This can take 20-30 minutes on the slower Pi versions - please wait. Stop Node-RED :heavy\_check\_mark: Remove old version of Node-RED …

---

## [No data Recevied with MQTT IN](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284)

<div class="topic-metadata">

**Author:** [@berkerali](https://discourse.nodered.org/u/berkerali)\
**Replies:** 26\
**Last updated:** [1 June 2022 11:51 UTC](https://discourse.nodered.org/t/no-data-recevied-with-mqtt-in/63284 "2022-06-01T11:51:37Z")

</div>

Hi, This is my first question to this forum. Sorry, If I make a mistake in question format. I use ESP32 to send CAN protocol frames and I am able to get data using python paho succesfully. (python script is attached). …

---

## [MQTT issues with dynamic subscribtions](https://discourse.nodered.org/t/mqtt-issues-with-dynamic-subscribtions/63348)

<div class="topic-metadata">

**Author:** [@azerty123456](https://discourse.nodered.org/u/azerty123456)\
**Replies:** 2\
**Last updated:** [1 June 2022 09:29 UTC](https://discourse.nodered.org/t/mqtt-issues-with-dynamic-subscribtions/63348 "2022-06-01T09:29:17Z")

</div>

Hello, I'm using in and out mqtt nodes with dynamic subscribtions. Through my dashboard I can type broker IP, ports and credentials and I've connect and disconnect buttons. It's working fine if the connexion can be es…

---

## [My first "complex" flow..why is the flow still running when a binary condition is off in Home assistant?](https://discourse.nodered.org/t/my-first-complex-flow-why-is-the-flow-still-running-when-a-binary-condition-is-off-in-home-assistant/63307)

<div class="topic-metadata">

**Author:** [@Zeltak](https://discourse.nodered.org/u/Zeltak)\
**Replies:** 2\
**Last updated:** [1 June 2022 09:02 UTC](https://discourse.nodered.org/t/my-first-complex-flow-why-is-the-flow-still-running-when-a-binary-condition-is-off-in-home-assistant/63307 "2022-06-01T09:02:35Z")

</div>

hi all! a neweb loving playing in recent days with node-red and even more the fantastic community here! so I have my first "complex" flow (a simple presence faker) I have created and it works very well apart from the t…

---

## [Refresh a running node-red instance (after npm install \<myNode\>)](https://discourse.nodered.org/t/refresh-a-running-node-red-instance-after-npm-install-mynode/63338)

<div class="topic-metadata">

**Author:** [@schwebo](https://discourse.nodered.org/u/schwebo)\
**Replies:** 3\
**Last updated:** [1 June 2022 08:24 UTC](https://discourse.nodered.org/t/refresh-a-running-node-red-instance-after-npm-install-mynode/63338 "2022-06-01T08:24:30Z")

</div>

The Title says all;) i run a node-red instance. Parallel i play around developing a node to get confident with it. and i dont want do to allways.. kill node-red =\> install my node =\> start node-red.. is there node in…

---

## [Node-lifetime stateful flows](https://discourse.nodered.org/t/node-lifetime-stateful-flows/63280)

<div class="topic-metadata">

**Author:** [@schwebo](https://discourse.nodered.org/u/schwebo)\
**Replies:** 3\
**Last updated:** [1 June 2022 08:21 UTC](https://discourse.nodered.org/t/node-lifetime-stateful-flows/63280 "2022-06-01T08:21:00Z")

</div>

Good Morning folks, iam new in Node-Red, and i habe some question about the node instancing and lifetime concept, due to implemente a custom node:) for instance i implemente a own tcp protocol, but i want keep the conn…

---

## [Cant read or write with modbus nodes to two diffrent devices](https://discourse.nodered.org/t/cant-read-or-write-with-modbus-nodes-to-two-diffrent-devices/62719)

<div class="topic-metadata">

**Author:** [@SP-Mushrooms](https://discourse.nodered.org/u/SP-Mushrooms)\
**Replies:** 5\
**Last updated:** [1 June 2022 06:56 UTC](https://discourse.nodered.org/t/cant-read-or-write-with-modbus-nodes-to-two-diffrent-devices/62719 "2022-06-01T06:56:12Z")

</div>

I am using 2 jetson nano connected via wire using modebus serial trying to write and read data I am using node red 11.1.1 and the module is node-red-contrib-modbus I am new to node red only starting this week this is …

---

## [Pass message between websocket-in and websocket-out](https://discourse.nodered.org/t/pass-message-between-websocket-in-and-websocket-out/63133)

<div class="topic-metadata">

**Author:** [@Tiramisupxl](https://discourse.nodered.org/u/Tiramisupxl)\
**Replies:** 2\
**Last updated:** [1 June 2022 01:51 UTC](https://discourse.nodered.org/t/pass-message-between-websocket-in-and-websocket-out/63133 "2022-06-01T01:51:08Z")

</div>

How to pass message between websocket-in and websocket-out node? I have set a msg.device before websocket-in node and want to get it after websocket-out node, but I got undefined. I cannot use flow variables to save it…

---

## [How to select payload from specific button (tasmota node)](https://discourse.nodered.org/t/how-to-select-payload-from-specific-button-tasmota-node/63297)

<div class="topic-metadata">

**Author:** [@ferbulous](https://discourse.nodered.org/u/ferbulous)\
**Replies:** 2\
**Last updated:** [31 May 2022 23:36 UTC](https://discourse.nodered.org/t/how-to-select-payload-from-specific-button-tasmota-node/63297 "2022-05-31T23:36:47Z")

</div>

Hello, I'm using tasmota node for my 2 gang switch How can I pick up the payload specifically from each button? For the moment, I'm just using switch node to receive 'single','double' payload and so on but obviou…

---

## [SSL certificate request](https://discourse.nodered.org/t/ssl-certificate-request/63299)

<div class="topic-metadata">

**Author:** [@cbcliff47](https://discourse.nodered.org/u/cbcliff47)\
**Replies:** 3\
**Last updated:** [31 May 2022 22:30 UTC](https://discourse.nodered.org/t/ssl-certificate-request/63299 "2022-05-31T22:30:42Z")

</div>

Hi, I was wondering if it is needed the SHA-256 algorithm to generate a certificate request for node-red or if another algorithm could be used. Thanks!!

---

## [Various HTTP request](https://discourse.nodered.org/t/various-http-request/63125)

<div class="topic-metadata">

**Author:** [@DemalCal96](https://discourse.nodered.org/u/DemalCal96)\
**Replies:** 4\
**Last updated:** [31 May 2022 22:03 UTC](https://discourse.nodered.org/t/various-http-request/63125 "2022-05-31T22:03:41Z")

</div>

Hi. I have an array with some URLs to make several HTTP request (about 40). I use a "split" node to split each message and make the HTTP request (using the node), and then I use a "join" node to join each of the requests…

---

## [Can you change tabs by clicking something within a page](https://discourse.nodered.org/t/can-you-change-tabs-by-clicking-something-within-a-page/63329)

<div class="topic-metadata">

**Author:** [@k5map](https://discourse.nodered.org/u/k5map)\
**Replies:** 4\
**Last updated:** [31 May 2022 21:48 UTC](https://discourse.nodered.org/t/can-you-change-tabs-by-clicking-something-within-a-page/63329 "2022-05-31T21:48:04Z")

</div>

I've looked but haven't been able to find a way to add a component (aka button) to a page so when you click it, it switches to one of the other pages/tabs. Does this capability exist within NR?

---

## [No Dashboard and cannot deploy new flow](https://discourse.nodered.org/t/no-dashboard-and-cannot-deploy-new-flow/63327)

<div class="topic-metadata">

**Author:** [@maru](https://discourse.nodered.org/u/maru)\
**Replies:** 2\
**Last updated:** [31 May 2022 20:16 UTC](https://discourse.nodered.org/t/no-dashboard-and-cannot-deploy-new-flow/63327 "2022-05-31T20:16:21Z")

</div>

Hi, After importing and testing a flow, I decided to disable the flow for later use. To be able to use this flow, it was necessary to install a local MySQL database (Windows laptop). I uninstalled this installation loca…

---

## [Shortest repeat interval time?](https://discourse.nodered.org/t/shortest-repeat-interval-time/63325)

<div class="topic-metadata">

**Author:** [@AmazingFlow](https://discourse.nodered.org/u/AmazingFlow)\
**Replies:** 7\
**Last updated:** [31 May 2022 20:07 UTC](https://discourse.nodered.org/t/shortest-repeat-interval-time/63325 "2022-05-31T20:07:24Z")

</div>

Hi there, When i put the inject object, it allows us to Inject once after "x" seconds, then Repeat Interval "N" seconds. On the x seconds (Inject once after...), how small time can i go? On the N seconds (repeat inte…

---

## [Calculate time difference](https://discourse.nodered.org/t/calculate-time-difference/62865)

<div class="topic-metadata">

**Author:** [@alexback](https://discourse.nodered.org/u/alexback)\
**Replies:** 13\
**Last updated:** [31 May 2022 19:28 UTC](https://discourse.nodered.org/t/calculate-time-difference/62865 "2022-05-31T19:28:19Z")

</div>

Hey, how can I calculate the difference between two time inputs. Thanks

---

## [Alexa save cookie to context](https://discourse.nodered.org/t/alexa-save-cookie-to-context/62898)

<div class="topic-metadata">

**Author:** [@CAL37](https://discourse.nodered.org/u/CAL37)\
**Replies:** 7\
**Last updated:** [31 May 2022 19:23 UTC](https://discourse.nodered.org/t/alexa-save-cookie-to-context/62898 "2022-05-31T19:23:18Z")

</div>

@E1cid I have been using your flow for a while, but lately it's been wanting me to login to the amazon to get the cookie. Then today all of sudden it is giving me a JSON error. I have restarted, made sure it is saving t…

---

## [Node-red won't launch](https://discourse.nodered.org/t/node-red-wont-launch/4392)

<div class="topic-metadata">

**Author:** [@notaaron](https://discourse.nodered.org/u/notaaron)\
**Replies:** 19\
**Last updated:** [31 May 2022 19:14 UTC](https://discourse.nodered.org/t/node-red-wont-launch/4392 "2022-05-31T19:14:01Z")

</div>

29 Oct 11:50:27 - \[info\] Welcome to Node-RED 29 Oct 11:50:27 - \[info\] Node-RED version: v0.19.4 29 Oct 11:50:27 - \[info\] Node.js version: v8.12.0 29 Oct 11:50:27 - \[info\] Windows\_NT 10.0.17134 x64 LE 29 Oct 11:50:28…

---

## [How to make a button do the action ONLY if the the switch is switched on?](https://discourse.nodered.org/t/how-to-make-a-button-do-the-action-only-if-the-the-switch-is-switched-on/63290)

<div class="topic-metadata">

**Author:** [@lumanga](https://discourse.nodered.org/u/lumanga)\
**Replies:** 5\
**Last updated:** [31 May 2022 16:40 UTC](https://discourse.nodered.org/t/how-to-make-a-button-do-the-action-only-if-the-the-switch-is-switched-on/63290 "2022-05-31T16:40:38Z")

</div>

Hi All, I'm in trouble with this project. I just wanto to have a Switch, plus a Button. I want that pressing the button, the button do the action ONLY if the the switch is switched on! (Is a kind of safety) I try in …

---

## [Debug Node don't show output](https://discourse.nodered.org/t/debug-node-dont-show-output/63141)

<div class="topic-metadata">

**Author:** [@BearGrillz](https://discourse.nodered.org/u/BearGrillz)\
**Replies:** 18\
**Last updated:** [31 May 2022 16:34 UTC](https://discourse.nodered.org/t/debug-node-dont-show-output/63141 "2022-05-31T16:34:09Z")

</div>

Hi, im trying to build a simple flow: An AWS Lambda Function that just return a value An input node that on trigger execute a Function Node that use AWS SDK in Js to simply invoke my function and save the message in ms…

---

## [Odd \`exec\` node result using \`amixer -v'](https://discourse.nodered.org/t/odd-exec-node-result-using-amixer-v/62963)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 7\
**Last updated:** [31 May 2022 13:28 UTC](https://discourse.nodered.org/t/odd-exec-node-result-using-amixer-v/62963 "2022-05-31T13:28:35Z")

</div>

Node-RED running on a Pi Zero W v1.1 Raspbian GNU/Linux 11 (bullseye) desktop version Node-RED version: v2.2.2 Node.js version: v14.19.1 accessing NR from Mac Mini Safari Using the exec node and sending the command…

---

## [How to insert a delay between rules in a function node?](https://discourse.nodered.org/t/how-to-insert-a-delay-between-rules-in-a-function-node/63301)

<div class="topic-metadata">

**Author:** [@g00r](https://discourse.nodered.org/u/g00r)\
**Replies:** 1\
**Last updated:** [31 May 2022 13:04 UTC](https://discourse.nodered.org/t/how-to-insert-a-delay-between-rules-in-a-function-node/63301 "2022-05-31T13:04:42Z")

</div>

Hi all, I'm using Node Red to control devices around my home based on time of day Solar production Price of electricity How much energy I'm exporting. While the rules themselves are working as expected, the issue I'm…

---

## [Changing the name of a class name?](https://discourse.nodered.org/t/changing-the-name-of-a-class-name/63300)

<div class="topic-metadata">

**Author:** [@Safouene28](https://discourse.nodered.org/u/Safouene28)\
**Replies:** 0\
**Last updated:** [31 May 2022 12:31 UTC](https://discourse.nodered.org/t/changing-the-name-of-a-class-name/63300 "2022-05-31T12:31:58Z")

</div>

Good Morning, I'm trying to change the class name like below in a template node I'm sure that something is missing , so my question it is possible to do something like that ? Greetings

---

## [Creating two lines in chart](https://discourse.nodered.org/t/creating-two-lines-in-chart/63298)

<div class="topic-metadata">

**Author:** [@Razz](https://discourse.nodered.org/u/Razz)\
**Replies:** 2\
**Last updated:** [31 May 2022 11:47 UTC](https://discourse.nodered.org/t/creating-two-lines-in-chart/63298 "2022-05-31T11:47:23Z")

</div>

Hi everyone, I am trying to log two registers from a modbus simulator onto a line chart. I am only able to get 1 line graph out so far, and i did some research saying that i would have to label them under different topi…

---

## [Error: ER\_BAD\_FIELD\_ERROR: Unknown column 'RND0508A03A' in 'field list'](https://discourse.nodered.org/t/error-er-bad-field-error-unknown-column-rnd0508a03a-in-field-list/63052)

<div class="topic-metadata">

**Author:** [@Show74](https://discourse.nodered.org/u/Show74)\
**Replies:** 21\
**Last updated:** [31 May 2022 11:44 UTC](https://discourse.nodered.org/t/error-er-bad-field-error-unknown-column-rnd0508a03a-in-field-list/63052 "2022-05-31T11:44:13Z")

</div>

Currently I have been working on a project where I need to transfer string data from PLC to MySQL through Node-Red. I created the database columns in MySQL(phpMyAdmin) and node flows in Node-Red . But while debugging…

---

## [Flow credentials cannot be decrypted](https://discourse.nodered.org/t/flow-credentials-cannot-be-decrypted/63059)

<div class="topic-metadata">

**Author:** [@cbcliff47](https://discourse.nodered.org/u/cbcliff47)\
**Replies:** 8\
**Last updated:** [31 May 2022 11:41 UTC](https://discourse.nodered.org/t/flow-credentials-cannot-be-decrypted/63059 "2022-05-31T11:41:07Z")

</div>

Hi, Do you know why when I open node red the following appears? Blockquote Credentials could not be decrypted The flow credential file is encrypted, but the project's encryption key is missing or invalid. The flow…

---

## [NODE-RED KEEP CRASHING while using MODBUS-SERVER](https://discourse.nodered.org/t/node-red-keep-crashing-while-using-modbus-server/62956)

<div class="topic-metadata">

**Author:** [@Theodros](https://discourse.nodered.org/u/Theodros)\
**Replies:** 13\
**Last updated:** [31 May 2022 11:29 UTC](https://discourse.nodered.org/t/node-red-keep-crashing-while-using-modbus-server/62956 "2022-05-31T11:29:32Z")

</div>

Hi guys, I'm trying to run a modbus server with an IP address that is not used by Node-Red but it keeps crashing and putting me this error. And this is valid for a large number of IP address. The problem is that I need …

---

## [Node-red not is not commiting to git /AzureDevOps](https://discourse.nodered.org/t/node-red-not-is-not-commiting-to-git-azuredevops/63289)

<div class="topic-metadata">

**Author:** [@noob69](https://discourse.nodered.org/u/noob69)\
**Replies:** 0\
**Last updated:** [31 May 2022 09:22 UTC](https://discourse.nodered.org/t/node-red-not-is-not-commiting-to-git-azuredevops/63289 "2022-05-31T09:22:35Z")

</div>

I was trying to commit a file using node-red project to the github. But It is not working. It never ask me to insert the password when created the branch. The loading will continuously going for forever as following scre…

---

## [Acceed Heroku postgresql db](https://discourse.nodered.org/t/acceed-heroku-postgresql-db/63272)

<div class="topic-metadata">

**Author:** [@Otabiel](https://discourse.nodered.org/u/Otabiel)\
**Replies:** 4\
**Last updated:** [31 May 2022 08:27 UTC](https://discourse.nodered.org/t/acceed-heroku-postgresql-db/63272 "2022-05-31T08:27:09Z")

</div>

Hi community, I am using node-red v2.2.2 and node.js v14.19.3. I making a small project, and I'm trying to acceed my data stored on an Heroku postgres app. My environnement of work is a web site using Next.js and prism…

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

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