# General

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

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

**Page:** 912

---

## [MQTT every ten seconds question - multiple clients](https://discourse.nodered.org/t/mqtt-every-ten-seconds-question-multiple-clients/8203)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 13\
**Last updated:** [22 February 2019 23:33 UTC](https://discourse.nodered.org/t/mqtt-every-ten-seconds-question-multiple-clients/8203 "2019-02-22T23:33:41Z")

</div>

I have a flow in Node Red that publishes data over MQTT every ten seconds. It works fine in my testing with one client, a NodeMCU that subscribes to the topics and displays the message data. But, what happens if I have…

---

## [RaspberryPi-bmp180 not providing output](https://discourse.nodered.org/t/raspberrypi-bmp180-not-providing-output/8251)

<div class="topic-metadata">

**Author:** [@chuckf201](https://discourse.nodered.org/u/chuckf201)\
**Replies:** 6\
**Last updated:** [22 February 2019 23:13 UTC](https://discourse.nodered.org/t/raspberrypi-bmp180-not-providing-output/8251 "2019-02-22T23:13:16Z")

</div>

I'm using node-red-contrib-brads-i2c-nodes to read temperature and pressure. I also have a python script that works successfully but wanted to try my hand at Node-Red. I'm new to Node-Red but am frustrated. Error is: 2…

---

## [Help with extraction of data from csv file](https://discourse.nodered.org/t/help-with-extraction-of-data-from-csv-file/8247)

<div class="topic-metadata">

**Author:** [@DillonW](https://discourse.nodered.org/u/DillonW)\
**Replies:** 19\
**Last updated:** [22 February 2019 22:44 UTC](https://discourse.nodered.org/t/help-with-extraction-of-data-from-csv-file/8247 "2019-02-22T22:44:05Z")

</div>

Hi I am trying to extract data extracted from a power monitor from an email attachment. All of the data is stored as shown in the csv file(better viewed at http://convertcsv.com/csv-viewer-editor.htm). It has many column…

---

## [File-based context: does it write even if no changes are made?](https://discourse.nodered.org/t/file-based-context-does-it-write-even-if-no-changes-are-made/8290)

<div class="topic-metadata">

**Author:** [@thatcadguy](https://discourse.nodered.org/u/thatcadguy)\
**Replies:** 2\
**Last updated:** [22 February 2019 22:39 UTC](https://discourse.nodered.org/t/file-based-context-does-it-write-even-if-no-changes-are-made/8290 "2019-02-22T22:39:38Z")

</div>

The Local Filesystem Context Store has a property called flushInterval that defaults to 30 seconds, and the docs define this as "the minimum interval between writes to storage." Is this writing to file only when the con…

---

## [Trouble Registering Custom Node](https://discourse.nodered.org/t/trouble-registering-custom-node/8237)

<div class="topic-metadata">

**Author:** [@tcontrada](https://discourse.nodered.org/u/tcontrada)\
**Replies:** 15\
**Last updated:** [22 February 2019 21:35 UTC](https://discourse.nodered.org/t/trouble-registering-custom-node/8237 "2019-02-22T21:35:22Z")

</div>

I have created a custom node .js and .html file along with a package.json empty file. I execute npm init in the directory that contains the file and it creates the package.json as required. Next I run npm install in th…

---

## [I have a problem with the hue - switch](https://discourse.nodered.org/t/i-have-a-problem-with-the-hue-switch/8235)

<div class="topic-metadata">

**Author:** [@RREEDD](https://discourse.nodered.org/u/RREEDD)\
**Replies:** 15\
**Last updated:** [22 February 2019 14:10 UTC](https://discourse.nodered.org/t/i-have-a-problem-with-the-hue-switch/8235 "2019-02-22T14:10:16Z")

</div>

I am using a HueSwitch-Node. The switch itself is configured and functioning within the hue bridge. The switch can turn lights on and off. Now, I want to use the switch in Node-red. BUT The switch node does not throw …

---

## [Trigger help on mqtt](https://discourse.nodered.org/t/trigger-help-on-mqtt/8273)

<div class="topic-metadata">

**Author:** [@moltenpiston](https://discourse.nodered.org/u/moltenpiston)\
**Replies:** 2\
**Last updated:** [22 February 2019 13:46 UTC](https://discourse.nodered.org/t/trigger-help-on-mqtt/8273 "2019-02-22T13:46:45Z")

</div>

Goodmorning everyone I have a mqtt input, which every 10 seconds tells me the status of a device (true or false). I would like to send an email only with each change of state, and not every time I receive a publisher. h…

---

## [Node-red version and "Cannot find module 'sqlite3'"](https://discourse.nodered.org/t/node-red-version-and-cannot-find-module-sqlite3/8256)

<div class="topic-metadata">

**Author:** [@abra](https://discourse.nodered.org/u/abra)\
**Replies:** 3\
**Last updated:** [22 February 2019 10:03 UTC](https://discourse.nodered.org/t/node-red-version-and-cannot-find-module-sqlite3/8256 "2019-02-22T10:03:31Z")

</div>

I am using node-red on Windows 10. When I check the installed packages in "Manage palette" this is displayed for node-red itself: node-red 0.19.4 Not currently supported on Windows. Error: Cannot find module 'sqlite3…

---

## [Node-red Configuration "adminAuth sessionExpiryTime"](https://discourse.nodered.org/t/node-red-configuration-adminauth-sessionexpirytime/8261)

<div class="topic-metadata">

**Author:** [@pangda](https://discourse.nodered.org/u/pangda)\
**Replies:** 1\
**Last updated:** [22 February 2019 08:44 UTC](https://discourse.nodered.org/t/node-red-configuration-adminauth-sessionexpirytime/8261 "2019-02-22T08:44:23Z")

</div>

About the Node-red Login WEB, i find the configuration "adminAuth sessionExpiryTimeon" in settings.js for login session expiry time. I wonder if it has function for the session timeout time to set for Node-red login.If…

---

## [HTML to activate GPIO](https://discourse.nodered.org/t/html-to-activate-gpio/8232)

<div class="topic-metadata">

**Author:** [@southside94](https://discourse.nodered.org/u/southside94)\
**Replies:** 8\
**Last updated:** [22 February 2019 08:37 UTC](https://discourse.nodered.org/t/html-to-activate-gpio/8232 "2019-02-22T08:37:40Z")

</div>

Hello together, for the first, excuse me for my bad english. for the second, I doesn't know much about programming. what i want to do is: html to activate a GPIO for maybe 15 minutes so when I write "http://192.168.…

---

## [Show ALL attributes data](https://discourse.nodered.org/t/show-all-attributes-data/5879)

<div class="topic-metadata">

**Author:** [@WppNL](https://discourse.nodered.org/u/WppNL)\
**Replies:** 6\
**Last updated:** [21 February 2019 22:58 UTC](https://discourse.nodered.org/t/show-all-attributes-data/5879 "2019-02-21T22:58:47Z")

</div>

I am tracking packages from a carrier which works perfectly. At the moment i receive a Telegram message with the info: "you have X packages". But i want to see where the packages comes from. I can see this info in the…

---

## [MQTT and ESP-12E](https://discourse.nodered.org/t/mqtt-and-esp-12e/8194)

<div class="topic-metadata">

**Author:** [@Sin](https://discourse.nodered.org/u/Sin)\
**Replies:** 10\
**Last updated:** [21 February 2019 22:41 UTC](https://discourse.nodered.org/t/mqtt-and-esp-12e/8194 "2019-02-21T22:41:48Z")

</div>

Anyone can give me any suggestion on how to connect the ESP-12E WiFi module with the Arduino Robot and node-red using MQTT? I want to pass the output from the node-red to the ESP-12E and the ESP-12E will receive the outp…

---

## [PN532 connected with raspberry SPI don't working](https://discourse.nodered.org/t/pn532-connected-with-raspberry-spi-dont-working/8229)

<div class="topic-metadata">

**Author:** [@fra290](https://discourse.nodered.org/u/fra290)\
**Replies:** 3\
**Last updated:** [21 February 2019 20:39 UTC](https://discourse.nodered.org/t/pn532-connected-with-raspberry-spi-dont-working/8229 "2019-02-21T20:39:26Z")

</div>

Hi community I have installed the PN532 node for manage RFID reader.. all hardware connection seems correct, no error on log but the node don't working, when I deploy the node go in "Stopped" state with red icon. someo…

---

## [Need a hand with cloudant node-red dashboard](https://discourse.nodered.org/t/need-a-hand-with-cloudant-node-red-dashboard/8241)

<div class="topic-metadata">

**Author:** [@bryan-ninjamoba](https://discourse.nodered.org/u/bryan-ninjamoba)\
**Replies:** 0\
**Last updated:** [21 February 2019 19:18 UTC](https://discourse.nodered.org/t/need-a-hand-with-cloudant-node-red-dashboard/8241 "2019-02-21T19:18:37Z")

</div>

Id like to build a standard flow for interfacing with cloudant via the node-red dashboard. I know there are tutorials to connect and retrieve info via cloudant but I havnt been able to find a comprehensive flow that cov…

---

## [Save images under different names usb camera](https://discourse.nodered.org/t/save-images-under-different-names-usb-camera/8220)

<div class="topic-metadata">

**Author:** [@ZenoVD](https://discourse.nodered.org/u/ZenoVD)\
**Replies:** 7\
**Last updated:** [21 February 2019 17:31 UTC](https://discourse.nodered.org/t/save-images-under-different-names-usb-camera/8220 "2019-02-21T17:31:01Z")

</div>

Hello, i am trying so save images my usb camera made under a different name, at the moment when a new image arrives it replaces the image made before that, does anyone know how i can make every picture save under a diffe…

---

## [Node-Red compare new and previous values](https://discourse.nodered.org/t/node-red-compare-new-and-previous-values/8215)

<div class="topic-metadata">

**Author:** [@vovabcps](https://discourse.nodered.org/u/vovabcps)\
**Replies:** 3\
**Last updated:** [21 February 2019 11:55 UTC](https://discourse.nodered.org/t/node-red-compare-new-and-previous-values/8215 "2019-02-21T11:55:47Z")

</div>

I'm new to Node-Red and I don't know if that's possible without some storage (SQL database for example). So, I have an MQTT endpoint that pushes numeric value when update made. For example - message.payload = 799. How…

---

## [Split string into objects](https://discourse.nodered.org/t/split-string-into-objects/8212)

<div class="topic-metadata">

**Author:** [@seppelicous](https://discourse.nodered.org/u/seppelicous)\
**Replies:** 4\
**Last updated:** [21 February 2019 09:50 UTC](https://discourse.nodered.org/t/split-string-into-objects/8212 "2019-02-21T09:50:41Z")

</div>

Hi, I use a serialport Node to receive ascii messages from an rs232 power inverter. Everything works fine and I got informations in one payload string: 00.00.0000 01:21:40 3 124.9 0.23 29 236.2 0.12 28 23 …

---

## [Install node-red-node-serialport offline](https://discourse.nodered.org/t/install-node-red-node-serialport-offline/8209)

<div class="topic-metadata">

**Author:** [@dark\_vidor](https://discourse.nodered.org/u/dark_vidor)\
**Replies:** 2\
**Last updated:** [21 February 2019 09:00 UTC](https://discourse.nodered.org/t/install-node-red-node-serialport-offline/8209 "2019-02-21T09:00:53Z")

</div>

Hello, I would like to install node-red-node-serialport without an internet connexion. I have downloaded all dependencies package (tgz) For other package it's very easy. It's enough to copy/paste the folder, but for t…

---

## [Extract Json data from Function node and display debug node individually](https://discourse.nodered.org/t/extract-json-data-from-function-node-and-display-debug-node-individually/8206)

<div class="topic-metadata">

**Author:** [@Varul92](https://discourse.nodered.org/u/Varul92)\
**Replies:** 2\
**Last updated:** [21 February 2019 08:33 UTC](https://discourse.nodered.org/t/extract-json-data-from-function-node-and-display-debug-node-individually/8206 "2019-02-21T08:33:21Z")

</div>

Hi, after searching on google I was able to extract individual single value data using node function but how can I extract more than 1 value to send the individual data from JSON format to debug node using node function. …

---

## [Global variables, hardware buttons and my pea-brain](https://discourse.nodered.org/t/global-variables-hardware-buttons-and-my-pea-brain/8153)

<div class="topic-metadata">

**Author:** [@scargill](https://discourse.nodered.org/u/scargill)\
**Replies:** 25\
**Last updated:** [20 February 2019 22:47 UTC](https://discourse.nodered.org/t/global-variables-hardware-buttons-and-my-pea-brain/8153 "2019-02-20T22:47:13Z")

</div>

I'm looking for help as I've spent far too long on a simple button problem in NR and clearly my head is now fogging up. Here's the scenario - 2 buttons (on ESPs, grounded to operate - ESPs handle debouncing). Status of…

---

## [Begginer needs a little help](https://discourse.nodered.org/t/begginer-needs-a-little-help/8196)

<div class="topic-metadata">

**Author:** [@Vince](https://discourse.nodered.org/u/Vince)\
**Replies:** 8\
**Last updated:** [20 February 2019 20:56 UTC](https://discourse.nodered.org/t/begginer-needs-a-little-help/8196 "2019-02-20T20:56:16Z")

</div>

Im completely new to Node-Red and have no clue about coding and that’s the main reason I started with nodered, because it seems like I can learn it. Here is my setup NodeRed is running on RPi3 Raspbian with desktop 4.1…

---

## [Adding a delay in a for loop in the function node](https://discourse.nodered.org/t/adding-a-delay-in-a-for-loop-in-the-function-node/8187)

<div class="topic-metadata">

**Author:** [@KevinPamu](https://discourse.nodered.org/u/KevinPamu)\
**Replies:** 11\
**Last updated:** [20 February 2019 17:42 UTC](https://discourse.nodered.org/t/adding-a-delay-in-a-for-loop-in-the-function-node/8187 "2019-02-20T17:42:54Z")

</div>

Hi, So, I've been working on a certain project and this forum has been a great help in getting it done. Thank you. I have recently been working with a Json object and running a for loop to get some values from it. I tr…

---

## [Time control using a switch](https://discourse.nodered.org/t/time-control-using-a-switch/8118)

<div class="topic-metadata">

**Author:** [@Lenny](https://discourse.nodered.org/u/Lenny)\
**Replies:** 5\
**Last updated:** [20 February 2019 16:50 UTC](https://discourse.nodered.org/t/time-control-using-a-switch/8118 "2019-02-20T16:50:58Z")

</div>

hello, I'm just changing from pilight to nodered. There I have set, that at certain times z.b sockets are switched. but if an "absent" button is pressed, other schedules will apply. this is exactly what I do not get impl…

---

## [Help to connect API?](https://discourse.nodered.org/t/help-to-connect-api/8185)

<div class="topic-metadata">

**Author:** [@jycemea](https://discourse.nodered.org/u/jycemea)\
**Replies:** 2\
**Last updated:** [20 February 2019 14:23 UTC](https://discourse.nodered.org/t/help-to-connect-api/8185 "2019-02-20T14:23:35Z")

</div>

cancelled : no answer

---

## [Raspistill/camerapi doesn't work inside node-red](https://discourse.nodered.org/t/raspistill-camerapi-doesnt-work-inside-node-red/8179)

<div class="topic-metadata">

**Author:** [@squishy447](https://discourse.nodered.org/u/squishy447)\
**Replies:** 0\
**Last updated:** [20 February 2019 10:29 UTC](https://discourse.nodered.org/t/raspistill-camerapi-doesnt-work-inside-node-red/8179 "2019-02-20T10:29:59Z")

</div>

Apologies if this is in the wrong place, i'm new to the node-red community. A few days ago i installed the camerapi node and i got it working. i don't rememeber changing anything on the pi but now it just outputs an emp…

---

## [Help to define a correct array](https://discourse.nodered.org/t/help-to-define-a-correct-array/8174)

<div class="topic-metadata">

**Author:** [@jycemea](https://discourse.nodered.org/u/jycemea)\
**Replies:** 3\
**Last updated:** [20 February 2019 10:24 UTC](https://discourse.nodered.org/t/help-to-define-a-correct-array/8174 "2019-02-20T10:24:04Z")

</div>

Hi. I need help to organise an array in a function node. When datas are valid (flag = A) ... running fine When datas are invalid datas (flag = else) ... wrong split. The additional array wifiAccessPoints can't be cut…

---

## [Dynamic schedule management](https://discourse.nodered.org/t/dynamic-schedule-management/7942)

<div class="topic-metadata">

**Author:** [@scotie](https://discourse.nodered.org/u/scotie)\
**Replies:** 22\
**Last updated:** [20 February 2019 09:17 UTC](https://discourse.nodered.org/t/dynamic-schedule-management/7942 "2019-02-20T09:17:49Z")

</div>

Hi everyone, So I've been working on a small application with Node-Red and UIbuilder and hit a little wall... I'm trying to create a list of timers / schedules dynamicly ( it kinda looks like Android alarm clock list )…

---

## [Gridview with crud](https://discourse.nodered.org/t/gridview-with-crud/8170)

<div class="topic-metadata">

**Author:** [@rnavanee](https://discourse.nodered.org/u/rnavanee)\
**Replies:** 0\
**Last updated:** [20 February 2019 03:28 UTC](https://discourse.nodered.org/t/gridview-with-crud/8170 "2019-02-20T03:28:51Z")

</div>

I just am trying this flow https://flows.nodered.org/flow/e32f2b942bce77ef6079c0642b93c036 I am able to insert records in Mangodb but Update and delete fails though i do not get any error message. Is there something m…

---

## [Installing Node-red on Linux server](https://discourse.nodered.org/t/installing-node-red-on-linux-server/7999)

<div class="topic-metadata">

**Author:** [@Ankitha](https://discourse.nodered.org/u/Ankitha)\
**Replies:** 4\
**Last updated:** [19 February 2019 16:40 UTC](https://discourse.nodered.org/t/installing-node-red-on-linux-server/7999 "2019-02-19T16:40:31Z")

</div>

Hi All, I am trying to install Node-red on Linux machine under specific user and inside some folder. But by default node-red is getting installed under user home directory. Is there a way to give path while installing …

---

## [adminAuth change path root](https://discourse.nodered.org/t/adminauth-change-path-root/8141)

<div class="topic-metadata">

**Author:** [@hathemi](https://discourse.nodered.org/u/hathemi)\
**Replies:** 3\
**Last updated:** [19 February 2019 12:26 UTC](https://discourse.nodered.org/t/adminauth-change-path-root/8141 "2019-02-19T12:26:22Z")

</div>

i have set a user in setting.js adminAuth: { type: "credentials", users: \[ /\* list of users \*/ \], default: { permissions: "read" } } is it possible to change path when user login to a dashboard …

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

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