# General

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

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

**Page:** 938

---

## [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…

---

## [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…

---

## [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…

---

## [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 …

---

## [How does your dashboards and mobile access look like?](https://discourse.nodered.org/t/how-does-your-dashboards-and-mobile-access-look-like/4545)

<div class="topic-metadata">

**Author:** [@taucher4000](https://discourse.nodered.org/u/taucher4000)\
**Replies:** 3\
**Last updated:** [4 November 2018 21:42 UTC](https://discourse.nodered.org/t/how-does-your-dashboards-and-mobile-access-look-like/4545 "2018-11-04T21:42:19Z")

</div>

How does your dashboards and mobile access look like? I recently moved my smart home system to node-red and I'm quite excited about this. Just the Dashboard is not what I would expect from a smart home system. I'm looki…

---

## [Node-RED and memory](https://discourse.nodered.org/t/node-red-and-memory/4530)

<div class="topic-metadata">

**Author:** [@rmckinnon](https://discourse.nodered.org/u/rmckinnon)\
**Replies:** 10\
**Last updated:** [4 November 2018 18:06 UTC](https://discourse.nodered.org/t/node-red-and-memory/4530 "2018-11-04T18:06:57Z")

</div>

Is there a way to increase the amount of memory Node-RED uses? I am processing rather large number of files and I am getting a "JavaScript heap out of memory" error.

---

## [Efficiency with multiple MQTT subscriptions from same broker?](https://discourse.nodered.org/t/efficiency-with-multiple-mqtt-subscriptions-from-same-broker/4556)

<div class="topic-metadata">

**Author:** [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Replies:** 3\
**Last updated:** [4 November 2018 15:49 UTC](https://discourse.nodered.org/t/efficiency-with-multiple-mqtt-subscriptions-from-same-broker/4556 "2018-11-04T15:49:25Z")

</div>

I've ended up with five subscription topics from the same MQTT broker in my flow as it has evolved. It is working great, but I'm wondering if its worth the effort (beyond perhaps making the flow look a bit "cleaner" in …

---

## [Artnet node not working](https://discourse.nodered.org/t/artnet-node-not-working/4527)

<div class="topic-metadata">

**Author:** [@chris1988](https://discourse.nodered.org/u/chris1988)\
**Replies:** 2\
**Last updated:** [4 November 2018 14:32 UTC](https://discourse.nodered.org/t/artnet-node-not-working/4527 "2018-11-04T14:32:44Z")

</div>

hello has anyone had any luck with artnet node, im strugging sending the payload i have it working in hassio via light: but am unable to get it to work in node https://github.com/2bbb/node-red-node-artnet/issues/3 \[{…

---

## [Generate a random number and keep in two webpages](https://discourse.nodered.org/t/generate-a-random-number-and-keep-in-two-webpages/4547)

<div class="topic-metadata">

**Author:** [@anguslou](https://discourse.nodered.org/u/anguslou)\
**Replies:** 2\
**Last updated:** [4 November 2018 09:07 UTC](https://discourse.nodered.org/t/generate-a-random-number-and-keep-in-two-webpages/4547 "2018-11-04T09:07:38Z")

</div>

Hi, It is a beginner question, thanks for your help. I want to create a random number and create/ keep the random number in two web pages, say /random and /page, following codes don't get me there: \[{"id":"4d22149a.6f…

---

## [Update More than one Value with SQLITE](https://discourse.nodered.org/t/update-more-than-one-value-with-sqlite/4542)

<div class="topic-metadata">

**Author:** [@ilvesheimer](https://discourse.nodered.org/u/ilvesheimer)\
**Replies:** 2\
**Last updated:** [3 November 2018 23:54 UTC](https://discourse.nodered.org/t/update-more-than-one-value-with-sqlite/4542 "2018-11-03T23:54:48Z")

</div>

Hello, I started to work with SQLite a few days ago and need to update some rows with values of different variables. So i tried to use a funktion like this (followed by the sqlite node): msg.payload = global.get("GlI…

---

## [While updating my machines](https://discourse.nodered.org/t/while-updating-my-machines/4518)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [3 November 2018 21:23 UTC](https://discourse.nodered.org/t/while-updating-my-machines/4518 "2018-11-03T21:23:45Z")

</div>

I was going through my ten or so RPI's and updating them to the latest and greatest versions. I know there can be problems doing that, but I believe it is sometimes better to stay up to date than not. So: I got this w…

---

## [Serial Port Issue: Permission denied, cannot open /dev/ttyACM0](https://discourse.nodered.org/t/serial-port-issue-permission-denied-cannot-open-dev-ttyacm0/4500)

<div class="topic-metadata">

**Author:** [@Belen](https://discourse.nodered.org/u/Belen)\
**Replies:** 7\
**Last updated:** [3 November 2018 15:32 UTC](https://discourse.nodered.org/t/serial-port-issue-permission-denied-cannot-open-dev-ttyacm0/4500 "2018-11-03T15:32:35Z")

</div>

Hi everyone! I have a application running that reads info from 2 devices connected in serial port mode. The thing is I have this app running in a Dell that uses Ubuntu Core, so when type "snap logs node-red" it displays…

---

## [Incrementing HTTP Post](https://discourse.nodered.org/t/incrementing-http-post/4513)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 3\
**Last updated:** [3 November 2018 14:42 UTC](https://discourse.nodered.org/t/incrementing-http-post/4513 "2018-11-03T14:42:48Z")

</div>

I have a situation where I am sending a HTTP Post command to a series of IP devices. The IP devices have sequential IP address For example: 192.168.1.1 192.168.1.2... 192.168.1.100 I have tried the attached flow , …

---

## [\[Solved\] Upgrade to 0.19.5 went badly. Need a little help](https://discourse.nodered.org/t/solved-upgrade-to-0-19-5-went-badly-need-a-little-help/4524)

<div class="topic-metadata">

**Author:** [@ncherry](https://discourse.nodered.org/u/ncherry)\
**Replies:** 3\
**Last updated:** [3 November 2018 13:58 UTC](https://discourse.nodered.org/t/solved-upgrade-to-0-19-5-went-badly-need-a-little-help/4524 "2018-11-03T13:58:20Z")

</div>

I attempted to upgrade to 0.19.5 and ran into issues with the email node. It required I upgrade node.js. I'm currently stuck with node.js 10.13.0 and node-red 0.19.5. Unfortunately I'm now stuck at waiting for nodes: sql…

---

## [Node-red beginner needs help](https://discourse.nodered.org/t/node-red-beginner-needs-help/4505)

<div class="topic-metadata">

**Author:** [@anguslou](https://discourse.nodered.org/u/anguslou)\
**Replies:** 5\
**Last updated:** [3 November 2018 09:09 UTC](https://discourse.nodered.org/t/node-red-beginner-needs-help/4505 "2018-11-03T09:09:57Z")

</div>

I have a random function to create a random number between 1 to 10, and need a debug node to tell "the random number created is x". Suppose I should create a function node and how to code for this function node? sorry f…

---

## [HTTP GET request for data and post to website](https://discourse.nodered.org/t/http-get-request-for-data-and-post-to-website/4520)

<div class="topic-metadata">

**Author:** [@anguslou](https://discourse.nodered.org/u/anguslou)\
**Replies:** 4\
**Last updated:** [3 November 2018 08:35 UTC](https://discourse.nodered.org/t/http-get-request-for-data-and-post-to-website/4520 "2018-11-03T08:35:28Z")

</div>

Hi all, I need to create an application that will accept following: an http GET request to http://your-node-red-instance/time that returns a JSON document containing the current time on the NodeRED server an http …

---

## [OMXPlayer control](https://discourse.nodered.org/t/omxplayer-control/4482)

<div class="topic-metadata">

**Author:** [@MrDmx1024](https://discourse.nodered.org/u/MrDmx1024)\
**Replies:** 3\
**Last updated:** [3 November 2018 03:27 UTC](https://discourse.nodered.org/t/omxplayer-control/4482 "2018-11-03T03:27:52Z")

</div>

can somebody help be figure out how to convert this script into a working function in Node-Red? # get rid of the cursor so we don't see it when videos are running setterm -cursor off # set here the path to the director…

---

## [Automatic start pc](https://discourse.nodered.org/t/automatic-start-pc/4501)

<div class="topic-metadata">

**Author:** [@marioarmillei](https://discourse.nodered.org/u/marioarmillei)\
**Replies:** 2\
**Last updated:** [2 November 2018 16:47 UTC](https://discourse.nodered.org/t/automatic-start-pc/4501 "2018-11-02T16:47:45Z")

</div>

i made a program on node-red. How to do that automatically starts the dashboard. i have window 10.

---

## [Do I have to need implement the ContextStore.delete (scope) API?](https://discourse.nodered.org/t/do-i-have-to-need-implement-the-contextstore-delete-scope-api/4085)

<div class="topic-metadata">

**Author:** [@kominami](https://discourse.nodered.org/u/kominami)\
**Replies:** 4\
**Last updated:** [2 November 2018 13:01 UTC](https://discourse.nodered.org/t/do-i-have-to-need-implement-the-contextstore-delete-scope-api/4085 "2018-11-02T13:01:40Z")

</div>

I'm very troubled now. Do I have to need implement the ContextStore.delete (scope) API? The ContextStore.delete (scope) API of the localfilesystem plugin was not called. However, the ContextStore.delete (scope) API of…

---

## [Switching on/off oven using temperature in Home Assistant](https://discourse.nodered.org/t/switching-on-off-oven-using-temperature-in-home-assistant/4486)

<div class="topic-metadata">

**Author:** [@ohj](https://discourse.nodered.org/u/ohj)\
**Replies:** 5\
**Last updated:** [2 November 2018 09:52 UTC](https://discourse.nodered.org/t/switching-on-off-oven-using-temperature-in-home-assistant/4486 "2018-11-02T09:52:26Z")

</div>

Hello. I've just started out with Node-RED, and I love how easy it is to visualize the automations. Or at least I will love it when I'm finally able to use it properly. :slight\_smile: Currently I'm trying to regulate …

---

## [SOLVED ... Sqlite insert 2 readings on the same row?](https://discourse.nodered.org/t/solved-sqlite-insert-2-readings-on-the-same-row/4480)

<div class="topic-metadata">

**Author:** [@questuk](https://discourse.nodered.org/u/questuk)\
**Replies:** 19\
**Last updated:** [2 November 2018 09:15 UTC](https://discourse.nodered.org/t/solved-sqlite-insert-2-readings-on-the-same-row/4480 "2018-11-02T09:15:29Z")

</div>

Hi, I am trying to insert 2 readings on the same row in SQLITE. I have looked on the form but cannot find the answer ? Below is my function that receives 2 payloads Date and Time. When inserted into Sqlite the Date i…

---

## [Decimal from signed 2's complement](https://discourse.nodered.org/t/decimal-from-signed-2s-complement/4468)

<div class="topic-metadata">

**Author:** [@bobbyboucher](https://discourse.nodered.org/u/bobbyboucher)\
**Replies:** 4\
**Last updated:** [2 November 2018 09:00 UTC](https://discourse.nodered.org/t/decimal-from-signed-2s-complement/4468 "2018-11-02T09:00:28Z")

</div>

I am having a really difficult time figuring this out. I am pulling data from a device that produces values both positive and negative, the data is output in hex. I use a function like this to convert the hex into deci…

---

## [mySQL: How to get the execution status of a query](https://discourse.nodered.org/t/mysql-how-to-get-the-execution-status-of-a-query/4475)

<div class="topic-metadata">

**Author:** [@DerekG007](https://discourse.nodered.org/u/DerekG007)\
**Replies:** 11\
**Last updated:** [2 November 2018 07:55 UTC](https://discourse.nodered.org/t/mysql-how-to-get-the-execution-status-of-a-query/4475 "2018-11-02T07:55:01Z")

</div>

Does anyone know how to obtain the execution status of command such as insert from the mysql node? I need to set a trigger upon when the data has been inserted successfully.

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

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