# General

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

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

**Page:** 378

---

## [Node-red-contrib-opcua, "event Node", what to fill in the field "root node"?](https://discourse.nodered.org/t/node-red-contrib-opcua-event-node-what-to-fill-in-the-field-root-node/60972)

<div class="topic-metadata">

**Author:** [@Fritsel](https://discourse.nodered.org/u/Fritsel)\
**Replies:** 1\
**Last updated:** [15 May 2022 05:51 UTC](https://discourse.nodered.org/t/node-red-contrib-opcua-event-node-what-to-fill-in-the-field-root-node/60972 "2022-05-15T05:51:44Z")

</div>

Hello, I would like to read out all my alarm events from my OPC-UA server (Siemens, Sinumerik controller). With the "client" node from "Node-red-contrib-opcua" I can get a connection with the server. In front of that …

---

## [How do I get Raspberry Pi to allow non-root process to bind to port 80 on reboot?](https://discourse.nodered.org/t/how-do-i-get-raspberry-pi-to-allow-non-root-process-to-bind-to-port-80-on-reboot/62625)

<div class="topic-metadata">

**Author:** [@DiverRich](https://discourse.nodered.org/u/DiverRich)\
**Replies:** 1\
**Last updated:** [14 May 2022 19:47 UTC](https://discourse.nodered.org/t/how-do-i-get-raspberry-pi-to-allow-non-root-process-to-bind-to-port-80-on-reboot/62625 "2022-05-14T19:47:49Z")

</div>

I just switched my node-red flows from a headless MacBook to a Raspberry Pi 400. I'm using node-red-contrib-amazon-echo-oztourer to send voice commands locally to Alexa. This seems to require access to port 80. I came ac…

---

## [SVG Node, Rotate an Element](https://discourse.nodered.org/t/svg-node-rotate-an-element/62603)

<div class="topic-metadata">

**Author:** [@n61ab](https://discourse.nodered.org/u/n61ab)\
**Replies:** 8\
**Last updated:** [14 May 2022 11:48 UTC](https://discourse.nodered.org/t/svg-node-rotate-an-element/62603 "2022-05-14T11:48:42Z")

</div>

I want to rotate a polygon in the SVG Node. I added the attribute, transform="rotate(45)", to the SVG code. What are the commands to change the angle of rotation? I have tried the below, without success. { "command":…

---

## [Struggling with sort in a function node](https://discourse.nodered.org/t/struggling-with-sort-in-a-function-node/62617)

<div class="topic-metadata">

**Author:** [@michaelblight](https://discourse.nodered.org/u/michaelblight)\
**Replies:** 5\
**Last updated:** [14 May 2022 09:41 UTC](https://discourse.nodered.org/t/struggling-with-sort-in-a-function-node/62617 "2022-05-14T09:41:21Z")

</div>

I must be missing something obvious here. I've dumbed my problem down to a simple function node containing the following: const values = \[ { name: "a", size: 1 }, { name: "b", size: 4 }, { name: "c", size: 2…

---

## [Let the messenge from MQTT to dashboard](https://discourse.nodered.org/t/let-the-messenge-from-mqtt-to-dashboard/62611)

<div class="topic-metadata">

**Author:** [@andy0129](https://discourse.nodered.org/u/andy0129)\
**Replies:** 3\
**Last updated:** [14 May 2022 08:21 UTC](https://discourse.nodered.org/t/let-the-messenge-from-mqtt-to-dashboard/62611 "2022-05-14T08:21:58Z")

</div>

Hello I am new to Node-red ,me and my partner use MQTT send a vumerical value to Node-RED and we want to let the numerical value show on dashboard. But dashboard doesn't display normally What should we type in the fun…

---

## [Decoding weather underground upload protocol](https://discourse.nodered.org/t/decoding-weather-underground-upload-protocol/62562)

<div class="topic-metadata">

**Author:** [@HamRadio](https://discourse.nodered.org/u/HamRadio)\
**Replies:** 9\
**Last updated:** [14 May 2022 02:59 UTC](https://discourse.nodered.org/t/decoding-weather-underground-upload-protocol/62562 "2022-05-14T02:59:27Z")

</div>

I have a weather station (ambient weather ws-2000) that allows you to send data to a custom url (other than the wunderground server) using weather underground's upload protocol. https://ambientweather.com/faqs/question/…

---

## [Securing the settings.js file](https://discourse.nodered.org/t/securing-the-settings-js-file/62595)

<div class="topic-metadata">

**Author:** [@als7](https://discourse.nodered.org/u/als7)\
**Replies:** 5\
**Last updated:** [13 May 2022 20:25 UTC](https://discourse.nodered.org/t/securing-the-settings-js-file/62595 "2022-05-13T20:25:20Z")

</div>

I've recently realized that (correct me if I'm wrong) anyone with access to the device hosting Node-RED can add a new user account, with full admin privileges, without even needing to know the host device's password assu…

---

## [Converting a mongo request from Robo 3T to node-red-node-mongodb](https://discourse.nodered.org/t/converting-a-mongo-request-from-robo-3t-to-node-red-node-mongodb/62529)

<div class="topic-metadata">

**Author:** [@Barbudor](https://discourse.nodered.org/u/Barbudor)\
**Replies:** 13\
**Last updated:** [13 May 2022 17:29 UTC](https://discourse.nodered.org/t/converting-a-mongo-request-from-robo-3t-to-node-red-node-mongodb/62529 "2022-05-13T17:29:38Z")

</div>

Hi I have the following request that works fine in Robo 3T: db.getCollection("medias").find({deleted:true,updated\_at:{$gte:ISODate("2022-04-01T00:00:00.000Z"),$lt:ISODate("2022-04-15T00:00:00.000Z")}}) But I don't see…

---

## [Use jquery in template node (not datshboard)](https://discourse.nodered.org/t/use-jquery-in-template-node-not-datshboard/62564)

<div class="topic-metadata">

**Author:** [@Amt96](https://discourse.nodered.org/u/Amt96)\
**Replies:** 4\
**Last updated:** [13 May 2022 15:57 UTC](https://discourse.nodered.org/t/use-jquery-in-template-node-not-datshboard/62564 "2022-05-13T15:57:30Z")

</div>

I am new to node red and I am creating a web page with the http in node and I want to be able to add jquery inside the javascript of the page example : \[{"id":"9cab65224c5ade8d","type":"template","z":"e33597892d562b22"…

---

## [Integrating with Flutter/ FlutterFlow](https://discourse.nodered.org/t/integrating-with-flutter-flutterflow/62567)

<div class="topic-metadata">

**Author:** [@SHAMOO](https://discourse.nodered.org/u/SHAMOO)\
**Replies:** 2\
**Last updated:** [13 May 2022 13:21 UTC](https://discourse.nodered.org/t/integrating-with-flutter-flutterflow/62567 "2022-05-13T13:21:41Z")

</div>

Hi all, I'm working on a front-end for an app using FlutterFlow and would like to see some data coming from Node-RED to the app. The project's integrated with Firebase but I haven't played with it very much. Here's kin…

---

## [Use node-red on own-host website](https://discourse.nodered.org/t/use-node-red-on-own-host-website/62586)

<div class="topic-metadata">

**Author:** [@Licky](https://discourse.nodered.org/u/Licky)\
**Replies:** 1\
**Last updated:** [13 May 2022 11:12 UTC](https://discourse.nodered.org/t/use-node-red-on-own-host-website/62586 "2022-05-13T11:12:56Z")

</div>

Hello, i'm done working on my flow in a localhost environment. Now, i'd like to deploy it to my website : It would be host from my computer under debian 11. My domain name would be : www.tipod.rascol.net My public ip …

---

## [I have issue to connect Node Red with Mssql](https://discourse.nodered.org/t/i-have-issue-to-connect-node-red-with-mssql/62517)

<div class="topic-metadata">

**Author:** [@Fathi2022](https://discourse.nodered.org/u/Fathi2022)\
**Replies:** 4\
**Last updated:** [13 May 2022 10:21 UTC](https://discourse.nodered.org/t/i-have-issue-to-connect-node-red-with-mssql/62517 "2022-05-13T10:21:02Z")

</div>

I have an issue connecting Node-Red with Mssql.

---

## [Midea Aircon control via NPM (non-Node-Red) package](https://discourse.nodered.org/t/midea-aircon-control-via-npm-non-node-red-package/62519)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 5\
**Last updated:** [13 May 2022 09:11 UTC](https://discourse.nodered.org/t/midea-aircon-control-via-npm-non-node-red-package/62519 "2022-05-13T09:11:22Z")

</div>

Good Day! I have a few Midea Aircons that I wish to control... There is an NPM package that has been compiled here: https://github.com/reneklootwijk/node-mideahvac I have run the following discovery routine successfull…

---

## [First project. Is Node-red the way to go](https://discourse.nodered.org/t/first-project-is-node-red-the-way-to-go/62008)

<div class="topic-metadata">

**Author:** [@Manuel\_o](https://discourse.nodered.org/u/Manuel_o)\
**Replies:** 14\
**Last updated:** [13 May 2022 06:37 UTC](https://discourse.nodered.org/t/first-project-is-node-red-the-way-to-go/62008 "2022-05-13T06:37:30Z")

</div>

Hello friends. I wanted to work on my own private project. Through my research i came to the conclusio that node red could be the tool to sucsess. My question is more like a „can it be done and is node red the right too…

---

## [On the safety of installing contributed nodes](https://discourse.nodered.org/t/on-the-safety-of-installing-contributed-nodes/62556)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 5\
**Last updated:** [12 May 2022 18:50 UTC](https://discourse.nodered.org/t/on-the-safety-of-installing-contributed-nodes/62556 "2022-05-12T18:50:17Z")

</div>

Simply put, are there any security concerns with using Manage Palette to install node-red-contrib-blah-blah?

---

## [Uibuilder node (uibuiderf.js library)](https://discourse.nodered.org/t/uibuilder-node-uibuiderf-js-library/62366)

<div class="topic-metadata">

**Author:** [@rounchan](https://discourse.nodered.org/u/rounchan)\
**Replies:** 4\
**Last updated:** [12 May 2022 14:10 UTC](https://discourse.nodered.org/t/uibuilder-node-uibuiderf-js-library/62366 "2022-05-12T14:10:38Z")

</div>

Hello, i'm questioning about the possibility of making a function in my front-end code launch only when she's given action by another node in node-red, i heard about the uibuilderf.js and the on.send fucntion but i didn…

---

## [Install beaglebone gpio in node-red](https://discourse.nodered.org/t/install-beaglebone-gpio-in-node-red/62557)

<div class="topic-metadata">

**Author:** [@gideon](https://discourse.nodered.org/u/gideon)\
**Replies:** 0\
**Last updated:** [12 May 2022 11:36 UTC](https://discourse.nodered.org/t/install-beaglebone-gpio-in-node-red/62557 "2022-05-12T11:36:11Z")

</div>

Hello everyone I am a new user. I connect the beaglebone via local USB to my computer with win 10. I want to add the beaglebone to my dashboard. I'm going to manage palette and trying to install the pack "node-red-no…

---

## [Loop through array of object](https://discourse.nodered.org/t/loop-through-array-of-object/62278)

<div class="topic-metadata">

**Author:** [@NeetaJ](https://discourse.nodered.org/u/NeetaJ)\
**Replies:** 3\
**Last updated:** [12 May 2022 12:33 UTC](https://discourse.nodered.org/t/loop-through-array-of-object/62278 "2022-05-12T12:33:48Z")

</div>

Hi, I have this flow and its corresponding output is I need to access the highlighted values. Can anybody help with the function. Thanks, Neeta

---

## [How to prefill a node textbox?](https://discourse.nodered.org/t/how-to-prefill-a-node-textbox/62558)

<div class="topic-metadata">

**Author:** [@Josh](https://discourse.nodered.org/u/Josh)\
**Replies:** 0\
**Last updated:** [12 May 2022 11:59 UTC](https://discourse.nodered.org/t/how-to-prefill-a-node-textbox/62558 "2022-05-12T11:59:20Z")

</div>

Hi All, I am trying to prefill a node textbox that when the node get restarted the contents get autofilled in the node box.

---

## [OPC UA Client all variables in a single message](https://discourse.nodered.org/t/opc-ua-client-all-variables-in-a-single-message/61961)

<div class="topic-metadata">

**Author:** [@Giu-seppe](https://discourse.nodered.org/u/Giu-seppe)\
**Replies:** 7\
**Last updated:** [12 May 2022 11:44 UTC](https://discourse.nodered.org/t/opc-ua-client-all-variables-in-a-single-message/61961 "2022-05-12T11:44:08Z")

</div>

Hi, I'm using the library node-red-contrib-opcua to read more data from an OPC UA server. But all the variables read are sent from the node OPC UA Client once for time. There is a way to have all the variables in a mess…

---

## [Inject Node does not Trigger](https://discourse.nodered.org/t/inject-node-does-not-trigger/62552)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 7\
**Last updated:** [12 May 2022 10:28 UTC](https://discourse.nodered.org/t/inject-node-does-not-trigger/62552 "2022-05-12T10:28:51Z")

</div>

Hi, I am using an "Inject" Node to trigger a time-based event. But nothing happens at 10:30. If I read the actual time in a function node: var now = new Date().getTime(); it shows the right MESZ 10:30 but the i…

---

## [Econnrefused 109.169.55.159:80](https://discourse.nodered.org/t/econnrefused-109-169-55-159-80/62536)

<div class="topic-metadata">

**Author:** [@tiasnrhr381](https://discourse.nodered.org/u/tiasnrhr381)\
**Replies:** 4\
**Last updated:** [12 May 2022 08:46 UTC](https://discourse.nodered.org/t/econnrefused-109-169-55-159-80/62536 "2022-05-12T08:46:33Z")

</div>

Help me, please. What is the http request node suppose to do? when your flow doesn't run because it gives an ECONNREFUSED 109.169.55.159:80

---

## [4 high severity vulnerabilities while installing node-red@2.2.2 && 2.1.4](https://discourse.nodered.org/t/4-high-severity-vulnerabilities-while-installing-node-red-2-2-2-2-1-4/62542)

<div class="topic-metadata">

**Author:** [@xleili](https://discourse.nodered.org/u/xleili)\
**Replies:** 2\
**Last updated:** [12 May 2022 08:53 UTC](https://discourse.nodered.org/t/4-high-severity-vulnerabilities-while-installing-node-red-2-2-2-2-1-4/62542 "2022-05-12T08:53:20Z")

</div>

I reference node-red in my project at TDengine/src/connector/node-red-contrib-tdengine at develop · taosdata/TDengine · GitHub .I will always altered by github says:" prototype pollution in async" and this alert is d…

---

## [Change IP address of server from modbus](https://discourse.nodered.org/t/change-ip-address-of-server-from-modbus/62502)

<div class="topic-metadata">

**Author:** [@Theodros](https://discourse.nodered.org/u/Theodros)\
**Replies:** 4\
**Last updated:** [12 May 2022 06:48 UTC](https://discourse.nodered.org/t/change-ip-address-of-server-from-modbus/62502 "2022-05-12T06:48:10Z")

</div>

Hi guys, I was wondering if It's possible to change the IP address of a modbus server created on node red from the dashboard. For example : If the sever IP address is at first 125.0.0.0 I'm able to change to 124.0.0.0 …

---

## [Set a sub folder in a git repo to house NodeRed project](https://discourse.nodered.org/t/set-a-sub-folder-in-a-git-repo-to-house-nodered-project/62538)

<div class="topic-metadata">

**Author:** [@gravypower](https://discourse.nodered.org/u/gravypower)\
**Replies:** 0\
**Last updated:** [12 May 2022 01:42 UTC](https://discourse.nodered.org/t/set-a-sub-folder-in-a-git-repo-to-house-nodered-project/62538 "2022-05-12T01:42:01Z")

</div>

Hello, Is it possible to have a subfolder that holds the NodeRed project in a git repo. I am hoping to use a mono repo for a larger home automation project. From the options that I have looked at it does not seem possib…

---

## [Best Way to Parse JSON](https://discourse.nodered.org/t/best-way-to-parse-json/62531)

<div class="topic-metadata">

**Author:** [@smarcos212](https://discourse.nodered.org/u/smarcos212)\
**Replies:** 3\
**Last updated:** [12 May 2022 00:25 UTC](https://discourse.nodered.org/t/best-way-to-parse-json/62531 "2022-05-12T00:25:55Z")

</div>

Hi all, I'm looking for a way to parse the JSON that I'm receiving from a MQTT communication. I'm receiving the following structure: IOLM/port/1/pdi : msg.payload : string\[163\] "{"port":1,"valid":1,"uint":8716289,"PD…

---

## [Need help with ghost thermostat](https://discourse.nodered.org/t/need-help-with-ghost-thermostat/61671)

<div class="topic-metadata">

**Author:** [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Replies:** 65\
**Last updated:** [11 May 2022 21:40 UTC](https://discourse.nodered.org/t/need-help-with-ghost-thermostat/61671 "2022-05-11T21:40:03Z")

</div>

hello i have had a bunch of help from you guys and here im starting new thread instead of continuing my others. trying to find the simple way to open a valve or close a valve depending on weather or not something needs …

---

## [Controlling Relay using mqtt](https://discourse.nodered.org/t/controlling-relay-using-mqtt/62459)

<div class="topic-metadata">

**Author:** [@rolandoartha](https://discourse.nodered.org/u/rolandoartha)\
**Replies:** 3\
**Last updated:** [11 May 2022 16:37 UTC](https://discourse.nodered.org/t/controlling-relay-using-mqtt/62459 "2022-05-11T16:37:18Z")

</div>

hello guys, i want to control my relay by mqtt broker, it's already subcribe the data from Soil Moisture Sensor, but the relay is always off this is the logic i use this is the callback function void mqttCallback(…

---

## [Curl --unix-socket in node-red?](https://discourse.nodered.org/t/curl-unix-socket-in-node-red/62488)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 5\
**Last updated:** [11 May 2022 16:17 UTC](https://discourse.nodered.org/t/curl-unix-socket-in-node-red/62488 "2022-05-11T16:17:35Z")

</div>

I am trying to reinvent the "portainer" wheel by creating my own docker container manager in node-red. Docker engine has an API that can be called by using something like: curl --unix-socket /var/run/docker.sock http:/…

---

## [OPC UA connection timeout/error | catch node](https://discourse.nodered.org/t/opc-ua-connection-timeout-error-catch-node/62511)

<div class="topic-metadata">

**Author:** [@learnobyte](https://discourse.nodered.org/u/learnobyte)\
**Replies:** 8\
**Last updated:** [11 May 2022 15:33 UTC](https://discourse.nodered.org/t/opc-ua-connection-timeout-error-catch-node/62511 "2022-05-11T15:33:07Z")

</div>

Hi, I need to display a message in the dashboard when the OPC UA server is down/not connected. I have used "catch" node, not catching the error, still not displaying the connection time out error in debug window. …

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

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