# General

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

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

**Page:** 762

---

## [Extract data from an MQTT payload](https://discourse.nodered.org/t/extract-data-from-an-mqtt-payload/8948)

<div class="topic-metadata">

**Author:** [@PeterKatana](https://discourse.nodered.org/u/PeterKatana)\
**Replies:** 23\
**Last updated:** [22 April 2020 14:18 UTC](https://discourse.nodered.org/t/extract-data-from-an-mqtt-payload/8948 "2020-04-22T14:18:11Z")

</div>

Hi all, I am a newbie and tried to connect with an MQTT broker to the TTN network and to extract data from my nodes in the TTN network. In the next step I want to put this data into an influx db. There are two sensors o…

---

## [Momentary button with status from PLC](https://discourse.nodered.org/t/momentary-button-with-status-from-plc/25276)

<div class="topic-metadata">

**Author:** [@pero](https://discourse.nodered.org/u/pero)\
**Replies:** 1\
**Last updated:** [22 April 2020 13:13 UTC](https://discourse.nodered.org/t/momentary-button-with-status-from-plc/25276 "2020-04-22T13:13:03Z")

</div>

I'm a newbie here and I'm trying to build a home automation system based on a PLC that controls lighting. I'm trying to use Node Red Dashboard for a simple visualization. I'm stuck with a momentary button with the curren…

---

## [Mdashboard-layout](https://discourse.nodered.org/t/mdashboard-layout/25241)

<div class="topic-metadata">

**Author:** [@kevinksdroid](https://discourse.nodered.org/u/kevinksdroid)\
**Replies:** 12\
**Last updated:** [22 April 2020 12:26 UTC](https://discourse.nodered.org/t/mdashboard-layout/25241 "2020-04-22T12:26:02Z")

</div>

Hello all, I am facing difficulty trying to open the mdashboard layout editor. The layout editor for dashboard is working fine though. Can someone help me out ? Please..

---

## [Read windows-1250 encoded data](https://discourse.nodered.org/t/read-windows-1250-encoded-data/25265)

<div class="topic-metadata">

**Author:** [@Dyce](https://discourse.nodered.org/u/Dyce)\
**Replies:** 5\
**Last updated:** [22 April 2020 09:57 UTC](https://discourse.nodered.org/t/read-windows-1250-encoded-data/25265 "2020-04-22T09:57:08Z")

</div>

Hello, I'm having trouble reading windows-1250 encoded data. I'm using http request node to download a .csv file which is encoded in windows-1250. I thought I could read it as a binary buffer and then parse the byte arr…

---

## [Node in bar size](https://discourse.nodered.org/t/node-in-bar-size/25182)

<div class="topic-metadata">

**Author:** [@apex](https://discourse.nodered.org/u/apex)\
**Replies:** 2\
**Last updated:** [22 April 2020 09:48 UTC](https://discourse.nodered.org/t/node-in-bar-size/25182 "2020-04-22T09:48:08Z")

</div>

why the common bar size is so large ? how can i ajdust this? thanks

---

## [Concatenate numbers since digits from keyboard](https://discourse.nodered.org/t/concatenate-numbers-since-digits-from-keyboard/24752)

<div class="topic-metadata">

**Author:** [@Laurent](https://discourse.nodered.org/u/Laurent)\
**Replies:** 59\
**Last updated:** [22 April 2020 08:43 UTC](https://discourse.nodered.org/t/concatenate-numbers-since-digits-from-keyboard/24752 "2020-04-22T08:43:30Z")

</div>

Hello, I am a nubee and I would use Node-red to automate some actions and to do this I would need to reconstruct in node-red an entry made on my numeric keyboard: When I enter "1", then "3" less than a second later, the…

---

## [PI GPIOD Node ECONNREFUSED](https://discourse.nodered.org/t/pi-gpiod-node-econnrefused/23500)

<div class="topic-metadata">

**Author:** [@noob](https://discourse.nodered.org/u/noob)\
**Replies:** 22\
**Last updated:** [22 April 2020 07:25 UTC](https://discourse.nodered.org/t/pi-gpiod-node-econnrefused/23500 "2020-04-22T07:25:11Z")

</div>

Hey Guys, i tried to write a simple Programm to change the angle of my servo with the "pi gpiod" node on my Raspberry pi. In the debug window i just get the message: "Error:connect ECONNREFUSED 127.0.0.1:102". I hope th…

---

## [Use variable for timeout in wait until node](https://discourse.nodered.org/t/use-variable-for-timeout-in-wait-until-node/25255)

<div class="topic-metadata">

**Author:** [@kanke](https://discourse.nodered.org/u/kanke)\
**Replies:** 4\
**Last updated:** [21 April 2020 21:56 UTC](https://discourse.nodered.org/t/use-variable-for-timeout-in-wait-until-node/25255 "2020-04-21T21:56:44Z")

</div>

I am using a couple of "wait util" node in my flows. Is it possible to get the "timeout" value from a variable? what should be the syntax? "wait util" is from node-red-contrib-home-assistant-websocket

---

## [Removing 'New Line' from a python script](https://discourse.nodered.org/t/removing-new-line-from-a-python-script/25261)

<div class="topic-metadata">

**Author:** [@ajaymccollum](https://discourse.nodered.org/u/ajaymccollum)\
**Replies:** 4\
**Last updated:** [21 April 2020 20:32 UTC](https://discourse.nodered.org/t/removing-new-line-from-a-python-script/25261 "2020-04-21T20:32:58Z")

</div>

I've got a python script running the input for a 16 key matrix keypad. I've got a node that runs the script and outputs the keypad's inputs. After every keystroke, it adds a line break or something that I don't know enou…

---

## [Logging in using passport strategy works, but redirects me back to login page](https://discourse.nodered.org/t/logging-in-using-passport-strategy-works-but-redirects-me-back-to-login-page/25214)

<div class="topic-metadata">

**Author:** [@justAnotherDev](https://discourse.nodered.org/u/justAnotherDev)\
**Replies:** 4\
**Last updated:** [21 April 2020 19:11 UTC](https://discourse.nodered.org/t/logging-in-using-passport-strategy-works-but-redirects-me-back-to-login-page/25214 "2020-04-21T19:11:47Z")

</div>

I am using passport-okta-oauth to login to my Node RED instance and have confirmed that the login is succeeding (by logging to the console the profile object inside of of the verify callback), however after redirecting b…

---

## [UI quasar node red](https://discourse.nodered.org/t/ui-quasar-node-red/24662)

<div class="topic-metadata">

**Author:** [@Beefy\_carrot](https://discourse.nodered.org/u/Beefy_carrot)\
**Replies:** 6\
**Last updated:** [21 April 2020 18:45 UTC](https://discourse.nodered.org/t/ui-quasar-node-red/24662 "2020-04-21T18:45:04Z")

</div>

Hi! is there any way to add a quasar framework as the ui for node-red ? i looked into uibuilder but it seems (from my reading) it dont. I want to add the msg.object to the quasar UI i made to display it with gauges. PS:…

---

## [Does assigning a new IP cause all flows to be lost?](https://discourse.nodered.org/t/does-assigning-a-new-ip-cause-all-flows-to-be-lost/25167)

<div class="topic-metadata">

**Author:** [@MoJeeza](https://discourse.nodered.org/u/MoJeeza)\
**Replies:** 19\
**Last updated:** [21 April 2020 17:34 UTC](https://discourse.nodered.org/t/does-assigning-a-new-ip-cause-all-flows-to-be-lost/25167 "2020-04-21T17:34:41Z")

</div>

Since rebooting my laptop and router after a powerfail - I have lost all my flows and dashboard. I searched this forum and google found nothing that points to loss due to new ip assignment. Found some info when server/…

---

## [Control the PIR Sensor with Switch](https://discourse.nodered.org/t/control-the-pir-sensor-with-switch/25147)

<div class="topic-metadata">

**Author:** [@usmanEmder](https://discourse.nodered.org/u/usmanEmder)\
**Replies:** 17\
**Last updated:** [21 April 2020 17:21 UTC](https://discourse.nodered.org/t/control-the-pir-sensor-with-switch/25147 "2020-04-21T17:21:30Z")

</div>

Hi, I wanna control the motion sensor with a switch (As shown in the below picture). But, what I need to in the function node any suggestion. While I found some function node with global data description. context.value…

---

## [I change users folder name (c:/users/ \[user name\] )where .node-red is installed in and now I got a problem. Please help](https://discourse.nodered.org/t/i-change-users-folder-name-c-users-user-name-where-node-red-is-installed-in-and-now-i-got-a-problem-please-help/25235)

<div class="topic-metadata">

**Author:** [@charlita](https://discourse.nodered.org/u/charlita)\
**Replies:** 1\
**Last updated:** [21 April 2020 17:07 UTC](https://discourse.nodered.org/t/i-change-users-folder-name-c-users-user-name-where-node-red-is-installed-in-and-now-i-got-a-problem-please-help/25235 "2020-04-21T17:07:53Z")

</div>

I change users folder name (c:/users/ \[user name\] ). I use Win10. when I execute node-red in cmd its not working anymore it said “ ‘node-red’ is not recognized as an internal or external command, operable program or ba…

---

## [Google Home integration](https://discourse.nodered.org/t/google-home-integration/3936)

<div class="topic-metadata">

**Author:** [@pakerfeldt](https://discourse.nodered.org/u/pakerfeldt)\
**Replies:** 25\
**Last updated:** [21 April 2020 16:26 UTC](https://discourse.nodered.org/t/google-home-integration/3936 "2020-04-21T16:26:58Z")

</div>

I searched discourse in an attempt to find an answer but failed. I have a KNX setup and want to link my devices to Google Home. I have no intention to buy realKNX for €1200 (which funny enough runs node-red) to accompli…

---

## [How to listen a event when when user delete node using key or button](https://discourse.nodered.org/t/how-to-listen-a-event-when-when-user-delete-node-using-key-or-button/19998)

<div class="topic-metadata">

**Author:** [@kiran](https://discourse.nodered.org/u/kiran)\
**Replies:** 2\
**Last updated:** [21 April 2020 15:58 UTC](https://discourse.nodered.org/t/how-to-listen-a-event-when-when-user-delete-node-using-key-or-button/19998 "2020-04-21T15:58:18Z")

</div>

Hi, In JS file of the custom node i want clear the interval of function when user remove/delete custom node in node red I already add this code - \> this.on('close', function(removed, done) { if (removed) { if(i…

---

## [Shutdown synology Diskstation from on it running flow](https://discourse.nodered.org/t/shutdown-synology-diskstation-from-on-it-running-flow/25226)

<div class="topic-metadata">

**Author:** [@stephsache](https://discourse.nodered.org/u/stephsache)\
**Replies:** 8\
**Last updated:** [21 April 2020 15:09 UTC](https://discourse.nodered.org/t/shutdown-synology-diskstation-from-on-it-running-flow/25226 "2020-04-21T15:09:44Z")

</div>

Hi folks, I think, the topic says it all, but to explain a bit more: I have running node-red on a Synology Diskstation without Docker. I want to have a flow that triggers the NAS to shutdown. Best option but not esse…

---

## [Schneider Smartlink Modbus TCP](https://discourse.nodered.org/t/schneider-smartlink-modbus-tcp/25240)

<div class="topic-metadata">

**Author:** [@Job-Hoogeboom](https://discourse.nodered.org/u/Job-Hoogeboom)\
**Replies:** 1\
**Last updated:** [21 April 2020 14:23 UTC](https://discourse.nodered.org/t/schneider-smartlink-modbus-tcp/25240 "2020-04-21T14:23:59Z")

</div>

Hi! I'm using the Modbus-Getter node in node-red to retrieve data from a Schneider electric Acti9 Smartlink SI D power meter gateway. The Voltage, Amperage, and Wattage are a Float32 file. From the Modbus-Getter node …

---

## [How to dim/brighten RGB strip lights over time](https://discourse.nodered.org/t/how-to-dim-brighten-rgb-strip-lights-over-time/25137)

<div class="topic-metadata">

**Author:** [@phreaq](https://discourse.nodered.org/u/phreaq)\
**Replies:** 6\
**Last updated:** [21 April 2020 13:29 UTC](https://discourse.nodered.org/t/how-to-dim-brighten-rgb-strip-lights-over-time/25137 "2020-04-21T13:29:52Z")

</div>

Hi folks, I have a few RGB light strips hooked up via a wifi controller, and I am controlling them thru node-red/ha. Is there a routine/method, that I can have the lights slow dim/brighten over time? For example, if i…

---

## [Flow disappeared but still working](https://discourse.nodered.org/t/flow-disappeared-but-still-working/25043)

<div class="topic-metadata">

**Author:** [@diaz\_1988](https://discourse.nodered.org/u/diaz_1988)\
**Replies:** 35\
**Last updated:** [21 April 2020 13:29 UTC](https://discourse.nodered.org/t/flow-disappeared-but-still-working/25043 "2020-04-21T13:29:01Z")

</div>

I made a deploy and after that 2 flows dissapeared . The strange fact is that they seem to work perfectly in UI . Except that the Deploy button is no longer working . i am running node-red with pm2 but i dont know what t…

---

## [Join timeout in automatic mode?](https://discourse.nodered.org/t/join-timeout-in-automatic-mode/25228)

<div class="topic-metadata">

**Author:** [@NikoG](https://discourse.nodered.org/u/NikoG)\
**Replies:** 6\
**Last updated:** [21 April 2020 12:42 UTC](https://discourse.nodered.org/t/join-timeout-in-automatic-mode/25228 "2020-04-21T12:42:53Z")

</div>

Hello together, I want to create a sequence in which an array of objects is checked. In every object it should check whether it has a specific key or not. If not it should send an error. As a solution for that I came w…

---

## [MongoDb custom query](https://discourse.nodered.org/t/mongodb-custom-query/8989)

<div class="topic-metadata">

**Author:** [@accca](https://discourse.nodered.org/u/accca)\
**Replies:** 1\
**Last updated:** [21 April 2020 09:44 UTC](https://discourse.nodered.org/t/mongodb-custom-query/8989 "2020-04-21T09:44:43Z")

</div>

Hi, I'm new in the world of MongoDb and Node-Red. I have a question. I'm using the "mongodb2" component and I would execute an aggregate query, like this: db.collection.aggregate(\[{$match:{"id": {$eq: 32823}}}, {"$gro…

---

## [Help with Hourglass node](https://discourse.nodered.org/t/help-with-hourglass-node/25216)

<div class="topic-metadata">

**Author:** [@ajaymccollum](https://discourse.nodered.org/u/ajaymccollum)\
**Replies:** 3\
**Last updated:** [21 April 2020 08:14 UTC](https://discourse.nodered.org/t/help-with-hourglass-node/25216 "2020-04-21T08:14:11Z")

</div>

I'm trying to keep track of how long a device is running and I found this node: node-red-contrib-hourglass which seems to be exactly what I'm looking for. The problem is I can't seem to give it what its asking for. I w…

---

## [Toggle switch with MQTT](https://discourse.nodered.org/t/toggle-switch-with-mqtt/24330)

<div class="topic-metadata">

**Author:** [@billard\_fm](https://discourse.nodered.org/u/billard_fm)\
**Replies:** 2\
**Last updated:** [21 April 2020 07:06 UTC](https://discourse.nodered.org/t/toggle-switch-with-mqtt/24330 "2020-04-21T07:06:02Z")

</div>

hello, i am new with node-red. I use it with a MQTT bidge to a Mesh Network. I would have a switch that make this sequence: At the beginning i have a button with RON name First click on the button it send the payload…

---

## [Pull entity info (Temperature) into Node-Red](https://discourse.nodered.org/t/pull-entity-info-temperature-into-node-red/25195)

<div class="topic-metadata">

**Author:** [@yeganquan](https://discourse.nodered.org/u/yeganquan)\
**Replies:** 3\
**Last updated:** [20 April 2020 20:37 UTC](https://discourse.nodered.org/t/pull-entity-info-temperature-into-node-red/25195 "2020-04-20T20:37:24Z")

</div>

Hi am new to node red and have no programming skills whatsoever. I have a two part question I had my ESP8266 programmed with Arduino and some lines of code in the config.yaml. I was able to use the query the entity wit…

---

## [Node-red multi-user workaround](https://discourse.nodered.org/t/node-red-multi-user-workaround/24881)

<div class="topic-metadata">

**Author:** [@Lupin\_III](https://discourse.nodered.org/u/Lupin_III)\
**Replies:** 25\
**Last updated:** [20 April 2020 14:26 UTC](https://discourse.nodered.org/t/node-red-multi-user-workaround/24881 "2020-04-20T14:26:28Z")

</div>

Hi, I know that node-red is a multi-instances software but not multi-tenant. However I need to make it used by different users with different data (identical flows). So I was thinking to a workaround in order not to loo…

---

## [Share JSONata functions between nodes](https://discourse.nodered.org/t/share-jsonata-functions-between-nodes/25198)

<div class="topic-metadata">

**Author:** [@JbIPS](https://discourse.nodered.org/u/JbIPS)\
**Replies:** 3\
**Last updated:** [20 April 2020 18:30 UTC](https://discourse.nodered.org/t/share-jsonata-functions-between-nodes/25198 "2020-04-20T18:30:25Z")

</div>

Hi, In my flow, I used some kind of hashing function in a Change node JSONata. This operation happens multiple times, in multiple flows and each time I have to copy/paste my node and change the paths. I fear the day I'…

---

## [Set new value on nested JSON array/objects - JSONata](https://discourse.nodered.org/t/set-new-value-on-nested-json-array-objects-jsonata/25172)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 2\
**Last updated:** [20 April 2020 17:28 UTC](https://discourse.nodered.org/t/set-new-value-on-nested-json-array-objects-jsonata/25172 "2020-04-20T17:28:57Z")

</div>

I have the following object with nested objects in array's. { "network": { "name": "Internet", "properties": { "reachable": true, "ip": "google.com" }, "children": \[ { "name":…

---

## [Presence detection by time](https://discourse.nodered.org/t/presence-detection-by-time/25044)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 7\
**Last updated:** [20 April 2020 16:56 UTC](https://discourse.nodered.org/t/presence-detection-by-time/25044 "2020-04-20T16:56:55Z")

</div>

Hi all! I have node red and homeassistant integrated and i’ve recently created a node with location check and works fine. Now i want to check how long im at home according to homeassistant location. There is a state t…

---

## [Ultrasonic using NodeMCU and Node-Red](https://discourse.nodered.org/t/ultrasonic-using-nodemcu-and-node-red/25169)

<div class="topic-metadata">

**Author:** [@budiman098](https://discourse.nodered.org/u/budiman098)\
**Replies:** 2\
**Last updated:** [20 April 2020 14:38 UTC](https://discourse.nodered.org/t/ultrasonic-using-nodemcu-and-node-red/25169 "2020-04-20T14:38:13Z")

</div>

hy guys, can you help me to try your project about ultrasonic sensor use NodeMCU and Node-red? i want to monitoring ultrasonic sensor with Node-red use NodeMCU (MQTT) but i have no get the tutorial. i have you can help…

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

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