# General

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

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

**Page:** 797

---

## [Converting MQTT android battery level to OpenHAB item](https://discourse.nodered.org/t/converting-mqtt-android-battery-level-to-openhab-item/21525)

<div class="topic-metadata">

**Author:** [@TheReverendJT](https://discourse.nodered.org/u/TheReverendJT)\
**Replies:** 6\
**Last updated:** [11 February 2020 15:24 UTC](https://discourse.nodered.org/t/converting-mqtt-android-battery-level-to-openhab-item/21525 "2020-02-11T15:24:13Z")

</div>

Hi! Firstly, thanks to all you guys for sharing your knowledge, I'm sure there are many lurkers like myself who benefit so much from this forum. I've been working on an OH 2.5 system running on a RPi2 relying heavily o…

---

## [New to NodeRed and Hassio, need basic help](https://discourse.nodered.org/t/new-to-nodered-and-hassio-need-basic-help/13191)

<div class="topic-metadata">

**Author:** [@ancan](https://discourse.nodered.org/u/ancan)\
**Replies:** 2\
**Last updated:** [11 July 2019 21:48 UTC](https://discourse.nodered.org/t/new-to-nodered-and-hassio-need-basic-help/13191 "2019-07-11T21:48:20Z")

</div>

Anybody that can tell me how to accomplish this easy thing. Got temperature sensor outside and inside, and a switch that is turning on and off a fan. If outside temp is below 19 celcius and inside is over 20 celcius tu…

---

## [How to use an npm module within a function node?](https://discourse.nodered.org/t/how-to-use-an-npm-module-within-a-function-node/20917)

<div class="topic-metadata">

**Author:** [@123](https://discourse.nodered.org/u/123)\
**Replies:** 7\
**Last updated:** [11 February 2020 14:55 UTC](https://discourse.nodered.org/t/how-to-use-an-npm-module-within-a-function-node/20917 "2020-02-11T14:55:29Z")

</div>

I would like to use this npm module: https://www.npmjs.com/package/words-to-numbers within a function node. Can I install the module using npm install words-to-numbers and then refer to it within a function node like th…

---

## [JOIN Node - Disappearing property](https://discourse.nodered.org/t/join-node-disappearing-property/21506)

<div class="topic-metadata">

**Author:** [@soma](https://discourse.nodered.org/u/soma)\
**Replies:** 8\
**Last updated:** [11 February 2020 14:52 UTC](https://discourse.nodered.org/t/join-node-disappearing-property/21506 "2020-02-11T14:52:46Z")

</div>

Hello there, using the JOIN Node, one of the property disappears after it. JOIN configuration: Mode manual, Combine each msg.payload to create a merged object after a number of message parts: 4. Here is a reproduction …

---

## [Having problems getting data out from mysql](https://discourse.nodered.org/t/having-problems-getting-data-out-from-mysql/21529)

<div class="topic-metadata">

**Author:** [@zunder1990](https://discourse.nodered.org/u/zunder1990)\
**Replies:** 3\
**Last updated:** [11 February 2020 13:59 UTC](https://discourse.nodered.org/t/having-problems-getting-data-out-from-mysql/21529 "2020-02-11T13:59:26Z")

</div>

I may trying to convert the array that I get from mysql to variable. Then array passes though my function node, the payload is unchanged ans still has the array as the payload. Here is my function node msg.FullName = …

---

## [Performance Node red](https://discourse.nodered.org/t/performance-node-red/10302)

<div class="topic-metadata">

**Author:** [@eljuliman](https://discourse.nodered.org/u/eljuliman)\
**Replies:** 5\
**Last updated:** [11 February 2020 12:04 UTC](https://discourse.nodered.org/t/performance-node-red/10302 "2020-02-11T12:04:18Z")

</div>

Good Morning. I have a question about the performance of node-red. I'm working with 30 flows that handle around 600 signals every fifteen seconds. The system works, but is unable, once it is in operation, to load the gra…

---

## [If I am assigning response body in msg.payload than flow breaks](https://discourse.nodered.org/t/if-i-am-assigning-response-body-in-msg-payload-than-flow-breaks/21533)

<div class="topic-metadata">

**Author:** [@abhishekjaiswalraw](https://discourse.nodered.org/u/abhishekjaiswalraw)\
**Replies:** 1\
**Last updated:** [11 February 2020 07:55 UTC](https://discourse.nodered.org/t/if-i-am-assigning-response-body-in-msg-payload-than-flow-breaks/21533 "2020-02-11T07:55:04Z")

</div>

request(reqOptions, function (error, response, body) { node.warn(response); // node.warn(msg.payload); if(error){ msg.publish=false; node.send(msg); node.done(); } if(response.…

---

## [Is this a good way to add delay for each msg](https://discourse.nodered.org/t/is-this-a-good-way-to-add-delay-for-each-msg/21512)

<div class="topic-metadata">

**Author:** [@abhishekjaiswalraw](https://discourse.nodered.org/u/abhishekjaiswalraw)\
**Replies:** 5\
**Last updated:** [11 February 2020 07:04 UTC](https://discourse.nodered.org/t/is-this-a-good-way-to-add-delay-for-each-msg/21512 "2020-02-11T07:04:04Z")

</div>

\[{"id":"5273c8b7.2e5bb8","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"7066c53d.b7f40c","type":"function","z":"5273c8b7.2e5bb8","name":"++","func":"if ( (msg.i += 1) \< msg.items.length ) return msg;\\n"…

---

## [Custom node is not adding to Node-red](https://discourse.nodered.org/t/custom-node-is-not-adding-to-node-red/21475)

<div class="topic-metadata">

**Author:** [@VIKRAMAS](https://discourse.nodered.org/u/VIKRAMAS)\
**Replies:** 6\
**Last updated:** [10 February 2020 22:59 UTC](https://discourse.nodered.org/t/custom-node-is-not-adding-to-node-red/21475 "2020-02-10T22:59:29Z")

</div>

I have created the node-red custom node which will take the URLs to be connected and it connects to multiple endpoints dynamically. Below is the code that I am usingpackage.json (434 Bytes) package-lock.json (669 Bytes)…

---

## [Join output from two function nodes](https://discourse.nodered.org/t/join-output-from-two-function-nodes/21410)

<div class="topic-metadata">

**Author:** [@varun](https://discourse.nodered.org/u/varun)\
**Replies:** 15\
**Last updated:** [10 February 2020 21:10 UTC](https://discourse.nodered.org/t/join-output-from-two-function-nodes/21410 "2020-02-10T21:10:19Z")

</div>

Hello, I have two separate functions nodes. I want to place the output of both the function nodes in an array. How can I do it? My first function node output contains 5 rows and second function contains one row.

---

## [Change node and move array position](https://discourse.nodered.org/t/change-node-and-move-array-position/21389)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 3\
**Last updated:** [10 February 2020 20:51 UTC](https://discourse.nodered.org/t/change-node-and-move-array-position/21389 "2020-02-10T20:51:09Z")

</div>

Hi, I'm picking up data from database having a structure like "msg.payload\[0\].data\[0\]" as you can see with Debug\_1. I need to have a structure like "msg.payload.data". I've tryed several solution but the best I can reach…

---

## [Template node send advanced data](https://discourse.nodered.org/t/template-node-send-advanced-data/21314)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 5\
**Last updated:** [10 February 2020 19:56 UTC](https://discourse.nodered.org/t/template-node-send-advanced-data/21314 "2020-02-10T19:56:28Z")

</div>

I have done it before but no way i can do it again... What i wish to do is use the template to display a webpage. this works perfect then when i want to send external data with {{msg.payload}} it works to, like this: …

---

## [Deploy a flow to multiple clients](https://discourse.nodered.org/t/deploy-a-flow-to-multiple-clients/21467)

<div class="topic-metadata">

**Author:** [@Matt-IoT](https://discourse.nodered.org/u/Matt-IoT)\
**Replies:** 2\
**Last updated:** [10 February 2020 19:37 UTC](https://discourse.nodered.org/t/deploy-a-flow-to-multiple-clients/21467 "2020-02-10T19:37:34Z")

</div>

Hi Community, I have created a client / server architecture to manage IoT devices that is based on Node-Red and the ZeeBe workflow engine for microservices. Everything is running in docker containers on kube. The IoT G…

---

## [Can't find module after install (any module)](https://discourse.nodered.org/t/cant-find-module-after-install-any-module/21338)

<div class="topic-metadata">

**Author:** [@landown](https://discourse.nodered.org/u/landown)\
**Replies:** 5\
**Last updated:** [10 February 2020 19:04 UTC](https://discourse.nodered.org/t/cant-find-module-after-install-any-module/21338 "2020-02-10T19:04:18Z")

</div>

Hi! I'm developing a project in which I got Node-RED embedded inside Node.js, so Node-RED starts up when I start the Node.js server. The Node-RED dir has its own package.json. The directory structure is the following: …

---

## [Node-RED (Debian )](https://discourse.nodered.org/t/node-red-debian/21488)

<div class="topic-metadata">

**Author:** [@saeed1](https://discourse.nodered.org/u/saeed1)\
**Replies:** 9\
**Last updated:** [10 February 2020 17:41 UTC](https://discourse.nodered.org/t/node-red-debian/21488 "2020-02-10T17:41:11Z")

</div>

I have installed node-red on a remote Server (Debian OS). I am using the power Shell terminal to Access this remote operating System. I am getting an error that port is in use already. I have checked the port. So on p…

---

## [Energy Meter -Voltage/Frequency value read =49.16](https://discourse.nodered.org/t/energy-meter-voltage-frequency-value-read-49-16/21497)

<div class="topic-metadata">

**Author:** [@Sandip86](https://discourse.nodered.org/u/Sandip86)\
**Replies:** 3\
**Last updated:** [10 February 2020 16:10 UTC](https://discourse.nodered.org/t/energy-meter-voltage-frequency-value-read-49-16/21497 "2020-02-10T16:10:34Z")

</div>

I want the read the Data from Energy meter - frequency using the USB Port.& create the .CSV File Flow 12.txt (341 Bytes) but node-red showing the error. Please help for this issue. BR, Sandip

---

## [Unknown Error when Appending CSV File](https://discourse.nodered.org/t/unknown-error-when-appending-csv-file/21505)

<div class="topic-metadata">

**Author:** [@KBleth](https://discourse.nodered.org/u/KBleth)\
**Replies:** 4\
**Last updated:** [10 February 2020 16:03 UTC](https://discourse.nodered.org/t/unknown-error-when-appending-csv-file/21505 "2020-02-10T16:03:06Z")

</div>

Any help with this would be appreciated! I have created a flow that connects to a maintenance sensor and receives data through a wireless gateway node. I had no issue creating a CSV node that pulled the individual varia…

---

## [How to use tnsnames.ora in oracle node](https://discourse.nodered.org/t/how-to-use-tnsnames-ora-in-oracle-node/21499)

<div class="topic-metadata">

**Author:** [@mhechthz](https://discourse.nodered.org/u/mhechthz)\
**Replies:** 1\
**Last updated:** [10 February 2020 15:09 UTC](https://discourse.nodered.org/t/how-to-use-tnsnames-ora-in-oracle-node/21499 "2020-02-10T15:09:22Z")

</div>

Hi, I found finally the only oracle node that seems to work on windows 7: node-red-contrib-oracledb-mod But now I fail to connect to the data base because the tnsnames.ora is not found (I think so). I get following err…

---

## [Control Game Servos](https://discourse.nodered.org/t/control-game-servos/21377)

<div class="topic-metadata">

**Author:** [@cesarius](https://discourse.nodered.org/u/cesarius)\
**Replies:** 10\
**Last updated:** [10 February 2020 14:57 UTC](https://discourse.nodered.org/t/control-game-servos/21377 "2020-02-10T14:57:54Z")

</div>

Hi, I recognize that I am a rookie in this node-red and therefore I want to ask for your advice. I need to add a videogame control, Genius brand, to control 2 servos that I have connected to my raspberry 3. I would ap…

---

## [Oracledb-node not visible after installation](https://discourse.nodered.org/t/oracledb-node-not-visible-after-installation/21498)

<div class="topic-metadata">

**Author:** [@mhechthz](https://discourse.nodered.org/u/mhechthz)\
**Replies:** 2\
**Last updated:** [10 February 2020 13:36 UTC](https://discourse.nodered.org/t/oracledb-node-not-visible-after-installation/21498 "2020-02-10T13:36:34Z")

</div>

Hi, I installed oracledb-node according to https://oracle.github.io/node-oracledb/INSTALL.html#mig . All works well without any error or warning. After starting node-red, the oracle node is not visible in the user inte…

---

## [Read and close data from text/ode file](https://discourse.nodered.org/t/read-and-close-data-from-text-ode-file/21492)

<div class="topic-metadata">

**Author:** [@pranavthakkar](https://discourse.nodered.org/u/pranavthakkar)\
**Replies:** 6\
**Last updated:** [10 February 2020 12:31 UTC](https://discourse.nodered.org/t/read-and-close-data-from-text-ode-file/21492 "2020-02-10T12:31:15Z")

</div>

Hello there! I have barcode scanner which is scanning the barcode and currently i'm sending it's value to a text file in RPI also I have used spreadsheet.odb(excel) file. My problem is when i scan a barcode it is writt…

---

## [Mass-disable nodes by criteria](https://discourse.nodered.org/t/mass-disable-nodes-by-criteria/21463)

<div class="topic-metadata">

**Author:** [@alexk111](https://discourse.nodered.org/u/alexk111)\
**Replies:** 6\
**Last updated:** [10 February 2020 12:23 UTC](https://discourse.nodered.org/t/mass-disable-nodes-by-criteria/21463 "2020-02-10T12:23:26Z")

</div>

Is there a way to mass-disable all nodes by criteria (a node type or name regexp for example) via ui and/or programmatically? I have flows consisting of webhooks (http callbacks) and series of api calls taking some time …

---

## [Node-red-contrib-oracledb cannot be installed](https://discourse.nodered.org/t/node-red-contrib-oracledb-cannot-be-installed/21477)

<div class="topic-metadata">

**Author:** [@mhechthz](https://discourse.nodered.org/u/mhechthz)\
**Replies:** 4\
**Last updated:** [10 February 2020 09:36 UTC](https://discourse.nodered.org/t/node-red-contrib-oracledb-cannot-be-installed/21477 "2020-02-10T09:36:02Z")

</div>

Hi, I try to install oracledb via: npm install node-red-contrib-oracledb But get the appended error file. I din't find any helpful solution in the web. What can I do. (Win 7 System) Sorry, I'm not allowed to upload …

---

## [Unable to connect to server 127.0.0.1:1880 through port 1880](https://discourse.nodered.org/t/unable-to-connect-to-server-127-0-0-1-1880-through-port-1880/21444)

<div class="topic-metadata">

**Author:** [@HelenH](https://discourse.nodered.org/u/HelenH)\
**Replies:** 6\
**Last updated:** [10 February 2020 09:04 UTC](https://discourse.nodered.org/t/unable-to-connect-to-server-127-0-0-1-1880-through-port-1880/21444 "2020-02-10T09:04:07Z")

</div>

Hello lately, I was trying to deploy Temperature and Humidity measurement on Node-Red Using an ESP32 DevKit module. Through Arduino IDE I Checked that module successfully reads values and connects to my WiFi. In Node-…

---

## [Running Brain.js Asynchronously Question](https://discourse.nodered.org/t/running-brain-js-asynchronously-question/16479)

<div class="topic-metadata">

**Author:** [@tcontrada](https://discourse.nodered.org/u/tcontrada)\
**Replies:** 4\
**Last updated:** [10 February 2020 07:36 UTC](https://discourse.nodered.org/t/running-brain-js-asynchronously-question/16479 "2020-02-10T07:36:22Z")

</div>

I am using Brain.js for some test functions and trying to figure out if I can run it asynchronously from a Function Node. It works fine running synchronously, but the async return function does not seem to fire and outpu…

---

## [Newbie needs help: Reading msg: String status from Azure Save Blob](https://discourse.nodered.org/t/newbie-needs-help-reading-msg-string-status-from-azure-save-blob/21432)

<div class="topic-metadata">

**Author:** [@xterix](https://discourse.nodered.org/u/xterix)\
**Replies:** 11\
**Last updated:** [9 February 2020 23:42 UTC](https://discourse.nodered.org/t/newbie-needs-help-reading-msg-string-status-from-azure-save-blob/21432 "2020-02-09T23:42:24Z")

</div>

Hello All. I do need a bit of help getting the status from Azure Blob Storage node. I do want to rename the file if it's uploaded properly. But I'm not getting able to get the msg.string to process it. Tom. Please, …

---

## [Start a flow when certain conditions are true](https://discourse.nodered.org/t/start-a-flow-when-certain-conditions-are-true/21451)

<div class="topic-metadata">

**Author:** [@djMvT](https://discourse.nodered.org/u/djMvT)\
**Replies:** 3\
**Last updated:** [9 February 2020 21:56 UTC](https://discourse.nodered.org/t/start-a-flow-when-certain-conditions-are-true/21451 "2020-02-09T21:56:29Z")

</div>

Trying to do the following: In the picture you see my doorbell and mailbox flows, they are working so when someone is at the door or the mailbox gets filled the google assistant give a tts announcement. (the second cast…

---

## [MQTT node output ghost topics](https://discourse.nodered.org/t/mqtt-node-output-ghost-topics/21448)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 13\
**Last updated:** [9 February 2020 21:53 UTC](https://discourse.nodered.org/t/mqtt-node-output-ghost-topics/21448 "2020-02-09T21:53:14Z")

</div>

I have 11 flows in my node red with a number of MQTT outputs. Looking at the outputs in MQTT explorer I have four topics, labeled Random1, Random2, Random3, Random4 that always output a 0. My problem is that I don't have…

---

## [HTTP end point without auth](https://discourse.nodered.org/t/http-end-point-without-auth/21465)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 1\
**Last updated:** [9 February 2020 20:30 UTC](https://discourse.nodered.org/t/http-end-point-without-auth/21465 "2020-02-09T20:30:41Z")

</div>

I am trying to obtain access to an audio mp3 file from an endpoint, so that I can cast it to a Google Home device. In my node-red settings, I have enabled adminAuth, https and httpNodeAuth, but no surprise that when I…

---

## [Switch from python script to node red](https://discourse.nodered.org/t/switch-from-python-script-to-node-red/21454)

<div class="topic-metadata">

**Author:** [@Joezi](https://discourse.nodered.org/u/Joezi)\
**Replies:** 6\
**Last updated:** [9 February 2020 19:03 UTC](https://discourse.nodered.org/t/switch-from-python-script-to-node-red/21454 "2020-02-09T19:03:34Z")

</div>

Hello, I would like to use node red instead of a python script which is started at system start. Unfortunately, I am not getting the functionality to run. Here is my python script: #Einstellungen klingel\_gpio = 4 #GPI…

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

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