# Latest

**URL:** https://discourse.nodered.org/latest.md?page=487

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

**Page:** 488

---

## [Default parameters and Typescript](https://discourse.nodered.org/t/default-parameters-and-typescript/68599)

<div class="topic-metadata">

**Author:** [@AntekAiR](https://discourse.nodered.org/u/AntekAiR)\
**Replies:** 2\
**Last updated:** [6 October 2022 09:24 UTC](https://discourse.nodered.org/t/default-parameters-and-typescript/68599 "2022-10-06T09:24:53Z")

</div>

Hi, I am trying to make node-red library with TypeScript. Problem is that I cannot set required server in default paramteres. With javascript and html a lot of libraries do it. Now in my code I have " defaults: { …

---

## [Displaying a list of Numbers from an array of objects](https://discourse.nodered.org/t/displaying-a-list-of-numbers-from-an-array-of-objects/68388)

<div class="topic-metadata">

**Author:** [@dereine](https://discourse.nodered.org/u/dereine)\
**Replies:** 7\
**Last updated:** [6 October 2022 09:14 UTC](https://discourse.nodered.org/t/displaying-a-list-of-numbers-from-an-array-of-objects/68388 "2022-10-06T09:14:58Z")

</div>

good day I have the problem when outputting from a json The output payload looks like this: "{{msg.payload.value\[0\].callerNumber}}" This works fine so far. But I have a dynamic number as value. So not only 0 or 1 or 2…

---

## [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", …

---

## [Music Player v1.0.0](https://discourse.nodered.org/t/music-player-v1-0-0/18037)

<div class="topic-metadata">

**Author:** [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Replies:** 9\
**Last updated:** [6 October 2022 07:36 UTC](https://discourse.nodered.org/t/music-player-v1-0-0/18037 "2022-10-06T07:36:16Z")

</div>

I had some small Cambridge Soundwork speakers hanging around and wanted to do something with them, so I decided to use them with a RPi Zero W as a music box. (I still have to figure out a better mounting method) Fro…

---

## [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?

---

## [Can I define the position of widgets on the dashboard by altering javascript?](https://discourse.nodered.org/t/can-i-define-the-position-of-widgets-on-the-dashboard-by-altering-javascript/68567)

<div class="topic-metadata">

**Author:** [@DaveBriggs](https://discourse.nodered.org/u/DaveBriggs)\
**Replies:** 4\
**Last updated:** [5 October 2022 08:46 UTC](https://discourse.nodered.org/t/can-i-define-the-position-of-widgets-on-the-dashboard-by-altering-javascript/68567 "2022-10-05T08:46:40Z")

</div>

I have two gauges and two charts, however 'layout' does not work properly. v3.0.2 I have tried using both RasPi & Windows platforms. I want to reposition widgets, layout is acting very strangely. Should I resort to using…

---

## [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 …

---

## [I have problem with ui template when i switch tab menu](https://discourse.nodered.org/t/i-have-problem-with-ui-template-when-i-switch-tab-menu/68568)

<div class="topic-metadata">

**Author:** [@bertaudnicolas](https://discourse.nodered.org/u/bertaudnicolas)\
**Replies:** 3\
**Last updated:** [4 October 2022 21:13 UTC](https://discourse.nodered.org/t/i-have-problem-with-ui-template-when-i-switch-tab-menu/68568 "2022-10-04T21:13:28Z")

</div>

if i switch to an another tab and come back to the initial tab i lost content in template i observe if i reload the page from the browser it fix the problem so my need isto find a way by flow to reload the dashboard. i…

---

## [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…

---

## [My little Dashboard project WIP](https://discourse.nodered.org/t/my-little-dashboard-project-wip/68522)

<div class="topic-metadata">

**Author:** [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Replies:** 7\
**Last updated:** [4 October 2022 15:36 UTC](https://discourse.nodered.org/t/my-little-dashboard-project-wip/68522 "2022-10-04T15:36:38Z")

</div>

Most favourite time of the year is over. The summer I mean. More and more time to sit behind screen. Tried to be useful and started new project. Most probably from wrong end but let's see ... Started to automate some st…

[Previous page](https://discourse.nodered.org/latest.md?page=486)

[Next page](https://discourse.nodered.org/latest.md?page=488)
