# Latest

**URL:** https://discourse.nodered.org/latest.md?page=577

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

**Page:** 578

---

## [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 …

---

## [Node Red Automation - Contract work 1099](https://discourse.nodered.org/t/node-red-automation-contract-work-1099/61976)

<div class="topic-metadata">

**Author:** [@Robin-of-the-Hood](https://discourse.nodered.org/u/Robin-of-the-Hood)\
**Replies:** 7\
**Last updated:** [2 May 2022 18:49 UTC](https://discourse.nodered.org/t/node-red-automation-contract-work-1099/61976 "2022-05-02T18:49:02Z")

</div>

We are looking for a regular contractor with a proven track record. Other programing jobs will be needed in the future. We have a very basic setup and need some configuration work, then followed by some automation work…

---

## [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…

---

## [Category for custom nodes](https://discourse.nodered.org/t/category-for-custom-nodes/62078)

<div class="topic-metadata">

**Author:** [@joe2003](https://discourse.nodered.org/u/joe2003)\
**Replies:** 1\
**Last updated:** [2 May 2022 17:06 UTC](https://discourse.nodered.org/t/category-for-custom-nodes/62078 "2022-05-02T17:06:59Z")

</div>

Hi im creating custom nodes, but cant work out how to group them into sections in the side bar. All my nodes appear in the "function" section. how are these groups defined? thanks

---

## [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…

---

## [Convert datatype](https://discourse.nodered.org/t/convert-datatype/62061)

<div class="topic-metadata">

**Author:** [@TDatema](https://discourse.nodered.org/u/TDatema)\
**Replies:** 1\
**Last updated:** [2 May 2022 14:42 UTC](https://discourse.nodered.org/t/convert-datatype/62061 "2022-05-02T14:42:16Z")

</div>

Hey, Is there any way to convert datatype UInt8 to UInt16?

---

## [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 …

---

## [Function new line](https://discourse.nodered.org/t/function-new-line/19927)

<div class="topic-metadata">

**Author:** [@pvanklink](https://discourse.nodered.org/u/pvanklink)\
**Replies:** 7\
**Last updated:** [2 May 2022 09:58 UTC](https://discourse.nodered.org/t/function-new-line/19927 "2022-05-02T09:58:21Z")

</div>

Hi, I made a function that creates the content for a dashboard text node. This function works great! But i like to have some newlines between some of the content parts when showing the info on the dasboard, is that po…

---

## [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…

---

## [Understanding dashboard switch](https://discourse.nodered.org/t/understanding-dashboard-switch/2334)

<div class="topic-metadata">

**Author:** [@TholoMonyai](https://discourse.nodered.org/u/TholoMonyai)\
**Replies:** 5\
**Last updated:** [2 May 2022 08:33 UTC](https://discourse.nodered.org/t/understanding-dashboard-switch/2334 "2022-05-02T08:33:50Z")

</div>

Good day So I want to integrate a switch onto my dashboard which will allow a series of pulse through. But that is not happening, am I misunderstanding how the switch node should work in that configuration? Many Thanks …

---

## [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 …

---

## [Passing link name to receiver link node to determine source](https://discourse.nodered.org/t/passing-link-name-to-receiver-link-node-to-determine-source/62018)

<div class="topic-metadata">

**Author:** [@svefro](https://discourse.nodered.org/u/svefro)\
**Replies:** 3\
**Last updated:** [2 May 2022 04:03 UTC](https://discourse.nodered.org/t/passing-link-name-to-receiver-link-node-to-determine-source/62018 "2022-05-02T04:03:44Z")

</div>

I have many nodes that go to a common link in node to get logged to a database. All the link out nodes have names and i wanted this to show in the log. i see that the link in node gets a property called "\_event" with "…

---

## [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…

---

## [Flows stopped due to missing node types: A feature suggestion to help](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995)

<div class="topic-metadata">

**Author:** [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Replies:** 24\
**Last updated:** [1 May 2022 18:52 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-a-feature-suggestion-to-help/61995 "2022-05-01T18:52:22Z")

</div>

Hi all, A common question on the forum is "help, flows stopped, missing nodes" (see for yourself) E.g... While there are difficulties in linking the missing node type to the flows library, it is relatively simple t…

---

## [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…

---

## [Struggling with data expression](https://discourse.nodered.org/t/struggling-with-data-expression/62007)

<div class="topic-metadata">

**Author:** [@TheLoudSteve](https://discourse.nodered.org/u/TheLoudSteve)\
**Replies:** 3\
**Last updated:** [1 May 2022 07:05 UTC](https://discourse.nodered.org/t/struggling-with-data-expression/62007 "2022-05-01T07:05:52Z")

</div>

I am using the injection node, with a msg.device set to "Fridge" If I pass it straight to the debug node, it works as expected. I'm trying to pass it to a Home Assistant call service node, and have it push the strin…

[Previous page](https://discourse.nodered.org/latest.md?page=576)

[Next page](https://discourse.nodered.org/latest.md?page=578)
