# General

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

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

**Page:** 350

---

## [Port /dev/ttyUSBx denied](https://discourse.nodered.org/t/port-dev-ttyusbx-denied/65217)

<div class="topic-metadata">

**Author:** [@PSoy21](https://discourse.nodered.org/u/PSoy21)\
**Replies:** 10\
**Last updated:** [17 July 2022 20:59 UTC](https://discourse.nodered.org/t/port-dev-ttyusbx-denied/65217 "2022-07-17T20:59:28Z")

</div>

Bonjour, Depuis le passage à la v3 de Node Red , je ne peux plus accéder a mon boitier Rflink, qui est branché sur un port Usb d'un raspberry3b+. J'utilise la palette " node-red-node-serialport" et je suis sous Node.js …

---

## [Remove auto lock DPI screen or turn off screen after time](https://discourse.nodered.org/t/remove-auto-lock-dpi-screen-or-turn-off-screen-after-time/65228)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 1\
**Last updated:** [17 July 2022 18:46 UTC](https://discourse.nodered.org/t/remove-auto-lock-dpi-screen-or-turn-off-screen-after-time/65228 "2022-07-17T18:46:52Z")

</div>

Hi all, I would remove auto lock screen or turn off screen after time opened with lightdm many thanks in advance

---

## [Node-red-contrib-lgtv: Get event when playback is started/stopped/paused](https://discourse.nodered.org/t/node-red-contrib-lgtv-get-event-when-playback-is-started-stopped-paused/65232)

<div class="topic-metadata">

**Author:** [@mathias-ewald](https://discourse.nodered.org/u/mathias-ewald)\
**Replies:** 0\
**Last updated:** [17 July 2022 18:21 UTC](https://discourse.nodered.org/t/node-red-contrib-lgtv-get-event-when-playback-is-started-stopped-paused/65232 "2022-07-17T18:21:50Z")

</div>

Hi folks. For some automation, I want to get a message when the playback in the LG TV starts, pauses or stops. In node-red-contrib-lgtv, I could not find a node that does that out of the box, so I figured I'd have to exe…

---

## [Cannot send direct message using Discord Node: node-red-contrib-discord-advanced](https://discourse.nodered.org/t/cannot-send-direct-message-using-discord-node-node-red-contrib-discord-advanced/65218)

<div class="topic-metadata">

**Author:** [@bummzulu](https://discourse.nodered.org/u/bummzulu)\
**Replies:** 2\
**Last updated:** [17 July 2022 17:01 UTC](https://discourse.nodered.org/t/cannot-send-direct-message-using-discord-node-node-red-contrib-discord-advanced/65218 "2022-07-17T17:01:40Z")

</div>

Hi, I am having troubles using the node „node-red-contrib-discord-advanced“. I created the bot and can successfully use the node „discordMessageManager“ to send messages to an existing channel. When I try to send messa…

---

## [Error sending data from ESP](https://discourse.nodered.org/t/error-sending-data-from-esp/62654)

<div class="topic-metadata">

**Author:** [@alfschuster](https://discourse.nodered.org/u/alfschuster)\
**Replies:** 12\
**Last updated:** [17 July 2022 14:22 UTC](https://discourse.nodered.org/t/error-sending-data-from-esp/62654 "2022-07-17T14:22:02Z")

</div>

Hi, I have a problem sending JSON data to Node-Red. Here is the code which transmitts data... // Daten formartieren dtostrf(dht\_humidity,5,1, buffer\_dht\_humidity); dtostrf(dht\_temperatur,5,1, buffer\_dht\_temperatur); …

---

## [InfluxDB node - server version?](https://discourse.nodered.org/t/influxdb-node-server-version/65207)

<div class="topic-metadata">

**Author:** [@impvan](https://discourse.nodered.org/u/impvan)\
**Replies:** 3\
**Last updated:** [17 July 2022 11:26 UTC](https://discourse.nodered.org/t/influxdb-node-server-version/65207 "2022-07-17T11:26:54Z")

</div>

Confused configuring the 'influxdb out' node... Which 'Server:' version should I be using? Querying influx on the command line gives me InfluxDB shell version: 1.8.10 - is that the server version? If so, do I use 1.x …

---

## [License question - commercial use](https://discourse.nodered.org/t/license-question-commercial-use/65194)

<div class="topic-metadata">

**Author:** [@NetHans](https://discourse.nodered.org/u/NetHans)\
**Replies:** 6\
**Last updated:** [16 July 2022 23:52 UTC](https://discourse.nodered.org/t/license-question-commercial-use/65194 "2022-07-16T23:52:26Z")

</div>

Hello, I would like to use Node-RED commercially. According to the license of Node-RED this is possible without any problems. But Node-RED is only one part. Each module used by Node-RED and its modules are under their o…

---

## [String formatting in a function](https://discourse.nodered.org/t/string-formatting-in-a-function/65170)

<div class="topic-metadata">

**Author:** [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Replies:** 11\
**Last updated:** [16 July 2022 19:42 UTC](https://discourse.nodered.org/t/string-formatting-in-a-function/65170 "2022-07-16T19:42:49Z")

</div>

I am trying to log everything that Alexa hears using the "On Device Activity" node. I am pretty sure that everything is a string. This is how I am saving name, for example: var a={payload:msg.payload.name}; flow.set("…

---

## [Sending Garage door open/close announcements to Sonos via TTS or a .wav or .mp3 file](https://discourse.nodered.org/t/sending-garage-door-open-close-announcements-to-sonos-via-tts-or-a-wav-or-mp3-file/65071)

<div class="topic-metadata">

**Author:** [@AgingTechNerd](https://discourse.nodered.org/u/AgingTechNerd)\
**Replies:** 8\
**Last updated:** [16 July 2022 17:51 UTC](https://discourse.nodered.org/t/sending-garage-door-open-close-announcements-to-sonos-via-tts-or-a-wav-or-mp3-file/65071 "2022-07-16T17:51:23Z")

</div>

Just getting started with Node Red/HA Rpi/Shelly. I've written a garage door status flow that works now. A first. I'm hoping to find out how to send Garage door open/close announcements to Sonos via TTS or a .wav or .mp…

---

## [GPIO on Raspberry Pi are stopped](https://discourse.nodered.org/t/gpio-on-raspberry-pi-are-stopped/65053)

<div class="topic-metadata">

**Author:** [@devifast](https://discourse.nodered.org/u/devifast)\
**Replies:** 26\
**Last updated:** [16 July 2022 11:17 UTC](https://discourse.nodered.org/t/gpio-on-raspberry-pi-are-stopped/65053 "2022-07-16T11:17:11Z")

</div>

What happens to GPIO on Raspberry Pi? I am attaching three images generated within three four minutes. Is there any explanation? Everything happens after a clean install.

---

## [Can’t start node\_module at 3.0.0](https://discourse.nodered.org/t/can-t-start-node-module-at-3-0-0/65188)

<div class="topic-metadata">

**Author:** [@motebus](https://discourse.nodered.org/u/motebus)\
**Replies:** 3\
**Last updated:** [16 July 2022 14:55 UTC](https://discourse.nodered.org/t/can-t-start-node-module-at-3-0-0/65188 "2022-07-16T14:55:54Z")

</div>

It works at node-red 2.2.2 But can’t work at 3.0.0 "main": "node\_modules/node-red/red/red.js", "scripts": { "start": "node node\_modules/node-red/red.js"

---

## [Caddy reverse proxy, node-red, and Tailscale](https://discourse.nodered.org/t/caddy-reverse-proxy-node-red-and-tailscale/65150)

<div class="topic-metadata">

**Author:** [@jmorris644](https://discourse.nodered.org/u/jmorris644)\
**Replies:** 4\
**Last updated:** [16 July 2022 11:34 UTC](https://discourse.nodered.org/t/caddy-reverse-proxy-node-red-and-tailscale/65150 "2022-07-16T11:34:38Z")

</div>

I am trying to get Caddy to do a reverse proxy using a specific port for some httpIn nodes as well as get my tailscale to let me in the Admin and UI areas. I just cannot get the right Caddyfile config. When I try differe…

---

## [If function returns duplicate msg](https://discourse.nodered.org/t/if-function-returns-duplicate-msg/65134)

<div class="topic-metadata">

**Author:** [@pawael](https://discourse.nodered.org/u/pawael)\
**Replies:** 10\
**Last updated:** [16 July 2022 10:15 UTC](https://discourse.nodered.org/t/if-function-returns-duplicate-msg/65134 "2022-07-16T10:15:45Z")

</div>

Hi all, I'm trying to learn more about functions so I created a function wich gets multiple information and compares all inputs to send a payload. Here is my code context.cover\_arzi\_aussetzen = context.cover\_arzi\_ausse…

---

## [Mosquitto broker (Bridged vs unBridge) working vs not working](https://discourse.nodered.org/t/mosquitto-broker-bridged-vs-unbridge-working-vs-not-working/65176)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [16 July 2022 07:18 UTC](https://discourse.nodered.org/t/mosquitto-broker-bridged-vs-unbridge-working-vs-not-working/65176 "2022-07-16T07:18:50Z")

</div>

Hi folks, it's been a wile. I'm ba-ack! I have one of my headless RasPies running a CAD LCD display on it. 2 x 16 and some buttons. At one level it connects to my central MQTT broker and they talk to one another. Th…

---

## [Node red AWS mqtt](https://discourse.nodered.org/t/node-red-aws-mqtt/65172)

<div class="topic-metadata">

**Author:** [@miqueiasjs](https://discourse.nodered.org/u/miqueiasjs)\
**Replies:** 1\
**Last updated:** [16 July 2022 01:59 UTC](https://discourse.nodered.org/t/node-red-aws-mqtt/65172 "2022-07-16T01:59:24Z")

</div>

Não estou conseguindo integrar o node red com a AWS por meio do MQTT, já tentei colocar o certificado no TSL, porém fica sempre tentando conectar, já tentei criar uma "coisa" diferente, mudar o certificado, porém não tiv…

---

## [➡ Need volunteer to help fix node-red-node-dropbox](https://discourse.nodered.org/t/need-volunteer-to-help-fix-node-red-node-dropbox/65161)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 3\
**Last updated:** [15 July 2022 23:08 UTC](https://discourse.nodered.org/t/need-volunteer-to-help-fix-node-red-node-dropbox/65161 "2022-07-15T23:08:00Z")

</div>

The popular node-red-node-dropbox has been around since 2015, and is still popular today. However some months ago, Dropbox stopped issuing long lived tokens, and moved to an api using short lived tokens instead, which b…

---

## [Start a flow with input from another system (Modbus)?](https://discourse.nodered.org/t/start-a-flow-with-input-from-another-system-modbus/65143)

<div class="topic-metadata">

**Author:** [@FSHelgeland](https://discourse.nodered.org/u/FSHelgeland)\
**Replies:** 1\
**Last updated:** [15 July 2022 22:31 UTC](https://discourse.nodered.org/t/start-a-flow-with-input-from-another-system-modbus/65143 "2022-07-15T22:31:19Z")

</div>

I was wondering if it is possible to start a Node Red flow when I perform a action in my Home Automation system? I have the possibilty in my system to start a modbus write when performing an action (I belive) I do read v…

---

## [Create other dashboard in node red](https://discourse.nodered.org/t/create-other-dashboard-in-node-red/65169)

<div class="topic-metadata">

**Author:** [@Dalen98](https://discourse.nodered.org/u/Dalen98)\
**Replies:** 9\
**Last updated:** [15 July 2022 22:26 UTC](https://discourse.nodered.org/t/create-other-dashboard-in-node-red/65169 "2022-07-15T22:26:27Z")

</div>

Hello everyone, I will put you in context, I have a project already done in node red, I have my flows and my board already done, it is a big project, but I want to do another project, practically have another board witho…

---

## [Another plot in Worldmap problem](https://discourse.nodered.org/t/another-plot-in-worldmap-problem/65163)

<div class="topic-metadata">

**Author:** [@maru](https://discourse.nodered.org/u/maru)\
**Replies:** 3\
**Last updated:** [15 July 2022 21:11 UTC](https://discourse.nodered.org/t/another-plot-in-worldmap-problem/65163 "2022-07-15T21:11:42Z")

</div>

I've read a lot of "plot on Worldmap" topics but I don't get it. Here is a portion of a flow that I want to modify. The goal is to plot the GPS location on the worldmap. When I inject the test data I see in the debug t…

---

## [Reading emails via pop3 or imap from localhost crashes node-red](https://discourse.nodered.org/t/reading-emails-via-pop3-or-imap-from-localhost-crashes-node-red/65165)

<div class="topic-metadata">

**Author:** [@papershow](https://discourse.nodered.org/u/papershow)\
**Replies:** 5\
**Last updated:** [15 July 2022 20:46 UTC](https://discourse.nodered.org/t/reading-emails-via-pop3-or-imap-from-localhost-crashes-node-red/65165 "2022-07-15T20:46:08Z")

</div>

Hi all, I've got a citadel email server running on my raspberry pi along with Node-Red running Pi OS Lite. Node-Red v3.0.0 Node.js v18.6.0 Every time I try to read email from the local Citadel server via pop3 or imap…

---

## [HTML page refreshing too fast for database to update](https://discourse.nodered.org/t/html-page-refreshing-too-fast-for-database-to-update/64655)

<div class="topic-metadata">

**Author:** [@papershow](https://discourse.nodered.org/u/papershow)\
**Replies:** 2\
**Last updated:** [15 July 2022 19:31 UTC](https://discourse.nodered.org/t/html-page-refreshing-too-fast-for-database-to-update/64655 "2022-07-15T19:31:12Z")

</div>

Hi, https://youtu.be/T6lf39TYjAY?t=2197 I am following this tutorial as a baseline to learn HTML to start a new project. I'm at the linked timestamp, where data is being added to a table, but every time I click a butto…

---

## [RangeError on using Gauge / memory leak?](https://discourse.nodered.org/t/rangeerror-on-using-gauge-memory-leak/65083)

<div class="topic-metadata">

**Author:** [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Replies:** 7\
**Last updated:** [15 July 2022 18:50 UTC](https://discourse.nodered.org/t/rangeerror-on-using-gauge-memory-leak/65083 "2022-07-15T18:50:48Z")

</div>

I am using a gauge node to count down how long a switch is set to state "on". I t will tick down to zero. Yesterday I saw massive "RangeError: Maximum stack size exceeded". I saw it often that node red runs on mem limit…

---

## [Sonoff iFan03 turn off when Node-RED restarts](https://discourse.nodered.org/t/sonoff-ifan03-turn-off-when-node-red-restarts/65102)

<div class="topic-metadata">

**Author:** [@phreaq](https://discourse.nodered.org/u/phreaq)\
**Replies:** 2\
**Last updated:** [15 July 2022 18:44 UTC](https://discourse.nodered.org/t/sonoff-ifan03-turn-off-when-node-red-restarts/65102 "2022-07-15T18:44:44Z")

</div>

I have three Sonoff iFan03 that all turn off whenever Node-RED restarts (running within Home Assistant). Whereas my other Sonoff devices maintain their state. The iFan's have been flashed with Tasmota. Any ideas as to w…

---

## [Inserir valores do Modbus no MySQL](https://discourse.nodered.org/t/inserir-valores-do-modbus-no-mysql/65160)

<div class="topic-metadata">

**Author:** [@Flesch](https://discourse.nodered.org/u/Flesch)\
**Replies:** 0\
**Last updated:** [15 July 2022 18:02 UTC](https://discourse.nodered.org/t/inserir-valores-do-modbus-no-mysql/65160 "2022-07-15T18:02:59Z")

</div>

Boa tarde a todos. Estou tendo dificuldades para comunicar corretamente o Modbus com MySL. Dentro do change eu botei (UPDATE projeto.motobomba SET bomba = '4' WHERE (idmotobomba = '1'):wink: que é o comando do MySQL …

---

## [DHT11 flow problem](https://discourse.nodered.org/t/dht11-flow-problem/65157)

<div class="topic-metadata">

**Author:** [@mynodered](https://discourse.nodered.org/u/mynodered)\
**Replies:** 3\
**Last updated:** [15 July 2022 18:11 UTC](https://discourse.nodered.org/t/dht11-flow-problem/65157 "2022-07-15T18:11:25Z")

</div>

I have the following flow where I am receiving DHT11 data from serial port. I build a function to split the incoming data and output the humidity and temperature data on two outputs but I am not able to do. Looks like th…

---

## [How to set and open flow in seperate urls?](https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105)

<div class="topic-metadata">

**Author:** [@mynodered](https://discourse.nodered.org/u/mynodered)\
**Replies:** 6\
**Last updated:** [15 July 2022 17:47 UTC](https://discourse.nodered.org/t/how-to-set-and-open-flow-in-seperate-urls/65105 "2022-07-15T17:47:51Z")

</div>

How can we set each flow or whole application in specific page url? Like I have two flows, flow1 and flow2 and when i click deploy the flow2 always gets opened like http://localhost:1880/#flow/2462c2061703aa93. So, How…

---

## [JSON send to TCP](https://discourse.nodered.org/t/json-send-to-tcp/65141)

<div class="topic-metadata">

**Author:** [@wiwan-wijoyo](https://discourse.nodered.org/u/wiwan-wijoyo)\
**Replies:** 4\
**Last updated:** [15 July 2022 15:28 UTC](https://discourse.nodered.org/t/json-send-to-tcp/65141 "2022-07-15T15:28:45Z")

</div>

this is an example of sending a command via terminal the result OK {"CommuniqueType":"ReadRequest","Header":{"Url":"/server/status/ping"}} I tried to connect via TCP and send the command, but the result is an error. …

---

## [Node-RED 3.0 - Question on Diagnostic Report](https://discourse.nodered.org/t/node-red-3-0-question-on-diagnostic-report/65116)

<div class="topic-metadata">

**Author:** [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Replies:** 4\
**Last updated:** [15 July 2022 14:38 UTC](https://discourse.nodered.org/t/node-red-3-0-question-on-diagnostic-report/65116 "2022-07-15T14:38:58Z")

</div>

Diagnostic Report is a nice addition to Node-RED (as all other new features). Is this a REST endpoint that can reply to an HTTP request ? Or otherwise perhaps its code can be invoked inside a function node to create a me…

---

## [If statement in for loop](https://discourse.nodered.org/t/if-statement-in-for-loop/65052)

<div class="topic-metadata">

**Author:** [@cyntia](https://discourse.nodered.org/u/cyntia)\
**Replies:** 31\
**Last updated:** [15 July 2022 14:01 UTC](https://discourse.nodered.org/t/if-statement-in-for-loop/65052 "2022-07-15T14:01:59Z")

</div>

I want to retrieve all objects which are true(if condition).but I have only one output(the first true). I need to have it in an array in order to be able to send it in an http respond node. could someone please help? …

---

## [Query to write data to mySQL database(error)](https://discourse.nodered.org/t/query-to-write-data-to-mysql-database-error/65128)

<div class="topic-metadata">

**Author:** [@JackJackTan414](https://discourse.nodered.org/u/JackJackTan414)\
**Replies:** 6\
**Last updated:** [15 July 2022 13:43 UTC](https://discourse.nodered.org/t/query-to-write-data-to-mysql-database-error/65128 "2022-07-15T13:43:01Z")

</div>

Hi. kindly help me cross check what seems to be the error here. I want to pass an input string value to "msg.text" variable and i want it to write on mySQL database. my "msg.payload" works fine, the issue lies only on t…

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

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