# General

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

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

**Page:** 674

---

## [GPIO Button control Neopixels & timer switch off](https://discourse.nodered.org/t/gpio-button-control-neopixels-timer-switch-off/33805)

<div class="topic-metadata">

**Author:** [@cscmario](https://discourse.nodered.org/u/cscmario)\
**Replies:** 23\
**Last updated:** [6 October 2020 20:11 UTC](https://discourse.nodered.org/t/gpio-button-control-neopixels-timer-switch-off/33805 "2020-10-06T20:11:56Z")

</div>

Hi Folks I'm a total newbie here. I'm looking to do a simple setup where i press a button and turn a neopixel strip white then off after 10sec/second button press. This is what i've done so far. \[{"id":"2cad73de.1e799…

---

## [Inject JSON messages to InfluxDB](https://discourse.nodered.org/t/inject-json-messages-to-influxdb/33847)

<div class="topic-metadata">

**Author:** [@rparada](https://discourse.nodered.org/u/rparada)\
**Replies:** 1\
**Last updated:** [6 October 2020 17:01 UTC](https://discourse.nodered.org/t/inject-json-messages-to-influxdb/33847 "2020-10-06T17:01:47Z")

</div>

Hi, I'm newbie to Node-red and InfluxDB. My objective is to inject values from JSON values through InfluxDB to be displayed in Grafana. I have everything setup and even I could do the following tutorial satisfactory. …

---

## [Websocket on different port?](https://discourse.nodered.org/t/websocket-on-different-port/33768)

<div class="topic-metadata">

**Author:** [@GeneCode](https://discourse.nodered.org/u/GeneCode)\
**Replies:** 6\
**Last updated:** [6 October 2020 15:57 UTC](https://discourse.nodered.org/t/websocket-on-different-port/33768 "2020-10-06T15:57:55Z")

</div>

Hi, I have a websocket server running on port 60000. Using the built websocket node, how to set it up to connect to this port? Is it possible? I tried wss://127.0.0.1:60000 but it just disconnected. I have confirmed…

---

## [Nodes Uninstallation Issue](https://discourse.nodered.org/t/nodes-uninstallation-issue/33830)

<div class="topic-metadata">

**Author:** [@Devbrat](https://discourse.nodered.org/u/Devbrat)\
**Replies:** 2\
**Last updated:** [6 October 2020 15:46 UTC](https://discourse.nodered.org/t/nodes-uninstallation-issue/33830 "2020-10-06T15:46:33Z")

</div>

Hi All, Problem I am trying uninstall node-red-contrib-modbus node and similar nodes which is using serialport dependency from Node-RED palette manager Current behavior Its throwing error during uninstallation Ex…

---

## [Partial reading in a txt file](https://discourse.nodered.org/t/partial-reading-in-a-txt-file/33836)

<div class="topic-metadata">

**Author:** [@jlb](https://discourse.nodered.org/u/jlb)\
**Replies:** 1\
**Last updated:** [6 October 2020 14:19 UTC](https://discourse.nodered.org/t/partial-reading-in-a-txt-file/33836 "2020-10-06T14:19:24Z")

</div>

Hello, i am using the file node in order to read a text file containing values separated by a comma, example: "198,50,20,NA,200,75,89,NA" It works well but i've got only a partial result... it doesn't return me the to…

---

## [Anyone seeing inject node changes after deployment not being honored?](https://discourse.nodered.org/t/anyone-seeing-inject-node-changes-after-deployment-not-being-honored/33835)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 0\
**Last updated:** [6 October 2020 13:59 UTC](https://discourse.nodered.org/t/anyone-seeing-inject-node-changes-after-deployment-not-being-honored/33835 "2020-10-06T13:59:58Z")

</div>

Anyone seeing inject node changes after deployment not being honored? Maybe someone else can recreate this issue? Create flow with inject node, that updates something, say ui-led or even debug node. Deploy Set inject …

---

## [Directing several flows in 1 function node](https://discourse.nodered.org/t/directing-several-flows-in-1-function-node/33831)

<div class="topic-metadata">

**Author:** [@Ward](https://discourse.nodered.org/u/Ward)\
**Replies:** 2\
**Last updated:** [6 October 2020 13:37 UTC](https://discourse.nodered.org/t/directing-several-flows-in-1-function-node/33831 "2020-10-06T13:37:40Z")

</div>

Hi, Just a question in my project i'm sending several inputs into 1 function node. (or is it discouraged?) It works but i'm wondering how node red handles this? Is it's storing all the flows at the beginning and trea…

---

## [Creating nested array automatic](https://discourse.nodered.org/t/creating-nested-array-automatic/33713)

<div class="topic-metadata">

**Author:** [@Ward](https://discourse.nodered.org/u/Ward)\
**Replies:** 11\
**Last updated:** [6 October 2020 12:41 UTC](https://discourse.nodered.org/t/creating-nested-array-automatic/33713 "2020-10-06T12:41:18Z")

</div>

Hi, I'm trying to create a nested array but i don't know the length of the MainArray. for example: MainArray\[0\] = ArrayNest0\[ \]; MainArray\[1\] = ArrayNest1\[ \]; MainArray\[i\]= ArrayNesti\[ \] I can create the Array i wa…

---

## [Example of Node Red Going Wacko! (Or Node js?)](https://discourse.nodered.org/t/example-of-node-red-going-wacko-or-node-js/32609)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 73\
**Last updated:** [6 October 2020 12:28 UTC](https://discourse.nodered.org/t/example-of-node-red-going-wacko-or-node-js/32609 "2020-10-06T12:28:23Z")

</div>

While creating a flow, my Pi device seemed to freeze, but when I ran top it was not frozen, it was slammed. I had just tried to do a deploy, and the animated slide bar was endless moving back and forth. So I decided to…

---

## [AWS IoT control disconnect and reconnect](https://discourse.nodered.org/t/aws-iot-control-disconnect-and-reconnect/33794)

<div class="topic-metadata">

**Author:** [@Bailey](https://discourse.nodered.org/u/Bailey)\
**Replies:** 4\
**Last updated:** [6 October 2020 10:31 UTC](https://discourse.nodered.org/t/aws-iot-control-disconnect-and-reconnect/33794 "2020-10-06T10:31:10Z")

</div>

Hi All, I have a project whereby I send data from an ESP32 to AWS IoT via MQTT and then subscribe to the Topic using the node-red-contrib-aws-iot-hub palette and log the data. It works fine, and I am able to disconnect…

---

## [Node-red electron packaging with asar true error](https://discourse.nodered.org/t/node-red-electron-packaging-with-asar-true-error/33811)

<div class="topic-metadata">

**Author:** [@aksswami](https://discourse.nodered.org/u/aksswami)\
**Replies:** 4\
**Last updated:** [6 October 2020 09:47 UTC](https://discourse.nodered.org/t/node-red-electron-packaging-with-asar-true-error/33811 "2020-10-06T09:47:07Z")

</div>

I am packaging node-red using electron-builder with asar setting true. It works fine except that at the start of application I get this error. Uncaught Exception: TypeError: Cannot read property 'forEach' of undefined …

---

## [How does one create a new array from an existing array without Javascript node?](https://discourse.nodered.org/t/how-does-one-create-a-new-array-from-an-existing-array-without-javascript-node/33808)

<div class="topic-metadata">

**Author:** [@arretx](https://discourse.nodered.org/u/arretx)\
**Replies:** 1\
**Last updated:** [6 October 2020 05:59 UTC](https://discourse.nodered.org/t/how-does-one-create-a-new-array-from-an-existing-array-without-javascript-node/33808 "2020-10-06T05:59:23Z")

</div>

I'm using the Gsheet node to pull a range of cells into a msg.payload. That payload ends up looking like this: { "\_msgid": "81847fa7.87fae", "payload": \[ \[ "John", "Doe", "18005551212", …

---

## [Given URL adress is not working for loading Node red](https://discourse.nodered.org/t/given-url-adress-is-not-working-for-loading-node-red/33787)

<div class="topic-metadata">

**Author:** [@Marek\_Konecny](https://discourse.nodered.org/u/Marek_Konecny)\
**Replies:** 4\
**Last updated:** [6 October 2020 04:47 UTC](https://discourse.nodered.org/t/given-url-adress-is-not-working-for-loading-node-red/33787 "2020-10-06T04:47:52Z")

</div>

When i am trying to use the URL adress given to me by Node red console on my RPi 3 Chromium can't reach a website. Before this problem it worked normally for some time, but now i can't reach Node red editor... Can somebo…

---

## [Getting status of TP-Link (Kasa) HS-105 Plug](https://discourse.nodered.org/t/getting-status-of-tp-link-kasa-hs-105-plug/33803)

<div class="topic-metadata">

**Author:** [@rakgupta](https://discourse.nodered.org/u/rakgupta)\
**Replies:** 1\
**Last updated:** [5 October 2020 23:38 UTC](https://discourse.nodered.org/t/getting-status-of-tp-link-kasa-hs-105-plug/33803 "2020-10-05T23:38:11Z")

</div>

Hello - I'm trying to get the current status (whether on/off) of the plug using node-red-contrib-tplink but I can't seem to be able to get it. I can control the plug and turn it on/off but I want to check if the plug is …

---

## [Literature to use HTML+CSS code to be displayed on dashboard](https://discourse.nodered.org/t/literature-to-use-html-css-code-to-be-displayed-on-dashboard/33802)

<div class="topic-metadata">

**Author:** [@ktrejo](https://discourse.nodered.org/u/ktrejo)\
**Replies:** 1\
**Last updated:** [5 October 2020 23:03 UTC](https://discourse.nodered.org/t/literature-to-use-html-css-code-to-be-displayed-on-dashboard/33802 "2020-10-05T23:03:38Z")

</div>

Hello! I have been trying to do this for a while now but feels like I'm having more trouble than what I should so I decided to ask. I want to use display an HTML file from my computer in the node red dashboard. I also …

---

## [I need a basic example to create an entry form(ui)](https://discourse.nodered.org/t/i-need-a-basic-example-to-create-an-entry-form-ui/33764)

<div class="topic-metadata">

**Author:** [@JosephDe](https://discourse.nodered.org/u/JosephDe)\
**Replies:** 14\
**Last updated:** [5 October 2020 22:41 UTC](https://discourse.nodered.org/t/i-need-a-basic-example-to-create-an-entry-form-ui/33764 "2020-10-05T22:41:29Z")

</div>

Hello everybody! Can someone share a template/link in creating a custom entry form. The entry form I have in mind is with a simple textbox, with a submit button and cancel. I will try to modify from there as soon as I un…

---

## [Rpi gpio module "not available"](https://discourse.nodered.org/t/rpi-gpio-module-not-available/33064)

<div class="topic-metadata">

**Author:** [@marconi](https://discourse.nodered.org/u/marconi)\
**Replies:** 7\
**Last updated:** [5 October 2020 22:02 UTC](https://discourse.nodered.org/t/rpi-gpio-module-not-available/33064 "2020-10-05T22:02:36Z")

</div>

I am following the get started project but the LED will not light. on no voltage with a meter.The output module indicates "not available" Please help

---

## [Array split join basics](https://discourse.nodered.org/t/array-split-join-basics/33780)

<div class="topic-metadata">

**Author:** [@sjmotew](https://discourse.nodered.org/u/sjmotew)\
**Replies:** 9\
**Last updated:** [5 October 2020 20:33 UTC](https://discourse.nodered.org/t/array-split-join-basics/33780 "2020-10-05T20:33:56Z")

</div>

Hi. There are many posts regarding split:join arrays through function, however, I am having problems finding what I think should be relatively simple: Extract a single part from each array object, in this case "msg.pa…

---

## [Kubernetes Operator](https://discourse.nodered.org/t/kubernetes-operator/33746)

<div class="topic-metadata">

**Author:** [@Corallus-Caninus](https://discourse.nodered.org/u/Corallus-Caninus)\
**Replies:** 2\
**Last updated:** [5 October 2020 20:25 UTC](https://discourse.nodered.org/t/kubernetes-operator/33746 "2020-10-05T20:25:54Z")

</div>

Hi! I would like to develop a Kubernetes Operator for submitting Node-RED flows. I currently run Kubernetes outside of GKE and have an idea for deploying as well as scaling out my Node-RED flows. While researching the pr…

---

## [Function Node: Time between 22:00 - 6:00](https://discourse.nodered.org/t/function-node-time-between-22-00-6-00/33769)

<div class="topic-metadata">

**Author:** [@get-command](https://discourse.nodered.org/u/get-command)\
**Replies:** 9\
**Last updated:** [5 October 2020 16:23 UTC](https://discourse.nodered.org/t/function-node-time-between-22-00-6-00/33769 "2020-10-05T16:23:43Z")

</div>

Hello forum, i would like to build a function node that only executes the next node under these conditions (Time between 22:00 - 6:00), otherwise just terminate it. Does anyone have an idea? thank you in advance.

---

## [Factors affecting speed of Node Red. Close to real-time capabilities?](https://discourse.nodered.org/t/factors-affecting-speed-of-node-red-close-to-real-time-capabilities/33574)

<div class="topic-metadata">

**Author:** [@lizhong](https://discourse.nodered.org/u/lizhong)\
**Replies:** 7\
**Last updated:** [5 October 2020 15:04 UTC](https://discourse.nodered.org/t/factors-affecting-speed-of-node-red-close-to-real-time-capabilities/33574 "2020-10-05T15:04:33Z")

</div>

HI all, I'm currently working on a project with a few sensors that feeds me real time data at an interval of 1ms. By using node-red on my Pi 2 Model B (900MHz chip) as a way of control, I obtain my sensor data together w…

---

## [Node-red-contrib-opcua Write Multiple](https://discourse.nodered.org/t/node-red-contrib-opcua-write-multiple/33773)

<div class="topic-metadata">

**Author:** [@oli.nodered](https://discourse.nodered.org/u/oli.nodered)\
**Replies:** 0\
**Last updated:** [5 October 2020 14:58 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-write-multiple/33773 "2020-10-05T14:58:06Z")

</div>

Bonjour, i try to find an example of write multiple function. Does anyone have that ? My need is the following: I have an object with 7 properties and i want to write them into a PLC. And after that i have an array o…

---

## [Node-red on SAP Cloud Platform (Cloud Foundry)](https://discourse.nodered.org/t/node-red-on-sap-cloud-platform-cloud-foundry/2492)

<div class="topic-metadata">

**Author:** [@Andreas](https://discourse.nodered.org/u/Andreas)\
**Replies:** 4\
**Last updated:** [5 October 2020 14:54 UTC](https://discourse.nodered.org/t/node-red-on-sap-cloud-platform-cloud-foundry/2492 "2020-10-05T14:54:11Z")

</div>

Hi, I'd like to use node-red on the cloud-foundry environment of SAP. Has anyone been able to get it run on the SAP Cloud Platform? If so, could you please share your steps? Kind regards, Andreas

---

## [Splitting string into different values](https://discourse.nodered.org/t/splitting-string-into-different-values/33766)

<div class="topic-metadata">

**Author:** [@DdP13](https://discourse.nodered.org/u/DdP13)\
**Replies:** 3\
**Last updated:** [5 October 2020 13:17 UTC](https://discourse.nodered.org/t/splitting-string-into-different-values/33766 "2020-10-05T13:17:04Z")

</div>

Hi i want to split these values msg.payload : string\[27\] "RELAY-STATE-255,0,0,0,0,OK" the 4 zeros represent each a decimal number from 0-255. i want to isolate these 4 zeros . i managed this with $substring(payload, -9…

---

## [Function to go through an array of arrays?](https://discourse.nodered.org/t/function-to-go-through-an-array-of-arrays/33567)

<div class="topic-metadata">

**Author:** [@ygreq](https://discourse.nodered.org/u/ygreq)\
**Replies:** 29\
**Last updated:** [5 October 2020 13:04 UTC](https://discourse.nodered.org/t/function-to-go-through-an-array-of-arrays/33567 "2020-10-05T13:04:51Z")

</div>

Hi there! This would be more like a js question, but I wouldn't mind doing this with lots of nodes either. I am trying to figure out how to cycle through an array of arrays on each bang. There are 3 numbers that consti…

---

## [Does Node Red work with NFC tags?](https://discourse.nodered.org/t/does-node-red-work-with-nfc-tags/12854)

<div class="topic-metadata">

**Author:** [@Samikaraeen](https://discourse.nodered.org/u/Samikaraeen)\
**Replies:** 30\
**Last updated:** [5 October 2020 11:40 UTC](https://discourse.nodered.org/t/does-node-red-work-with-nfc-tags/12854 "2020-10-05T11:40:15Z")

</div>

Greetings iam trying to understand how node red works suppose i have small NFC tags or rfid can i communicate with them in node red suppose i bought from the internet 10000 NFC tag thanx

---

## [How do I add payload after payload?](https://discourse.nodered.org/t/how-do-i-add-payload-after-payload/33582)

<div class="topic-metadata">

**Author:** [@andrea](https://discourse.nodered.org/u/andrea)\
**Replies:** 8\
**Last updated:** [5 October 2020 09:49 UTC](https://discourse.nodered.org/t/how-do-i-add-payload-after-payload/33582 "2020-10-05T09:49:34Z")

</div>

Good morning all, How could I keep track of how many kW from the 'Shore Power' and from the 'Generator' were generated since the flow started on the following flow....... yes... off course.... this is my first time on t…

---

## [Upload Audio File with rename](https://discourse.nodered.org/t/upload-audio-file-with-rename/33757)

<div class="topic-metadata">

**Author:** [@munesh90](https://discourse.nodered.org/u/munesh90)\
**Replies:** 2\
**Last updated:** [5 October 2020 09:11 UTC](https://discourse.nodered.org/t/upload-audio-file-with-rename/33757 "2020-10-05T09:11:18Z")

</div>

i want to upload a audio file with rename in node-red ?

---

## [Taking Input from QR Scanner](https://discourse.nodered.org/t/taking-input-from-qr-scanner/33749)

<div class="topic-metadata">

**Author:** [@DavidJeyapaul](https://discourse.nodered.org/u/DavidJeyapaul)\
**Replies:** 2\
**Last updated:** [5 October 2020 06:14 UTC](https://discourse.nodered.org/t/taking-input-from-qr-scanner/33749 "2020-10-05T06:14:48Z")

</div>

I want to read the data from the QR Scanner. That is working like our PC keyboard. If we click somewhere and type, then the typed characters will be captured. in the same way, my QR scanner also working. if I click in t…

---

## [Trying to get the color parameter of a color lamp](https://discourse.nodered.org/t/trying-to-get-the-color-parameter-of-a-color-lamp/33742)

<div class="topic-metadata">

**Author:** [@theclawfr](https://discourse.nodered.org/u/theclawfr)\
**Replies:** 0\
**Last updated:** [4 October 2020 21:49 UTC](https://discourse.nodered.org/t/trying-to-get-the-color-parameter-of-a-color-lamp/33742 "2020-10-04T21:49:20Z")

</div>

Hi everyone I've starting looking into Node Red a couple days ago and I've managed to create some basic flows. I'm also using Home Assistant, on a RaspPi4 with a ConbeeII :slight\_smile: The question I have is related …

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

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