# General

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

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

**Page:** 861

---

## [Send payload with and function](https://discourse.nodered.org/t/send-payload-with-and-function/14111)

<div class="topic-metadata">

**Author:** [@niclas.w82](https://discourse.nodered.org/u/niclas.w82)\
**Replies:** 3\
**Last updated:** [7 August 2019 20:22 UTC](https://discourse.nodered.org/t/send-payload-with-and-function/14111 "2019-08-07T20:22:25Z")

</div>

Hi. Need help with two sensor that I want to trigger a json payload when both of them is open. It´s magnetic contacts and I want to send the payload when both of them are open. have anybody any suggestion how to do th…

---

## [Send information in vertor to broker MQTT](https://discourse.nodered.org/t/send-information-in-vertor-to-broker-mqtt/14110)

<div class="topic-metadata">

**Author:** [@eduardotodero](https://discourse.nodered.org/u/eduardotodero)\
**Replies:** 1\
**Last updated:** [7 August 2019 20:17 UTC](https://discourse.nodered.org/t/send-information-in-vertor-to-broker-mqtt/14110 "2019-08-07T20:17:58Z")

</div>

Hi guys, I'm reading registers from a Siemens PAC 2200. When I read double data I get data by data. I would like to gather this data in just one vertor of the form \[info, info, info, ...\] and send it that way to broker m…

---

## [Possibility to use Node-Red at Raspbian-Lite?](https://discourse.nodered.org/t/possibility-to-use-node-red-at-raspbian-lite/14094)

<div class="topic-metadata">

**Author:** [@Guilherme](https://discourse.nodered.org/u/Guilherme)\
**Replies:** 8\
**Last updated:** [7 August 2019 18:45 UTC](https://discourse.nodered.org/t/possibility-to-use-node-red-at-raspbian-lite/14094 "2019-08-07T18:45:02Z")

</div>

Is there a way to use node-red + influxDB + Grafana at Raspbian Lite (no desktop), maybe by using another pc connected to it, or do these softwares require full version of the OS?

---

## [Help with Missing Types: Persistence in Node.js](https://discourse.nodered.org/t/help-with-missing-types-persistence-in-node-js/14068)

<div class="topic-metadata">

**Author:** [@davidmarch](https://discourse.nodered.org/u/davidmarch)\
**Replies:** 4\
**Last updated:** [7 August 2019 15:58 UTC](https://discourse.nodered.org/t/help-with-missing-types-persistence-in-node-js/14068 "2019-08-07T15:58:52Z")

</div>

I imported a flow and it included a couple unknown nodes, so it wouldn't run. I stripped out the unknown nodes from the JSON and imported again. It still won't run because it says there is an unknown node. But there isn'…

---

## [Rename flow file - Need to rename credential file too?](https://discourse.nodered.org/t/rename-flow-file-need-to-rename-credential-file-too/14100)

<div class="topic-metadata">

**Author:** [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Replies:** 2\
**Last updated:** [7 August 2019 15:48 UTC](https://discourse.nodered.org/t/rename-flow-file-need-to-rename-credential-file-too/14100 "2019-08-07T15:48:28Z")

</div>

I am running Node-Red in a raspberry without the project features enabled. For a particular reason, I want to rename the flow file from flows\_raspberrypi.json to flows.json I will change settings.js by uncommenting lin…

---

## [Mini ERP using node-red](https://discourse.nodered.org/t/mini-erp-using-node-red/13896)

<div class="topic-metadata">

**Author:** [@crixster](https://discourse.nodered.org/u/crixster)\
**Replies:** 12\
**Last updated:** [7 August 2019 15:43 UTC](https://discourse.nodered.org/t/mini-erp-using-node-red/13896 "2019-08-07T15:43:06Z")

</div>

Is it possible to create a mini ERP with NR? I'm planning to use 3 tablets to access node-red hosted on 1 pc.Each tablet is used as data entry for a single machine and requires a different login to access the dashboard.…

---

## [Connection failed to broker! urgent](https://discourse.nodered.org/t/connection-failed-to-broker-urgent/14099)

<div class="topic-metadata">

**Author:** [@salahuiste](https://discourse.nodered.org/u/salahuiste)\
**Replies:** 1\
**Last updated:** [7 August 2019 15:12 UTC](https://discourse.nodered.org/t/connection-failed-to-broker-urgent/14099 "2019-08-07T15:12:58Z")

</div>

hi everybody i have got a problem , i can't connect my dashboard to the broker server idk why , i didn't change anything and it was working fine i'm getting this message in the node-red console : Connection failed to b…

---

## [Node-red-node-sqlite: possible to set db file in input msg?](https://discourse.nodered.org/t/node-red-node-sqlite-possible-to-set-db-file-in-input-msg/14079)

<div class="topic-metadata">

**Author:** [@thatcadguy](https://discourse.nodered.org/u/thatcadguy)\
**Replies:** 3\
**Last updated:** [7 August 2019 14:55 UTC](https://discourse.nodered.org/t/node-red-node-sqlite-possible-to-set-db-file-in-input-msg/14079 "2019-08-07T14:55:19Z")

</div>

Is it possible to set the database file dynamically using a property in the input message? The directory holding my SQLite database may change.

---

## [Error reading topics MQTT](https://discourse.nodered.org/t/error-reading-topics-mqtt/14088)

<div class="topic-metadata">

**Author:** [@chrisst](https://discourse.nodered.org/u/chrisst)\
**Replies:** 5\
**Last updated:** [7 August 2019 12:50 UTC](https://discourse.nodered.org/t/error-reading-topics-mqtt/14088 "2019-08-07T12:50:20Z")

</div>

Hi to all, Iam new to node-red so excuse any stupid questions. I'll try to describe my issue the best way possible. 1)Try to listen some topics on the local network Mosquitto broker, which listens to 2 devices via 84…

---

## [Problem with node.status after redeploy](https://discourse.nodered.org/t/problem-with-node-status-after-redeploy/13946)

<div class="topic-metadata">

**Author:** [@stamer](https://discourse.nodered.org/u/stamer)\
**Replies:** 8\
**Last updated:** [7 August 2019 09:52 UTC](https://discourse.nodered.org/t/problem-with-node-status-after-redeploy/13946 "2019-08-07T09:52:12Z")

</div>

Hi, I have the following flow: After redeploy (only the Label in switch node was changed! - see the uploaded images), the light have no state displayed, the code jumps over this code fragment... P:S: The this.on('…

---

## [Multiple http in URL nodes](https://discourse.nodered.org/t/multiple-http-in-url-nodes/14081)

<div class="topic-metadata">

**Author:** [@podarok](https://discourse.nodered.org/u/podarok)\
**Replies:** 2\
**Last updated:** [7 August 2019 08:03 UTC](https://discourse.nodered.org/t/multiple-http-in-url-nodes/14081 "2019-08-07T08:03:26Z")

</div>

Hello I'm trying to have different URL endpoints for handling POST requests to NODE-RED and found that only first one is working. Is there any way to build this with core http in node? Thank in advance \[ { …

---

## [Best practice to manage multiple devices](https://discourse.nodered.org/t/best-practice-to-manage-multiple-devices/14034)

<div class="topic-metadata">

**Author:** [@new\_farmer](https://discourse.nodered.org/u/new_farmer)\
**Replies:** 2\
**Last updated:** [6 August 2019 19:00 UTC](https://discourse.nodered.org/t/best-practice-to-manage-multiple-devices/14034 "2019-08-06T19:00:31Z")

</div>

I have a device which displays parametric data on a main tab, and has 3 additional tabs for configuration of various options, parameter limits, location information, etc. I would like to be able to manage up to at least…

---

## [Email send failed. Error 3392 ssl3\_get\_record:wrong version number](https://discourse.nodered.org/t/email-send-failed-error-3392-ssl3-get-record-wrong-version-number/13930)

<div class="topic-metadata">

**Author:** [@Pitmaster](https://discourse.nodered.org/u/Pitmaster)\
**Replies:** 7\
**Last updated:** [6 August 2019 14:31 UTC](https://discourse.nodered.org/t/email-send-failed-error-3392-ssl3-get-record-wrong-version-number/13930 "2019-08-06T14:31:19Z")

</div>

I have a switch that is triggering to send an email alert and have verified the switch is working. I am running node-RED v0.20.7. The email send node is giving me this error: Error: 3392:error:1408F10B:SSL routines:…

---

## [Node Status not showing 0 (Zero)](https://discourse.nodered.org/t/node-status-not-showing-0-zero/13746)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 10\
**Last updated:** [6 August 2019 14:27 UTC](https://discourse.nodered.org/t/node-status-not-showing-0-zero/13746 "2019-08-06T14:27:16Z")

</div>

I just noticed that I don't seem able to get node.status to display the number 0 (all other numbers work fine) \[{"id":"1191ad9f.48c342","type":"inject","z":"8376d5c1.273ed8","name":"","topic":"","payload":"0","payload…

---

## [Getting the values of the row when the button of this row is clicked](https://discourse.nodered.org/t/getting-the-values-of-the-row-when-the-button-of-this-row-is-clicked/14050)

<div class="topic-metadata">

**Author:** [@Laude](https://discourse.nodered.org/u/Laude)\
**Replies:** 0\
**Last updated:** [6 August 2019 12:55 UTC](https://discourse.nodered.org/t/getting-the-values-of-the-row-when-the-button-of-this-row-is-clicked/14050 "2019-08-06T12:55:26Z")

</div>

Hi there, I would like to get the values of one row when a button is being clicked but I am really new to node-red and js etc ... I use this to get the values of my databases into a table : \<table id="table" border=…

---

## [Github integration: generate new ssh key throws error](https://discourse.nodered.org/t/github-integration-generate-new-ssh-key-throws-error/14045)

<div class="topic-metadata">

**Author:** [@echtelerp](https://discourse.nodered.org/u/echtelerp)\
**Replies:** 2\
**Last updated:** [6 August 2019 08:57 UTC](https://discourse.nodered.org/t/github-integration-generate-new-ssh-key-throws-error/14045 "2019-08-06T08:57:51Z")

</div>

Hi there, when I try to generate a new github ssh key in node red, running in a docker container, based on alpine, on a arm32v7 base image, Nodered throws this error. can be repeated doing this: docker run -d -p1880:…

---

## [Is there a node to monitor changes in a directory?](https://discourse.nodered.org/t/is-there-a-node-to-monitor-changes-in-a-directory/14035)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [6 August 2019 04:08 UTC](https://discourse.nodered.org/t/is-there-a-node-to-monitor-changes-in-a-directory/14035 "2019-08-06T04:08:13Z")

</div>

I've searched the library but haven't found one. I looked at the fs-ops one, but it doesn't. Just in case I have missed seeing the node. Anyone? I have a work around for now, but just wanted to know if there is a nod…

---

## [Display String Output](https://discourse.nodered.org/t/display-string-output/13855)

<div class="topic-metadata">

**Author:** [@pinkdolphins](https://discourse.nodered.org/u/pinkdolphins)\
**Replies:** 12\
**Last updated:** [6 August 2019 04:02 UTC](https://discourse.nodered.org/t/display-string-output/13855 "2019-08-06T04:02:08Z")

</div>

Hello! I am trying to print a conditional statement: var A\_x = msg.payload.d.X; var A\_y = msg.payload.d.Y; var A\_z = msg.payload.d.Z; var A\_r = Math.sqrt(A\_x\*A\_x + A\_y\*A\_y + A\_z\*A\_z); if (abs( A\_r\_prev - A\_r) \> 110…

---

## [Sum up three outputs from mqtt](https://discourse.nodered.org/t/sum-up-three-outputs-from-mqtt/13991)

<div class="topic-metadata">

**Author:** [@R0yk3](https://discourse.nodered.org/u/R0yk3)\
**Replies:** 21\
**Last updated:** [5 August 2019 21:40 UTC](https://discourse.nodered.org/t/sum-up-three-outputs-from-mqtt/13991 "2019-08-05T21:40:11Z")

</div>

Hi i think the solution is simple but i get stuck with adding up some values. I am a total N00b so please be patient. Situation: I get data from Domoticz via Mqtt. (works) I split the messages to get only the data i …

---

## [How to move Node Red docker from RPi to a PC?](https://discourse.nodered.org/t/how-to-move-node-red-docker-from-rpi-to-a-pc/13995)

<div class="topic-metadata">

**Author:** [@Arm555](https://discourse.nodered.org/u/Arm555)\
**Replies:** 2\
**Last updated:** [5 August 2019 18:15 UTC](https://discourse.nodered.org/t/how-to-move-node-red-docker-from-rpi-to-a-pc/13995 "2019-08-05T18:15:40Z")

</div>

Wondering if anyone can confirm if I should just move the /data volume I mapped for my node red docker install on my RPi to my docker of Node Red on my PC? I believe that’s all I have to do but I’m not sure since there a…

---

## [Enable/disable a flow programmatically from within Node-RED?](https://discourse.nodered.org/t/enable-disable-a-flow-programmatically-from-within-node-red/14009)

<div class="topic-metadata">

**Author:** [@Kater\_S](https://discourse.nodered.org/u/Kater_S)\
**Replies:** 10\
**Last updated:** [5 August 2019 13:59 UTC](https://discourse.nodered.org/t/enable-disable-a-flow-programmatically-from-within-node-red/14009 "2019-08-05T13:59:40Z")

</div>

Hi, I am using Node-RED for home automation, and I have two flows for controlling my rolling shutters: one for "normal" days (opening the shutters in the morning, closing them in the evening), and another one for "hot" d…

---

## [While Passing Array to Node and Reformating Array into an Object Data Gets Lost](https://discourse.nodered.org/t/while-passing-array-to-node-and-reformating-array-into-an-object-data-gets-lost/14005)

<div class="topic-metadata">

**Author:** [@annibauer](https://discourse.nodered.org/u/annibauer)\
**Replies:** 3\
**Last updated:** [5 August 2019 12:16 UTC](https://discourse.nodered.org/t/while-passing-array-to-node-and-reformating-array-into-an-object-data-gets-lost/14005 "2019-08-05T12:16:40Z")

</div>

I am extracting data from a CSV file, that I want to send to a server through an API Call. In order to limit the number of calls I'm formatting the request body to contain several data points at once. All this is working…

---

## [Close Command window server not stop](https://discourse.nodered.org/t/close-command-window-server-not-stop/14016)

<div class="topic-metadata">

**Author:** [@anisha](https://discourse.nodered.org/u/anisha)\
**Replies:** 3\
**Last updated:** [5 August 2019 12:14 UTC](https://discourse.nodered.org/t/close-command-window-server-not-stop/14016 "2019-08-05T12:14:38Z")

</div>

I am working in Node-Red windows platform If I started the server and close command window background server will run its possible ?

---

## [Can't connect to any MQTT broker](https://discourse.nodered.org/t/cant-connect-to-any-mqtt-broker/14013)

<div class="topic-metadata">

**Author:** [@titouanlh](https://discourse.nodered.org/u/titouanlh)\
**Replies:** 1\
**Last updated:** [5 August 2019 12:13 UTC](https://discourse.nodered.org/t/cant-connect-to-any-mqtt-broker/14013 "2019-08-05T12:13:42Z")

</div>

Hi everyone ! I am trying to connect to my MQTT broker from Node-RED. I have RabbitMQ installed with MQTT plugin activated. It is listening on port 1883. When I trie to connect to it with an MQTT node, I get this error…

---

## [JSON Representation of a Flow](https://discourse.nodered.org/t/json-representation-of-a-flow/13893)

<div class="topic-metadata">

**Author:** [@caracall](https://discourse.nodered.org/u/caracall)\
**Replies:** 2\
**Last updated:** [5 August 2019 02:54 UTC](https://discourse.nodered.org/t/json-representation-of-a-flow/13893 "2019-08-05T02:54:33Z")

</div>

Hello, I am just wondering if it is possible to get the JSON representation of a flow in an automatic way (by writing some code) without the need to export it and copying it to the clipboard (for example when I click on…

---

## [UI Button with dynamic topic based on state](https://discourse.nodered.org/t/ui-button-with-dynamic-topic-based-on-state/14003)

<div class="topic-metadata">

**Author:** [@biz](https://discourse.nodered.org/u/biz)\
**Replies:** 1\
**Last updated:** [4 August 2019 22:21 UTC](https://discourse.nodered.org/t/ui-button-with-dynamic-topic-based-on-state/14003 "2019-08-04T22:21:19Z")

</div>

Hello All I have been slowly integrating all my flows into databases. This has been great below is one of my standard flows. To update/insert into the datebase I have to create a msg.topic put the SQL statement in , it …

---

## [Telegram node-red is no longer working](https://discourse.nodered.org/t/telegram-node-red-is-no-longer-working/13143)

<div class="topic-metadata">

**Author:** [@Arm555](https://discourse.nodered.org/u/Arm555)\
**Replies:** 8\
**Last updated:** [4 August 2019 19:38 UTC](https://discourse.nodered.org/t/telegram-node-red-is-no-longer-working/13143 "2019-08-04T19:38:54Z")

</div>

I am getting these errors. Not sure what it means. I have an inject node that I am using to test and I get this message after a few seconds that the message goes through. I also have pihole on a docker, but on the query …

---

## [How Change node properties with a function block](https://discourse.nodered.org/t/how-change-node-properties-with-a-function-block/2183)

<div class="topic-metadata">

**Author:** [@glconceicao](https://discourse.nodered.org/u/glconceicao)\
**Replies:** 15\
**Last updated:** [4 August 2019 19:15 UTC](https://discourse.nodered.org/t/how-change-node-properties-with-a-function-block/2183 "2019-08-04T19:15:56Z")

</div>

I want change URL of WebSocket node with a function block. my URL on WebSocket was variable, and necessary to change, it is possible?

---

## [How to process elements of an array serially in node-red?](https://discourse.nodered.org/t/how-to-process-elements-of-an-array-serially-in-node-red/13997)

<div class="topic-metadata">

**Author:** [@jsmith](https://discourse.nodered.org/u/jsmith)\
**Replies:** 5\
**Last updated:** [4 August 2019 18:18 UTC](https://discourse.nodered.org/t/how-to-process-elements-of-an-array-serially-in-node-red/13997 "2019-08-04T18:18:37Z")

</div>

Here is the scenario - In flow1 we run a sql query to retrieve some rows ordered by timestamp Flow2 defines a sequence of API calls , so this flow executes asynchronously For each result in flow1 , we need to invoke …

---

## [MQTT buffering?](https://discourse.nodered.org/t/mqtt-buffering/13972)

<div class="topic-metadata">

**Author:** [@wb666greene](https://discourse.nodered.org/u/wb666greene)\
**Replies:** 10\
**Last updated:** [4 August 2019 15:49 UTC](https://discourse.nodered.org/t/mqtt-buffering/13972 "2019-08-04T15:49:02Z")

</div>

I apologize that this is not strictly a node-red issue, but I know there are some MQTT experts here and I got no response when I asked on the MQTT google groups last week. It appears MQTT is buffering or queuing qos 0 m…

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

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