# General

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

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

**Page:** 383

---

## [Extract and separate payload data](https://discourse.nodered.org/t/extract-and-separate-payload-data/62110)

<div class="topic-metadata">

**Author:** [@SimonRAPP](https://discourse.nodered.org/u/SimonRAPP)\
**Replies:** 1\
**Last updated:** [3 May 2022 10:46 UTC](https://discourse.nodered.org/t/extract-and-separate-payload-data/62110 "2022-05-03T10:46:32Z")

</div>

Hello, Using an HTTP request, I want to get the 100 last messages of my sigfox device. The problem is that the 100 messages are put one after the other in the msg.payload. It looks like this : So, I want to organis…

---

## [Send two 1's in quick succession](https://discourse.nodered.org/t/send-two-1s-in-quick-succession/62104)

<div class="topic-metadata">

**Author:** [@Surefire01](https://discourse.nodered.org/u/Surefire01)\
**Replies:** 4\
**Last updated:** [3 May 2022 10:00 UTC](https://discourse.nodered.org/t/send-two-1s-in-quick-succession/62104 "2022-05-03T10:00:41Z")

</div>

Hi Chaps I have a flow to turn my Sony TV on and off using the contrib-bravia nodes but for some reason the turn off instruction requires two pulses (i.e. two 1's) to be sent before the TV actually turns off. All the ot…

---

## [Uncaught Execption, Error: write EPIPE](https://discourse.nodered.org/t/uncaught-execption-error-write-epipe/62096)

<div class="topic-metadata">

**Author:** [@RensW](https://discourse.nodered.org/u/RensW)\
**Replies:** 2\
**Last updated:** [3 May 2022 08:51 UTC](https://discourse.nodered.org/t/uncaught-execption-error-write-epipe/62096 "2022-05-03T08:51:02Z")

</div>

Hi everyone, I have the following Uncaught exception: Stopping Node-RED graphical event wiring tool... 2 May 16:53:42 - \[info\] Stopping flows 2 May 16:53:42 - \[red\] Uncaught Exception: 2 May 16:53:42 - \[error\] Error: w…

---

## [After deploy flow containing mqtt node, new connection is created, old connection remains open](https://discourse.nodered.org/t/after-deploy-flow-containing-mqtt-node-new-connection-is-created-old-connection-remains-open/61928)

<div class="topic-metadata">

**Author:** [@alexwala](https://discourse.nodered.org/u/alexwala)\
**Replies:** 6\
**Last updated:** [3 May 2022 07:48 UTC](https://discourse.nodered.org/t/after-deploy-flow-containing-mqtt-node-new-connection-is-created-old-connection-remains-open/61928 "2022-05-03T07:48:11Z")

</div>

Having a simple flow with a mqtt node (broker clientId set to autogenerated, port 8883). After first deploy there is exactly one connection to the mqtt broker. (sudo netstat -nputw | grep 8883) With each subsequent de…

---

## [How to mantain the choice of a drop-down list for more inserction rows in UI/SQL table?](https://discourse.nodered.org/t/how-to-mantain-the-choice-of-a-drop-down-list-for-more-inserction-rows-in-ui-sql-table/62058)

<div class="topic-metadata">

**Author:** [@QGIO](https://discourse.nodered.org/u/QGIO)\
**Replies:** 12\
**Last updated:** [3 May 2022 07:38 UTC](https://discourse.nodered.org/t/how-to-mantain-the-choice-of-a-drop-down-list-for-more-inserction-rows-in-ui-sql-table/62058 "2022-05-03T07:38:30Z")

</div>

Hi, I have a flow containing a drop-down node with a list of instruments. I want to select an instrument of the drop-down list, and for this instrument insert more than one row in a dedicated table (three data are sent…

---

## [Need to setup Influxdb node](https://discourse.nodered.org/t/need-to-setup-influxdb-node/62074)

<div class="topic-metadata">

**Author:** [@NeetaJ](https://discourse.nodered.org/u/NeetaJ)\
**Replies:** 5\
**Last updated:** [3 May 2022 06:50 UTC](https://discourse.nodered.org/t/need-to-setup-influxdb-node/62074 "2022-05-03T06:50:58Z")

</div>

Hi, I am new to influx and nodered. I have a requirement where i need to read the data from sensors and get a visualization of temperature, humidity, air quality. We have node red and influx 2.1.1 on a windows server …

---

## [Has anyone been able to get the Meross Garage Door Opener MSG100 to work?](https://discourse.nodered.org/t/has-anyone-been-able-to-get-the-meross-garage-door-opener-msg100-to-work/62094)

<div class="topic-metadata">

**Author:** [@DiverRich](https://discourse.nodered.org/u/DiverRich)\
**Replies:** 0\
**Last updated:** [3 May 2022 05:28 UTC](https://discourse.nodered.org/t/has-anyone-been-able-to-get-the-meross-garage-door-opener-msg100-to-work/62094 "2022-05-03T05:28:48Z")

</div>

I've updated everything and followed the directions to the letter but I just keep getting this: node:internal/modules/cjs/loader:361 throw err; ^ Error: Cannot find module '/Users/Rich/meross/index.js'. Please verify…

---

## [Automatic node-red docker provisionning from github](https://discourse.nodered.org/t/automatic-node-red-docker-provisionning-from-github/62063)

<div class="topic-metadata">

**Author:** [@Barbudor](https://discourse.nodered.org/u/Barbudor)\
**Replies:** 1\
**Last updated:** [2 May 2022 21:34 UTC](https://discourse.nodered.org/t/automatic-node-red-docker-provisionning-from-github/62063 "2022-05-02T21:34:21Z")

</div>

Hi I'm looking to automate the provisionning of node-red docker instances based on a github repository. If needed we would build our own docker image from the official one and adds necessary scripting. The idea is to …

---

## [Connection failed to broker please help](https://discourse.nodered.org/t/connection-failed-to-broker-please-help/62086)

<div class="topic-metadata">

**Author:** [@Ayanda](https://discourse.nodered.org/u/Ayanda)\
**Replies:** 2\
**Last updated:** [2 May 2022 21:08 UTC](https://discourse.nodered.org/t/connection-failed-to-broker-please-help/62086 "2022-05-02T21:08:43Z")

</div>

02 - \[info\] \[mqtt-broker:75ba03721a7c7e7c\] Connection failed to broker: who-are-you@mqtt://127.0.0.1:1880:1883 2 May 22:29:07 - \[info\] \[mqtt-broker:75ba03721a7c7e7c\] Connection failed to broker: who-are-you@mqtt://127.0…

---

## [Need help identifying what i did wrong in my function node](https://discourse.nodered.org/t/need-help-identifying-what-i-did-wrong-in-my-function-node/61769)

<div class="topic-metadata">

**Author:** [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Replies:** 41\
**Last updated:** [2 May 2022 21:03 UTC](https://discourse.nodered.org/t/need-help-identifying-what-i-did-wrong-in-my-function-node/61769 "2022-05-02T21:03:26Z")

</div>

ok so learning javascript on the fly. I'm trying to write a function. to gather ambient temp and target temp. I need to set up an if ambient is greater then target then msg.payload is 1 , else 0 here is what i wrote p…

---

## [List of default environment variables](https://discourse.nodered.org/t/list-of-default-environment-variables/61936)

<div class="topic-metadata">

**Author:** [@dgilleland](https://discourse.nodered.org/u/dgilleland)\
**Replies:** 3\
**Last updated:** [2 May 2022 20:48 UTC](https://discourse.nodered.org/t/list-of-default-environment-variables/61936 "2022-05-02T20:48:18Z")

</div>

I'm looking to find a list of the default environment variable names built into Node-RED. I imagine there are slight differences based on the platform (desktop vs arduino vs etc.). I've searched the documentation, but I …

---

## [NodeRed Console Log / CPU Mem per flow](https://discourse.nodered.org/t/nodered-console-log-cpu-mem-per-flow/61967)

<div class="topic-metadata">

**Author:** [@sourceminer](https://discourse.nodered.org/u/sourceminer)\
**Replies:** 4\
**Last updated:** [2 May 2022 17:44 UTC](https://discourse.nodered.org/t/nodered-console-log-cpu-mem-per-flow/61967 "2022-05-02T17:44:50Z")

</div>

Hello, Looking to find a way to monitor Node-Red in some way. We are having issues lately where the nodes are not running immediately when we tell them to. We have added more cores to the VM and more ram, but performance…

---

## [For each loop multiple objects in arrays](https://discourse.nodered.org/t/for-each-loop-multiple-objects-in-arrays/62076)

<div class="topic-metadata">

**Author:** [@schwartznet](https://discourse.nodered.org/u/schwartznet)\
**Replies:** 1\
**Last updated:** [2 May 2022 16:12 UTC](https://discourse.nodered.org/t/for-each-loop-multiple-objects-in-arrays/62076 "2022-05-02T16:12:15Z")

</div>

Hello, I need to process a command on mac addresses i have pulled from a database but am unsure how to craft a loop in the correct manner. I need to execute a command below on each mac pulled from this query. Any help w…

---

## [Split key from value](https://discourse.nodered.org/t/split-key-from-value/62066)

<div class="topic-metadata">

**Author:** [@emnabk\_12](https://discourse.nodered.org/u/emnabk_12)\
**Replies:** 1\
**Last updated:** [2 May 2022 14:22 UTC](https://discourse.nodered.org/t/split-key-from-value/62066 "2022-05-02T14:22:47Z")

</div>

Hi, when I receive a json object, I would like to only display the value "19" , howa can I do that? \[ { "id": "ec79b803a1e72a08", "type": "http request", "z": "dc71eaad3af54282", "nam…

---

## [React App in Node-Red](https://discourse.nodered.org/t/react-app-in-node-red/61800)

<div class="topic-metadata">

**Author:** [@iplpkpo](https://discourse.nodered.org/u/iplpkpo)\
**Replies:** 11\
**Last updated:** [2 May 2022 12:10 UTC](https://discourse.nodered.org/t/react-app-in-node-red/61800 "2022-05-02T12:10:48Z")

</div>

Hello everyone, I have just started to get into Node-Red and I am super newbie to most stuff about it. I wanted to ask if you can give me any information on how can I put my already written code(for example a React App) …

---

## [Extracting values from very long text files](https://discourse.nodered.org/t/extracting-values-from-very-long-text-files/62054)

<div class="topic-metadata">

**Author:** [@milner236](https://discourse.nodered.org/u/milner236)\
**Replies:** 9\
**Last updated:** [2 May 2022 10:55 UTC](https://discourse.nodered.org/t/extracting-values-from-very-long-text-files/62054 "2022-05-02T10:55:03Z")

</div>

Hello everyone. I have a flow that uses ocr to converts long pdf files (usually around 30 pages) to text files. I then read those text files using a file in node. From those text files I need to extract certain specif…

---

## [Spliting an array and tagging each part](https://discourse.nodered.org/t/spliting-an-array-and-tagging-each-part/62057)

<div class="topic-metadata">

**Author:** [@GRHMLGGT](https://discourse.nodered.org/u/GRHMLGGT)\
**Replies:** 2\
**Last updated:** [2 May 2022 10:44 UTC](https://discourse.nodered.org/t/spliting-an-array-and-tagging-each-part/62057 "2022-05-02T10:44:18Z")

</div>

Hi All, I am using a modbus node to grab 10 registers and I want to spilt the array and tag each register so I can further work with the data. Simply splitting it doesn't tag each part so I know what I am working with. T…

---

## [One Button toggle to turn light on and off](https://discourse.nodered.org/t/one-button-toggle-to-turn-light-on-and-off/62050)

<div class="topic-metadata">

**Author:** [@DiGRem](https://discourse.nodered.org/u/DiGRem)\
**Replies:** 4\
**Last updated:** [2 May 2022 10:22 UTC](https://discourse.nodered.org/t/one-button-toggle-to-turn-light-on-and-off/62050 "2022-05-02T10:22:18Z")

</div>

Home Assistant and Node Red novice I have a Ikea Styrbar controller and Ikea light bulb that I have configured in mqtt and this is working great. Using Events:Status and Service Node (Toggle) I can toggle the light on …

---

## [How to create a publically available Node-Red https endpoint](https://discourse.nodered.org/t/how-to-create-a-publically-available-node-red-https-endpoint/61887)

<div class="topic-metadata">

**Author:** [@pimp1310](https://discourse.nodered.org/u/pimp1310)\
**Replies:** 7\
**Last updated:** [2 May 2022 10:07 UTC](https://discourse.nodered.org/t/how-to-create-a-publically-available-node-red-https-endpoint/61887 "2022-05-02T10:07:10Z")

</div>

Hello :upside\_down\_face: I'm a complete novice when it comes to node-red, so please be patient. I'm trying the following, I'm using home-assistant with the node-red addon, a guide on how to connect my alexa skill to a …

---

## [Node-red Deployment Error - No Space!](https://discourse.nodered.org/t/node-red-deployment-error-no-space/60495)

<div class="topic-metadata">

**Author:** [@GRHMLGGT](https://discourse.nodered.org/u/GRHMLGGT)\
**Replies:** 3\
**Last updated:** [2 May 2022 09:56 UTC](https://discourse.nodered.org/t/node-red-deployment-error-no-space/60495 "2022-05-02T09:56:24Z")

</div>

Hello Everyone, I am running node-red on a raspberry pi and I am getting this error while trying to deploy a flow. "enospc: no space left on device, copyfile '/home/pi/.node-red/flows.json' -\> '/home/pi/.node-red/.flow…

---

## [Get values from POST body](https://discourse.nodered.org/t/get-values-from-post-body/62041)

<div class="topic-metadata">

**Author:** [@lobster87](https://discourse.nodered.org/u/lobster87)\
**Replies:** 6\
**Last updated:** [2 May 2022 08:26 UTC](https://discourse.nodered.org/t/get-values-from-post-body/62041 "2022-05-02T08:26:40Z")

</div>

Hi, I try to get POST values sent by Postman, but I get in a debug that the msg value is undefined. In the function module, I wrote a piece of such a code: var u=msg.payload.username; var p=msg.payload.password; msg.…

---

## [How can I control a relay using MQTT?](https://discourse.nodered.org/t/how-can-i-control-a-relay-using-mqtt/62033)

<div class="topic-metadata">

**Author:** [@rolandoartha](https://discourse.nodered.org/u/rolandoartha)\
**Replies:** 8\
**Last updated:** [2 May 2022 07:11 UTC](https://discourse.nodered.org/t/how-can-i-control-a-relay-using-mqtt/62033 "2022-05-02T07:11:07Z")

</div>

guys, i use soil moisture sensor to measure the volumetric water content in soil, and i use mqtt to send the value, i declared if the value is under 30%, the soil is dry and need to watering the soil, how can i control r…

---

## [Running external Python script fast](https://discourse.nodered.org/t/running-external-python-script-fast/61965)

<div class="topic-metadata">

**Author:** [@TawhiriMatea](https://discourse.nodered.org/u/TawhiriMatea)\
**Replies:** 9\
**Last updated:** [2 May 2022 05:52 UTC](https://discourse.nodered.org/t/running-external-python-script-fast/61965 "2022-05-02T05:52:44Z")

</div>

Hi, I am working on a flow which runs on a Raspberry 4b. The flow occasionally calls external Python scripts which interact with various hats (reads analog signals, communicates via Modbus and CAN). The whole thing, or …

---

## [Updating npm and node.js with alternate-node-red-installer](https://discourse.nodered.org/t/updating-npm-and-node-js-with-alternate-node-red-installer/62034)

<div class="topic-metadata">

**Author:** [@jupiter8](https://discourse.nodered.org/u/jupiter8)\
**Replies:** 2\
**Last updated:** [1 May 2022 22:45 UTC](https://discourse.nodered.org/t/updating-npm-and-node-js-with-alternate-node-red-installer/62034 "2022-05-01T22:45:53Z")

</div>

Last year i built a unbuntu server and installed node-red with alternate-node-red-installer(GitHub - TotallyInformation/alternate-node-red-installer: An alternative installer for Node-RED. Avoids global installs, no admi…

---

## [FileMaker new Node-Red user](https://discourse.nodered.org/t/filemaker-new-node-red-user/62042)

<div class="topic-metadata">

**Author:** [@cornevanbakel](https://discourse.nodered.org/u/cornevanbakel)\
**Replies:** 0\
**Last updated:** [1 May 2022 21:01 UTC](https://discourse.nodered.org/t/filemaker-new-node-red-user/62042 "2022-05-01T21:01:11Z")

</div>

Hello all, Apparently, I just can't grasp how to simply make a web hook, and whatever output that delivers, how to put that in a field in FileMaker. Ideally performing some FileMaker script after data is retrieved. So …

---

## [Sending information from Node Red to Webcore](https://discourse.nodered.org/t/sending-information-from-node-red-to-webcore/62038)

<div class="topic-metadata">

**Author:** [@Mebejedi](https://discourse.nodered.org/u/Mebejedi)\
**Replies:** 0\
**Last updated:** [1 May 2022 19:42 UTC](https://discourse.nodered.org/t/sending-information-from-node-red-to-webcore/62038 "2022-05-01T19:42:17Z")

</div>

Yes, I know....strange question. I'm slowly learning Node Red, but one thing I really love about it is the ability to determine which Echo received a command. I've already created a flow that allows me to say "Turn on/o…

---

## [Writing a 32bit Float (le) Modbus](https://discourse.nodered.org/t/writing-a-32bit-float-le-modbus/62026)

<div class="topic-metadata">

**Author:** [@Becker](https://discourse.nodered.org/u/Becker)\
**Replies:** 3\
**Last updated:** [1 May 2022 14:51 UTC](https://discourse.nodered.org/t/writing-a-32bit-float-le-modbus/62026 "2022-05-01T14:51:03Z")

</div>

Hi, I want to write one (or more) float (le) registers: for uint32(be) I know how to do (Steve told me): first buffer maker with uint32(be) =\> buffer parser with uint16(be) length: 2 =\> write FC16 but for floa…

---

## [Can't access node-red](https://discourse.nodered.org/t/cant-access-node-red/62019)

<div class="topic-metadata">

**Author:** [@cbcliff47](https://discourse.nodered.org/u/cbcliff47)\
**Replies:** 5\
**Last updated:** [1 May 2022 10:20 UTC](https://discourse.nodered.org/t/cant-access-node-red/62019 "2022-05-01T10:20:49Z")

</div>

Hi, I recentlý made some changes to allow username/password authentification (following the guidelines of node-red) and since then I cannot access node-red from my local host. When I start node-red I get the following er…

---

## [Google Home / Assistant / Nest](https://discourse.nodered.org/t/google-home-assistant-nest/62023)

<div class="topic-metadata">

**Author:** [@DeWoAlliSeged7](https://discourse.nodered.org/u/DeWoAlliSeged7)\
**Replies:** 0\
**Last updated:** [1 May 2022 10:03 UTC](https://discourse.nodered.org/t/google-home-assistant-nest/62023 "2022-05-01T10:03:48Z")

</div>

Heyy everyone I'm new to the party and need help :wink: Is it possible to make a command with Node-RED to play a specific playlist from spotify on a Google Nest speaker ? Or if it's easier any idea with a python scrip…

---

## [QNAP Docker - cannot run above v1.3.7. (Was: EPERM Operation not permitted error after reading all the documentation)](https://discourse.nodered.org/t/qnap-docker-cannot-run-above-v1-3-7-was-eperm-operation-not-permitted-error-after-reading-all-the-documentation/61963)

<div class="topic-metadata">

**Author:** [@scottdk](https://discourse.nodered.org/u/scottdk)\
**Replies:** 1\
**Last updated:** [1 May 2022 08:14 UTC](https://discourse.nodered.org/t/qnap-docker-cannot-run-above-v1-3-7-was-eperm-operation-not-permitted-error-after-reading-all-the-documentation/61963 "2022-05-01T08:14:56Z")

</div>

EDIT: - This might be one for the QNAP forums, but I'll edit this post with more information. I can run nodered 1.3.7 in docker on my QNAP, but I cannot run any v2.x.x container. QNAP TS-870 Pro QTS 4.3.6.1965 \[2022/0…

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

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