# Latest

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

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

**Page:** 747

---

## [Http GET with JSON payload?](https://discourse.nodered.org/t/http-get-with-json-payload/50166)

<div class="topic-metadata">

**Author:** [@bbartling](https://discourse.nodered.org/u/bbartling)\
**Replies:** 5\
**Last updated:** [25 August 2021 17:21 UTC](https://discourse.nodered.org/t/http-get-with-json-payload/50166 "2021-08-25T17:21:37Z")

</div>

Can I make a GET request with a JSON payload in the body? For example if I use an inject node with this: { "address": "12345:2", "object\_type": "analogInput", "object\_instance": "2" } And feed this i…

---

## [Neopixel and Audio out](https://discourse.nodered.org/t/neopixel-and-audio-out/11968)

<div class="topic-metadata">

**Author:** [@Danieldz](https://discourse.nodered.org/u/Danieldz)\
**Replies:** 4\
**Last updated:** [25 August 2021 17:05 UTC](https://discourse.nodered.org/t/neopixel-and-audio-out/11968 "2021-08-25T17:05:12Z")

</div>

Good Morning, I am very new to Node Red and Raspberry Pi. I started my first project. I want to control a neopixel strip and play audio files by clicking a button. With the help of Google I managed to setup the neopixel…

---

## [Neopixel Apply gamma correction Not working](https://discourse.nodered.org/t/neopixel-apply-gamma-correction-not-working/50170)

<div class="topic-metadata">

**Author:** [@LostiLama](https://discourse.nodered.org/u/LostiLama)\
**Replies:** 0\
**Last updated:** [25 August 2021 16:59 UTC](https://discourse.nodered.org/t/neopixel-apply-gamma-correction-not-working/50170 "2021-08-25T16:59:00Z")

</div>

My problem is no longer that the wipe time is too long but that the note crashes when I try to switch off the Apply gamma correction i have no idea with this.

---

## [Trying to understand - - TypeError: Cannot read property 'length' of undefined](https://discourse.nodered.org/t/trying-to-understand-typeerror-cannot-read-property-length-of-undefined/50168)

<div class="topic-metadata">

**Author:** [@RaptorUK](https://discourse.nodered.org/u/RaptorUK)\
**Replies:** 2\
**Last updated:** [25 August 2021 16:44 UTC](https://discourse.nodered.org/t/trying-to-understand-typeerror-cannot-read-property-length-of-undefined/50168 "2021-08-25T16:44:06Z")

</div>

I've ben trying to create a set of Yes/No type buttons which after a set timeout will default to "No" . . . I've managed to get it working but lost a lot of time to the following error: TypeError: Cannot read property …

---

## [UIBuilder: Click button triggers data pulling and then downloading data](https://discourse.nodered.org/t/uibuilder-click-button-triggers-data-pulling-and-then-downloading-data/50116)

<div class="topic-metadata">

**Author:** [@CreativeWarlock](https://discourse.nodered.org/u/CreativeWarlock)\
**Replies:** 3\
**Last updated:** [24 August 2021 23:14 UTC](https://discourse.nodered.org/t/uibuilder-click-button-triggers-data-pulling-and-then-downloading-data/50116 "2021-08-24T23:14:58Z")

</div>

Hi there guys! in ui-builder I would like to download data (e.g. JSON data in Excel format via 'vue-json-excel' module). So what I've got is a download button which would send a command to the backend which in return s…

---

## [Add menu option to reset all flows, sub-flows configuration to factory default](https://discourse.nodered.org/t/add-menu-option-to-reset-all-flows-sub-flows-configuration-to-factory-default/49884)

<div class="topic-metadata">

**Author:** [@braunku](https://discourse.nodered.org/u/braunku)\
**Replies:** 3\
**Last updated:** [25 August 2021 15:04 UTC](https://discourse.nodered.org/t/add-menu-option-to-reset-all-flows-sub-flows-configuration-to-factory-default/49884 "2021-08-25T15:04:22Z")

</div>

The common workflow for me is developing on my laptop, then installing on customers' equipment. This might occur over several days. Before a new project can be imported, however, you must first manually delete each flo…

---

## [MQTT - Single button press - multiple different actions (in order/sequence)](https://discourse.nodered.org/t/mqtt-single-button-press-multiple-different-actions-in-order-sequence/50125)

<div class="topic-metadata">

**Author:** [@jmonline86](https://discourse.nodered.org/u/jmonline86)\
**Replies:** 3\
**Last updated:** [25 August 2021 14:49 UTC](https://discourse.nodered.org/t/mqtt-single-button-press-multiple-different-actions-in-order-sequence/50125 "2021-08-25T14:49:33Z")

</div>

Hi all, I'm using Node-RED with HomeAssistant and have a few different automation's up and running (fairly new to it), however I am getting stuck with one requirement in particular and multiple Google searches over the …

---

## [Dynamic number of returns in function](https://discourse.nodered.org/t/dynamic-number-of-returns-in-function/50122)

<div class="topic-metadata">

**Author:** [@spacerabbit](https://discourse.nodered.org/u/spacerabbit)\
**Replies:** 5\
**Last updated:** [25 August 2021 13:11 UTC](https://discourse.nodered.org/t/dynamic-number-of-returns-in-function/50122 "2021-08-25T13:11:28Z")

</div>

Hello, I'm trying to have a dynamic number of returns depending on a variable, I did this but it's only handling up to length 6, and sometimes there's up to 20. I'd like to know a proper way to do it ! Thanks /////////…

---

## [Event logging with timeStamp](https://discourse.nodered.org/t/event-logging-with-timestamp/50126)

<div class="topic-metadata">

**Author:** [@Mohit](https://discourse.nodered.org/u/Mohit)\
**Replies:** 2\
**Last updated:** [25 August 2021 12:39 UTC](https://discourse.nodered.org/t/event-logging-with-timestamp/50126 "2021-08-25T12:39:35Z")

</div>

I am trying to create event log with time stamp. Can anyone suggest correct flow to display values with timestamping.

---

## [Node Developers: How To use setMaxListeners() using RED.events](https://discourse.nodered.org/t/node-developers-how-to-use-setmaxlisteners-using-red-events/50154)

<div class="topic-metadata">

**Author:** [@ollix](https://discourse.nodered.org/u/ollix)\
**Replies:** 6\
**Last updated:** [25 August 2021 12:37 UTC](https://discourse.nodered.org/t/node-developers-how-to-use-setmaxlisteners-using-red-events/50154 "2021-08-25T12:37:11Z")

</div>

Hi folks, while working on my nodes, I also saw the "MaxListenersExceededWarning: Possible EventEmitter memory leak detected..." error. After some research on how to finally solve that, I'd like to share that with you, …

---

## [Add labels to wires in editor](https://discourse.nodered.org/t/add-labels-to-wires-in-editor/50133)

<div class="topic-metadata">

**Author:** [@rko](https://discourse.nodered.org/u/rko)\
**Replies:** 7\
**Last updated:** [25 August 2021 11:56 UTC](https://discourse.nodered.org/t/add-labels-to-wires-in-editor/50133 "2021-08-25T11:56:38Z")

</div>

Is there a way to add labels (documentation) to wires in the editor? It would help to understand flows better, I think. Especially when you work in a team or have to change some old flows which you haven't looked at in a…

---

## [Not Sure if it would work so im tossing it in here, DMX to Shelly RGBW](https://discourse.nodered.org/t/not-sure-if-it-would-work-so-im-tossing-it-in-here-dmx-to-shelly-rgbw/50146)

<div class="topic-metadata">

**Author:** [@AppAttack](https://discourse.nodered.org/u/AppAttack)\
**Replies:** 6\
**Last updated:** [25 August 2021 11:44 UTC](https://discourse.nodered.org/t/not-sure-if-it-would-work-so-im-tossing-it-in-here-dmx-to-shelly-rgbw/50146 "2021-08-25T11:44:31Z")

</div>

Hi everyone, im new here, my Name is Michael and im from Germany. I have a few question please dont be angry with me if they are stupid i have never used NodeRed before. I want to use Shelly RGBW in my Master Bedroom,…

---

## [Operating time node issue](https://discourse.nodered.org/t/operating-time-node-issue/19528)

<div class="topic-metadata">

**Author:** [@KELVINHAN95](https://discourse.nodered.org/u/KELVINHAN95)\
**Replies:** 4\
**Last updated:** [25 August 2021 11:33 UTC](https://discourse.nodered.org/t/operating-time-node-issue/19528 "2021-08-25T11:33:37Z")

</div>

Hi I am having an issue with this current flow. I am using the flow from this website https://github.com/cflurin/node-red-contrib-dsm/wiki/Operating-time. As you can see in the image above, The first image shows whe…

---

## [Error Popup while installing module](https://discourse.nodered.org/t/error-popup-while-installing-module/50159)

<div class="topic-metadata">

**Author:** [@KartikI](https://discourse.nodered.org/u/KartikI)\
**Replies:** 1\
**Last updated:** [25 August 2021 11:27 UTC](https://discourse.nodered.org/t/error-popup-while-installing-module/50159 "2021-08-25T11:27:08Z")

</div>

Hello All, My node-red is acting weird since yesterday when I am trying to install any module an error popup is occurring at the top please help me to figure this out. Thanks, Kartik

---

## [InfluxDB keed time formating](https://discourse.nodered.org/t/influxdb-keed-time-formating/50009)

<div class="topic-metadata">

**Author:** [@Duser](https://discourse.nodered.org/u/Duser)\
**Replies:** 2\
**Last updated:** [25 August 2021 11:13 UTC](https://discourse.nodered.org/t/influxdb-keed-time-formating/50009 "2021-08-25T11:13:12Z")

</div>

Hello. I use node-red-contrib-influxdb. After query it returns time as "2021-08-21T16:50:28.552Z" (if I set RAW it has microseconds). {"\_msgid":"2535bbc93736d80a","payload":\[ {"time":"2021-08-21T16:50:28.552Z","BME280…

---

## [Proposal to add msg.resetTimeout support for Join node](https://discourse.nodered.org/t/proposal-to-add-msg-resettimeout-support-for-join-node/50156)

<div class="topic-metadata">

**Author:** [@magma1447](https://discourse.nodered.org/u/magma1447)\
**Replies:** 1\
**Last updated:** [25 August 2021 11:06 UTC](https://discourse.nodered.org/t/proposal-to-add-msg-resettimeout-support-for-join-node/50156 "2021-08-25T11:06:21Z")

</div>

I have found the join node (part of split) quite useful, not the least that it can collect N messages and send them after a defined time after the first message. However, I have a case where I would like it to be a cert…

---

## [Failure to install Windows build tools](https://discourse.nodered.org/t/failure-to-install-windows-build-tools/50144)

<div class="topic-metadata">

**Author:** [@kakyoism](https://discourse.nodered.org/u/kakyoism)\
**Replies:** 3\
**Last updated:** [25 August 2021 09:42 UTC](https://discourse.nodered.org/t/failure-to-install-windows-build-tools/50144 "2021-08-25T09:42:09Z")

</div>

Being a newbie, by following the Windows setup instruction https://nodered.org/docs/getting-started/windows#2-install-node-red I'm trying to install windows-build-tools, but failed miserably. I've done a lot of intern…

---

## [How to access AWS Aurora](https://discourse.nodered.org/t/how-to-access-aws-aurora/50151)

<div class="topic-metadata">

**Author:** [@anguslou](https://discourse.nodered.org/u/anguslou)\
**Replies:** 0\
**Last updated:** [25 August 2021 09:27 UTC](https://discourse.nodered.org/t/how-to-access-aws-aurora/50151 "2021-08-25T09:27:22Z")

</div>

I have been using Node-Red to read/ write AWS DynamoDB, either by cli or node-red-contrib-aws without any problems. Currently we are going to have a new client using AWS Aurora Cluster, which I have no concept of Aurora.…

---

## [Raspberry pi and Node-RED kwh meter pulse counting?](https://discourse.nodered.org/t/raspberry-pi-and-node-red-kwh-meter-pulse-counting/49789)

<div class="topic-metadata">

**Author:** [@TeemuJT](https://discourse.nodered.org/u/TeemuJT)\
**Replies:** 18\
**Last updated:** [25 August 2021 09:24 UTC](https://discourse.nodered.org/t/raspberry-pi-and-node-red-kwh-meter-pulse-counting/49789 "2021-08-25T09:24:58Z")

</div>

Hi, Any advice how to get Kwh-meter pulse data from GPIO to node-red? Im planning to use similar connection as this project: Engineer's Principles: Power meter logging with Pi and Emoncms (skding.blogspot.com) rpi - g…

---

## [Work with rs485](https://discourse.nodered.org/t/work-with-rs485/50132)

<div class="topic-metadata">

**Author:** [@lexeyfan](https://discourse.nodered.org/u/lexeyfan)\
**Replies:** 3\
**Last updated:** [25 August 2021 08:00 UTC](https://discourse.nodered.org/t/work-with-rs485/50132 "2021-08-25T08:00:27Z")

</div>

friends tell me please, I work with rs485 via usb adapter ch340. node-red use serial in and serial out on dev / ttyUsb0 port. but when I send a request I don't get a response, not in win environment not in linux. the pro…

---

## [UI-State-Trail persistence data help](https://discourse.nodered.org/t/ui-state-trail-persistence-data-help/50143)

<div class="topic-metadata">

**Author:** [@JoshuaG](https://discourse.nodered.org/u/JoshuaG)\
**Replies:** 11\
**Last updated:** [25 August 2021 07:02 UTC](https://discourse.nodered.org/t/ui-state-trail-persistence-data-help/50143 "2021-08-25T07:02:59Z")

</div>

Can you tag people @hotNipi ?? I'm struggling with the persistence setup on this node. I assume if I correctly set the setting.js (below) then the node should store its own data? if this is the case I dont understand wh…

---

## [How to use addClass in oneditprepare](https://discourse.nodered.org/t/how-to-use-addclass-in-oneditprepare/50136)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 2\
**Last updated:** [25 August 2021 06:13 UTC](https://discourse.nodered.org/t/how-to-use-addclass-in-oneditprepare/50136 "2021-08-25T06:13:55Z")

</div>

Hi folks, I need to add a red border around an input field, when some conditions are met: if (...) { $('#node-input-myfield').addClass("input-error"); } This works fine when this code snippet is called e.g. in an o…

---

## [Preventing timeout errors with the http request node](https://discourse.nodered.org/t/preventing-timeout-errors-with-the-http-request-node/50131)

<div class="topic-metadata">

**Author:** [@chrisofCCL](https://discourse.nodered.org/u/chrisofCCL)\
**Replies:** 1\
**Last updated:** [25 August 2021 05:52 UTC](https://discourse.nodered.org/t/preventing-timeout-errors-with-the-http-request-node/50131 "2021-08-25T05:52:05Z")

</div>

I have a flow that sometimes sends 'EVENTs' over http, using the http-request node. Events require no response, but of course the http-request node expects one. When one doesn't turn up within the timeout period, it gene…

---

## [Regex Function Question](https://discourse.nodered.org/t/regex-function-question/50137)

<div class="topic-metadata">

**Author:** [@Mick](https://discourse.nodered.org/u/Mick)\
**Replies:** 1\
**Last updated:** [25 August 2021 01:45 UTC](https://discourse.nodered.org/t/regex-function-question/50137 "2021-08-25T01:45:10Z")

</div>

@Steve-Mcl Steve, I am trying to modify the regex func you gave me to do a multiple pass and look for the 1st key word ('client' and then set the 2nd regex pass to use that. That way I don't have to make multiple f…

---

## [230V power metering on rpi](https://discourse.nodered.org/t/230v-power-metering-on-rpi/5082)

<div class="topic-metadata">

**Author:** [@tarbax](https://discourse.nodered.org/u/tarbax)\
**Replies:** 16\
**Last updated:** [24 August 2021 23:54 UTC](https://discourse.nodered.org/t/230v-power-metering-on-rpi/5082 "2021-08-24T23:54:07Z")

</div>

i am currently busy with pond demotics. (relays,temp sensors,buttons, water level, lights and flow meter etc) And i would like to add a current sensor so i can messure how mush power the whole pond uses. what sensor do…

---

## [\[ANNOUNCE\] node-red-contrib-blockly 2.0.0](https://discourse.nodered.org/t/announce-node-red-contrib-blockly-2-0-0/50134)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 2\
**Last updated:** [24 August 2021 20:47 UTC](https://discourse.nodered.org/t/announce-node-red-contrib-blockly-2-0-0/50134 "2021-08-24T20:47:04Z")

</div>

Hi folks, After a few beta releases, @cymplecy and I are very proud to announce that version 2.0.0 of the node-red-contrib-blockly node is now finally available in the Node-RED palette :champagne: :clinking\_glasses: …

---

## [Best practices for Node-RED proxy endpoints?](https://discourse.nodered.org/t/best-practices-for-node-red-proxy-endpoints/50119)

<div class="topic-metadata">

**Author:** [@johnwalicki](https://discourse.nodered.org/u/johnwalicki)\
**Replies:** 2\
**Last updated:** [24 August 2021 20:27 UTC](https://discourse.nodered.org/t/best-practices-for-node-red-proxy-endpoints/50119 "2021-08-24T20:27:12Z")

</div>

I have a flow that implements a proxy for a secure API. It has a HTTP In, which takes a bunch of parameters. The flow modifies the inputs, adds an Auth Token and calls some other HTTP request node to perform the task. T…

---

## [Module error node-red](https://discourse.nodered.org/t/module-error-node-red/50066)

<div class="topic-metadata">

**Author:** [@owmath](https://discourse.nodered.org/u/owmath)\
**Replies:** 8\
**Last updated:** [24 August 2021 20:12 UTC](https://discourse.nodered.org/t/module-error-node-red/50066 "2021-08-24T20:12:11Z")

</div>

how do I format my node-red and fix this error? i'm new to node-red, how do I format and reinstall again

---

## [communication with the yokogawa dcs](https://discourse.nodered.org/t/communication-with-the-yokogawa-dcs/50088)

<div class="topic-metadata">

**Author:** [@Marcelo12](https://discourse.nodered.org/u/Marcelo12)\
**Replies:** 2\
**Last updated:** [24 August 2021 20:11 UTC](https://discourse.nodered.org/t/communication-with-the-yokogawa-dcs/50088 "2021-08-24T20:11:00Z")

</div>

hello guys, I was wondering if node red communicates with the yokogawa dcs system?

---

## [Mssql-plus - ECONNCLOSED - Connection is closed](https://discourse.nodered.org/t/mssql-plus-econnclosed-connection-is-closed/50083)

<div class="topic-metadata">

**Author:** [@tusharacc](https://discourse.nodered.org/u/tusharacc)\
**Replies:** 2\
**Last updated:** [24 August 2021 19:29 UTC](https://discourse.nodered.org/t/mssql-plus-econnclosed-connection-is-closed/50083 "2021-08-24T19:29:51Z")

</div>

I have a below flow - Inject -\> Query SQL Server A -\> Randomly Select 10 records -\> split (based on array length of 1) -\> Query SQL Server B -\> debug message object During this flow, I get connection is closed for the …

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

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