# General

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

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

**Page:** 870

---

## [Creating a loop I think!](https://discourse.nodered.org/t/creating-a-loop-i-think/12736)

<div class="topic-metadata">

**Author:** [@pmiles156](https://discourse.nodered.org/u/pmiles156)\
**Replies:** 26\
**Last updated:** [6 July 2019 14:02 UTC](https://discourse.nodered.org/t/creating-a-loop-i-think/12736 "2019-07-06T14:02:26Z")

</div>

Hello I'm running node red on a Raspberry pi3. I need to create a loop I think. if the weight is greater \> 10.00 then open and close the side value. 5 seconds open 5 seconds closed. then repeat if the weight is great…

---

## [Connect to websocket on ESP8266](https://discourse.nodered.org/t/connect-to-websocket-on-esp8266/12906)

<div class="topic-metadata">

**Author:** [@AD3D](https://discourse.nodered.org/u/AD3D)\
**Replies:** 3\
**Last updated:** [6 July 2019 13:50 UTC](https://discourse.nodered.org/t/connect-to-websocket-on-esp8266/12906 "2019-07-06T13:50:15Z")

</div>

Is it possible? Yes it is, and mostly because of the good eye of dceejay. So this is solved, althrough it could use some tweaking at the time. For now, I think it would not hurt to leave it here. I was, but still am …

---

## [How to connect other users to my webpage](https://discourse.nodered.org/t/how-to-connect-other-users-to-my-webpage/12940)

<div class="topic-metadata">

**Author:** [@michaelfraser1111](https://discourse.nodered.org/u/michaelfraser1111)\
**Replies:** 6\
**Last updated:** [6 July 2019 09:59 UTC](https://discourse.nodered.org/t/how-to-connect-other-users-to-my-webpage/12940 "2019-07-06T09:59:15Z")

</div>

Hi all, I am creating a webpage using the http nodes. It works for me when I am locally connected. I was wondering if there is a way to upload the webpage to the internet so anyone can view it if they know the password…

---

## [Connecting to 2-way radio systems](https://discourse.nodered.org/t/connecting-to-2-way-radio-systems/12599)

<div class="topic-metadata">

**Author:** [@Bungouk](https://discourse.nodered.org/u/Bungouk)\
**Replies:** 3\
**Last updated:** [6 July 2019 09:43 UTC](https://discourse.nodered.org/t/connecting-to-2-way-radio-systems/12599 "2019-07-06T09:43:22Z")

</div>

Hi all, I am new to node-red, although in the past I have used SMC gateways which use the same type of workflows. What I would like to do is connect a Motorola Mototrbo radio to node red via USB so I can then send text…

---

## [Where are the security data save](https://discourse.nodered.org/t/where-are-the-security-data-save/12888)

<div class="topic-metadata">

**Author:** [@Jack](https://discourse.nodered.org/u/Jack)\
**Replies:** 16\
**Last updated:** [6 July 2019 08:23 UTC](https://discourse.nodered.org/t/where-are-the-security-data-save/12888 "2019-07-06T08:23:44Z")

</div>

sorry for my bad English,I want to know Where is the verification information storen,for example:mqtt node,I find the broker data in flows.json about port,clientId...but I can't find security of username&password in any …

---

## [How to combine specific payload that didn't go to join node at the same time?](https://discourse.nodered.org/t/how-to-combine-specific-payload-that-didnt-go-to-join-node-at-the-same-time/12934)

<div class="topic-metadata">

**Author:** [@Yortz](https://discourse.nodered.org/u/Yortz)\
**Replies:** 9\
**Last updated:** [6 July 2019 07:37 UTC](https://discourse.nodered.org/t/how-to-combine-specific-payload-that-didnt-go-to-join-node-at-the-same-time/12934 "2019-07-06T07:37:24Z")

</div>

I create a Raspberry Pi status report on twitter. Such as Temperature, CPU, RAM and Disk. I trigger to get data from raspberry pi specific period for each value. Temperature,CPU Load,Memory usage trigger value every 10 s…

---

## [Performance troubleshooting - specifically delays in deploy](https://discourse.nodered.org/t/performance-troubleshooting-specifically-delays-in-deploy/12967)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 4\
**Last updated:** [5 July 2019 21:54 UTC](https://discourse.nodered.org/t/performance-troubleshooting-specifically-delays-in-deploy/12967 "2019-07-05T21:54:06Z")

</div>

I'd like to reduce the time it takes to redeploy, currently about 12-15 seconds. When I first started with Node-RED, it took a second or two. I understand it's inevitable that as I do more and more, redeploying will tak…

---

## [HTML fill form to Database](https://discourse.nodered.org/t/html-fill-form-to-database/12966)

<div class="topic-metadata">

**Author:** [@hruby](https://discourse.nodered.org/u/hruby)\
**Replies:** 0\
**Last updated:** [5 July 2019 20:21 UTC](https://discourse.nodered.org/t/html-fill-form-to-database/12966 "2019-07-05T20:21:35Z")

</div>

Hello Folks, I am a rookie in Node-Red. I hope someone can help me with my problem. What I need: One form (Name, Surname) which a person will fil out, than click on 'Submit'-Button. The next page should show the full …

---

## [Connecting to a PC over tcp](https://discourse.nodered.org/t/connecting-to-a-pc-over-tcp/12936)

<div class="topic-metadata">

**Author:** [@chrineuh](https://discourse.nodered.org/u/chrineuh)\
**Replies:** 6\
**Last updated:** [5 July 2019 14:52 UTC](https://discourse.nodered.org/t/connecting-to-a-pc-over-tcp/12936 "2019-07-05T14:52:58Z")

</div>

Hello, i have a problem with conecting to my PC I have a programm running called labview and i want to transfer data between iobroker (node red) and this software. because this software is controlling my oil heating of…

---

## [Provisioning and connecting device to AWS from Node-Red](https://discourse.nodered.org/t/provisioning-and-connecting-device-to-aws-from-node-red/12954)

<div class="topic-metadata">

**Author:** [@GregorR1](https://discourse.nodered.org/u/GregorR1)\
**Replies:** 0\
**Last updated:** [5 July 2019 14:07 UTC](https://discourse.nodered.org/t/provisioning-and-connecting-device-to-aws-from-node-red/12954 "2019-07-05T14:07:21Z")

</div>

Hi, I'm looking to find a way to register and connect a device to the AWS hub using node-red. I currently have this working for the Azure IoT hub but would like to move to AWS as it is easier to use alongside Thingsboa…

---

## [Function not modifying payload](https://discourse.nodered.org/t/function-not-modifying-payload/12953)

<div class="topic-metadata">

**Author:** [@injector22](https://discourse.nodered.org/u/injector22)\
**Replies:** 2\
**Last updated:** [5 July 2019 14:05 UTC](https://discourse.nodered.org/t/function-not-modifying-payload/12953 "2019-07-05T14:05:41Z")

</div>

I'm trying to use a function with an IF statement to modify the payload on a message but for some reason I can't get the payload to change. I used the switch node to make sure I had the correct path to the array returned…

---

## [@node-red/runtime/flows/setFlows API rev check Issue?](https://discourse.nodered.org/t/node-red-runtime-flows-setflows-api-rev-check-issue/12945)

<div class="topic-metadata">

**Author:** [@fabik111](https://discourse.nodered.org/u/fabik111)\
**Replies:** 2\
**Last updated:** [5 July 2019 12:23 UTC](https://discourse.nodered.org/t/node-red-runtime-flows-setflows-api-rev-check-issue/12945 "2019-07-05T12:23:59Z")

</div>

Hi, I'm trying to upload at run time a flows (collection of flow) using the setFlows function API but I got an unspecified stopping error. Following the call stack in debug mode I've landed into @node-red/runtime/lib/a…

---

## [Ttn uplink and mysql desynchronized](https://discourse.nodered.org/t/ttn-uplink-and-mysql-desynchronized/12243)

<div class="topic-metadata">

**Author:** [@Imiau](https://discourse.nodered.org/u/Imiau)\
**Replies:** 2\
**Last updated:** [5 July 2019 10:43 UTC](https://discourse.nodered.org/t/ttn-uplink-and-mysql-desynchronized/12243 "2019-07-05T10:43:56Z")

</div>

Hello, I'm listening for Uplink messages (each 2 minutes arrives 1) from a LoraWAN device and inserting the data to MYSQL Data Base, but I don't understand why but there is a desynchronization between the received data …

---

## [OPC-UA Error when OPC server is offline](https://discourse.nodered.org/t/opc-ua-error-when-opc-server-is-offline/12949)

<div class="topic-metadata">

**Author:** [@wasifh](https://discourse.nodered.org/u/wasifh)\
**Replies:** 2\
**Last updated:** [5 July 2019 10:43 UTC](https://discourse.nodered.org/t/opc-ua-error-when-opc-server-is-offline/12949 "2019-07-05T10:43:03Z")

</div>

I am having issue with OPC-UA which read hte OPC server connected to PLC. When OPC server is off. The Node-red flow crashes after some time. Is there any wayt o stop in crashing and closing down hte node-red. Seems lik…

---

## [Node Red data to SQL database](https://discourse.nodered.org/t/node-red-data-to-sql-database/12941)

<div class="topic-metadata">

**Author:** [@Aldic12Dy](https://discourse.nodered.org/u/Aldic12Dy)\
**Replies:** 4\
**Last updated:** [5 July 2019 09:36 UTC](https://discourse.nodered.org/t/node-red-data-to-sql-database/12941 "2019-07-05T09:36:00Z")

</div>

Hi, While working with machine vibration and temperature, I want to create vibration and temp different values database .For this, I am using ESP32 and vibration sensor .Can you suggest to me how to send data from No…

---

## [Exporting temperature reading to alexa](https://discourse.nodered.org/t/exporting-temperature-reading-to-alexa/2412)

<div class="topic-metadata">

**Author:** [@chris1988](https://discourse.nodered.org/u/chris1988)\
**Replies:** 16\
**Last updated:** [5 July 2019 09:13 UTC](https://discourse.nodered.org/t/exporting-temperature-reading-to-alexa/2412 "2019-07-05T09:13:06Z")

</div>

hello im new hope i have done this right i have managed to setup all my sonoff devices and have alexa working switching though mqtt i can get the reading of the function template (alexa get temp) through alexa but i n…

---

## [To Home Assistant or not to Home assistance](https://discourse.nodered.org/t/to-home-assistant-or-not-to-home-assistance/12887)

<div class="topic-metadata">

**Author:** [@cpyandy](https://discourse.nodered.org/u/cpyandy)\
**Replies:** 11\
**Last updated:** [5 July 2019 05:01 UTC](https://discourse.nodered.org/t/to-home-assistant-or-not-to-home-assistance/12887 "2019-07-05T05:01:00Z")

</div>

I have been using NodeRed for about a year now, the main purpose for NR is as a rule engine for my Arduino and esp8266 devices. All of them are communicating through MQTT. I find the NR and the dashboard works quite fine…

---

## [Automatic create new file&directiry everyday](https://discourse.nodered.org/t/automatic-create-new-file-directiry-everyday/12764)

<div class="topic-metadata">

**Author:** [@ppungpong](https://discourse.nodered.org/u/ppungpong)\
**Replies:** 8\
**Last updated:** [5 July 2019 02:26 UTC](https://discourse.nodered.org/t/automatic-create-new-file-directiry-everyday/12764 "2019-07-05T02:26:04Z")

</div>

How to create new file in every day sort by date, like 07/06/2019 and next day will be 08/06/2019 etc. and also have data in those file too. I don't know how to start it.

---

## [Parse thermostat args](https://discourse.nodered.org/t/parse-thermostat-args/12882)

<div class="topic-metadata">

**Author:** [@sucram](https://discourse.nodered.org/u/sucram)\
**Replies:** 15\
**Last updated:** [4 July 2019 11:50 UTC](https://discourse.nodered.org/t/parse-thermostat-args/12882 "2019-07-04T11:50:56Z")

</div>

I have a node red node Nora" which reads temperature values from my room via Google Home . I have parsed values for heat/eco/off so i can forward calls to rest api's via voice commands. Ok. Is there any way i can read…

---

## [Parsing Json message](https://discourse.nodered.org/t/parsing-json-message/12920)

<div class="topic-metadata">

**Author:** [@Beothuk](https://discourse.nodered.org/u/Beothuk)\
**Replies:** 9\
**Last updated:** [5 July 2019 00:44 UTC](https://discourse.nodered.org/t/parsing-json-message/12920 "2019-07-05T00:44:58Z")

</div>

I am trying to parse out the value of P: in the attached, with no success. I know I should be able to do this with existing nodes split/switch but am unable. I can change the value of P: using the change node and msg.pay…

---

## [Conditional logic to trigger On/Off](https://discourse.nodered.org/t/conditional-logic-to-trigger-on-off/12915)

<div class="topic-metadata">

**Author:** [@admintite](https://discourse.nodered.org/u/admintite)\
**Replies:** 4\
**Last updated:** [4 July 2019 18:01 UTC](https://discourse.nodered.org/t/conditional-logic-to-trigger-on-off/12915 "2019-07-04T18:01:10Z")

</div>

Greetings, I have been struggling to put together this logic. If pvwatts \>= 800 and soc \>= 80 then 2 (turn on inverter) else 3 (turn off inverter). I have tried with the javascript below but it never works...as it neve…

---

## [How to set the Function in Flow or Globally](https://discourse.nodered.org/t/how-to-set-the-function-in-flow-or-globally/12917)

<div class="topic-metadata">

**Author:** [@tamiloli.it](https://discourse.nodered.org/u/tamiloli.it)\
**Replies:** 4\
**Last updated:** [4 July 2019 16:42 UTC](https://discourse.nodered.org/t/how-to-set-the-function-in-flow-or-globally/12917 "2019-07-04T16:42:42Z")

</div>

Hi, I am create the user-defined function into the function node; This function how to set to be flow or globally;I am try to used this function anywhere flow in to number of times; please guide me...

---

## [Linking between multiple flows](https://discourse.nodered.org/t/linking-between-multiple-flows/12891)

<div class="topic-metadata">

**Author:** [@Divya](https://discourse.nodered.org/u/Divya)\
**Replies:** 6\
**Last updated:** [4 July 2019 12:42 UTC](https://discourse.nodered.org/t/linking-between-multiple-flows/12891 "2019-07-04T12:42:32Z")

</div>

Hello, I have created a common Authentication Flow, where all the endpoints before proceeding with its actual task, needs to go through this authentication process and continue if the status of the Authentication Flow is…

---

## [Get Ip of rest caller](https://discourse.nodered.org/t/get-ip-of-rest-caller/12898)

<div class="topic-metadata">

**Author:** [@lamoichenzio](https://discourse.nodered.org/u/lamoichenzio)\
**Replies:** 0\
**Last updated:** [4 July 2019 12:20 UTC](https://discourse.nodered.org/t/get-ip-of-rest-caller/12898 "2019-07-04T12:20:34Z")

</div>

Hi, i'm trying to get the ip of a device that call a rest service exposed by node-red, but in msg.request.headers is reported the ip of my machine running Node-RED. How can i obtain the right ip?

---

## [Regarding oracle error](https://discourse.nodered.org/t/regarding-oracle-error/12772)

<div class="topic-metadata">

**Author:** [@Ramya](https://discourse.nodered.org/u/Ramya)\
**Replies:** 9\
**Last updated:** [4 July 2019 07:37 UTC](https://discourse.nodered.org/t/regarding-oracle-error/12772 "2019-07-04T07:37:51Z")

</div>

Hi Everyone, I am new to Node-Red, and I am storing the oracle details(like config) inside function node "oracledbuser": "username", "oracledbpassword": "password", "oracledbconstring": "IP addr:portnumber", "oracled…

---

## [Edit Configuration for MQTT node](https://discourse.nodered.org/t/edit-configuration-for-mqtt-node/12554)

<div class="topic-metadata">

**Author:** [@anish](https://discourse.nodered.org/u/anish)\
**Replies:** 8\
**Last updated:** [4 July 2019 07:15 UTC](https://discourse.nodered.org/t/edit-configuration-for-mqtt-node/12554 "2019-07-04T07:15:59Z")

</div>

Hello, I am trying to set the configuration of the MQTT node (username and password) from outside the node. For example -\> I get an authentication token after making a REST Api call. I need to set the token as usernam…

---

## [New NR 0.20.5 and --safe mode](https://discourse.nodered.org/t/new-nr-0-20-5-and-safe-mode/12327)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 25\
**Last updated:** [3 July 2019 22:59 UTC](https://discourse.nodered.org/t/new-nr-0-20-5-and-safe-mode/12327 "2019-07-03T22:59:14Z")

</div>

Well, here's one for anyone: I updated some RPIs (and a Ubuntu NUC). They worked. One RPI (Raspberry Pi Model B Rev 2) is not playing the game. Looking at it, it is 100% load on boot and sits at 100% for a long time. …

---

## [Attempting to create a .txt data reader/organizer](https://discourse.nodered.org/t/attempting-to-create-a-txt-data-reader-organizer/12876)

<div class="topic-metadata">

**Author:** [@WuTang89](https://discourse.nodered.org/u/WuTang89)\
**Replies:** 2\
**Last updated:** [3 July 2019 22:03 UTC](https://discourse.nodered.org/t/attempting-to-create-a-txt-data-reader-organizer/12876 "2019-07-03T22:03:52Z")

</div>

Hi all, I'm a new user of Node-Red and currently attempting to build a specific data reader/organizer, please excuse my ignorance if something like this has been answered before, I did a quick search around the forums a…

---

## [Pausing timer in mytimeout](https://discourse.nodered.org/t/pausing-timer-in-mytimeout/3425)

<div class="topic-metadata">

**Author:** [@whatsupskip](https://discourse.nodered.org/u/whatsupskip)\
**Replies:** 14\
**Last updated:** [17 May 2019 17:43 UTC](https://discourse.nodered.org/t/pausing-timer-in-mytimeout/3425 "2019-05-17T17:43:45Z")

</div>

Situation: Pool pump is only to run while sufficient power from solar panels. Pool pump needs only to run x hours per day. mytimeout seems to be a solution to the second part, but I can't determine how to pause the co…

---

## [Get everything stored in global context as object](https://discourse.nodered.org/t/get-everything-stored-in-global-context-as-object/12883)

<div class="topic-metadata">

**Author:** [@jovee](https://discourse.nodered.org/u/jovee)\
**Replies:** 4\
**Last updated:** [3 July 2019 21:20 UTC](https://discourse.nodered.org/t/get-everything-stored-in-global-context-as-object/12883 "2019-07-03T21:20:16Z")

</div>

Hi all! I'm wondering if there's a way to quickly retrieve all key/value pairs from global context as a single object. I know that I could change the settings.js file to store context to a file as opposed to memory onl…

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

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