# General

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

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

**Page:** 948

---

## [Distribute data to MQTT topics](https://discourse.nodered.org/t/distribute-data-to-mqtt-topics/3291)

<div class="topic-metadata">

**Author:** [@themanfrommoon](https://discourse.nodered.org/u/themanfrommoon)\
**Replies:** 0\
**Last updated:** [20 September 2018 06:34 UTC](https://discourse.nodered.org/t/distribute-data-to-mqtt-topics/3291 "2018-09-20T06:34:30Z")

</div>

Hello, I've been running a volkszähler database for around 2 years now and just started a few weeks ago to MQTT. To get the MQTT messages Node-RED is used. The push server delivers data via websockets to Node-RED. In…

---

## [Node Red on Port 80](https://discourse.nodered.org/t/node-red-on-port-80/2211)

<div class="topic-metadata">

**Author:** [@mtoko](https://discourse.nodered.org/u/mtoko)\
**Replies:** 5\
**Last updated:** [19 September 2018 18:12 UTC](https://discourse.nodered.org/t/node-red-on-port-80/2211 "2018-09-19T18:12:07Z")

</div>

Hi I would like to run node red on port 80 rather than 1880. I have changed the setting in settings.js but node red does not start with the error below. If I change back to 1880 it starts fine. Any advice appreciated 1…

---

## [Split message from LoRa to UI](https://discourse.nodered.org/t/split-message-from-lora-to-ui/3230)

<div class="topic-metadata">

**Author:** [@mshaz](https://discourse.nodered.org/u/mshaz)\
**Replies:** 4\
**Last updated:** [19 September 2018 15:49 UTC](https://discourse.nodered.org/t/split-message-from-lora-to-ui/3230 "2018-09-19T15:49:48Z")

</div>

Hi I need help. How do i split these messages from serial node so i can display it in UI as gauges. I got the datasets from LoRa node. Thank you

---

## [Does anyone use working "node-red-contrib-pccc"?](https://discourse.nodered.org/t/does-anyone-use-working-node-red-contrib-pccc/3273)

<div class="topic-metadata">

**Author:** [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Replies:** 0\
**Last updated:** [19 September 2018 14:56 UTC](https://discourse.nodered.org/t/does-anyone-use-working-node-red-contrib-pccc/3273 "2018-09-19T14:56:18Z")

</div>

I'm trying to connect an Allen Bradley MicroLogix 1400... I don't know if it is compatible with the contrib or not. I can get it to connect, but I get this error "\[error\] \[pccc out:31f39494.c867ac\] TypeError: Cannot …

---

## [Http request - set user agent](https://discourse.nodered.org/t/http-request-set-user-agent/3269)

<div class="topic-metadata">

**Author:** [@petez69](https://discourse.nodered.org/u/petez69)\
**Replies:** 2\
**Last updated:** [19 September 2018 13:59 UTC](https://discourse.nodered.org/t/http-request-set-user-agent/3269 "2018-09-19T13:59:19Z")

</div>

Hi Folks I'd like to be able to set the http request user agent as: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 I realise I need a function that …

---

## [Can't find module mraa](https://discourse.nodered.org/t/cant-find-module-mraa/947)

<div class="topic-metadata">

**Author:** [@Dhiaa](https://discourse.nodered.org/u/Dhiaa)\
**Replies:** 14\
**Last updated:** [19 September 2018 10:44 UTC](https://discourse.nodered.org/t/cant-find-module-mraa/947 "2018-09-19T10:44:45Z")

</div>

Hi, I am getting some errors when starting Node-red. Here is it: \[node-red-node-intel-gpio/mraa-gpio-ain\] Error: Cannot find module ‘mraa’ (line:3) \[warn\] \[node-red-node-intel-gpio/mraa-gpio-din\] Error: Cannot find mo…

---

## [Upgrade to 0.19.4 not gone well](https://discourse.nodered.org/t/upgrade-to-0-19-4-not-gone-well/3261)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 6\
**Last updated:** [19 September 2018 09:14 UTC](https://discourse.nodered.org/t/upgrade-to-0-19-4-not-gone-well/3261 "2018-09-19T09:14:36Z")

</div>

Decided to update a Pi to 0.19.4 (from 0.19.2) and got this pi@plinth:~/.node-red $ node-red bash: /usr/bin/node-red: No such file or directory rebooted and got this pi@plinth:~/.node-red $ node-red bash: node-red: co…

---

## [Node-red rf button multifunction single/double/triple press](https://discourse.nodered.org/t/node-red-rf-button-multifunction-single-double-triple-press/3182)

<div class="topic-metadata">

**Author:** [@lpt2007](https://discourse.nodered.org/u/lpt2007)\
**Replies:** 3\
**Last updated:** [19 September 2018 08:09 UTC](https://discourse.nodered.org/t/node-red-rf-button-multifunction-single-double-triple-press/3182 "2018-09-19T08:09:16Z")

</div>

How to make flow for rf button multifunction(single press/double press/triple press)? my button sends command only when pressed. Can someone show me example flow or share similar solution.

---

## [Secret Management](https://discourse.nodered.org/t/secret-management/3237)

<div class="topic-metadata">

**Author:** [@johntdyer](https://discourse.nodered.org/u/johntdyer)\
**Replies:** 2\
**Last updated:** [19 September 2018 07:02 UTC](https://discourse.nodered.org/t/secret-management/3237 "2018-09-19T07:02:17Z")

</div>

Is there a way to move secrets out of my settings.js file and into another file which I can add to .gitignore ? I am looking for something similar to secrets.yaml on hass. -John

---

## [Switching based on runtime for day or week](https://discourse.nodered.org/t/switching-based-on-runtime-for-day-or-week/2970)

<div class="topic-metadata">

**Author:** [@whatsupskip](https://discourse.nodered.org/u/whatsupskip)\
**Replies:** 3\
**Last updated:** [19 September 2018 02:15 UTC](https://discourse.nodered.org/t/switching-based-on-runtime-for-day-or-week/2970 "2018-09-19T02:15:05Z")

</div>

What is the easiest/best way to switch a device on/off based on how long a device has been on (running) for during the current day (since 00 hours) or the last 7 days? I have been the time at which the device is turned …

---

## [Working FTP node ? or direct XML input](https://discourse.nodered.org/t/working-ftp-node-or-direct-xml-input/3232)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 18\
**Last updated:** [19 September 2018 00:06 UTC](https://discourse.nodered.org/t/working-ftp-node-or-direct-xml-input/3232 "2018-09-19T00:06:44Z")

</div>

Guys, Wanting to grab some FTP files - see here ftp://ftp2.bom.gov.au/anon/gen/fwo/IDN10064.xml And put them into node red, so i can try and parse some Sydney weather info from our BOM. I have looked at each of the FT…

---

## [How to run a file on raspberry pi 3 \[n00b\]](https://discourse.nodered.org/t/how-to-run-a-file-on-raspberry-pi-3-n00b/3240)

<div class="topic-metadata">

**Author:** [@quique123](https://discourse.nodered.org/u/quique123)\
**Replies:** 3\
**Last updated:** [18 September 2018 17:28 UTC](https://discourse.nodered.org/t/how-to-run-a-file-on-raspberry-pi-3-n00b/3240 "2018-09-18T17:28:24Z")

</div>

I started with node-red yesterday. What would be the best way to have a button (in html I guess) to fire a node that runs a python file on the raspberry pi 3? At present I have a tkinter window GUI program on the rpi3 …

---

## [Error while installing node-red](https://discourse.nodered.org/t/error-while-installing-node-red/3244)

<div class="topic-metadata">

**Author:** [@malinthasa](https://discourse.nodered.org/u/malinthasa)\
**Replies:** 1\
**Last updated:** [18 September 2018 17:16 UTC](https://discourse.nodered.org/t/error-while-installing-node-red/3244 "2018-09-18T17:16:50Z")

</div>

Hi, I uninstalled node-red usingsudo npm uninstall -g node-red and reinstalled it using sudo npm install -g --unsafe-perm node-red. I am getting following error while installing. node-pre-gyp ERR! Completion callback …

---

## [Will there be any performance hit because of using many MQTT nodes](https://discourse.nodered.org/t/will-there-be-any-performance-hit-because-of-using-many-mqtt-nodes/3204)

<div class="topic-metadata">

**Author:** [@nithinbandaru1](https://discourse.nodered.org/u/nithinbandaru1)\
**Replies:** 13\
**Last updated:** [18 September 2018 16:25 UTC](https://discourse.nodered.org/t/will-there-be-any-performance-hit-because-of-using-many-mqtt-nodes/3204 "2018-09-18T16:25:00Z")

</div>

Hi, I have couple of flows that has around 300 mqtt nodes and all are using one single MQTT client. Now, 40 MQTT nodes will go to one function node, 40 to other function node 60 to other function node 60 to other funct…

---

## [Node-red npm WARN checkPermissions](https://discourse.nodered.org/t/node-red-npm-warn-checkpermissions/3234)

<div class="topic-metadata">

**Author:** [@Marco](https://discourse.nodered.org/u/Marco)\
**Replies:** 14\
**Last updated:** [18 September 2018 11:29 UTC](https://discourse.nodered.org/t/node-red-npm-warn-checkpermissions/3234 "2018-09-18T11:29:06Z")

</div>

hello, when I try to install some package on node-red with npm I get the following error : sudo npm i node-red-node-base64 npm WARN checkPermissions Missing write access to /root/.node-red/node\_modules/node-red-node-sq…

---

## [Raspberry Pi hangs up at Node-Red start](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181)

<div class="topic-metadata">

**Author:** [@b35b5dad43ea282b65d0](https://discourse.nodered.org/u/b35b5dad43ea282b65d0)\
**Replies:** 10\
**Last updated:** [18 September 2018 09:56 UTC](https://discourse.nodered.org/t/raspberry-pi-hangs-up-at-node-red-start/3181 "2018-09-18T09:56:27Z")

</div>

Hi, I have installed the Node-Red on my Pi with the BCM 2835 Library. But now I have the problem, that the Pi hangs up when I start node-red. So I can use the Raspberry without any problem, but when I enter node-red s…

---

## [Huge number of devices with nodered via mqtt](https://discourse.nodered.org/t/huge-number-of-devices-with-nodered-via-mqtt/3212)

<div class="topic-metadata">

**Author:** [@piyushbarua](https://discourse.nodered.org/u/piyushbarua)\
**Replies:** 10\
**Last updated:** [18 September 2018 07:43 UTC](https://discourse.nodered.org/t/huge-number-of-devices-with-nodered-via-mqtt/3212 "2018-09-18T07:43:05Z")

</div>

Need some expert guidance If I want to connect 10k or above device with node-red via MQTT what is the best approach. Also, I want to show statistics on the dashboard for each and every device. a device you can assume ESP…

---

## [One node-red to another (different rpi's)](https://discourse.nodered.org/t/one-node-red-to-another-different-rpis/3203)

<div class="topic-metadata">

**Author:** [@matisok](https://discourse.nodered.org/u/matisok)\
**Replies:** 7\
**Last updated:** [18 September 2018 06:16 UTC](https://discourse.nodered.org/t/one-node-red-to-another-different-rpis/3203 "2018-09-18T06:16:04Z")

</div>

I have one RPi with a hardware buttons wired up to it that I would like to speak to another RPi with an output (controlling a HW relay) - both running node-red obviously. How do I send a message from the one rpi to the …

---

## [How to Stream with IP camera on ubuntu?](https://discourse.nodered.org/t/how-to-stream-with-ip-camera-on-ubuntu/3135)

<div class="topic-metadata">

**Author:** [@rhkd9504](https://discourse.nodered.org/u/rhkd9504)\
**Replies:** 6\
**Last updated:** [17 September 2018 23:52 UTC](https://discourse.nodered.org/t/how-to-stream-with-ip-camera-on-ubuntu/3135 "2018-09-17T23:52:32Z")

</div>

Hi I am Daniel, the beginner of Node-red. I would like to add the ip camera on node red dashboard But I can only find the guideline of Raspberry pi - camera on internet... My items are: Ubuntu 1.8 Vstarcam-100g (IP …

---

## [Node-red-contrib-google upload image in google drive](https://discourse.nodered.org/t/node-red-contrib-google-upload-image-in-google-drive/3224)

<div class="topic-metadata">

**Author:** [@Albatroz](https://discourse.nodered.org/u/Albatroz)\
**Replies:** 0\
**Last updated:** [17 September 2018 19:43 UTC](https://discourse.nodered.org/t/node-red-contrib-google-upload-image-in-google-drive/3224 "2018-09-17T19:43:22Z")

</div>

Hello community! I'm new to node-red and I'm exploring this powerful tool, recently discovering the node-red-contrib-google to perform requests in the google APIs, I'm mounting a request stream in the google drive API, …

---

## [TI sensorTag data flow problem](https://discourse.nodered.org/t/ti-sensortag-data-flow-problem/2694)

<div class="topic-metadata">

**Author:** [@BrianD](https://discourse.nodered.org/u/BrianD)\
**Replies:** 8\
**Last updated:** [17 September 2018 14:54 UTC](https://discourse.nodered.org/t/ti-sensortag-data-flow-problem/2694 "2018-09-17T14:54:15Z")

</div>

I am trying to link the TI sensorTag to Blynk using node-red. For some reason I have 3 data streams working but I can't get Temperature to to read on Blynk. The debug option is displaying all of the data I need includ…

---

## [Global.set ARRAY\[ \]](https://discourse.nodered.org/t/global-set-array/3193)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 2\
**Last updated:** [17 September 2018 12:21 UTC](https://discourse.nodered.org/t/global-set-array/3193 "2018-09-17T12:21:49Z")

</div>

We have declared a Global Array MyStatus and initialized it with array \[1,2,3,4,5\] var MyStatus = global.set\[ 1,2,3,4,5\]; Example 1 'hardcoded' so the DataUpdate is stored in the 4th Array position '3'. THIS is OK /…

---

## [Change a msg.payload in a function node without continuing flow](https://discourse.nodered.org/t/change-a-msg-payload-in-a-function-node-without-continuing-flow/3188)

<div class="topic-metadata">

**Author:** [@GChapo](https://discourse.nodered.org/u/GChapo)\
**Replies:** 8\
**Last updated:** [17 September 2018 12:11 UTC](https://discourse.nodered.org/t/change-a-msg-payload-in-a-function-node-without-continuing-flow/3188 "2018-09-17T12:11:55Z")

</div>

Hello, I am putting together a scheduler in the dashboard using the later node. The first part of the schedule is to choose a TV channel from a dropdown list and then to set the time you wish to change channel. In ord…

---

## [Create Dashboard Wireless Vibration sensor using Particle photon](https://discourse.nodered.org/t/create-dashboard-wireless-vibration-sensor-using-particle-photon/3205)

<div class="topic-metadata">

**Author:** [@catchy65](https://discourse.nodered.org/u/catchy65)\
**Replies:** 1\
**Last updated:** [17 September 2018 10:45 UTC](https://discourse.nodered.org/t/create-dashboard-wireless-vibration-sensor-using-particle-photon/3205 "2018-09-17T10:45:23Z")

</div>

Hello, I am trying to interface mesh network with node red but I need to know the best way to create a dashboard which helps me to show the data of wireless vibration sensor interfacing with Particle photon any suggestio…

---

## [HTML request / handle of data](https://discourse.nodered.org/t/html-request-handle-of-data/3191)

<div class="topic-metadata">

**Author:** [@maxmueller50](https://discourse.nodered.org/u/maxmueller50)\
**Replies:** 6\
**Last updated:** [17 September 2018 10:41 UTC](https://discourse.nodered.org/t/html-request-handle-of-data/3191 "2018-09-17T10:41:50Z")

</div>

my garden-irrigation is now working, very fine thing - but I have a "big" problem, where I can't fine the way in Node-Red Flow for receiving data from the Water-pump. there are water-pressure and two level-switches and t…

---

## [How to handle no message?](https://discourse.nodered.org/t/how-to-handle-no-message/3147)

<div class="topic-metadata">

**Author:** [@fil](https://discourse.nodered.org/u/fil)\
**Replies:** 8\
**Last updated:** [17 September 2018 03:54 UTC](https://discourse.nodered.org/t/how-to-handle-no-message/3147 "2018-09-17T03:54:11Z")

</div>

Im using the node-red-contrib-xiaomi-ble node which is fantastic, But there are circumstances where it fails to poll/capture any data. Sometimes this is due to an error that i can catch and retry using a catch node and…

---

## [JSON Filtering Question](https://discourse.nodered.org/t/json-filtering-question/3180)

<div class="topic-metadata">

**Author:** [@M0CRT](https://discourse.nodered.org/u/M0CRT)\
**Replies:** 3\
**Last updated:** [16 September 2018 20:36 UTC](https://discourse.nodered.org/t/json-filtering-question/3180 "2018-09-16T20:36:44Z")

</div>

Hello all I'm sure someone will be able to answer this...it's been driving me mad all weekend! I've taken a CSV file and brought it into a JSON file object for use 'locally' within a future Dashboard UI operation, I am…

---

## [Ring doorbell \>\>\> Google home](https://discourse.nodered.org/t/ring-doorbell-google-home/2924)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 24\
**Last updated:** [15 September 2018 18:18 UTC](https://discourse.nodered.org/t/ring-doorbell-google-home/2924 "2018-09-15T18:18:40Z")

</div>

Just purchased a Ring doorbell, and thought it would be pretty good if the doorbell is activated, NR could play a mp3/wav file in Google Home, to alert family that the doorbell had been pressed. This would remove the re…

---

## [Node-red-contrib-google-home-notify](https://discourse.nodered.org/t/node-red-contrib-google-home-notify/1029)

<div class="topic-metadata">

**Author:** [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Replies:** 4\
**Last updated:** [15 September 2018 16:10 UTC](https://discourse.nodered.org/t/node-red-contrib-google-home-notify/1029 "2018-09-15T16:10:01Z")

</div>

Does anybody has this node running? I’m able to see that is connecting to my google-home however I’m not able to pull any message to be heard from it. Thanks in advance

---

## [Can someone look at this flow and tell me what is wrong please?](https://discourse.nodered.org/t/can-someone-look-at-this-flow-and-tell-me-what-is-wrong-please/3154)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 20\
**Last updated:** [15 September 2018 01:48 UTC](https://discourse.nodered.org/t/can-someone-look-at-this-flow-and-tell-me-what-is-wrong-please/3154 "2018-09-15T01:48:32Z")

</div>

Guys, I have a flow - 1st part runs once per second and sets a flow variable to Default - i use the moment node for this - this to enable me to use the formatted date time in a logging file. I then have a 2nd flow that…

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

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