# General

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

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

**Page:** 733

---

## [Exec node seems to fail, go to Rc:1](https://discourse.nodered.org/t/exec-node-seems-to-fail-go-to-rc-1/28398)

<div class="topic-metadata">

**Author:** [@dclear](https://discourse.nodered.org/u/dclear)\
**Replies:** 4\
**Last updated:** [16 June 2020 14:10 UTC](https://discourse.nodered.org/t/exec-node-seems-to-fail-go-to-rc-1/28398 "2020-06-16T14:10:30Z")

</div>

For no reason that I can make out my PHP exec node seems to sometimes fail and go to rc: 1 whatever that is? If I move a node and re-deploy it mostly comes back online. But just now I had to do that a couple of times bef…

---

## [Help with DHT22 and values](https://discourse.nodered.org/t/help-with-dht22-and-values/28359)

<div class="topic-metadata">

**Author:** [@colint](https://discourse.nodered.org/u/colint)\
**Replies:** 15\
**Last updated:** [16 June 2020 12:37 UTC](https://discourse.nodered.org/t/help-with-dht22-and-values/28359 "2020-06-16T12:37:05Z")

</div>

Hello All, I have a problem.Duhhh :slight\_smile: I want to read-out a DHT22, that works and i am getting the string with tempurature and humidity. I can filter the values in 2 seperate payloads. But.. How can i adju…

---

## [Reading the output of a script](https://discourse.nodered.org/t/reading-the-output-of-a-script/25835)

<div class="topic-metadata">

**Author:** [@dclear](https://discourse.nodered.org/u/dclear)\
**Replies:** 5\
**Last updated:** [16 June 2020 12:05 UTC](https://discourse.nodered.org/t/reading-the-output-of-a-script/25835 "2020-06-16T12:05:09Z")

</div>

Hi! :slight\_smile: So I'm successfully (to my surprise as I'm such a noob) reading the output of a PHP script and doing different things with the output depending on the content. I'm very happy. It's working. But the sc…

---

## [Files missing when trying to start from a npm package!](https://discourse.nodered.org/t/files-missing-when-trying-to-start-from-a-npm-package/28392)

<div class="topic-metadata">

**Author:** [@lizzardguki](https://discourse.nodered.org/u/lizzardguki)\
**Replies:** 14\
**Last updated:** [16 June 2020 11:30 UTC](https://discourse.nodered.org/t/files-missing-when-trying-to-start-from-a-npm-package/28392 "2020-06-16T11:30:38Z")

</div>

I am writing a custom node for audio communication (quiet-js) and I found a quietjs-bundle (npm package), so I cloned the repo, edited dependencies version, and some minor fixes and I published it to npm too (don\`t want …

---

## [Node red random restart](https://discourse.nodered.org/t/node-red-random-restart/1755)

<div class="topic-metadata">

**Author:** [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Replies:** 49\
**Last updated:** [16 June 2020 09:23 UTC](https://discourse.nodered.org/t/node-red-random-restart/1755 "2020-06-16T09:23:46Z")

</div>

Good Morning I have random restarts of node red service, do you have some idea looking at syslog what could be driving this issue? Jul 23 10:28:06 raspberrypi systemd\[1\]: Starting Daily apt download activities... Jul 2…

---

## [How to use 2 NodeMCU to one node-red?](https://discourse.nodered.org/t/how-to-use-2-nodemcu-to-one-node-red/28389)

<div class="topic-metadata">

**Author:** [@budiman098](https://discourse.nodered.org/u/budiman098)\
**Replies:** 0\
**Last updated:** [16 June 2020 07:35 UTC](https://discourse.nodered.org/t/how-to-use-2-nodemcu-to-one-node-red/28389 "2020-06-16T07:35:21Z")

</div>

hallo, can someone help me? i want use 2 NodeMCU in one node-red, when i use one by one my nodemcu, its worked. but when i combine my nodeMCU it's not worked worked, just one cencor read. my flow like this and i make …

---

## [Advice on copying data to and from a remote pi](https://discourse.nodered.org/t/advice-on-copying-data-to-and-from-a-remote-pi/28366)

<div class="topic-metadata">

**Author:** [@Raj](https://discourse.nodered.org/u/Raj)\
**Replies:** 4\
**Last updated:** [16 June 2020 07:26 UTC](https://discourse.nodered.org/t/advice-on-copying-data-to-and-from-a-remote-pi/28366 "2020-06-16T07:26:03Z")

</div>

Good Morning everyone. I am in the planning stage and need some advice. I have some remote raspberry's and am looking to back up one sqlite database from them every night, additionally I have two other databases I will…

---

## [Not able to give SSL in azure sql node](https://discourse.nodered.org/t/not-able-to-give-ssl-in-azure-sql-node/28388)

<div class="topic-metadata">

**Author:** [@prateekrastogi](https://discourse.nodered.org/u/prateekrastogi)\
**Replies:** 0\
**Last updated:** [16 June 2020 07:08 UTC](https://discourse.nodered.org/t/not-able-to-give-ssl-in-azure-sql-node/28388 "2020-06-16T07:08:39Z")

</div>

There is no option of giving SSL in azure sql node. I do not know how to do so ? Can someone please help me

---

## [I/O switching performance on a Raspberry Pi 4](https://discourse.nodered.org/t/i-o-switching-performance-on-a-raspberry-pi-4/25486)

<div class="topic-metadata">

**Author:** [@dpnsw](https://discourse.nodered.org/u/dpnsw)\
**Replies:** 37\
**Last updated:** [15 June 2020 22:20 UTC](https://discourse.nodered.org/t/i-o-switching-performance-on-a-raspberry-pi-4/25486 "2020-06-15T22:20:19Z")

</div>

I am trying to benchmark I/O performance on a number of embedded platforms (Arduino, Pi, Beaglebone). Currently Node-RED on the Pi 4 is giving me very low numbers (under 2,000 transitions per second) and I am not sure if…

---

## [How to select one msg.payload out of 4 recieved](https://discourse.nodered.org/t/how-to-select-one-msg-payload-out-of-4-recieved/28355)

<div class="topic-metadata">

**Author:** [@anthony\_dob](https://discourse.nodered.org/u/anthony_dob)\
**Replies:** 22\
**Last updated:** [15 June 2020 22:03 UTC](https://discourse.nodered.org/t/how-to-select-one-msg-payload-out-of-4-recieved/28355 "2020-06-15T22:03:33Z")

</div>

Hello, Im working on a IoT project where i want to control 8 leds and 4 button states from my Nucleo. The goal is to see each button state seperately on my phone. For this i have a MQTT topic for each button. The proble…

---

## [Appearence issues with node-red-node-serialport](https://discourse.nodered.org/t/appearence-issues-with-node-red-node-serialport/28365)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 0\
**Last updated:** [15 June 2020 16:31 UTC](https://discourse.nodered.org/t/appearence-issues-with-node-red-node-serialport/28365 "2020-06-15T16:31:10Z")

</div>

I just added this node to my Win10 setup (which is running the beta in case that's the issue) and noticed a couple of things Config looks likes this in Chromium on Pi4 looks slightly better in Chrome/Win10 Also re…

---

## [Store a value and compare it with previous value](https://discourse.nodered.org/t/store-a-value-and-compare-it-with-previous-value/28369)

<div class="topic-metadata">

**Author:** [@neelanjan](https://discourse.nodered.org/u/neelanjan)\
**Replies:** 10\
**Last updated:** [15 June 2020 20:08 UTC](https://discourse.nodered.org/t/store-a-value-and-compare-it-with-previous-value/28369 "2020-06-15T20:08:45Z")

</div>

Hi, My Payload is this : \[{"D":\[{"tag":"F1","value":"STOP"},{"tag":"F2","value":"STOP"},{"tag":"F3","value":"STOP"}\]},{"D":\[{"tag":"S1","value":"STOP"}\]}\] Means Now this msg arrives at every 1 min interval. I need t…

---

## [Unifi Node - Toggling POE?](https://discourse.nodered.org/t/unifi-node-toggling-poe/28292)

<div class="topic-metadata">

**Author:** [@ceejm1](https://discourse.nodered.org/u/ceejm1)\
**Replies:** 2\
**Last updated:** [15 June 2020 19:59 UTC](https://discourse.nodered.org/t/unifi-node-toggling-poe/28292 "2020-06-15T19:59:52Z")

</div>

Hello, Looking at the Unifi node and whilst I can't see it in the commands list I wondered if anyone had used it to set the POE mode of a switch on/off? Paired with a ping node it would be ideal to restart a couple of …

---

## [Connection failure to database in Azure-sql node](https://discourse.nodered.org/t/connection-failure-to-database-in-azure-sql-node/28363)

<div class="topic-metadata">

**Author:** [@prateekrastogi](https://discourse.nodered.org/u/prateekrastogi)\
**Replies:** 0\
**Last updated:** [15 June 2020 15:48 UTC](https://discourse.nodered.org/t/connection-failure-to-database-in-azure-sql-node/28363 "2020-06-15T15:48:44Z")

</div>

I am not able to connect to the Azure SQL database in node-red. I am using Azure SQL node but it throws an error : Error: {"message":"Login failed for user 'rbb\_admin@iot-energy'.","code":"ELOGIN"} Note: I am running no…

---

## [Find object in an array, based on other input string](https://discourse.nodered.org/t/find-object-in-an-array-based-on-other-input-string/28349)

<div class="topic-metadata">

**Author:** [@namoora](https://discourse.nodered.org/u/namoora)\
**Replies:** 5\
**Last updated:** [15 June 2020 15:17 UTC](https://discourse.nodered.org/t/find-object-in-an-array-based-on-other-input-string/28349 "2020-06-15T15:17:08Z")

</div>

Greetings together, I've got the following situation: I'm trying to match a string with a corresponding object in an array and return this object as payload. e.g. the string in msg.topic is "-5421010250119599039-20061…

---

## [How to identify a node by its ID](https://discourse.nodered.org/t/how-to-identify-a-node-by-its-id/28328)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 17\
**Last updated:** [15 June 2020 11:52 UTC](https://discourse.nodered.org/t/how-to-identify-a-node-by-its-id/28328 "2020-06-15T11:52:11Z")

</div>

Hi! I have an error on the debug window and I can't understand which node created it. For example: 14/6/2020, 23:12:12node: 4495dab5.337c9c msg : string\[36\] "Error stopping node: Close timed out" When I open any node…

---

## [Homekit-bridged has 2 outputs](https://discourse.nodered.org/t/homekit-bridged-has-2-outputs/27886)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 2\
**Last updated:** [15 June 2020 11:03 UTC](https://discourse.nodered.org/t/homekit-bridged-has-2-outputs/27886 "2020-06-15T11:03:40Z")

</div>

Hi, I've foud an issue closed with the same topic but I couldn't figure out myself a reason yet why there are 2 outputs, passthrough is disabled. One is marked "on set", the other "on change". Honestly I don't mind to kn…

---

## [Http SUBSCRIBE / NOTIFY (Session Initiation Protocol) - how?](https://discourse.nodered.org/t/http-subscribe-notify-session-initiation-protocol-how/28176)

<div class="topic-metadata">

**Author:** [@hklages](https://discourse.nodered.org/u/hklages)\
**Replies:** 17\
**Last updated:** [15 June 2020 08:07 UTC](https://discourse.nodered.org/t/http-subscribe-notify-session-initiation-protocol-how/28176 "2020-06-15T08:07:53Z")

</div>

I would like to implement a listener to an UPNP service. For that I need to subscribe (simple http request with some specific headers items - see code) and create an http instance for incoming notification. Is there any…

---

## [Optimal size for an SVG in the dashboard](https://discourse.nodered.org/t/optimal-size-for-an-svg-in-the-dashboard/28329)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 1\
**Last updated:** [15 June 2020 06:51 UTC](https://discourse.nodered.org/t/optimal-size-for-an-svg-in-the-dashboard/28329 "2020-06-15T06:51:08Z")

</div>

Hi folks, Unfortunately I still didn't have time yet to use my node-red-contrib-ui-svg node myself :weary: How stupid is that ... So would be nice to get some feedback from users that have used it already. More speci…

---

## [Closing/opening an electric curtain automatically](https://discourse.nodered.org/t/closing-opening-an-electric-curtain-automatically/27142)

<div class="topic-metadata">

**Author:** [@TRS](https://discourse.nodered.org/u/TRS)\
**Replies:** 7\
**Last updated:** [24 May 2020 08:48 UTC](https://discourse.nodered.org/t/closing-opening-an-electric-curtain-automatically/27142 "2020-05-24T08:48:24Z")

</div>

Hallo forum, i try to get more into homeautomation and i think i am here in the right spot. I´ve got a large living room with a huge window. In the summertime its really heating up quickly. I want to avoid that and ins…

---

## [How can I detect if a Raspberry Pi GPIO pin changes?](https://discourse.nodered.org/t/how-can-i-detect-if-a-raspberry-pi-gpio-pin-changes/28331)

<div class="topic-metadata">

**Author:** [@sofakng](https://discourse.nodered.org/u/sofakng)\
**Replies:** 1\
**Last updated:** [15 June 2020 01:51 UTC](https://discourse.nodered.org/t/how-can-i-detect-if-a-raspberry-pi-gpio-pin-changes/28331 "2020-06-15T01:51:54Z")

</div>

Node-RED on my Raspberry Pi came installed with the node-red-node-pi-gpio module. It has a \[rpi gpio in\] object that can read the state of any of the Raspberry Pi GPIO pins. However, how can I detect when the GPIO pin …

---

## [Unable to insert all data values to my database](https://discourse.nodered.org/t/unable-to-insert-all-data-values-to-my-database/28333)

<div class="topic-metadata">

**Author:** [@Fati](https://discourse.nodered.org/u/Fati)\
**Replies:** 1\
**Last updated:** [15 June 2020 00:22 UTC](https://discourse.nodered.org/t/unable-to-insert-all-data-values-to-my-database/28333 "2020-06-15T00:22:57Z")

</div>

Hello! I try to insert data from json file generated from a http but just the last value inserted. my flow and my json file format is presented as bellow.

---

## [Msg object got deleted](https://discourse.nodered.org/t/msg-object-got-deleted/28102)

<div class="topic-metadata">

**Author:** [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Replies:** 9\
**Last updated:** [14 June 2020 23:07 UTC](https://discourse.nodered.org/t/msg-object-got-deleted/28102 "2020-06-14T23:07:19Z")

</div>

I have thousands of elements in my array and used split to effectively traverse it in multiple messages with split array in it. Then I traverse it in a loop, but my problem is it randomly triggers this error message: …

---

## [Stoptimer node not stopping](https://discourse.nodered.org/t/stoptimer-node-not-stopping/28044)

<div class="topic-metadata">

**Author:** [@biz](https://discourse.nodered.org/u/biz)\
**Replies:** 5\
**Last updated:** [14 June 2020 23:03 UTC](https://discourse.nodered.org/t/stoptimer-node-not-stopping/28044 "2020-06-14T23:03:26Z")

</div>

Hello All i am having trouble with a node and I don't know what is wrong. i am hoping it is a bug in my logic but it doesn't appear to be. I am using a 3rd party "stoptimer" node that I have loaded the latest version (f…

---

## [Periodic Compare](https://discourse.nodered.org/t/periodic-compare/28298)

<div class="topic-metadata">

**Author:** [@Peter\_Truman](https://discourse.nodered.org/u/Peter_Truman)\
**Replies:** 2\
**Last updated:** [14 June 2020 23:01 UTC](https://discourse.nodered.org/t/periodic-compare/28298 "2020-06-14T23:01:29Z")

</div>

Hi - I'm trying to figure out how to approach the following problem. I have a flow which uses a Raspberry Pi to control an output, I use an input to get feedback from the device being controlled. All being well - the in…

---

## [Can i control a Keypad 4x4 with node red?](https://discourse.nodered.org/t/can-i-control-a-keypad-4x4-with-node-red/28307)

<div class="topic-metadata">

**Author:** [@Iustin96](https://discourse.nodered.org/u/Iustin96)\
**Replies:** 5\
**Last updated:** [14 June 2020 21:35 UTC](https://discourse.nodered.org/t/can-i-control-a-keypad-4x4-with-node-red/28307 "2020-06-14T21:35:23Z")

</div>

I want to arm and disarm a security system through a physical 4x4 keypad with a 4-digit code. it is possible in node red?

---

## [How to change default state off Raspi pins at start node red service](https://discourse.nodered.org/t/how-to-change-default-state-off-raspi-pins-at-start-node-red-service/28300)

<div class="topic-metadata">

**Author:** [@Johannes](https://discourse.nodered.org/u/Johannes)\
**Replies:** 10\
**Last updated:** [14 June 2020 21:34 UTC](https://discourse.nodered.org/t/how-to-change-default-state-off-raspi-pins-at-start-node-red-service/28300 "2020-06-14T21:34:39Z")

</div>

Hi , Pretty new on Node Red, I want to make a water irrigation for my garden with 2 watervalves and 1 waterflow control for security. (later on some moisture sensors and so on) First of all the 2 watervalves are planne…

---

## [Node-RED and Django?](https://discourse.nodered.org/t/node-red-and-django/12740)

<div class="topic-metadata">

**Author:** [@catafest](https://discourse.nodered.org/u/catafest)\
**Replies:** 7\
**Last updated:** [14 June 2020 19:20 UTC](https://discourse.nodered.org/t/node-red-and-django/12740 "2020-06-14T19:20:47Z")

</div>

We can use Node-RED with Django in the future?

---

## [Password protect Node-red](https://discourse.nodered.org/t/password-protect-node-red/28316)

<div class="topic-metadata">

**Author:** [@lodv](https://discourse.nodered.org/u/lodv)\
**Replies:** 2\
**Last updated:** [14 June 2020 17:35 UTC](https://discourse.nodered.org/t/password-protect-node-red/28316 "2020-06-14T17:35:03Z")

</div>

I try to password protect my Node-Red site. I tried to follow the instructions on the node-red site. This is what I did: I changed the .node-red/settings.js file like this: adminAuth: { type: "credentials", users: …

---

## ['Phantom' email after deleting Cron event](https://discourse.nodered.org/t/phantom-email-after-deleting-cron-event/27122)

<div class="topic-metadata">

**Author:** [@mudwalker](https://discourse.nodered.org/u/mudwalker)\
**Replies:** 37\
**Last updated:** [14 June 2020 15:37 UTC](https://discourse.nodered.org/t/phantom-email-after-deleting-cron-event/27122 "2020-06-14T15:37:20Z")

</div>

I am struggling with this problem. I was wanting to send an email once a day, so I set up node-red-contrib-cron-plus at the suggestion of @TotallyInformation (never had cron so easy to set up and foolproof! Thank you @…

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

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