# General

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

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

**Page:** 686

---

## [Influxdb structure advice needed](https://discourse.nodered.org/t/influxdb-structure-advice-needed/32753)

<div class="topic-metadata">

**Author:** [@877](https://discourse.nodered.org/u/877)\
**Replies:** 4\
**Last updated:** [11 September 2020 19:46 UTC](https://discourse.nodered.org/t/influxdb-structure-advice-needed/32753 "2020-09-11T19:46:01Z")

</div>

New to influxdb, I have it working and can send data from node red in json format. My question is how to arrange the database? A database for each type (i.e. weather, sensors, lights, motion etc..) Or by location (i.e…

---

## [Node-RED installed, yet does not work](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717)

<div class="topic-metadata">

**Author:** [@RonenPerets](https://discourse.nodered.org/u/RonenPerets)\
**Replies:** 9\
**Last updated:** [11 September 2020 19:32 UTC](https://discourse.nodered.org/t/node-red-installed-yet-does-not-work/32717 "2020-09-11T19:32:30Z")

</div>

Hi, Node-RED used to work until yesterday. Then it stopped. I uninstalled Node-RED and Node.js, then reinstalled. Here's how the Node-RED install went: c:\\Users\\ronen.perets\\AppData\\Roaming\\npm\>npm install -g --unsaf…

---

## [How to can i store msg.payload in node red](https://discourse.nodered.org/t/how-to-can-i-store-msg-payload-in-node-red/32743)

<div class="topic-metadata">

**Author:** [@shipra](https://discourse.nodered.org/u/shipra)\
**Replies:** 9\
**Last updated:** [11 September 2020 18:57 UTC](https://discourse.nodered.org/t/how-to-can-i-store-msg-payload-in-node-red/32743 "2020-09-11T18:57:06Z")

</div>

how to can i store msg.payload in node red

---

## [Need gate node with 2 outputs](https://discourse.nodered.org/t/need-gate-node-with-2-outputs/32256)

<div class="topic-metadata">

**Author:** [@LosinIt](https://discourse.nodered.org/u/LosinIt)\
**Replies:** 27\
**Last updated:** [11 September 2020 15:46 UTC](https://discourse.nodered.org/t/need-gate-node-with-2-outputs/32256 "2020-09-11T15:46:59Z")

</div>

I have this flow \[{"id":"157b003.89d2a","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"ebed8251.e6964","type":"hubitat device","z":"157b003.89d2a","name":"Front Porch","server":"5780d46e.3640ac","dev…

---

## [Is it possible to run a Python script so it doesn't exit if Node-RED stops?](https://discourse.nodered.org/t/is-it-possible-to-run-a-python-script-so-it-doesnt-exit-if-node-red-stops/32518)

<div class="topic-metadata">

**Author:** [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Replies:** 44\
**Last updated:** [11 September 2020 15:12 UTC](https://discourse.nodered.org/t/is-it-possible-to-run-a-python-script-so-it-doesnt-exit-if-node-red-stops/32518 "2020-09-11T15:12:18Z")

</div>

Simple as that. I have a Python script that I run from an exec node with the command python3 myscript.py But that stops if Node-RED exits. I want to keep it running no matter what. I assume that's possible, but how?

---

## [How to set the flows\_cred.json location?](https://discourse.nodered.org/t/how-to-set-the-flows-cred-json-location/32745)

<div class="topic-metadata">

**Author:** [@jostor](https://discourse.nodered.org/u/jostor)\
**Replies:** 6\
**Last updated:** [11 September 2020 14:16 UTC](https://discourse.nodered.org/t/how-to-set-the-flows-cred-json-location/32745 "2020-09-11T14:16:45Z")

</div>

In my settings.js file I have set flowFile: '/data/node-red/flows.json', The flows.json file is now located in /data/node-red/. This works as expected, but I also expected the flows\_cred.json file to be located in the s…

---

## [Amazon S3 File List](https://discourse.nodered.org/t/amazon-s3-file-list/32740)

<div class="topic-metadata">

**Author:** [@softy2k](https://discourse.nodered.org/u/softy2k)\
**Replies:** 1\
**Last updated:** [11 September 2020 13:42 UTC](https://discourse.nodered.org/t/amazon-s3-file-list/32740 "2020-09-11T13:42:11Z")

</div>

How can I get the list of files in an S3 bucket? I tried with: node-red-node-aws and node-red-contrib-s3 Both nodes have about the same functions, there is also a watch function, but it is not enough.

---

## [How to calculate 2 msg.id coming from 2 pub different topics simulataneously](https://discourse.nodered.org/t/how-to-calculate-2-msg-id-coming-from-2-pub-different-topics-simulataneously/32730)

<div class="topic-metadata">

**Author:** [@shipra](https://discourse.nodered.org/u/shipra)\
**Replies:** 9\
**Last updated:** [11 September 2020 13:33 UTC](https://discourse.nodered.org/t/how-to-calculate-2-msg-id-coming-from-2-pub-different-topics-simulataneously/32730 "2020-09-11T13:33:48Z")

</div>

Sir,Good morning I want to check 2 msg.id is simultaneously coming from 2 different pub topics and then i want to catch CR\_SUCCESS from one Sub topic if both that msg.id is present in my database.

---

## [Session ID with PRNG](https://discourse.nodered.org/t/session-id-with-prng/32747)

<div class="topic-metadata">

**Author:** [@JFP](https://discourse.nodered.org/u/JFP)\
**Replies:** 3\
**Last updated:** [11 September 2020 13:12 UTC](https://discourse.nodered.org/t/session-id-with-prng/32747 "2020-09-11T13:12:21Z")

</div>

Hello there, we want to use Node-Red, but our security-team requests, that the SessionID of a web-applications for every user has to be unpredictable randomised (PRNG) with at least 128bit entropy. I tried to search fo…

---

## [Insert a variable into a change node](https://discourse.nodered.org/t/insert-a-variable-into-a-change-node/32724)

<div class="topic-metadata">

**Author:** [@nigelcorso](https://discourse.nodered.org/u/nigelcorso)\
**Replies:** 6\
**Last updated:** [11 September 2020 11:36 UTC](https://discourse.nodered.org/t/insert-a-variable-into-a-change-node/32724 "2020-09-11T11:36:32Z")

</div>

hi! I have a http request that has a json in it's response. so far so normal. but one of the objects inside the json has a different name depending on what I sent into the http request. I have a drop down in a dashboar…

---

## [Ui\_list problem](https://discourse.nodered.org/t/ui-list-problem/32738)

<div class="topic-metadata">

**Author:** [@apex](https://discourse.nodered.org/u/apex)\
**Replies:** 0\
**Last updated:** [11 September 2020 10:06 UTC](https://discourse.nodered.org/t/ui-list-problem/32738 "2020-09-11T10:06:36Z")

</div>

Hi , i am working on UI list i have some problem regarding UI List my first problem was seems the Node of UI\_LIST need be triggered otherwise the flow cannot be established. Is is possible for this flow to work WI…

---

## [Unplugging ethernet cable causes ENETUNREACH when using "ip address" instead of "localhost"](https://discourse.nodered.org/t/unplugging-ethernet-cable-causes-enetunreach-when-using-ip-address-instead-of-localhost/32689)

<div class="topic-metadata">

**Author:** [@PapaMikeJuliett](https://discourse.nodered.org/u/PapaMikeJuliett)\
**Replies:** 6\
**Last updated:** [11 September 2020 05:03 UTC](https://discourse.nodered.org/t/unplugging-ethernet-cable-causes-enetunreach-when-using-ip-address-instead-of-localhost/32689 "2020-09-11T05:03:14Z")

</div>

Hi I have made a small setup on a Raspberry pi 1B (RPI), where I read a temperature from a DS18B20 and using Node-red, I store it in an Influx DB. I have also installed Grafana to display the collected data from a compu…

---

## [Formatting negative time on a countdown timer](https://discourse.nodered.org/t/formatting-negative-time-on-a-countdown-timer/32718)

<div class="topic-metadata">

**Author:** [@DavidE1A](https://discourse.nodered.org/u/DavidE1A)\
**Replies:** 3\
**Last updated:** [11 September 2020 03:30 UTC](https://discourse.nodered.org/t/formatting-negative-time-on-a-countdown-timer/32718 "2020-09-11T03:30:32Z")

</div>

Hi again, I have the following code running a countdown timer. It works just fine, until the clock hits zero when it starts counting back up as a negative number. This in itself is fine (and actually quite useful for ou…

---

## [Wondering if this is a place I could ask for help with my flow](https://discourse.nodered.org/t/wondering-if-this-is-a-place-i-could-ask-for-help-with-my-flow/32659)

<div class="topic-metadata">

**Author:** [@mac-city](https://discourse.nodered.org/u/mac-city)\
**Replies:** 4\
**Last updated:** [10 September 2020 22:04 UTC](https://discourse.nodered.org/t/wondering-if-this-is-a-place-i-could-ask-for-help-with-my-flow/32659 "2020-09-10T22:04:58Z")

</div>

I am not a programmer or coder at all, but managed to cobble together kind of a circadian rhythm color led flow for my home assistant. It works perfectly well for my needs, but it would be nice if the lights wouldn't tu…

---

## [Redirecting default login page](https://discourse.nodered.org/t/redirecting-default-login-page/32618)

<div class="topic-metadata">

**Author:** [@carlosrodrigos](https://discourse.nodered.org/u/carlosrodrigos)\
**Replies:** 2\
**Last updated:** [10 September 2020 21:36 UTC](https://discourse.nodered.org/t/redirecting-default-login-page/32618 "2020-09-10T21:36:54Z")

</div>

Hi everyone. I'm trying to create a login screen to my project, and i have tested too many ways to do it. For now, i'm just testing the default login screen (mybluemix.net/users) with the "is logged in" node from node-…

---

## [Unable to connect to Kaiser-Raman OPC UA server using opc ua node](https://discourse.nodered.org/t/unable-to-connect-to-kaiser-raman-opc-ua-server-using-opc-ua-node/32713)

<div class="topic-metadata">

**Author:** [@Shakti060](https://discourse.nodered.org/u/Shakti060)\
**Replies:** 0\
**Last updated:** [10 September 2020 19:59 UTC](https://discourse.nodered.org/t/unable-to-connect-to-kaiser-raman-opc-ua-server-using-opc-ua-node/32713 "2020-09-10T19:59:15Z")

</div>

Hi, I am trying to connect to an OPCUA-server using Basic256/Basic128Rsa15 security policy using Node-Red's inbuilt certificates and key. My flow works perfectly fine when working on a simulation server I've created usin…

---

## [Mustache template and iterating over an array of objects](https://discourse.nodered.org/t/mustache-template-and-iterating-over-an-array-of-objects/32694)

<div class="topic-metadata">

**Author:** [@efratha94](https://discourse.nodered.org/u/efratha94)\
**Replies:** 2\
**Last updated:** [10 September 2020 16:05 UTC](https://discourse.nodered.org/t/mustache-template-and-iterating-over-an-array-of-objects/32694 "2020-09-10T16:05:55Z")

</div>

Hi, I'm trying to iterate over an array of JSON objects, with the template node and mustache templates (because I need to parse it to XML eventually). For some reason though the keys return empty, and that I don't get …

---

## [Message Properties](https://discourse.nodered.org/t/message-properties/32692)

<div class="topic-metadata">

**Author:** [@Rumei](https://discourse.nodered.org/u/Rumei)\
**Replies:** 3\
**Last updated:** [10 September 2020 15:44 UTC](https://discourse.nodered.org/t/message-properties/32692 "2020-09-10T15:44:22Z")

</div>

Hello community, I have been working on a project of a my friend. There are several occurings of msg.from and msg.to, but I cannot find it when logging the msg(Json-object). The msg has only been changed/created by a ht…

---

## [Issue creating a project in node red](https://discourse.nodered.org/t/issue-creating-a-project-in-node-red/19158)

<div class="topic-metadata">

**Author:** [@vks007](https://discourse.nodered.org/u/vks007)\
**Replies:** 3\
**Last updated:** [10 September 2020 14:35 UTC](https://discourse.nodered.org/t/issue-creating-a-project-in-node-red/19158 "2020-09-10T14:35:44Z")

</div>

I need some help in creating a project on node red. I am using the node red add on on hassio and was using a project by the name "raspi\_x15\_nodered" earlier. I migrated to another pi at which point I lost the ssh keys an…

---

## [Changing state of input\_number in Function Node - is it possible? - Revisited](https://discourse.nodered.org/t/changing-state-of-input-number-in-function-node-is-it-possible-revisited/32686)

<div class="topic-metadata">

**Author:** [@Boja](https://discourse.nodered.org/u/Boja)\
**Replies:** 6\
**Last updated:** [10 September 2020 13:33 UTC](https://discourse.nodered.org/t/changing-state-of-input-number-in-function-node-is-it-possible-revisited/32686 "2020-09-10T13:33:12Z")

</div>

I had a post up about this "problem" a month ago, and thought it was solved. It turns out that there is still problems. I'm doing this in a Function Node: var ha = global.get('homeassistant'); ha.homeAssistant.sta…

---

## [How to calulate length of msg.id](https://discourse.nodered.org/t/how-to-calulate-length-of-msg-id/32684)

<div class="topic-metadata">

**Author:** [@shipra](https://discourse.nodered.org/u/shipra)\
**Replies:** 10\
**Last updated:** [10 September 2020 13:11 UTC](https://discourse.nodered.org/t/how-to-calulate-length-of-msg-id/32684 "2020-09-10T13:11:42Z")

</div>

How to calculate length of msg.id .I want to differentiate between fob id and tag is which are of different sizes .please suggest?

---

## [How to send a Break signal ( serial-node)](https://discourse.nodered.org/t/how-to-send-a-break-signal-serial-node/32678)

<div class="topic-metadata">

**Author:** [@alex25](https://discourse.nodered.org/u/alex25)\
**Replies:** 6\
**Last updated:** [10 September 2020 10:41 UTC](https://discourse.nodered.org/t/how-to-send-a-break-signal-serial-node/32678 "2020-09-10T10:41:17Z")

</div>

Hello All, I'm new with Node-Red and found that is a very interesting platform. I'm trying to log data from a serial communication device, but my problem is that to get a full set of data from the device I must sent to t…

---

## [Are split node results true or false?](https://discourse.nodered.org/t/are-split-node-results-true-or-false/32681)

<div class="topic-metadata">

**Author:** [@minhhn0205](https://discourse.nodered.org/u/minhhn0205)\
**Replies:** 8\
**Last updated:** [10 September 2020 10:12 UTC](https://discourse.nodered.org/t/are-split-node-results-true-or-false/32681 "2020-09-10T10:12:54Z")

</div>

From the output of the zip node I did split but the results were different although the contents of the zip files FOLDER\_TEXT.zip and FOLDER\_01.zip were the same. \[{"id":"e6253d00.80925","type":"inject","z":"aa40b59…

---

## [Error opening node red in cmd](https://discourse.nodered.org/t/error-opening-node-red-in-cmd/32635)

<div class="topic-metadata">

**Author:** [@vishalk](https://discourse.nodered.org/u/vishalk)\
**Replies:** 4\
**Last updated:** [10 September 2020 09:00 UTC](https://discourse.nodered.org/t/error-opening-node-red-in-cmd/32635 "2020-09-10T09:00:12Z")

</div>

Hello, I am not able to open node red, I am using node red since 2 weeks.but, this error is contineously running in command promt when I type node-red to start node red. 9 Sep 11:58:12 - \[error\] \[opc-da server:c97c3198…

---

## [Node Red, Uibuilder, and http-vue-loader](https://discourse.nodered.org/t/node-red-uibuilder-and-http-vue-loader/32654)

<div class="topic-metadata">

**Author:** [@tmichaeltx](https://discourse.nodered.org/u/tmichaeltx)\
**Replies:** 6\
**Last updated:** [9 September 2020 21:13 UTC](https://discourse.nodered.org/t/node-red-uibuilder-and-http-vue-loader/32654 "2020-09-09T21:13:03Z")

</div>

I have been following the example from the uibuilder wiki on how to use http-vue-loader to use components without a build step. It works very well and am pleased with the results. I have been working my way through some …

---

## [HTTP GET - rendering problem](https://discourse.nodered.org/t/http-get-rendering-problem/32363)

<div class="topic-metadata">

**Author:** [@RaiRoo](https://discourse.nodered.org/u/RaiRoo)\
**Replies:** 10\
**Last updated:** [9 September 2020 20:28 UTC](https://discourse.nodered.org/t/http-get-rendering-problem/32363 "2020-09-09T20:28:10Z")

</div>

I try to parse a dynamic web site (monitoring of my Fritz!Box), but I fail with using HTTP GET. Apparently the payload contains data BEFORE the complete rendering of the web site is done. Any ideas?

---

## [HTML Node - Problem with CSS selector](https://discourse.nodered.org/t/html-node-problem-with-css-selector/32657)

<div class="topic-metadata">

**Author:** [@bigmadgaga](https://discourse.nodered.org/u/bigmadgaga)\
**Replies:** 2\
**Last updated:** [9 September 2020 19:09 UTC](https://discourse.nodered.org/t/html-node-problem-with-css-selector/32657 "2020-09-09T19:09:28Z")

</div>

Hi@all. I am a newbie in node-red.I try to scrape a few elements of a website. Therefore i created a selector to define the element i want to read out. When i check my created selector with the chrome devoloper tool the…

---

## [Help with how to use flow.variables in change node](https://discourse.nodered.org/t/help-with-how-to-use-flow-variables-in-change-node/32575)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 5\
**Last updated:** [9 September 2020 18:41 UTC](https://discourse.nodered.org/t/help-with-how-to-use-flow-variables-in-change-node/32575 "2020-09-09T18:41:45Z")

</div>

To try and help, here is a basic flow which is what I am needing to do elsewhere with other things. I have two flow.context values. I want to multiply them and send that out as the payload. eg: flow.number and flow.m…

---

## [Multiple instances of find-my-iphone-node](https://discourse.nodered.org/t/multiple-instances-of-find-my-iphone-node/32655)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 0\
**Last updated:** [9 September 2020 17:55 UTC](https://discourse.nodered.org/t/multiple-instances-of-find-my-iphone-node/32655 "2020-09-09T17:55:38Z")

</div>

Looks like find-my-iphone-node only allows one instance. When I try to add a second instance (for another user's phone) it fails and intermittently attempts to send a locate message to the first instance set up. (Even th…

---

## [Help needed for https POST / cookie](https://discourse.nodered.org/t/help-needed-for-https-post-cookie/32630)

<div class="topic-metadata">

**Author:** [@thomy123](https://discourse.nodered.org/u/thomy123)\
**Replies:** 5\
**Last updated:** [9 September 2020 17:10 UTC](https://discourse.nodered.org/t/help-needed-for-https-post-cookie/32630 "2020-09-09T17:10:09Z")

</div>

Hi all I would like to read data out of a water softener (BWT Aqua Perla) which has a webinterface in my own LAN. Therefore its needed as a first step to login through POST request to gain the cookie. The cookie is from…

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

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