# Latest

**URL:** https://discourse.nodered.org/latest.md?page=1348

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

**Page:** 1349

---

## [Open URL when Raspberry Pin was set by motion sensor](https://discourse.nodered.org/t/open-url-when-raspberry-pin-was-set-by-motion-sensor/4629)

<div class="topic-metadata">

**Author:** [@Tebee](https://discourse.nodered.org/u/Tebee)\
**Replies:** 3\
**Last updated:** [8 November 2018 10:24 UTC](https://discourse.nodered.org/t/open-url-when-raspberry-pin-was-set-by-motion-sensor/4629 "2018-11-08T10:24:44Z")

</div>

Hi, I have a little problem and also a solution but it doesn't work. I want to open a URL like www.google.com when a Raspberry Pin was set by a motion detector (for example). The GPIO Pin is connected to the function a…

---

## [Updating template one variable at a time](https://discourse.nodered.org/t/updating-template-one-variable-at-a-time/4546)

<div class="topic-metadata">

**Author:** [@Marooned](https://discourse.nodered.org/u/Marooned)\
**Replies:** 7\
**Last updated:** [8 November 2018 09:40 UTC](https://discourse.nodered.org/t/updating-template-one-variable-at-a-time/4546 "2018-11-08T09:40:30Z")

</div>

I was unable to find the answer to quite a simple question (I would guess). Having template with multiple {{variables}}, I would expect to update only ones with passed value but it looks like the whole template is being…

---

## [Options for NR -\> NR comms across the internet](https://discourse.nodered.org/t/options-for-nr-nr-comms-across-the-internet/4645)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 15\
**Last updated:** [8 November 2018 09:00 UTC](https://discourse.nodered.org/t/options-for-nr-nr-comms-across-the-internet/4645 "2018-11-08T09:00:31Z")

</div>

I am looking options for communicating securely between two instances of node red across the internet. Open one of the NRs to the internet. I don't want to do this if at all possible. I am not happy that the s/w is …

---

## [Cannot install node-red on Ubuntu 18.04 - Even using source](https://discourse.nodered.org/t/cannot-install-node-red-on-ubuntu-18-04-even-using-source/4637)

<div class="topic-metadata">

**Author:** [@alucard001](https://discourse.nodered.org/u/alucard001)\
**Replies:** 5\
**Last updated:** [8 November 2018 08:55 UTC](https://discourse.nodered.org/t/cannot-install-node-red-on-ubuntu-18-04-even-using-source/4637 "2018-11-08T08:55:29Z")

</div>

Hi all Keep it short, here is the error I got: As you can see, I am using sudo npm install --production, but it still shows Permission denied. alucard@chatbot:/home/alucard/node-red/node-red-0.19.5$ sudo npm install -…

---

## [eCharts as JavaScript external chart library](https://discourse.nodered.org/t/echarts-as-javascript-external-chart-library/4578)

<div class="topic-metadata">

**Author:** [@rcardos1](https://discourse.nodered.org/u/rcardos1)\
**Replies:** 2\
**Last updated:** [8 November 2018 02:07 UTC](https://discourse.nodered.org/t/echarts-as-javascript-external-chart-library/4578 "2018-11-08T02:07:38Z")

</div>

Hi Community, I've tested sucessfully the Morris.js example posted in the programming guide and applied it to an a home app of mine with a nice improvement on the charts views of the built app. This was on "Node-RED: L…

---

## ["TypeError: msg.payload.split is not a function"](https://discourse.nodered.org/t/typeerror-msg-payload-split-is-not-a-function/4656)

<div class="topic-metadata">

**Author:** [@AD3D](https://discourse.nodered.org/u/AD3D)\
**Replies:** 7\
**Last updated:** [8 November 2018 00:30 UTC](https://discourse.nodered.org/t/typeerror-msg-payload-split-is-not-a-function/4656 "2018-11-08T00:30:34Z")

</div>

I am trying to learn this, so was reading the info on this page: Redirecting…. Mainly because I would like to split this: Output is coming from a html node as a single message containing an array in msg.payload. (in…

---

## [Return msg from ui\_template node](https://discourse.nodered.org/t/return-msg-from-ui-template-node/4651)

<div class="topic-metadata">

**Author:** [@rerrico](https://discourse.nodered.org/u/rerrico)\
**Replies:** 3\
**Last updated:** [7 November 2018 22:14 UTC](https://discourse.nodered.org/t/return-msg-from-ui-template-node/4651 "2018-11-07T22:14:00Z")

</div>

Hi: I have code in a ui\_template node and i want to return the file name, in this case $("#file-name").text(this.files\[0\].name); to a connected node. How would that be done in the below code: \<html\> \<head\> \<meta http-…

---

## [MQTT Only Sends to Most Recent Subscribed Client](https://discourse.nodered.org/t/mqtt-only-sends-to-most-recent-subscribed-client/4626)

<div class="topic-metadata">

**Author:** [@Dustin](https://discourse.nodered.org/u/Dustin)\
**Replies:** 3\
**Last updated:** [7 November 2018 20:56 UTC](https://discourse.nodered.org/t/mqtt-only-sends-to-most-recent-subscribed-client/4626 "2018-11-07T20:56:03Z")

</div>

Using Node Red to control 12 machines via MQTT. Have Mosca MQTT Broker Node, and the MQTT Out node to send a message on topic "Movement". The machines use a Particle Photon connected via wifi to receive the commands se…

---

## [How to Disable Security Loging](https://discourse.nodered.org/t/how-to-disable-security-loging/4646)

<div class="topic-metadata">

**Author:** [@Wagner\_Amaral](https://discourse.nodered.org/u/Wagner_Amaral)\
**Replies:** 1\
**Last updated:** [7 November 2018 20:29 UTC](https://discourse.nodered.org/t/how-to-disable-security-loging/4646 "2018-11-07T20:29:33Z")

</div>

Hi all After configured the Security part as described in the node-red web site, I can't logging with my user and password. Now I'm need to disable this function, and this is not work. So, I need some help with this..…

---

## [Making a custom ui\_node : using external angular libraries](https://discourse.nodered.org/t/making-a-custom-ui-node-using-external-angular-libraries/4510)

<div class="topic-metadata">

**Author:** [@edorgeville](https://discourse.nodered.org/u/edorgeville)\
**Replies:** 2\
**Last updated:** [7 November 2018 20:07 UTC](https://discourse.nodered.org/t/making-a-custom-ui-node-using-external-angular-libraries/4510 "2018-11-07T20:07:57Z")

</div>

Hi everyone, I'm trying to make a custom node using the newly published guide at https://github.com/node-red/node-red-dashboard/wiki/Creating-New-Dashboard-Widgets. To save some time, I want to reuse the angular keypad …

---

## [Google Calendar - more than next even](https://discourse.nodered.org/t/google-calendar-more-than-next-even/4638)

<div class="topic-metadata">

**Author:** [@kristi5](https://discourse.nodered.org/u/kristi5)\
**Replies:** 1\
**Last updated:** [7 November 2018 16:23 UTC](https://discourse.nodered.org/t/google-calendar-more-than-next-even/4638 "2018-11-07T16:23:49Z")

</div>

I would like to have possibility to set number of next events or limit by time span. The node can generate single message with array of results or maybe multiple messages for each returned event. Are there any plans to …

---

## [Method to interact bewteen node-red/JS/HTML/CSS ui\_template](https://discourse.nodered.org/t/method-to-interact-bewteen-node-red-js-html-css-ui-template/4229)

<div class="topic-metadata">

**Author:** [@Bobet21](https://discourse.nodered.org/u/Bobet21)\
**Replies:** 21\
**Last updated:** [7 November 2018 14:27 UTC](https://discourse.nodered.org/t/method-to-interact-bewteen-node-red-js-html-css-ui-template/4229 "2018-11-07T14:27:54Z")

</div>

Hey, Keeping up on my battery application (node is copied below) - I am trying to get my msg.payload to animate HTML and CSS and I am not quite sure how to do this. The example of the ui\_template suggests that the HTML…

---

## [HTTP Response Node Page](https://discourse.nodered.org/t/http-response-node-page/4623)

<div class="topic-metadata">

**Author:** [@rerrico](https://discourse.nodered.org/u/rerrico)\
**Replies:** 3\
**Last updated:** [7 November 2018 13:57 UTC](https://discourse.nodered.org/t/http-response-node-page/4623 "2018-11-07T13:57:58Z")

</div>

I have two buttons on a Dashboard, one to select a file and one to upload it. That part works fine, but I would like to find a way to not go to a new page where the the msg payload is displayed (in this case the path an…

---

## [Package vulnerabilities](https://discourse.nodered.org/t/package-vulnerabilities/4540)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 26\
**Last updated:** [7 November 2018 03:52 UTC](https://discourse.nodered.org/t/package-vulnerabilities/4540 "2018-11-07T03:52:33Z")

</div>

While updating my computers to the latest and fixing other problems I got this warning shown to me. pi@PortaPi:~/.node-red $ sudo npm uninstall node-red-node-rbe npm WARN node-red-project@0.0.1 No repository field. npm …

---

## [Uninstall custom node](https://discourse.nodered.org/t/uninstall-custom-node/4605)

<div class="topic-metadata">

**Author:** [@gabriel-delira](https://discourse.nodered.org/u/gabriel-delira)\
**Replies:** 5\
**Last updated:** [6 November 2018 20:30 UTC](https://discourse.nodered.org/t/uninstall-custom-node/4605 "2018-11-06T20:30:09Z")

</div>

Hi, i've created some customs nodes and linked with my local node-red server using: sudo npm link my-custom-node But now I want to remove 1 of them from my modules. I tried use sudo npm uninstall my-custom-node-to-rem…

---

## [Customizing deployment to send settings.json to other nodered Instance](https://discourse.nodered.org/t/customizing-deployment-to-send-settings-json-to-other-nodered-instance/4594)

<div class="topic-metadata">

**Author:** [@ErickWendel](https://discourse.nodered.org/u/ErickWendel)\
**Replies:** 4\
**Last updated:** [6 November 2018 12:34 UTC](https://discourse.nodered.org/t/customizing-deployment-to-send-settings-json-to-other-nodered-instance/4594 "2018-11-06T12:34:06Z")

</div>

Hi Guys. We are thinking to develop a distributed nodered cluster to make something like a Studio. My customers will draw your own flows but I want to customize the deploy button. When my customer clicks on the deploy bu…

---

## [Node Red behind a proxy](https://discourse.nodered.org/t/node-red-behind-a-proxy/4600)

<div class="topic-metadata">

**Author:** [@ashash2](https://discourse.nodered.org/u/ashash2)\
**Replies:** 1\
**Last updated:** [6 November 2018 09:32 UTC](https://discourse.nodered.org/t/node-red-behind-a-proxy/4600 "2018-11-06T09:32:45Z")

</div>

Hello friends, in my work we have put a raspberry pi with raspbian stretch lite, on which we have mounted mqtt and node-red. At work we have a proxy squid that does not require authentication. If I create a flow with t…

---

## [getHours and getMinutes issue on Date object](https://discourse.nodered.org/t/gethours-and-getminutes-issue-on-date-object/4597)

<div class="topic-metadata">

**Author:** [@anguslou](https://discourse.nodered.org/u/anguslou)\
**Replies:** 1\
**Last updated:** [6 November 2018 05:45 UTC](https://discourse.nodered.org/t/gethours-and-getminutes-issue-on-date-object/4597 "2018-11-06T05:45:11Z")

</div>

I got a return "TypeError: time.getHours is not a function". Why getHours is not a function while time is a date object? var time = new Date().toLocaleTimeString(); flow.set("currenttime", time); //store at "currentti…

---

## [Tips For Managing Several Node-Reds?](https://discourse.nodered.org/t/tips-for-managing-several-node-reds/4406)

<div class="topic-metadata">

**Author:** [@seth350](https://discourse.nodered.org/u/seth350)\
**Replies:** 17\
**Last updated:** [5 November 2018 22:43 UTC](https://discourse.nodered.org/t/tips-for-managing-several-node-reds/4406 "2018-11-05T22:43:46Z")

</div>

I have many RPis all running the same Node-Red flow with the same UI. If a revision or update is needed, it must be implemented for every RPi I have. While it is not too bad for two or three, I am on track to having 12 …

---

## [Node-red keeps restarting](https://discourse.nodered.org/t/node-red-keeps-restarting/4583)

<div class="topic-metadata">

**Author:** [@godestalbin](https://discourse.nodered.org/u/godestalbin)\
**Replies:** 7\
**Last updated:** [5 November 2018 21:54 UTC](https://discourse.nodered.org/t/node-red-keeps-restarting/4583 "2018-11-05T21:54:02Z")

</div>

Hello, I am new to node-red. I try to use node-red-contrib-viseo. Everything was fine at first but now I am stuck with node-red rebooting all the time. I thought my flow somehow get corrupted so it rename flows.json t…

---

## [How to change dynamic IP address (changip.com) using Node-RED?](https://discourse.nodered.org/t/how-to-change-dynamic-ip-address-changip-com-using-node-red/4164)

<div class="topic-metadata">

**Author:** [@janvda](https://discourse.nodered.org/u/janvda)\
**Replies:** 15\
**Last updated:** [5 November 2018 21:29 UTC](https://discourse.nodered.org/t/how-to-change-dynamic-ip-address-changip-com-using-node-red/4164 "2018-11-05T21:29:01Z")

</div>

Hi, I would like to create a Node-RED flow which allows me to change my dynamic IP address (changeip.com) to a new IP address as my ISP is regularly changing the WAN IP address of my router. I already figure out how to…

---

## [\[UPDATE\] node-red-contrib-queue-gate (version 1.0.0)](https://discourse.nodered.org/t/update-node-red-contrib-queue-gate-version-1-0-0/4595)

<div class="topic-metadata">

**Author:** [@drmibell](https://discourse.nodered.org/u/drmibell)\
**Replies:** 0\
**Last updated:** [5 November 2018 20:37 UTC](https://discourse.nodered.org/t/update-node-red-contrib-queue-gate-version-1-0-0/4595 "2018-11-05T20:37:29Z")

</div>

Version 1.0.0 is a major update. The term reset is now used instead of purge to describe the action of deleting all queued messages. See the discussion at \[ANNOUNCE\] node-red-contrib-queue-gate. This can be a breaking ch…

---

## [Reading rss feeds](https://discourse.nodered.org/t/reading-rss-feeds/4554)

<div class="topic-metadata">

**Author:** [@jay2068](https://discourse.nodered.org/u/jay2068)\
**Replies:** 5\
**Last updated:** [5 November 2018 18:47 UTC](https://discourse.nodered.org/t/reading-rss-feeds/4554 "2018-11-05T18:47:53Z")

</div>

Trying to read in some rss feeds but not sure on how to get the data to a HTML table. when the feedparser runs it outputs multiple payloads. How do I aggregate them to put into an array to loop them so I can extract the…

---

## [Remove ascii characters from payload](https://discourse.nodered.org/t/remove-ascii-characters-from-payload/819)

<div class="topic-metadata">

**Author:** [@alphadev](https://discourse.nodered.org/u/alphadev)\
**Replies:** 5\
**Last updated:** [5 November 2018 11:51 UTC](https://discourse.nodered.org/t/remove-ascii-characters-from-payload/819 "2018-11-05T11:51:02Z")

</div>

These do not seem to work as it complains that \*.replace is not a function. //var msg = {payload:msg.payload.replace(/\[^\\x00-\\x7F\]/g, “”)}; //msg.payload = msg.payload.Replace(/\[^\\x00-\\x7F\]/g, “”); //var msg = {payloa…

---

## [Login Page for users](https://discourse.nodered.org/t/login-page-for-users/870)

<div class="topic-metadata">

**Author:** [@diode1990](https://discourse.nodered.org/u/diode1990)\
**Replies:** 6\
**Last updated:** [5 November 2018 10:52 UTC](https://discourse.nodered.org/t/login-page-for-users/870 "2018-11-05T10:52:09Z")

</div>

Hello, I hope some one can help. I created a dashboard for opening a rolling gate. Ten people are allowed to open this door. How can I create a login page that every user have is own password. I can only find, how t…

---

## [Dashboard -\> Numeric Input multiple Values](https://discourse.nodered.org/t/dashboard-numeric-input-multiple-values/4571)

<div class="topic-metadata">

**Author:** [@hermann1514](https://discourse.nodered.org/u/hermann1514)\
**Replies:** 4\
**Last updated:** [5 November 2018 10:09 UTC](https://discourse.nodered.org/t/dashboard-numeric-input-multiple-values/4571 "2018-11-05T10:09:12Z")

</div>

Hi, I control my openhab2 with Nodered. Now I have the following problem: I have created a dashboard with some "numeric inputs" to set the temperature of the heater. If I now want to set the temperature from 22.0 to …

---

## [Gpio timer duration,](https://discourse.nodered.org/t/gpio-timer-duration/4566)

<div class="topic-metadata">

**Author:** [@Ghbisson](https://discourse.nodered.org/u/Ghbisson)\
**Replies:** 2\
**Last updated:** [5 November 2018 09:13 UTC](https://discourse.nodered.org/t/gpio-timer-duration/4566 "2018-11-05T09:13:28Z")

</div>

I would like to measure how long a gpio input is "On" so I could send a notification after a certain period of time. I looked at some nodes and at first look I can't find nodes that would do such a thing. Any good idea…

---

## [Doing http request with every msg.payload.id](https://discourse.nodered.org/t/doing-http-request-with-every-msg-payload-id/4506)

<div class="topic-metadata">

**Author:** [@licccboeh](https://discourse.nodered.org/u/licccboeh)\
**Replies:** 5\
**Last updated:** [5 November 2018 08:51 UTC](https://discourse.nodered.org/t/doing-http-request-with-every-msg-payload-id/4506 "2018-11-05T08:51:46Z")

</div>

Hello! I'm new to using Node-Red and solving a problem step by step. I'm trying to do Rest API query for each ID that i've got in "msg.payload.id". For example https://website.com/api/\<msg.payload.id\>. At the moment i…

---

## [Controlling a SonOff S20 switch](https://discourse.nodered.org/t/controlling-a-sonoff-s20-switch/4559)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 2\
**Last updated:** [5 November 2018 06:22 UTC](https://discourse.nodered.org/t/controlling-a-sonoff-s20-switch/4559 "2018-11-05T06:22:03Z")

</div>

Controlling a sonoff S20 device I've just finished writing an instruction sheet, for my IoT students, on how to control a SonOff S20 mains switch. Note: This exercise uses a WeMos D1 Mini, Node-RED and MQTT (mosquitto)…

---

## [HTTP Post not responding, malformed URL?](https://discourse.nodered.org/t/http-post-not-responding-malformed-url/4516)

<div class="topic-metadata">

**Author:** [@lamachine](https://discourse.nodered.org/u/lamachine)\
**Replies:** 3\
**Last updated:** [5 November 2018 04:04 UTC](https://discourse.nodered.org/t/http-post-not-responding-malformed-url/4516 "2018-11-05T04:04:29Z")

</div>

I put together a very simple form and post to learn this feature in node-red, but hitting a wall The form displays, and when I enter data and click submit, I get; URL http://localhost:1880/"posts?"title"=No&"post"=hel …

[Previous page](https://discourse.nodered.org/latest.md?page=1347)

[Next page](https://discourse.nodered.org/latest.md?page=1349)
