# Latest

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

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

**Page:** 633

---

## [How to install node-red-contrib-usbhid on Windows 10?](https://discourse.nodered.org/t/how-to-install-node-red-contrib-usbhid-on-windows-10/58149)

<div class="topic-metadata">

**Author:** [@aa777888-2](https://discourse.nodered.org/u/aa777888-2)\
**Replies:** 7\
**Last updated:** [12 February 2022 14:18 UTC](https://discourse.nodered.org/t/how-to-install-node-red-contrib-usbhid-on-windows-10/58149 "2022-02-12T14:18:51Z")

</div>

Does anyone have a cookbook on how to do this? Is it even possible? Thanks!

---

## [Creating Custom nodes using python](https://discourse.nodered.org/t/creating-custom-nodes-using-python/58217)

<div class="topic-metadata">

**Author:** [@giorgosmarinos](https://discourse.nodered.org/u/giorgosmarinos)\
**Replies:** 6\
**Last updated:** [12 February 2022 14:04 UTC](https://discourse.nodered.org/t/creating-custom-nodes-using-python/58217 "2022-02-12T14:04:26Z")

</div>

Hi everyone, I would like to ask a question that is related to the way one needs to follow in order to create a custom node in node-red. I would like to create a custom node that will be able to run an explainability alg…

---

## [Cronplus - trigger based on schedule condition?](https://discourse.nodered.org/t/cronplus-trigger-based-on-schedule-condition/58215)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 5\
**Last updated:** [12 February 2022 12:56 UTC](https://discourse.nodered.org/t/cronplus-trigger-based-on-schedule-condition/58215 "2022-02-12T12:56:15Z")

</div>

My apologies if I missed this within the excellent docs I have read so far. Can cronplus node act as a condition for incoming triggers? For example, I have a door sensor which I want to trigger a light to come on, but o…

---

## [Convert HTTP-Stream into RTSP-Stream](https://discourse.nodered.org/t/convert-http-stream-into-rtsp-stream/58165)

<div class="topic-metadata">

**Author:** [@Timmy275](https://discourse.nodered.org/u/Timmy275)\
**Replies:** 7\
**Last updated:** [12 February 2022 12:52 UTC](https://discourse.nodered.org/t/convert-http-stream-into-rtsp-stream/58165 "2022-02-12T12:52:27Z")

</div>

Hello guys! Im completely new to the Node-RED environment, so please have mercy :grinning: As part of my thesis I am trying to get the video-stream of an IP-based device. The idea is to grab the images and use the "mu…

---

## [Send variable to subflow](https://discourse.nodered.org/t/send-variable-to-subflow/58203)

<div class="topic-metadata">

**Author:** [@fmarzocca](https://discourse.nodered.org/u/fmarzocca)\
**Replies:** 2\
**Last updated:** [12 February 2022 11:30 UTC](https://discourse.nodered.org/t/send-variable-to-subflow/58203 "2022-02-12T11:30:55Z")

</div>

I have a subflow which requires to enter an env variable, like this: Is there a way to send the variable "Playlist uri" from a node instead of manually?

---

## [Can't seem to generate an array in a flow variable](https://discourse.nodered.org/t/cant-seem-to-generate-an-array-in-a-flow-variable/58148)

<div class="topic-metadata">

**Author:** [@aa777888-2](https://discourse.nodered.org/u/aa777888-2)\
**Replies:** 6\
**Last updated:** [12 February 2022 11:17 UTC](https://discourse.nodered.org/t/cant-seem-to-generate-an-array-in-a-flow-variable/58148 "2022-02-12T11:17:06Z")

</div>

Hi all, I have a function that works on multiple, asynchronous messages to build up a data structure. Since I don't want to wait on all messages to arrive, but wish to process updates on a message by message basis, it w…

---

## [MQTT Broker & TTN](https://discourse.nodered.org/t/mqtt-broker-ttn/58196)

<div class="topic-metadata">

**Author:** [@Parr0t01](https://discourse.nodered.org/u/Parr0t01)\
**Replies:** 2\
**Last updated:** [12 February 2022 10:31 UTC](https://discourse.nodered.org/t/mqtt-broker-ttn/58196 "2022-02-12T10:31:18Z")

</div>

Hello all, I am relatively new to Node red but have found it to be a remarkably handy platform when dealing with data coming from multiple sources, including The Things Network (TTN) - hence this question. In my curren…

---

## [What's happened to the serial out/in nodes?](https://discourse.nodered.org/t/whats-happened-to-the-serial-out-in-nodes/58180)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 10\
**Last updated:** [12 February 2022 09:52 UTC](https://discourse.nodered.org/t/whats-happened-to-the-serial-out-in-nodes/58180 "2022-02-12T09:52:04Z")

</div>

NR 2.1.6 Raspbian Buster. RasPi 3A Up until now I haven't had need for this node. But attacking a problem I have from a different angle I now need it. But I can't find it, and don't know its full name. Searching th…

---

## [Neopixel not working. (I've done my homework this time)](https://discourse.nodered.org/t/neopixel-not-working-ive-done-my-homework-this-time/57894)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 27\
**Last updated:** [12 February 2022 09:17 UTC](https://discourse.nodered.org/t/neopixel-not-working-ive-done-my-homework-this-time/57894 "2022-02-12T09:17:56Z")

</div>

I've done the extra install of the other stuff needed: The Neopixel python driver need to be pre-installed... The easiest way to get the driver installed is to use the Unicorn HAT drivers install script... see the Pimor…

---

## [How can I set the value of msg.payload in the input box of input?](https://discourse.nodered.org/t/how-can-i-set-the-value-of-msg-payload-in-the-input-box-of-input/58133)

<div class="topic-metadata">

**Author:** [@kappappa](https://discourse.nodered.org/u/kappappa)\
**Replies:** 1\
**Last updated:** [12 February 2022 09:05 UTC](https://discourse.nodered.org/t/how-can-i-set-the-value-of-msg-payload-in-the-input-box-of-input/58133 "2022-02-12T09:05:18Z")

</div>

This is my template node. \[ { "id": "7de5293d.2e88d8", "type": "ui\_template", "z": "01a847b280f89652", "group": "18e6e44c.b0561c", "name": "CommonList", "order": 2, …

---

## [Return instead of tab key to jump to next input](https://discourse.nodered.org/t/return-instead-of-tab-key-to-jump-to-next-input/58195)

<div class="topic-metadata">

**Author:** [@tbobek](https://discourse.nodered.org/u/tbobek)\
**Replies:** 2\
**Last updated:** [12 February 2022 08:46 UTC](https://discourse.nodered.org/t/return-instead-of-tab-key-to-jump-to-next-input/58195 "2022-02-12T08:46:43Z")

</div>

Normally, Tab key can be used to jump to the next widget or input. Can this be changed to also bind the same functionality to the Return key?

---

## [Node red crashing after deployment](https://discourse.nodered.org/t/node-red-crashing-after-deployment/58181)

<div class="topic-metadata">

**Author:** [@sheminasalam](https://discourse.nodered.org/u/sheminasalam)\
**Replies:** 1\
**Last updated:** [12 February 2022 07:44 UTC](https://discourse.nodered.org/t/node-red-crashing-after-deployment/58181 "2022-02-12T07:44:46Z")

</div>

Node red crashes after making changes to flows and deploying it. i get the following error in logs. \[error\] TypeError: Cannot read properties of undefined (reading 'update') at start (/opt/node\_modules/@node-red/run…

---

## [Clear everything from node-red](https://discourse.nodered.org/t/clear-everything-from-node-red/58152)

<div class="topic-metadata">

**Author:** [@pilou8830](https://discourse.nodered.org/u/pilou8830)\
**Replies:** 5\
**Last updated:** [12 February 2022 07:34 UTC](https://discourse.nodered.org/t/clear-everything-from-node-red/58152 "2022-02-12T07:34:23Z")

</div>

hello how to clear all flows and subflows correctly. Because it seems that he remembers everything. on the image below we see in subflows 2 times the same things. when we do tests and have them erased how we do it. …

---

## [Feature Request - Import Duplicate Nodes, Select All Option](https://discourse.nodered.org/t/feature-request-import-duplicate-nodes-select-all-option/58187)

<div class="topic-metadata">

**Author:** [@harmonic7](https://discourse.nodered.org/u/harmonic7)\
**Replies:** 0\
**Last updated:** [12 February 2022 04:59 UTC](https://discourse.nodered.org/t/feature-request-import-duplicate-nodes-select-all-option/58187 "2022-02-12T04:59:02Z")

</div>

When importing duplicate nodes (new versions of subflows for instance) on this screen: it would be great to have the option to select all of the subflows for replacing. Perhaps a checkbox above the column that checks…

---

## [How to Parameterize a node property to pass value during run time](https://discourse.nodered.org/t/how-to-parameterize-a-node-property-to-pass-value-during-run-time/58186)

<div class="topic-metadata">

**Author:** [@Shiny](https://discourse.nodered.org/u/Shiny)\
**Replies:** 0\
**Last updated:** [12 February 2022 04:10 UTC](https://discourse.nodered.org/t/how-to-parameterize-a-node-property-to-pass-value-during-run-time/58186 "2022-02-12T04:10:37Z")

</div>

Hi I want to pass a value to the deviceid field of the below node during run time. How do I do that. Please help

---

## [Strange spacer appearance in2.2](https://discourse.nodered.org/t/strange-spacer-appearance-in2-2/58178)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 1\
**Last updated:** [11 February 2022 23:21 UTC](https://discourse.nodered.org/t/strange-spacer-appearance-in2-2/58178 "2022-02-11T23:21:48Z")

</div>

In upgrading to 2.2 there appeared numerous spacers that needed to be deleted. Got it, but..... does anyone understand what created them or where they come from? I have five pi's and done two upgrades and this one was 2…

---

## [Combining 2 parts of a msg.payload to form a Topic/Subtopic for publishing to MQTT](https://discourse.nodered.org/t/combining-2-parts-of-a-msg-payload-to-form-a-topic-subtopic-for-publishing-to-mqtt/58177)

<div class="topic-metadata">

**Author:** [@justjoe96](https://discourse.nodered.org/u/justjoe96)\
**Replies:** 5\
**Last updated:** [11 February 2022 22:54 UTC](https://discourse.nodered.org/t/combining-2-parts-of-a-msg-payload-to-form-a-topic-subtopic-for-publishing-to-mqtt/58177 "2022-02-11T22:54:01Z")

</div>

Hello. I'm not sure if this is even possible.... I am trying to take 2 separate parts of a msg.payload and convert them into an MQTT formatted topic/subtopic. For example, I want msg.topic to equal "msg.payload.paramet…

---

## [Error Handling - Issues with Unhandled promise rejection](https://discourse.nodered.org/t/error-handling-issues-with-unhandled-promise-rejection/58163)

<div class="topic-metadata">

**Author:** [@Chromag](https://discourse.nodered.org/u/Chromag)\
**Replies:** 5\
**Last updated:** [11 February 2022 21:36 UTC](https://discourse.nodered.org/t/error-handling-issues-with-unhandled-promise-rejection/58163 "2022-02-11T21:36:07Z")

</div>

So I'm creating a node that's using Axios to make a call to an API. I've created an async function to make that call. I'm catching any exceptions thrown by that function but it is still throwing unhandled promise rejec…

---

## [If condition with multiple payloads](https://discourse.nodered.org/t/if-condition-with-multiple-payloads/58146)

<div class="topic-metadata">

**Author:** [@atugrul](https://discourse.nodered.org/u/atugrul)\
**Replies:** 17\
**Last updated:** [11 February 2022 20:49 UTC](https://discourse.nodered.org/t/if-condition-with-multiple-payloads/58146 "2022-02-11T20:49:32Z")

</div>

hello. i had a flow to get temp and humidity data from mqtt and send it Firebase real time database, i sent temp data and humidity data to firebase succesfully. and i want to use temp and humidity data for room is "rela…

---

## [How to install Influxdb on Raspberry PI?](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084)

<div class="topic-metadata">

**Author:** [@nodenoob](https://discourse.nodered.org/u/nodenoob)\
**Replies:** 7\
**Last updated:** [11 February 2022 20:21 UTC](https://discourse.nodered.org/t/how-to-install-influxdb-on-raspberry-pi/58084 "2022-02-11T20:21:26Z")

</div>

I am trying to install influxdb but i am not sure how to do it. I searched internet Tutorials but they are all different, and nobody seems to care which version they are downloading. Can anyone here help me? I am using…

---

## [Shelly Gen2 MQTT Help](https://discourse.nodered.org/t/shelly-gen2-mqtt-help/53024)

<div class="topic-metadata">

**Author:** [@CTRDevelopments](https://discourse.nodered.org/u/CTRDevelopments)\
**Replies:** 36\
**Last updated:** [11 February 2022 19:47 UTC](https://discourse.nodered.org/t/shelly-gen2-mqtt-help/53024 "2022-02-11T19:47:12Z")

</div>

Hi, I am fairly new to Node Red but have managed to configure a number of Shelly Gen1 Devices to control lighting. I now have a Gen2 device and the MQTT structure is entirly different and I am a bit stuck. I have my inp…

---

## [Calculating Frequencies](https://discourse.nodered.org/t/calculating-frequencies/57938)

<div class="topic-metadata">

**Author:** [@YoOoS](https://discourse.nodered.org/u/YoOoS)\
**Replies:** 5\
**Last updated:** [11 February 2022 19:15 UTC](https://discourse.nodered.org/t/calculating-frequencies/57938 "2022-02-11T19:15:46Z")

</div>

Hello everyone, Well I am a beginner with node red an programming. And I'm trying to finde ways to learn more. I want to make a diagram for two vibration sensors input. The signal is only 1 or 0. The Signal should be …

---

## [Max31856 node from npm trouble](https://discourse.nodered.org/t/max31856-node-from-npm-trouble/58049)

<div class="topic-metadata">

**Author:** [@devifast](https://discourse.nodered.org/u/devifast)\
**Replies:** 7\
**Last updated:** [11 February 2022 18:44 UTC](https://discourse.nodered.org/t/max31856-node-from-npm-trouble/58049 "2022-02-11T18:44:01Z")

</div>

Hello. I have a problem with this node. max31856 - npm I am currently using node red version 2.2 but the node is not visible in node red ui . Any help?

---

## [Detecting when parts are complete in asynchronous flow](https://discourse.nodered.org/t/detecting-when-parts-are-complete-in-asynchronous-flow/58159)

<div class="topic-metadata">

**Author:** [@HarryPottar](https://discourse.nodered.org/u/HarryPottar)\
**Replies:** 3\
**Last updated:** [11 February 2022 18:36 UTC](https://discourse.nodered.org/t/detecting-when-parts-are-complete-in-asynchronous-flow/58159 "2022-02-11T18:36:54Z")

</div>

Hi, This could get a long read, so thanks in advanced. I will post quick overview and then a detailed part. Overview: We have a flow that runs once a week, it downloads a csv (not shown), then cleans up the csv (not s…

---

## [Custom Dash UI from template node example](https://discourse.nodered.org/t/custom-dash-ui-from-template-node-example/58170)

<div class="topic-metadata">

**Author:** [@om327](https://discourse.nodered.org/u/om327)\
**Replies:** 0\
**Last updated:** [11 February 2022 18:32 UTC](https://discourse.nodered.org/t/custom-dash-ui-from-template-node-example/58170 "2022-02-11T18:32:06Z")

</div>

Hello, I'm trying to follow a very simple tutorial on creating custom UI elements for the dash board node. I've been tried to mimic the following: http://noderedguide.com/tutorial-node-red-dashboards-creating-your-own-u…

---

## [MQTT read node does not read values](https://discourse.nodered.org/t/mqtt-read-node-does-not-read-values/58139)

<div class="topic-metadata">

**Author:** [@u20p17](https://discourse.nodered.org/u/u20p17)\
**Replies:** 2\
**Last updated:** [11 February 2022 18:02 UTC](https://discourse.nodered.org/t/mqtt-read-node-does-not-read-values/58139 "2022-02-11T18:02:08Z")

</div>

Hi all, I am running HomeAssistant in the latest version with the NodeRed and Mosquitto Broker Addon installed. I use several Shellies which are configured to send via MQTT and with a MQTT Explorer I can see the message…

---

## [msToTime function](https://discourse.nodered.org/t/mstotime-function/58168)

<div class="topic-metadata">

**Author:** [@StrongTown](https://discourse.nodered.org/u/StrongTown)\
**Replies:** 0\
**Last updated:** [11 February 2022 17:54 UTC](https://discourse.nodered.org/t/mstotime-function/58168 "2022-02-11T17:54:12Z")

</div>

I have only 2 or 3 functions defined in my settings.js file (so I can use them anywhere) and I sure do seem to use them. Since time math is always working with milliseconds (wait, duration, periods) I found that constan…

---

## [Adress of a local webhook into NodeRed](https://discourse.nodered.org/t/adress-of-a-local-webhook-into-nodered/58098)

<div class="topic-metadata">

**Author:** [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Replies:** 2\
**Last updated:** [11 February 2022 17:17 UTC](https://discourse.nodered.org/t/adress-of-a-local-webhook-into-nodered/58098 "2022-02-11T17:17:15Z")

</div>

Hi, quick question ... cause i've some trouble and i'm searching for a solution. What is the adress which i have to use to send a webhook to NodeRed in a local network? Am i right with IP: xxx.xxx.xxx.xxx:1880/test/tes…

---

## [Possible bug ( UI dashboard switch node or function switch Node)](https://discourse.nodered.org/t/possible-bug-ui-dashboard-switch-node-or-function-switch-node/58043)

<div class="topic-metadata">

**Author:** [@vikingsraven](https://discourse.nodered.org/u/vikingsraven)\
**Replies:** 24\
**Last updated:** [11 February 2022 17:05 UTC](https://discourse.nodered.org/t/possible-bug-ui-dashboard-switch-node-or-function-switch-node/58043 "2022-02-11T17:05:53Z")

</div>

Hi all, doing a fairly simple display control for a PTZ camera, anyway i was getting multiple instances of switch toggles, so i copied the offending items to another flow just to see what was happening. i added anothe…

---

## [Building the average of the last 5 msg and send it?](https://discourse.nodered.org/t/building-the-average-of-the-last-5-msg-and-send-it/58156)

<div class="topic-metadata">

**Author:** [@nodenoob](https://discourse.nodered.org/u/nodenoob)\
**Replies:** 2\
**Last updated:** [11 February 2022 16:29 UTC](https://discourse.nodered.org/t/building-the-average-of-the-last-5-msg-and-send-it/58156 "2022-02-11T16:29:28Z")

</div>

So I tried programming a function node which builds the average of the last 5 sent values and then sends it away.(to a database, because of that I save the first timestamp) But it just wont send away anything. Did I use…

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

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