# General

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

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

**Page:** 910

---

## [Issues with Node-RED chatbot tutorial](https://discourse.nodered.org/t/issues-with-node-red-chatbot-tutorial/8511)

<div class="topic-metadata">

**Author:** [@nhar](https://discourse.nodered.org/u/nhar)\
**Replies:** 1\
**Last updated:** [1 March 2019 16:13 UTC](https://discourse.nodered.org/t/issues-with-node-red-chatbot-tutorial/8511 "2019-03-01T16:13:42Z")

</div>

I'm following the chat assistant tutorial here using their imported code. The application works fine, except that when a message is sent it just disappears - there's no conversation history and it's not possible to commu…

---

## [Retrieving filtered values jsgrid from a template node](https://discourse.nodered.org/t/retrieving-filtered-values-jsgrid-from-a-template-node/3480)

<div class="topic-metadata">

**Author:** [@nico](https://discourse.nodered.org/u/nico)\
**Replies:** 3\
**Last updated:** [1 March 2019 12:21 UTC](https://discourse.nodered.org/t/retrieving-filtered-values-jsgrid-from-a-template-node/3480 "2019-03-01T12:21:16Z")

</div>

hello, I work on a CRUD, i use js-grid, and mongodb for data base,here is my flow, all works properly, inserting, updating, deleting, and filtering. My question is whether I can retrieve the results of a filtering, for e…

---

## [NODE-RED- Error messages](https://discourse.nodered.org/t/node-red-error-messages/8495)

<div class="topic-metadata">

**Author:** [@Geeta](https://discourse.nodered.org/u/Geeta)\
**Replies:** 13\
**Last updated:** [1 March 2019 11:19 UTC](https://discourse.nodered.org/t/node-red-error-messages/8495 "2019-03-01T11:19:46Z")

</div>

"Error: Cannot find module 'fs-extra'" "Error stopping node: TimeoutError: timed out after 15000ms" Why this errors occur while using node red?

---

## [Can't (don't know how to) define sub-levels in objects](https://discourse.nodered.org/t/cant-dont-know-how-to-define-sub-levels-in-objects/8496)

<div class="topic-metadata">

**Author:** [@jycemea](https://discourse.nodered.org/u/jycemea)\
**Replies:** 5\
**Last updated:** [1 March 2019 10:39 UTC](https://discourse.nodered.org/t/cant-dont-know-how-to-define-sub-levels-in-objects/8496 "2019-03-01T10:39:44Z")

</div>

Can someone give me/explain me the correct syntax to define till 2 sub-levels in the present code? the array is : answer\["gps-location"\]\[0\].constellation = \[\] I would like to add under this level : nsat I tried withou…

---

## [Nodes not available](https://discourse.nodered.org/t/nodes-not-available/8479)

<div class="topic-metadata">

**Author:** [@ABNodered](https://discourse.nodered.org/u/ABNodered)\
**Replies:** 5\
**Last updated:** [1 March 2019 10:06 UTC](https://discourse.nodered.org/t/nodes-not-available/8479 "2019-03-01T10:06:50Z")

</div>

Hi, I have installed node-red-contrib-msg-queue but I cannot use it in a flow as it does not appear in my palette. It has a grey box with dashed border as in the attached picture. Any ideas on how to get this install …

---

## [Noble Bluetooth Presence detector one message on value change](https://discourse.nodered.org/t/noble-bluetooth-presence-detector-one-message-on-value-change/8271)

<div class="topic-metadata">

**Author:** [@tsdasd](https://discourse.nodered.org/u/tsdasd)\
**Replies:** 5\
**Last updated:** [1 March 2019 08:59 UTC](https://discourse.nodered.org/t/noble-bluetooth-presence-detector-one-message-on-value-change/8271 "2019-03-01T08:59:29Z")

</div>

Hey guys, i'm fairly new to node-red and currently trying to make a flow that detects if a person comes home and then doing something once (open door, turn lights on or something else) but i can't figure out how i make …

---

## [adminAuth for Login](https://discourse.nodered.org/t/adminauth-for-login/8475)

<div class="topic-metadata">

**Author:** [@hebergeweb](https://discourse.nodered.org/u/hebergeweb)\
**Replies:** 4\
**Last updated:** [1 March 2019 08:40 UTC](https://discourse.nodered.org/t/adminauth-for-login/8475 "2019-03-01T08:40:54Z")

</div>

I commented "adminAuth:" in the settings.js file, but authentication remains. And otherwise i change login and password but still login failed. And i try to reinstall node-red but same problem so how to access directl…

---

## [Switch on flow using telegram bot](https://discourse.nodered.org/t/switch-on-flow-using-telegram-bot/8464)

<div class="topic-metadata">

**Author:** [@ZenoVD](https://discourse.nodered.org/u/ZenoVD)\
**Replies:** 3\
**Last updated:** [28 February 2019 18:43 UTC](https://discourse.nodered.org/t/switch-on-flow-using-telegram-bot/8464 "2019-02-28T18:43:17Z")

</div>

Hello, I am making a home security alarm for a school project and i want to turn turn it on and off wih Telegram bot. Does anyone have an idea of how I can do this? Scince I cannot connect my Telegram sender to my PIR …

---

## [Need Node-Red documentation in PDF format](https://discourse.nodered.org/t/need-node-red-documentation-in-pdf-format/8480)

<div class="topic-metadata">

**Author:** [@PicoPi](https://discourse.nodered.org/u/PicoPi)\
**Replies:** 3\
**Last updated:** [28 February 2019 18:37 UTC](https://discourse.nodered.org/t/need-node-red-documentation-in-pdf-format/8480 "2019-02-28T18:37:30Z")

</div>

Hi all, Heading for a week of R&R and have no access to internet or cellular networks. Was wondering if the entire documentation on Node-Red was available in PDF format? Failing that, any suggestion on what program to…

---

## [Something to convert in XML?](https://discourse.nodered.org/t/something-to-convert-in-xml/8478)

<div class="topic-metadata">

**Author:** [@jycemea](https://discourse.nodered.org/u/jycemea)\
**Replies:** 6\
**Last updated:** [28 February 2019 16:18 UTC](https://discourse.nodered.org/t/something-to-convert-in-xml/8478 "2019-02-28T16:18:03Z")

</div>

I'm facing a problem now. I need to convert some datas (in function node) in XML to connect an API... but the current XML syntax is not accepted in Node Red function Node: For example my object is named : WifiAccessPoin…

---

## [Function node accuracy to setup worldmap](https://discourse.nodered.org/t/function-node-accuracy-to-setup-worldmap/8434)

<div class="topic-metadata">

**Author:** [@jycemea](https://discourse.nodered.org/u/jycemea)\
**Replies:** 2\
**Last updated:** [28 February 2019 14:39 UTC](https://discourse.nodered.org/t/function-node-accuracy-to-setup-worldmap/8434 "2019-02-28T14:39:40Z")

</div>

Hi, Can someone explain me how to write a function node to correctltly setup an acceptable accuracy in Worlmap... to be able to see the orange icon on the map? Issues : no refresh and no autozoom/autocenter on the ma…

---

## [Using array loop](https://discourse.nodered.org/t/using-array-loop/8471)

<div class="topic-metadata">

**Author:** [@Tax\_Man](https://discourse.nodered.org/u/Tax_Man)\
**Replies:** 3\
**Last updated:** [28 February 2019 13:31 UTC](https://discourse.nodered.org/t/using-array-loop/8471 "2019-02-28T13:31:11Z")

</div>

Hello, I'm new to node red. I'm trying to change some examples to my use. I have imported https://github.com/s1r-J/node-red-contrib-loop-processing Now i want to put in a array through a array loop. But after 1 cycle i…

---

## [Query Message and Trigger an Action](https://discourse.nodered.org/t/query-message-and-trigger-an-action/8461)

<div class="topic-metadata">

**Author:** [@ebnerjoh](https://discourse.nodered.org/u/ebnerjoh)\
**Replies:** 6\
**Last updated:** [28 February 2019 13:23 UTC](https://discourse.nodered.org/t/query-message-and-trigger-an-action/8461 "2019-02-28T13:23:17Z")

</div>

Hi, I am getting from an API Integration a long message payload: {"customerId":"xxx","customerName":"xxx","username":"xxx","userId":"xxx","settings":{"type":"ALARM\_ONLY","version":"CUSTOM","screenSaverVersion":"NO\_SCRE…

---

## [Need help to interpret & calculate buffer](https://discourse.nodered.org/t/need-help-to-interpret-calculate-buffer/8446)

<div class="topic-metadata">

**Author:** [@BastelKlaus](https://discourse.nodered.org/u/BastelKlaus)\
**Replies:** 3\
**Last updated:** [28 February 2019 09:07 UTC](https://discourse.nodered.org/t/need-help-to-interpret-calculate-buffer/8446 "2019-02-28T09:07:30Z")

</div>

Hi i think it´s another Newbee question from me, but i didn\`t found an answer. In my first Topic i neede help to send commands to my central heater, now he answers. To get the Temperatur it is need to calculate with 2B…

---

## [Big Timer how to change payload from 1 to 0 and 0 to 1](https://discourse.nodered.org/t/big-timer-how-to-change-payload-from-1-to-0-and-0-to-1/8243)

<div class="topic-metadata">

**Author:** [@Vince](https://discourse.nodered.org/u/Vince)\
**Replies:** 18\
**Last updated:** [27 February 2019 18:33 UTC](https://discourse.nodered.org/t/big-timer-how-to-change-payload-from-1-to-0-and-0-to-1/8243 "2019-02-27T18:33:52Z")

</div>

This my second day learning node-red and I have no coding experience other than Basic (25 years ago). Here is the question: Is there a better way to change default payload output of Big Timer than adding 2 “change” nod…

---

## [Does amazon Alexa dot 3rd gen work with node red](https://discourse.nodered.org/t/does-amazon-alexa-dot-3rd-gen-work-with-node-red/8440)

<div class="topic-metadata">

**Author:** [@IoT\_Student](https://discourse.nodered.org/u/IoT_Student)\
**Replies:** 3\
**Last updated:** [27 February 2019 16:23 UTC](https://discourse.nodered.org/t/does-amazon-alexa-dot-3rd-gen-work-with-node-red/8440 "2019-02-27T16:23:12Z")

</div>

Hi I am being tutored in node red by ‘dramatic dave’ and we were trying to work out if my amazon echo dot 3rd gen will work with node red and what Alexa nodes will work

---

## [Start Flow by Name?](https://discourse.nodered.org/t/start-flow-by-name/8323)

<div class="topic-metadata">

**Author:** [@jbaben](https://discourse.nodered.org/u/jbaben)\
**Replies:** 11\
**Last updated:** [27 February 2019 16:07 UTC](https://discourse.nodered.org/t/start-flow-by-name/8323 "2019-02-27T16:07:12Z")

</div>

Hello, I downloaded the flow "PWM Control LED" from the Node-Red page \[https://flows.nodered.org/?term=gpio&num\_pages=1\] and imported: \[{“id”:“fde7314.d38d4d”,“type”:“rpi-gpio out”,“z”:“b73e866c.ea2e08”,“name”:“LED 2 o…

---

## [Send Sensor Data to send on node red server running on AWS server](https://discourse.nodered.org/t/send-sensor-data-to-send-on-node-red-server-running-on-aws-server/8436)

<div class="topic-metadata">

**Author:** [@Varul92](https://discourse.nodered.org/u/Varul92)\
**Replies:** 1\
**Last updated:** [27 February 2019 14:05 UTC](https://discourse.nodered.org/t/send-sensor-data-to-send-on-node-red-server-running-on-aws-server/8436 "2019-02-27T14:05:59Z")

</div>

Hi, With the help of node red tutorial. I was able to install the node red. Could It be possible to send the Data of sensor through ESP8266 by using the public IP (alotted by AWS server) to be defined as MQTT server in …

---

## [Telegram + 9x gpio-multi-function-lights + P.I.R + dash all working ;) but need help with a function](https://discourse.nodered.org/t/telegram-9x-gpio-multi-function-lights-p-i-r-dash-all-working-but-need-help-with-a-function/8314)

<div class="topic-metadata">

**Author:** [@lost66](https://discourse.nodered.org/u/lost66)\
**Replies:** 5\
**Last updated:** [27 February 2019 12:27 UTC](https://discourse.nodered.org/t/telegram-9x-gpio-multi-function-lights-p-i-r-dash-all-working-but-need-help-with-a-function/8314 "2019-02-27T12:27:33Z")

</div>

\[{"id":"de3f81b5.8f7a1","type":"smartswitch","z":"7355e642.932538","name":"","topic":"FAMILY ROOM","timeout":"0","x":1020,"y":40,"wires":\[\["256d0392.f2548c","6a95b7c5.5901f8"\]\]},{"id":"256d0392.f2548c","type":"function",…

---

## [Sqlite on Raspberry Pi Zero](https://discourse.nodered.org/t/sqlite-on-raspberry-pi-zero/8404)

<div class="topic-metadata">

**Author:** [@pinkimark](https://discourse.nodered.org/u/pinkimark)\
**Replies:** 20\
**Last updated:** [27 February 2019 11:07 UTC](https://discourse.nodered.org/t/sqlite-on-raspberry-pi-zero/8404 "2019-02-27T11:07:37Z")

</div>

Hey, I'm trying to set up a small home automation server using a Raspberry Pi Zero W. I've got the code I want to use working on my laptop and trying to export it across to my raspberry pi. the 2 extra Nodes I need for …

---

## [Node for switching flow on and off](https://discourse.nodered.org/t/node-for-switching-flow-on-and-off/8431)

<div class="topic-metadata">

**Author:** [@strixx](https://discourse.nodered.org/u/strixx)\
**Replies:** 5\
**Last updated:** [27 February 2019 09:02 UTC](https://discourse.nodered.org/t/node-for-switching-flow-on-and-off/8431 "2019-02-27T09:02:44Z")

</div>

Hi, Have been searching for days now but can't seem to find a node that fits my needs. So I am about to write a function instead. But then I thought that I can't be the only one in need of this function. So is there nod…

---

## [How to trigger node injecting specific date](https://discourse.nodered.org/t/how-to-trigger-node-injecting-specific-date/8393)

<div class="topic-metadata">

**Author:** [@msanchezt](https://discourse.nodered.org/u/msanchezt)\
**Replies:** 5\
**Last updated:** [27 February 2019 08:10 UTC](https://discourse.nodered.org/t/how-to-trigger-node-injecting-specific-date/8393 "2019-02-27T08:10:04Z")

</div>

Hi all, I have NodeRed connected with Home Assistant. I would like to trigger an action (set\_cover\_position to specific value) 30 minutes before the sun rises. I was thinking in getting this value from "sun.sun" entity…

---

## [Delay node, rate limit don't send first message](https://discourse.nodered.org/t/delay-node-rate-limit-dont-send-first-message/8399)

<div class="topic-metadata">

**Author:** [@strixx](https://discourse.nodered.org/u/strixx)\
**Replies:** 10\
**Last updated:** [26 February 2019 20:58 UTC](https://discourse.nodered.org/t/delay-node-rate-limit-dont-send-first-message/8399 "2019-02-26T20:58:23Z")

</div>

Hello, Been using Node-RED for a week or so now. And have a question about the delay node. A couple of days ago I started creating a flow where I needed to limit the amount of messages passed on to another node. Found …

---

## [Custom Node Data Input Question](https://discourse.nodered.org/t/custom-node-data-input-question/8415)

<div class="topic-metadata">

**Author:** [@tcontrada](https://discourse.nodered.org/u/tcontrada)\
**Replies:** 3\
**Last updated:** [26 February 2019 20:22 UTC](https://discourse.nodered.org/t/custom-node-data-input-question/8415 "2019-02-26T20:22:40Z")

</div>

I have created a custom node and in the .JS file there is a line of code which accepts the User Input Data from the HTML dialog. This is the line of code I m referring: this.applicationHash = config.applicationHash; H…

---

## [Wait for page load before make Get request](https://discourse.nodered.org/t/wait-for-page-load-before-make-get-request/8405)

<div class="topic-metadata">

**Author:** [@dandres](https://discourse.nodered.org/u/dandres)\
**Replies:** 7\
**Last updated:** [26 February 2019 18:22 UTC](https://discourse.nodered.org/t/wait-for-page-load-before-make-get-request/8405 "2019-02-26T18:22:31Z")

</div>

I use http-request node with method GET, but the page takes a long time to finish loading, so it gives me a value of 0 where a larger number should go. How could I solve it?

---

## [Create a new file with new name](https://discourse.nodered.org/t/create-a-new-file-with-new-name/8288)

<div class="topic-metadata">

**Author:** [@KevinPamu](https://discourse.nodered.org/u/KevinPamu)\
**Replies:** 14\
**Last updated:** [26 February 2019 16:09 UTC](https://discourse.nodered.org/t/create-a-new-file-with-new-name/8288 "2019-02-26T16:09:41Z")

</div>

Hi, I am trying to write a few lines to a text file, but I want to rename the file to a unique name every time I write the lines into it. Is there a way I can do it? Thank you in advance. Kevin.

---

## [Error in array, how to format correctly?](https://discourse.nodered.org/t/error-in-array-how-to-format-correctly/8409)

<div class="topic-metadata">

**Author:** [@jycemea](https://discourse.nodered.org/u/jycemea)\
**Replies:** 2\
**Last updated:** [26 February 2019 15:39 UTC](https://discourse.nodered.org/t/error-in-array-how-to-format-correctly/8409 "2019-02-26T15:39:43Z")

</div>

Hi, Please, can someone help me to properly correct the array below? .............. let c; answer.position = \[\] if (answer.flag === "A") { let degreesN = Number(elements\[0\].substr(13,2)) let minutes…

---

## [Node-red watch for file modification executing 2 times](https://discourse.nodered.org/t/node-red-watch-for-file-modification-executing-2-times/8400)

<div class="topic-metadata">

**Author:** [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Replies:** 3\
**Last updated:** [26 February 2019 12:01 UTC](https://discourse.nodered.org/t/node-red-watch-for-file-modification-executing-2-times/8400 "2019-02-26T12:01:25Z")

</div>

From node-red watch node, it is executing two times for one file change. If file content not modified(saved) or tried to change also it is triggering. Is there any node which will execute once the file is modified(trigge…

---

## [How do I select the last array of an undefined long object?](https://discourse.nodered.org/t/how-do-i-select-the-last-array-of-an-undefined-long-object/8397)

<div class="topic-metadata">

**Author:** [@YT2310](https://discourse.nodered.org/u/YT2310)\
**Replies:** 1\
**Last updated:** [26 February 2019 09:49 UTC](https://discourse.nodered.org/t/how-do-i-select-the-last-array-of-an-undefined-long-object/8397 "2019-02-26T09:49:45Z")

</div>

Hello there, Can the last array of an undefined object be selected? It's undefined because I'm converting the object from an XML string that receives new data from time to time. this would mean that the 50 has to chang…

---

## [Hashing password](https://discourse.nodered.org/t/hashing-password/7876)

<div class="topic-metadata">

**Author:** [@Andres](https://discourse.nodered.org/u/Andres)\
**Replies:** 5\
**Last updated:** [26 February 2019 09:11 UTC](https://discourse.nodered.org/t/hashing-password/7876 "2019-02-26T09:11:12Z")

</div>

Hi, i was trying to generate some passwords for the node-red editor and when i ran the "node-red-admin hash-pw" command with some password i noticed that every time i ran it it throws different hashes for the same pw, is…

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

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