# General

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

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

**Page:** 79

---

## [Sometimes I get nrgpio python command not running error](https://discourse.nodered.org/t/sometimes-i-get-nrgpio-python-command-not-running-error/92394)

<div class="topic-metadata">

**Author:** [@Cristian](https://discourse.nodered.org/u/Cristian)\
**Replies:** 1\
**Last updated:** [15 October 2024 05:53 UTC](https://discourse.nodered.org/t/sometimes-i-get-nrgpio-python-command-not-running-error/92394 "2024-10-15T05:53:52Z")

</div>

Hi all, I have worked with NR for over 3 years, mostly for IOT projects. Recently I experienced a strange behavior: at the start or sometimes after a deploy I get "nrgpio python command not running" error. Not all the t…

---

## [Raspi Control SainSmart USB Connected Relay](https://discourse.nodered.org/t/raspi-control-sainsmart-usb-connected-relay/92081)

<div class="topic-metadata">

**Author:** [@ryanprel](https://discourse.nodered.org/u/ryanprel)\
**Replies:** 14\
**Last updated:** [14 October 2024 19:59 UTC](https://discourse.nodered.org/t/raspi-control-sainsmart-usb-connected-relay/92081 "2024-10-14T19:59:16Z")

</div>

I'm in the process of switching from a Denkovi wifi modbus relay to a SainSmart USB connected relay, both are 16 port relays. I'm trying to use gdziuba/node-red-usbhid to connect up. I've also tried the other hid modul…

---

## [Obtaining last Alexa device called using](https://discourse.nodered.org/t/obtaining-last-alexa-device-called-using/92267)

<div class="topic-metadata">

**Author:** [@vaderag](https://discourse.nodered.org/u/vaderag)\
**Replies:** 29\
**Last updated:** [14 October 2024 17:52 UTC](https://discourse.nodered.org/t/obtaining-last-alexa-device-called-using/92267 "2024-10-14T17:52:06Z")

</div>

The On Device Activity node sadly, like others, is not working (at least not reliably) for me, so I've been trying to find a way to use the Alexa Palette (using node-red-contrib-alexa-remote2-applestrudel tho not sure it…

---

## [How to send a Terminal command to Raspbian?](https://discourse.nodered.org/t/how-to-send-a-terminal-command-to-raspbian/92382)

<div class="topic-metadata">

**Author:** [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Replies:** 4\
**Last updated:** [14 October 2024 17:25 UTC](https://discourse.nodered.org/t/how-to-send-a-terminal-command-to-raspbian/92382 "2024-10-14T17:25:26Z")

</div>

Hi there, i´d like to send a Terminal comand (in my case "export DISPLAY=:0.0" and "xrandr --output HDMI-1 --off") How can i do this from Node Red ?

---

## [Special character handling](https://discourse.nodered.org/t/special-character-handling/92366)

<div class="topic-metadata">

**Author:** [@mr-jaffery](https://discourse.nodered.org/u/mr-jaffery)\
**Replies:** 6\
**Last updated:** [14 October 2024 16:08 UTC](https://discourse.nodered.org/t/special-character-handling/92366 "2024-10-14T16:08:59Z")

</div>

Hi all, I have a nodered flow in place which has a fucntion node which recieves a json input. Inside the json input there's a key named "Cold Plate Temperature (°C)". And in the function node I'm defining a variable as …

---

## [How to debug Function "Error: Module not allowed"](https://discourse.nodered.org/t/how-to-debug-function-error-module-not-allowed/92177)

<div class="topic-metadata">

**Author:** [@MadTooler](https://discourse.nodered.org/u/MadTooler)\
**Replies:** 22\
**Last updated:** [14 October 2024 13:16 UTC](https://discourse.nodered.org/t/how-to-debug-function-error-module-not-allowed/92177 "2024-10-14T13:16:44Z")

</div>

Hello All! I am working with function nodes and trying to import several different js modules with varying success. This one has me rather stumped. warpjs, a tool for manipulating SVGs. It acts like it loads then say…

---

## [MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 scanStop listeners added. Use emitter.setMaxListeners() to increase limit #22](https://discourse.nodered.org/t/maxlistenersexceededwarning-possible-eventemitter-memory-leak-detected-11-scanstop-listeners-added-use-emitter-setmaxlisteners-to-increase-limit-22/13400)

<div class="topic-metadata">

**Author:** [@hermanaguirrej](https://discourse.nodered.org/u/hermanaguirrej)\
**Replies:** 31\
**Last updated:** [14 October 2024 09:08 UTC](https://discourse.nodered.org/t/maxlistenersexceededwarning-possible-eventemitter-memory-leak-detected-11-scanstop-listeners-added-use-emitter-setmaxlisteners-to-increase-limit-22/13400 "2024-10-14T09:08:15Z")

</div>

Hi I have a flow in node red that after some time stops initialising the BLE scanner node. I have a delay loop activating the scanner (noble node) switching between true and false at a set interval. Everything works wel…

---

## [Responding to discord messages in a server](https://discourse.nodered.org/t/responding-to-discord-messages-in-a-server/92355)

<div class="topic-metadata">

**Author:** [@ath0rus](https://discourse.nodered.org/u/ath0rus)\
**Replies:** 9\
**Last updated:** [14 October 2024 08:26 UTC](https://discourse.nodered.org/t/responding-to-discord-messages-in-a-server/92355 "2024-10-14T08:26:43Z")

</div>

Hi, So as the title says, I am trying to work out how to respond to messages in a specific channel in a discord server and also respond to only specific user id's that are allowed. I have seen that webhooks is an option…

---

## [Tabulator table data notification/update function](https://discourse.nodered.org/t/tabulator-table-data-notification-update-function/92245)

<div class="topic-metadata">

**Author:** [@sonificator](https://discourse.nodered.org/u/sonificator)\
**Replies:** 32\
**Last updated:** [14 October 2024 04:31 UTC](https://discourse.nodered.org/t/tabulator-table-data-notification-update-function/92245 "2024-10-14T04:31:03Z")

</div>

Hi there, I am building a stock market notification app and got stuck on the final stage. My data is coming in the following format (polled every min), which I am presenting in a Tabulator table - I now need to add …

---

## [Dashboard running slow - Not because of graphing](https://discourse.nodered.org/t/dashboard-running-slow-not-because-of-graphing/92351)

<div class="topic-metadata">

**Author:** [@richiep](https://discourse.nodered.org/u/richiep)\
**Replies:** 18\
**Last updated:** [13 October 2024 20:58 UTC](https://discourse.nodered.org/t/dashboard-running-slow-not-because-of-graphing/92351 "2024-10-13T20:58:57Z")

</div>

Hey All, I built my node red system over a year ago and it's been stable and awesome. Raspi 4 Buster Node-RED version: v3.0.2 A few weeks ago the dashboard started loading very slowly. The dashboard page is auto ref…

---

## [How best to extract data from 'nested' objects (or flatten the message)?](https://discourse.nodered.org/t/how-best-to-extract-data-from-nested-objects-or-flatten-the-message/92362)

<div class="topic-metadata">

**Author:** [@impvan](https://discourse.nodered.org/u/impvan)\
**Replies:** 2\
**Last updated:** [13 October 2024 16:46 UTC](https://discourse.nodered.org/t/how-best-to-extract-data-from-nested-objects-or-flatten-the-message/92362 "2024-10-13T16:46:30Z")

</div>

I have an incoming MQTT message payload which looks like this: "payload": {"Time":"2024-10-13T16:43:17", "DS18B20-1":{"Id":"030197946C6B","Temperature":36.8}, "DS18B20-2":{"Id":"0302979458D1","Temperature":44.7}, "D…

---

## [How to Disable Node-RED Editor After Running the Dashboard for Security?](https://discourse.nodered.org/t/how-to-disable-node-red-editor-after-running-the-dashboard-for-security/92337)

<div class="topic-metadata">

**Author:** [@Nandhini-Subramaniya](https://discourse.nodered.org/u/Nandhini-Subramaniya)\
**Replies:** 9\
**Last updated:** [13 October 2024 15:54 UTC](https://discourse.nodered.org/t/how-to-disable-node-red-editor-after-running-the-dashboard-for-security/92337 "2024-10-13T15:54:24Z")

</div>

I’m running a Node-RED dashboard and want to improve security by disabling the Node-RED editor after the dashboard is up and running. My goal is to prevent anyone from accessing the editor and modifying the flows, especi…

---

## [Access to Name of SubNode-Instance](https://discourse.nodered.org/t/access-to-name-of-subnode-instance/90244)

<div class="topic-metadata">

**Author:** [@IngoKnito](https://discourse.nodered.org/u/IngoKnito)\
**Replies:** 2\
**Last updated:** [13 October 2024 15:13 UTC](https://discourse.nodered.org/t/access-to-name-of-subnode-instance/90244 "2024-10-13T15:13:41Z")

</div>

The basis is a subnode name as “SubFunc” in Node-Red. Now the subnode is instantiated and a name “DoSomething01” is assigned to this instance in the UI. How can I access the assigned name of this instance in the subnod…

---

## [Get name of the previous node - Dump node information into a file](https://discourse.nodered.org/t/get-name-of-the-previous-node-dump-node-information-into-a-file/92286)

<div class="topic-metadata">

**Author:** [@GretaC](https://discourse.nodered.org/u/GretaC)\
**Replies:** 1\
**Last updated:** [13 October 2024 13:37 UTC](https://discourse.nodered.org/t/get-name-of-the-previous-node-dump-node-information-into-a-file/92286 "2024-10-13T13:37:43Z")

</div>

I'd like to get the name or something like this from the previous node. This request is similar to this one. I want create a subflow that logs all information of it's msg. This will be similar to a debug node, but 'my' …

---

## [Trigger Node Output Bug or PEBKAC?](https://discourse.nodered.org/t/trigger-node-output-bug-or-pebkac/92335)

<div class="topic-metadata">

**Author:** [@DiverRich](https://discourse.nodered.org/u/DiverRich)\
**Replies:** 5\
**Last updated:** [12 October 2024 23:20 UTC](https://discourse.nodered.org/t/trigger-node-output-bug-or-pebkac/92335 "2024-10-12T23:20:22Z")

</div>

I know I must be missing something simple, but can someone explain to me why these two trigger nodes have different payloads when they both are being asked to send milliseconds since epoch? The only difference is one sta…

---

## ["wait until" node changed behavior after recent update](https://discourse.nodered.org/t/wait-until-node-changed-behavior-after-recent-update/92129)

<div class="topic-metadata">

**Author:** [@rsilves](https://discourse.nodered.org/u/rsilves)\
**Replies:** 11\
**Last updated:** [12 October 2024 22:38 UTC](https://discourse.nodered.org/t/wait-until-node-changed-behavior-after-recent-update/92129 "2024-10-12T22:38:47Z")

</div>

Hello everyone! I have been using Node-RED to configure home automations during these past two years. One of the first and most complex automations is related to different sets of window blinds (or "covers") in my hous…

---

## [Extract numbers from serial input](https://discourse.nodered.org/t/extract-numbers-from-serial-input/92343)

<div class="topic-metadata">

**Author:** [@BubbleBobble](https://discourse.nodered.org/u/BubbleBobble)\
**Replies:** 6\
**Last updated:** [12 October 2024 20:48 UTC](https://discourse.nodered.org/t/extract-numbers-from-serial-input/92343 "2024-10-12T20:48:22Z")

</div>

The task is probably simple to do, but after trying all examples i can find on the topic, i'm still struggling. So i'm not posting any of my non working flow :slight\_smile: I read a serial input, and want to extract onl…

---

## [Node-RED in Arcades](https://discourse.nodered.org/t/node-red-in-arcades/92344)

<div class="topic-metadata">

**Author:** [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Replies:** 1\
**Last updated:** [12 October 2024 18:55 UTC](https://discourse.nodered.org/t/node-red-in-arcades/92344 "2024-10-12T18:55:04Z")

</div>

Hi All, not my usual posting about Dashboard, but a more general Node-RED enquiry. Got recently chatting with someone that has setup their own retro arcade locally. Got onto how he'd like to offer High Score tracking wit…

---

## [Don't really understand the behavior of a global variable](https://discourse.nodered.org/t/dont-really-understand-the-behavior-of-a-global-variable/92345)

<div class="topic-metadata">

**Author:** [@eltigrezinno](https://discourse.nodered.org/u/eltigrezinno)\
**Replies:** 7\
**Last updated:** [12 October 2024 17:16 UTC](https://discourse.nodered.org/t/dont-really-understand-the-behavior-of-a-global-variable/92345 "2024-10-12T17:16:28Z")

</div>

Hello everyone, I'm beginner and it seems that I don't really understand how the global variables work... In a project, I initialize a variable this way in a function node : var example = \[\]; global.set("example",exam…

---

## [Uibuilder node shows a table](https://discourse.nodered.org/t/uibuilder-node-shows-a-table/92135)

<div class="topic-metadata">

**Author:** [@pepe2](https://discourse.nodered.org/u/pepe2)\
**Replies:** 32\
**Last updated:** [12 October 2024 14:24 UTC](https://discourse.nodered.org/t/uibuilder-node-shows-a-table/92135 "2024-10-12T14:24:40Z")

</div>

Hi, I used an uibuilder node to show a table on a screen. I am new in html and I like to add some global.vars to the same screen. But that is to difficult for me to combine JavaScript and html. I like to add something l…

---

## [Blocking error blocking error](https://discourse.nodered.org/t/blocking-error-blocking-error/90228)

<div class="topic-metadata">

**Author:** [@franz](https://discourse.nodered.org/u/franz)\
**Replies:** 24\
**Last updated:** [12 October 2024 13:31 UTC](https://discourse.nodered.org/t/blocking-error-blocking-error/90228 "2024-10-12T13:31:17Z")

</div>

nodered 3.1.7, after a few days of functioning correctly nodered crashes and I have to restart it manually to make it work. here is the error log it writes :Unhandled rejection RequestError: Error: read ETIMEDOUT at …

---

## [Function Node : Installing Package Specific Version](https://discourse.nodered.org/t/function-node-installing-package-specific-version/92332)

<div class="topic-metadata">

**Author:** [@JpEncausse](https://discourse.nodered.org/u/JpEncausse)\
**Replies:** 1\
**Last updated:** [12 October 2024 12:43 UTC](https://discourse.nodered.org/t/function-node-installing-package-specific-version/92332 "2024-10-12T12:43:20Z")

</div>

Hello, In a Function Node, I tried to install @azure/openai@1.0.0-beta.12 but get error while installing the module. It works with @azure/openai but install the v2.x and break a lot of things. It works with npm instal…

---

## [Does anyone here use PiHole?](https://discourse.nodered.org/t/does-anyone-here-use-pihole/92199)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 17\
**Last updated:** [12 October 2024 09:33 UTC](https://discourse.nodered.org/t/does-anyone-here-use-pihole/92199 "2024-10-12T09:33:05Z")

</div>

I use PiHole as my DNS and it gives me reports. I was thinking it may be nicer to have those reports displayed via a formatting system that I could build in NR. So I see frequencies of site visits, etc. Anyone done th…

---

## [Why aren't dependencies exported alongside a flow.json?](https://discourse.nodered.org/t/why-arent-dependencies-exported-alongside-a-flow-json/92321)

<div class="topic-metadata">

**Author:** [@AllanOricil](https://discourse.nodered.org/u/AllanOricil)\
**Replies:** 3\
**Last updated:** [11 October 2024 18:40 UTC](https://discourse.nodered.org/t/why-arent-dependencies-exported-alongside-a-flow-json/92321 "2024-10-11T18:40:30Z")

</div>

Why aren't dependencies exported alongside a flow.json? Someone shared with me his flow.json but he forgot to tell me the dependencies. Now I can't run his flow unless I know the package dependencies.

---

## [Node red just keeps spinning in terminal window](https://discourse.nodered.org/t/node-red-just-keeps-spinning-in-terminal-window/92301)

<div class="topic-metadata">

**Author:** [@rednexhex](https://discourse.nodered.org/u/rednexhex)\
**Replies:** 3\
**Last updated:** [11 October 2024 14:01 UTC](https://discourse.nodered.org/t/node-red-just-keeps-spinning-in-terminal-window/92301 "2024-10-11T14:01:06Z")

</div>

I have npm installed on my Windows 11 machine and I ran the command \`\`\` npm install -g --unsafe-perm node-red But it just spins in terminal. The attached image has been running for 2 hours. Any help is appreciated

---

## [How To Read a WSTRING From Bosh Rexroth CtrlX PLC Tag to Node Red](https://discourse.nodered.org/t/how-to-read-a-wstring-from-bosh-rexroth-ctrlx-plc-tag-to-node-red/92288)

<div class="topic-metadata">

**Author:** [@DaVizzey](https://discourse.nodered.org/u/DaVizzey)\
**Replies:** 14\
**Last updated:** [11 October 2024 12:36 UTC](https://discourse.nodered.org/t/how-to-read-a-wstring-from-bosh-rexroth-ctrlx-plc-tag-to-node-red/92288 "2024-10-11T12:36:32Z")

</div>

Hi, I'm working on some code and i want to add in a WSTRING from my PLC to a playload that would normally send NULL in the specific part of the JSON. I've tried with a Replace and i just get nothing, I've tried by addin…

---

## [Editing the chart ui tooltip](https://discourse.nodered.org/t/editing-the-chart-ui-tooltip/92302)

<div class="topic-metadata">

**Author:** [@Desmond-Zeh](https://discourse.nodered.org/u/Desmond-Zeh)\
**Replies:** 1\
**Last updated:** [11 October 2024 10:18 UTC](https://discourse.nodered.org/t/editing-the-chart-ui-tooltip/92302 "2024-10-11T10:18:42Z")

</div>

Hello, I've been playing with the chart ui lately. I've modified the tooltip using a change node for a better view, But after deployed, I noticed that the time has been converted from the LocaleTimeString format to tim…

---

## [BLE Issues Anyone got BLE working?](https://discourse.nodered.org/t/ble-issues-anyone-got-ble-working/92212)

<div class="topic-metadata">

**Author:** [@garynl](https://discourse.nodered.org/u/garynl)\
**Replies:** 11\
**Last updated:** [11 October 2024 08:04 UTC](https://discourse.nodered.org/t/ble-issues-anyone-got-ble-working/92212 "2024-10-11T08:04:30Z")

</div>

Does the lack of topics related to BLE since 2022 (with one exception I can find) mean that people are not having problems with BLE related nodes or have people given up trying to get it to work? I suspect the latter. …

---

## [Can the MQTT ClientID be set dynamically?](https://discourse.nodered.org/t/can-the-mqtt-clientid-be-set-dynamically/92312)

<div class="topic-metadata">

**Author:** [@NNNN](https://discourse.nodered.org/u/NNNN)\
**Replies:** 3\
**Last updated:** [11 October 2024 07:41 UTC](https://discourse.nodered.org/t/can-the-mqtt-clientid-be-set-dynamically/92312 "2024-10-11T07:41:58Z")

</div>

I've seen an example of a dynamic configuration here but I wonder if the MQTT Client ID can also be set dynamically. I want each device to set their ID to the device's serial number, so doing that manually across all de…

---

## [Stop Flow on Database Insert error](https://discourse.nodered.org/t/stop-flow-on-database-insert-error/92296)

<div class="topic-metadata">

**Author:** [@ralvez](https://discourse.nodered.org/u/ralvez)\
**Replies:** 12\
**Last updated:** [10 October 2024 19:26 UTC](https://discourse.nodered.org/t/stop-flow-on-database-insert-error/92296 "2024-10-10T19:26:29Z")

</div>

I have the following flow (which is working fine BTW) but I have a requirement that if the insert fails the update should not take place. As you see (green line) the flow is such that the insert if followed by an upd…

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

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