# General

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

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

**Page:** 314

---

## [HOW set AWS/Node-Red MQTT broker if "IOT thing" is connected via "password authentication" NOT private certificates?](https://discourse.nodered.org/t/how-set-aws-node-red-mqtt-broker-if-iot-thing-is-connected-via-password-authentication-not-private-certificates/68645)

<div class="topic-metadata">

**Author:** [@lumanga](https://discourse.nodered.org/u/lumanga)\
**Replies:** 0\
**Last updated:** [6 October 2022 15:14 UTC](https://discourse.nodered.org/t/how-set-aws-node-red-mqtt-broker-if-iot-thing-is-connected-via-password-authentication-not-private-certificates/68645 "2022-10-06T15:14:24Z")

</div>

Dear All I have Node-RED installed into an EC2 Virtual machine with Debian in AWS. Following this guide, I'm able to let connect my ESP32 to AWS via MQTT. In AWS IOT console Test, I see the data of the DHT22 sensor, …

---

## [Node-red-contrib-modbus installation failed](https://discourse.nodered.org/t/node-red-contrib-modbus-installation-failed/68630)

<div class="topic-metadata">

**Author:** [@colin0031](https://discourse.nodered.org/u/colin0031)\
**Replies:** 9\
**Last updated:** [6 October 2022 14:05 UTC](https://discourse.nodered.org/t/node-red-contrib-modbus-installation-failed/68630 "2022-10-06T14:05:53Z")

</div>

node --version v16.17.1 npm --version 8.15.0 node-red-contrib-modbus installation issue. I have installed the mentioned modbus package on my local machine and it worked perfectly. But when try to install the same pack…

---

## [Read file node ignores msg.filename](https://discourse.nodered.org/t/read-file-node-ignores-msg-filename/68551)

<div class="topic-metadata">

**Author:** [@evdheuvelUpl](https://discourse.nodered.org/u/evdheuvelUpl)\
**Replies:** 9\
**Last updated:** [6 October 2022 13:59 UTC](https://discourse.nodered.org/t/read-file-node-ignores-msg-filename/68551 "2022-10-06T13:59:01Z")

</div>

According to the documentation of the "read file" node it should take the file to read from msg.filename by default. This doesn't seem to work on my end unless I specifically set it in the properties of the node. Does an…

---

## [Node-red-contrib-modbus-tcp-ip ERROR](https://discourse.nodered.org/t/node-red-contrib-modbus-tcp-ip-error/68638)

<div class="topic-metadata">

**Author:** [@colin0031](https://discourse.nodered.org/u/colin0031)\
**Replies:** 1\
**Last updated:** [6 October 2022 13:31 UTC](https://discourse.nodered.org/t/node-red-contrib-modbus-tcp-ip-error/68638 "2022-10-06T13:31:37Z")

</div>

node --version v16.17.1 npm --version 8.15.0 I am using "node-red-contrib-modbus-tcp-ip" node package for a modbus communication to IO box. Its being connected but it keeps getting disconnected with an error as show…

---

## [OPC UA multiple subscription](https://discourse.nodered.org/t/opc-ua-multiple-subscription/68633)

<div class="topic-metadata">

**Author:** [@AlexAbril](https://discourse.nodered.org/u/AlexAbril)\
**Replies:** 4\
**Last updated:** [6 October 2022 12:47 UTC](https://discourse.nodered.org/t/opc-ua-multiple-subscription/68633 "2022-10-06T12:47:31Z")

</div>

With node-RED v.3.0.2 using node-red-contrib-opcua v.0.2.289 I have tried to subscribe to one variable and device from an OPC-UA server using msg.topic of an injection node and all is right, receiving data from the subsc…

---

## [Filter a SQL query with variables from a previous one in Node Red](https://discourse.nodered.org/t/filter-a-sql-query-with-variables-from-a-previous-one-in-node-red/68025)

<div class="topic-metadata">

**Author:** [@SigmaMan](https://discourse.nodered.org/u/SigmaMan)\
**Replies:** 11\
**Last updated:** [6 October 2022 11:23 UTC](https://discourse.nodered.org/t/filter-a-sql-query-with-variables-from-a-previous-one-in-node-red/68025 "2022-10-06T11:23:48Z")

</div>

Hello all, I try to query one SQL database in a Node Red flow to extract a few fields and declare them as variables, then re-use them to filter a second SQL query from another database. I want to put the two msSQL node…

---

## [Editor Themes relative path](https://discourse.nodered.org/t/editor-themes-relative-path/66232)

<div class="topic-metadata">

**Author:** [@alevher](https://discourse.nodered.org/u/alevher)\
**Replies:** 4\
**Last updated:** [6 October 2022 08:21 UTC](https://discourse.nodered.org/t/editor-themes-relative-path/66232 "2022-10-06T08:21:27Z")

</div>

Hello Everyone, i am creating a customized UI for my istance of node red and looking up at the Editor themes documentation portion : page: { title: "Node-RED", favicon: "/absolute/path/to/theme/icon", …

---

## [Opcua server OPCUA-IIoT server](https://discourse.nodered.org/t/opcua-server-opcua-iiot-server/68627)

<div class="topic-metadata">

**Author:** [@phil2](https://discourse.nodered.org/u/phil2)\
**Replies:** 0\
**Last updated:** [6 October 2022 07:25 UTC](https://discourse.nodered.org/t/opcua-server-opcua-iiot-server/68627 "2022-10-06T07:25:09Z")

</div>

Is there any way to create array variable (ex: array of 5 strings) with OPCUA-IIoT server?

---

## [Korean Translation](https://discourse.nodered.org/t/korean-translation/68621)

<div class="topic-metadata">

**Author:** [@hae-iotplatform](https://discourse.nodered.org/u/hae-iotplatform)\
**Replies:** 1\
**Last updated:** [6 October 2022 07:18 UTC](https://discourse.nodered.org/t/korean-translation/68621 "2022-10-06T07:18:34Z")

</div>

Hi there, I recently submitted a pull request to translate Korean on Node-red. (pull request url: Translation kr by hae-iotplatform · Pull Request #3895 · node-red/node-red · GitHub) I forked the node-red project and …

---

## [Read/write serial communication, bitwise](https://discourse.nodered.org/t/read-write-serial-communication-bitwise/68525)

<div class="topic-metadata">

**Author:** [@alveman](https://discourse.nodered.org/u/alveman)\
**Replies:** 2\
**Last updated:** [6 October 2022 06:30 UTC](https://discourse.nodered.org/t/read-write-serial-communication-bitwise/68525 "2022-10-06T06:30:35Z")

</div>

I am trying to read/write values ​​to a heat pump. How the communication works is described at https://rago600.sourceforge.net/ and in these examples. For example: Register 020B is sixteen bit number. Let's write it i…

---

## [Sqlite Database](https://discourse.nodered.org/t/sqlite-database/68406)

<div class="topic-metadata">

**Author:** [@SachinKumar-tech](https://discourse.nodered.org/u/SachinKumar-tech)\
**Replies:** 3\
**Last updated:** [6 October 2022 06:28 UTC](https://discourse.nodered.org/t/sqlite-database/68406 "2022-10-06T06:28:07Z")

</div>

Hi Everyone, I want to access my SQL database using node-red which I have created on Debian server. Please tell me how to do it because I am not getting any idea.

---

## [Zone allocation failed - trying to reinstall dashboard](https://discourse.nodered.org/t/zone-allocation-failed-trying-to-reinstall-dashboard/68600)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 5\
**Last updated:** [5 October 2022 23:56 UTC](https://discourse.nodered.org/t/zone-allocation-failed-trying-to-reinstall-dashboard/68600 "2022-10-05T23:56:48Z")

</div>

Hi. I think I've messed up my node-red modules. Now I see node-red dashboard in the palette but I'm warned seevral module are missing. I don't see it in node\_modules. When I manually install it I have this error Wha…

---

## [Another LOG question](https://discourse.nodered.org/t/another-log-question/68608)

<div class="topic-metadata">

**Author:** [@Sandmman](https://discourse.nodered.org/u/Sandmman)\
**Replies:** 2\
**Last updated:** [5 October 2022 21:01 UTC](https://discourse.nodered.org/t/another-log-question/68608 "2022-10-05T21:01:58Z")

</div>

So, I'm building a light function using a logarithmic function, in this case a LOG15, In excel it gives me exactly what I need, a value from 0 to 255 based on an input of 1000 to 1. So I could use a function baselog(x…

---

## [Node-RED to connect with PlayCanvas API](https://discourse.nodered.org/t/node-red-to-connect-with-playcanvas-api/68609)

<div class="topic-metadata">

**Author:** [@fgustafsson](https://discourse.nodered.org/u/fgustafsson)\
**Replies:** 0\
**Last updated:** [5 October 2022 20:24 UTC](https://discourse.nodered.org/t/node-red-to-connect-with-playcanvas-api/68609 "2022-10-05T20:24:56Z")

</div>

Hi all. I'm new to Node-RED and learn something new almost every day. I like to ask a question if someone could be so kind to answer. Would it be possible to connect PlayCanvas with Node-RED to trigger inputs... PlayC…

---

## [Split message and process the individual sequentially, not in parallel](https://discourse.nodered.org/t/split-message-and-process-the-individual-sequentially-not-in-parallel/68601)

<div class="topic-metadata">

**Author:** [@3dimensional](https://discourse.nodered.org/u/3dimensional)\
**Replies:** 4\
**Last updated:** [5 October 2022 19:53 UTC](https://discourse.nodered.org/t/split-message-and-process-the-individual-sequentially-not-in-parallel/68601 "2022-10-05T19:53:35Z")

</div>

Hello dear forists, I struggle here with a problem. I have a message array and I now want to process this sequentially. An API is requested and the response is merged with the original message. In parallel this is possib…

---

## [Change Flows file name in existing system](https://discourse.nodered.org/t/change-flows-file-name-in-existing-system/68589)

<div class="topic-metadata">

**Author:** [@awneil](https://discourse.nodered.org/u/awneil)\
**Replies:** 4\
**Last updated:** [5 October 2022 15:53 UTC](https://discourse.nodered.org/t/change-flows-file-name-in-existing-system/68589 "2022-10-05T15:53:15Z")

</div>

Continuing the discussion from All my nodes and flows gone: So settings.js only effects a new workspace? Is it possible to change the name for an existing workspace? If so, how?

---

## [Unable to get binary sensor status and send to telegram](https://discourse.nodered.org/t/unable-to-get-binary-sensor-status-and-send-to-telegram/68559)

<div class="topic-metadata">

**Author:** [@khnlelim](https://discourse.nodered.org/u/khnlelim)\
**Replies:** 9\
**Last updated:** [5 October 2022 15:45 UTC](https://discourse.nodered.org/t/unable-to-get-binary-sensor-status-and-send-to-telegram/68559 "2022-10-05T15:45:50Z")

</div>

Hi Guys, I am new to home assistant and NodeRed. Currently I have having a door sensor installed, Here is my flow. However I able to get pass to call service, but no message is send out. Able to assist me? Secon…

---

## [Does switch node support a "full text" search of message?](https://discourse.nodered.org/t/does-switch-node-support-a-full-text-search-of-message/68596)

<div class="topic-metadata">

**Author:** [@tamueller](https://discourse.nodered.org/u/tamueller)\
**Replies:** 3\
**Last updated:** [5 October 2022 12:53 UTC](https://discourse.nodered.org/t/does-switch-node-support-a-full-text-search-of-message/68596 "2022-10-05T12:53:31Z")

</div>

Hi, I'm new to red node and stumbled upon a problem where my switch node using "contains" does not work as expected. I have a device that sends a message like this: {"action":"up\_press","action\_duration":null,"battery…

---

## [Filter XML Based on Value](https://discourse.nodered.org/t/filter-xml-based-on-value/68594)

<div class="topic-metadata">

**Author:** [@joshwilliams](https://discourse.nodered.org/u/joshwilliams)\
**Replies:** 0\
**Last updated:** [5 October 2022 11:09 UTC](https://discourse.nodered.org/t/filter-xml-based-on-value/68594 "2022-10-05T11:09:09Z")

</div>

Hi all, I'm trying filter this data based on 'Lap'. For example, I only want lines to come through if they have a Lap value of 1, or I can change to only allow a value of 2 through etc. \<?xml version="1.0" encoding="UT…

---

## [XML File - Sort by Value](https://discourse.nodered.org/t/xml-file-sort-by-value/66215)

<div class="topic-metadata">

**Author:** [@joshwilliams](https://discourse.nodered.org/u/joshwilliams)\
**Replies:** 5\
**Last updated:** [5 October 2022 10:37 UTC](https://discourse.nodered.org/t/xml-file-sort-by-value/66215 "2022-10-05T10:37:03Z")

</div>

Hi everyone, I'm trying to sort this data by 'P'. Not too sure where to start. I've had a play with a sort node etc. but no luck. \<?xml version="1.0" encoding="UTF-8" standalone="yes"?\>\<root\>\<L\>0\</L\>\<Name\>Diana Prahove…

---

## [REGEX, Jsonata (Change node)](https://discourse.nodered.org/t/regex-jsonata-change-node/68487)

<div class="topic-metadata">

**Author:** [@JayNaire](https://discourse.nodered.org/u/JayNaire)\
**Replies:** 7\
**Last updated:** [5 October 2022 10:35 UTC](https://discourse.nodered.org/t/regex-jsonata-change-node/68487 "2022-10-05T10:35:19Z")

</div>

I use a change node to serve up responses to queries on a large array of unindexed notes: $notes:=$globalContext("notes"); $searchFor:= req.query.searchFor; $out:= $notes.\*\*\[label ~\> $contains( $searchFor )\] ; It works…

---

## [Creating multiple files with one msg](https://discourse.nodered.org/t/creating-multiple-files-with-one-msg/68582)

<div class="topic-metadata">

**Author:** [@Deuceyd](https://discourse.nodered.org/u/Deuceyd)\
**Replies:** 10\
**Last updated:** [5 October 2022 09:44 UTC](https://discourse.nodered.org/t/creating-multiple-files-with-one-msg/68582 "2022-10-05T09:44:11Z")

</div>

Hey All! Very new here and I'm 100% certain I'm missing something simple so apologies for any stupid questions. I have a fairly simple flow running to check a web folder for a bunch of files and create a html file for …

---

## [OPCUA create array](https://discourse.nodered.org/t/opcua-create-array/68588)

<div class="topic-metadata">

**Author:** [@phil2](https://discourse.nodered.org/u/phil2)\
**Replies:** 0\
**Last updated:** [5 October 2022 09:25 UTC](https://discourse.nodered.org/t/opcua-create-array/68588 "2022-10-05T09:25:27Z")

</div>

Is there any way to create array variable (ex: array of strings) with OPCUA-IIoT server?

---

## [Restart a the http response in the the "get chunks" function](https://discourse.nodered.org/t/restart-a-the-http-response-in-the-the-get-chunks-function/68469)

<div class="topic-metadata">

**Author:** [@tnesheim](https://discourse.nodered.org/u/tnesheim)\
**Replies:** 2\
**Last updated:** [5 October 2022 08:38 UTC](https://discourse.nodered.org/t/restart-a-the-http-response-in-the-the-get-chunks-function/68469 "2022-10-05T08:38:11Z")

</div>

I have a GPS in my car that produced a continious http response for position once connecton is set up. I use the "get chunks" function here Http request (open connection) made by @BartButenaers and it works well. const …

---

## [Thingzi-logic-climate](https://discourse.nodered.org/t/thingzi-logic-climate/68580)

<div class="topic-metadata">

**Author:** [@murraa](https://discourse.nodered.org/u/murraa)\
**Replies:** 2\
**Last updated:** [5 October 2022 07:50 UTC](https://discourse.nodered.org/t/thingzi-logic-climate/68580 "2022-10-05T07:50:53Z")

</div>

thingzi-logic-climate node it doesn't work with the values ​​provided according to the printscreen, what am I doing wrong? Thank you for your help

---

## [Cannot Collect Data in NodeRed Json parse error works in powershell](https://discourse.nodered.org/t/cannot-collect-data-in-nodered-json-parse-error-works-in-powershell/68552)

<div class="topic-metadata">

**Author:** [@sourceminer](https://discourse.nodered.org/u/sourceminer)\
**Replies:** 32\
**Last updated:** [5 October 2022 07:46 UTC](https://discourse.nodered.org/t/cannot-collect-data-in-nodered-json-parse-error-works-in-powershell/68552 "2022-10-05T07:46:47Z")

</div>

Hello I am hoping that someone here can help me. Not sure why Node-Red is seeming to have such a hard time with such a simple process. Clearly has to be something I am over-looking. Im pulling data from our ticketing sy…

---

## [Http://registry.npmjs.org/node-red failed, reason: getaddrinfo EAI\_AGAIN registry.npmjs.org](https://discourse.nodered.org/t/http-registry-npmjs-org-node-red-failed-reason-getaddrinfo-eai-again-registry-npmjs-org/68577)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 1\
**Last updated:** [5 October 2022 07:18 UTC](https://discourse.nodered.org/t/http-registry-npmjs-org-node-red-failed-reason-getaddrinfo-eai-again-registry-npmjs-org/68577 "2022-10-05T07:18:29Z")

</div>

Hi all, I'm trying install nodes as func-exec etc...but the error occurs request to http://registry.npmjs.org/node-red failed, reason: getaddrinfo EAI\_AGAIN registry.npmjs.org I can install other node types succesfully…

---

## [How do I update to node \>14.0.0?](https://discourse.nodered.org/t/how-do-i-update-to-node-14-0-0/68385)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 39\
**Last updated:** [5 October 2022 03:59 UTC](https://discourse.nodered.org/t/how-do-i-update-to-node-14-0-0/68385 "2022-10-05T03:59:21Z")

</div>

My setup is RPI-4B VERSION="10 (buster)" NR: v3.0.2 node: 12.22.12 npm: 6.14.16 I'm trying to install some new nodes in NR v3.0.2 and get a message saying I need node.js \>14.0.0 I've tried various scripts to update…

---

## [Check duplication of two MySQL tables](https://discourse.nodered.org/t/check-duplication-of-two-mysql-tables/68527)

<div class="topic-metadata">

**Author:** [@afafirmansyah](https://discourse.nodered.org/u/afafirmansyah)\
**Replies:** 9\
**Last updated:** [5 October 2022 03:53 UTC](https://discourse.nodered.org/t/check-duplication-of-two-mysql-tables/68527 "2022-10-05T03:53:01Z")

</div>

How do I prevent the driver and vehicle data from being duplicated? when the data has been used by the driver, the data cannot be used by the vehicle and vice versa. when checking is complete then just insert data into …

---

## [Assertion \`uv\_\_has\_active\_reqs(req-\>loop)' failed](https://discourse.nodered.org/t/assertion-uv-has-active-reqs-req-loop-failed/68564)

<div class="topic-metadata">

**Author:** [@denissanga](https://discourse.nodered.org/u/denissanga)\
**Replies:** 2\
**Last updated:** [4 October 2022 17:41 UTC](https://discourse.nodered.org/t/assertion-uv-has-active-reqs-req-loop-failed/68564 "2022-10-04T17:41:43Z")

</div>

Hi all, I'm programming a node-red code with digital input and output of mraa-gpio library. Periodically I obtain the following error: Assertion \`uv\_\_has\_active\_reqs(req-\>loop)' failed. can some one help me? many than…

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

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