# General

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

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

**Page:** 324

---

## [\[node-red-contrib-iiot-opcua\] Listener node gives encode error when "Send Just Values" is disabled](https://discourse.nodered.org/t/node-red-contrib-iiot-opcua-listener-node-gives-encode-error-when-send-just-values-is-disabled/67660)

<div class="topic-metadata">

**Author:** [@elyancorrea](https://discourse.nodered.org/u/elyancorrea)\
**Replies:** 0\
**Last updated:** [13 September 2022 15:01 UTC](https://discourse.nodered.org/t/node-red-contrib-iiot-opcua-listener-node-gives-encode-error-when-send-just-values-is-disabled/67660 "2022-09-13T15:01:23Z")

</div>

Hi, I'm trying to subscribe Prosys OPC UA Simulation Server 5.2.2 simulation folder just using iiot-opcua nodes. Using a "read node" I can read all values from tags of simulation folder but when I try to subscribe same …

---

## [Mass-changing UI nodes on a flow import](https://discourse.nodered.org/t/mass-changing-ui-nodes-on-a-flow-import/66571)

<div class="topic-metadata">

**Author:** [@Rgrove](https://discourse.nodered.org/u/Rgrove)\
**Replies:** 9\
**Last updated:** [13 September 2022 14:38 UTC](https://discourse.nodered.org/t/mass-changing-ui-nodes-on-a-flow-import/66571 "2022-09-13T14:38:37Z")

</div>

Hi all. How can I make mass changes to the UI Dashboard node groups? If I have 20 Text UI nodes, and I want to change them all to a different dashboard tab and group, is there a way to do that with a msg.property? Her…

---

## [Node Red very Slow](https://discourse.nodered.org/t/node-red-very-slow/67640)

<div class="topic-metadata">

**Author:** [@ALPF5555](https://discourse.nodered.org/u/ALPF5555)\
**Replies:** 8\
**Last updated:** [13 September 2022 09:05 UTC](https://discourse.nodered.org/t/node-red-very-slow/67640 "2022-09-13T09:05:50Z")

</div>

Hello Everyone I am having Issues with Node Red.. It appears to be the same issue on at least 6 Raspberry Pi 4B models that I am running Node Red on. The Issue is the screen and moving Nodes etc is very slow.. It takes…

---

## [Best approach to handle multiple api calls during a http in flow](https://discourse.nodered.org/t/best-approach-to-handle-multiple-api-calls-during-a-http-in-flow/67641)

<div class="topic-metadata">

**Author:** [@dvsctt](https://discourse.nodered.org/u/dvsctt)\
**Replies:** 3\
**Last updated:** [13 September 2022 08:22 UTC](https://discourse.nodered.org/t/best-approach-to-handle-multiple-api-calls-during-a-http-in-flow/67641 "2022-09-13T08:22:50Z")

</div>

Hi, Im looking for advice on best way to handle multiple api requests triggered by an incoming http post. Sample scenario- HTTP In node A accepts a POST with some data Call api service B (GET) to lookup data from pay…

---

## [Use template as function (to merge multiple PDFs into one PDF)](https://discourse.nodered.org/t/use-template-as-function-to-merge-multiple-pdfs-into-one-pdf/67474)

<div class="topic-metadata">

**Author:** [@smitterer](https://discourse.nodered.org/u/smitterer)\
**Replies:** 4\
**Last updated:** [13 September 2022 08:02 UTC](https://discourse.nodered.org/t/use-template-as-function-to-merge-multiple-pdfs-into-one-pdf/67474 "2022-09-13T08:02:35Z")

</div>

Hi everyone, @bakman2 helped me using a npm module in a function node, which is now working (Useage of contrib-npm) I now have to dynamically change the files which need to be merged. Therefore I'm using some change no…

---

## [Can't find "Manage Palette" on the menu](https://discourse.nodered.org/t/cant-find-manage-palette-on-the-menu/67635)

<div class="topic-metadata">

**Author:** [@uhei](https://discourse.nodered.org/u/uhei)\
**Replies:** 2\
**Last updated:** [13 September 2022 07:49 UTC](https://discourse.nodered.org/t/cant-find-manage-palette-on-the-menu/67635 "2022-09-13T07:49:50Z")

</div>

Hello everybody, I'm currently trying to get Node-RED (3.0.2) to run inside Electron (23.3.3). I'm making an app based on Dceejay's "electron-node-red". (GitHub - dceejay/electron-node-red: Electron Node-RED template) …

---

## [Can I get node ancestors?](https://discourse.nodered.org/t/can-i-get-node-ancestors/67420)

<div class="topic-metadata">

**Author:** [@dvsctt](https://discourse.nodered.org/u/dvsctt)\
**Replies:** 5\
**Last updated:** [13 September 2022 06:32 UTC](https://discourse.nodered.org/t/can-i-get-node-ancestors/67420 "2022-09-13T06:32:04Z")

</div>

Hi all, Im playing around, trying out functionality. Is there a way to access a nodes ancestors? Specifically the last node that triggered the current node? Generally the node trail from initation? thanks in advance …

---

## [Accumulate a value that sometimes resets - pls check my code](https://discourse.nodered.org/t/accumulate-a-value-that-sometimes-resets-pls-check-my-code/67533)

<div class="topic-metadata">

**Author:** [@VinistoisR](https://discourse.nodered.org/u/VinistoisR)\
**Replies:** 9\
**Last updated:** [13 September 2022 02:38 UTC](https://discourse.nodered.org/t/accumulate-a-value-that-sometimes-resets-pls-check-my-code/67533 "2022-09-13T02:38:35Z")

</div>

I have a value that comes in from an api representing the number of kilometers a machine has driven. But sometimes, the mileage gets reset at the edge and starts again from zero. I need to continue to accumulate the va…

---

## [One node inputs output only if inputs are different](https://discourse.nodered.org/t/one-node-inputs-output-only-if-inputs-are-different/67628)

<div class="topic-metadata">

**Author:** [@hugovsky](https://discourse.nodered.org/u/hugovsky)\
**Replies:** 10\
**Last updated:** [12 September 2022 22:53 UTC](https://discourse.nodered.org/t/one-node-inputs-output-only-if-inputs-are-different/67628 "2022-09-12T22:53:15Z")

</div>

Hi all. I've searched and couldn't find a solution to my problem. I think it should be easy but can't figure it out on my own. Just starting with node-red. I'm using it with home assistant. I have a poll state node that…

---

## [NodeRed, ESP32, Tasmota, photovoltaic installation and control 3 heaters](https://discourse.nodered.org/t/nodered-esp32-tasmota-photovoltaic-installation-and-control-3-heaters/67544)

<div class="topic-metadata">

**Author:** [@wachcio](https://discourse.nodered.org/u/wachcio)\
**Replies:** 6\
**Last updated:** [12 September 2022 22:36 UTC](https://discourse.nodered.org/t/nodered-esp32-tasmota-photovoltaic-installation-and-control-3-heaters/67544 "2022-09-12T22:36:18Z")

</div>

Hello Using ESP32 with Tasmota and NodeRed software, I want to control 3 heaters (2kV - domestic hot water, 4.2kV and 6kV - heating the house in winter). I also have a photovoltaic installation with a Fronius inverter. …

---

## [Define a function within a function and pass an object, forEach](https://discourse.nodered.org/t/define-a-function-within-a-function-and-pass-an-object-foreach/67624)

<div class="topic-metadata">

**Author:** [@VinistoisR](https://discourse.nodered.org/u/VinistoisR)\
**Replies:** 10\
**Last updated:** [12 September 2022 22:03 UTC](https://discourse.nodered.org/t/define-a-function-within-a-function-and-pass-an-object-foreach/67624 "2022-09-12T22:03:20Z")

</div>

I have an array in a flow variable like this: I want to cycle through each of the objects in the array, and send out a new message for each one, using some values from the objects to build the new message. let machi…

---

## [How to do input validation?](https://discourse.nodered.org/t/how-to-do-input-validation/67623)

<div class="topic-metadata">

**Author:** [@campot05](https://discourse.nodered.org/u/campot05)\
**Replies:** 3\
**Last updated:** [12 September 2022 20:09 UTC](https://discourse.nodered.org/t/how-to-do-input-validation/67623 "2022-09-12T20:09:19Z")

</div>

Guys, I'm just learning, please tell me how can I check the input data? I need to check the input data, whether the phone number is correct according to the following parameters: format is "380..." only numbers number …

---

## ["Error: Invalid action specified" from MQTT node](https://discourse.nodered.org/t/error-invalid-action-specified-from-mqtt-node/67619)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 1\
**Last updated:** [12 September 2022 17:11 UTC](https://discourse.nodered.org/t/error-invalid-action-specified-from-mqtt-node/67619 "2022-09-12T17:11:26Z")

</div>

Hi, after upgrading from 2.0.4 to 3.0.2, I'm getting an error in Debug sidebar from an MQTT output node. This MQTT output node exists within a subflow template, which always worked before. Here's the message as it enters…

---

## [How to un-disable error checking for function nodes?](https://discourse.nodered.org/t/how-to-un-disable-error-checking-for-function-nodes/67614)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 2\
**Last updated:** [12 September 2022 16:30 UTC](https://discourse.nodered.org/t/how-to-un-disable-error-checking-for-function-nodes/67614 "2022-09-12T16:30:28Z")

</div>

Since upgrading to 3.0.2 and finally changing to Monaco in my settings.json, I now find myself with approximately one trillion functions nodes that I hacked together badly, and when I close them they now give errors. Mai…

---

## [Search for function nodes with certain code?](https://discourse.nodered.org/t/search-for-function-nodes-with-certain-code/67612)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 6\
**Last updated:** [12 September 2022 16:26 UTC](https://discourse.nodered.org/t/search-for-function-nodes-with-certain-code/67612 "2022-09-12T16:26:25Z")

</div>

Love the new junction node. Previously I used function nodes for this purpose, i.e. just created a function node with return msg; In all the new snazziness, is there a way to search for function nodes that just contain …

---

## [How can I use values in an array inside of an object inside of an array as a condition?](https://discourse.nodered.org/t/how-can-i-use-values-in-an-array-inside-of-an-object-inside-of-an-array-as-a-condition/67591)

<div class="topic-metadata">

**Author:** [@arretx](https://discourse.nodered.org/u/arretx)\
**Replies:** 7\
**Last updated:** [12 September 2022 14:46 UTC](https://discourse.nodered.org/t/how-can-i-use-values-in-an-array-inside-of-an-object-inside-of-an-array-as-a-condition/67591 "2022-09-12T14:46:56Z")

</div>

This payload is coming from an RSS feed being read by the Home Assistant RSS Feed Reader integration. I have a node watching the event bus, filtering out all messages that don't have the event\_type feedreader. The idea…

---

## [Excel separar columna-node-red](https://discourse.nodered.org/t/excel-separar-columna-node-red/67524)

<div class="topic-metadata">

**Author:** [@Mariano](https://discourse.nodered.org/u/Mariano)\
**Replies:** 4\
**Last updated:** [12 September 2022 14:18 UTC](https://discourse.nodered.org/t/excel-separar-columna-node-red/67524 "2022-09-12T14:18:17Z")

</div>

Hello, I wanted to save the voltage data to an excel with the date and time, but they are stored in the same column, does anyone know how to separate them?

---

## [Strange Errors after loading Telegram Bot](https://discourse.nodered.org/t/strange-errors-after-loading-telegram-bot/67606)

<div class="topic-metadata">

**Author:** [@gregoinc](https://discourse.nodered.org/u/gregoinc)\
**Replies:** 1\
**Last updated:** [12 September 2022 12:02 UTC](https://discourse.nodered.org/t/strange-errors-after-loading-telegram-bot/67606 "2022-09-12T12:02:21Z")

</div>

Hello, I was playing around with the telegram bot and seem to have got myself and my node red system into a strange place. To the point where I cannot remove the telegram bot, and receive unusual error messages. In the…

---

## [Duplicate flows automated in runtime](https://discourse.nodered.org/t/duplicate-flows-automated-in-runtime/67168)

<div class="topic-metadata">

**Author:** [@JustinB](https://discourse.nodered.org/u/JustinB)\
**Replies:** 9\
**Last updated:** [12 September 2022 07:27 UTC](https://discourse.nodered.org/t/duplicate-flows-automated-in-runtime/67168 "2022-09-12T07:27:23Z")

</div>

Hey, I'm currently working on a project to get and save data from a control device. I've set up everything in the dashboard, so you can do measurements, save the data into a database, convert the data to csv, download it…

---

## [Example flow for control a motor](https://discourse.nodered.org/t/example-flow-for-control-a-motor/67324)

<div class="topic-metadata">

**Author:** [@iiot2k](https://discourse.nodered.org/u/iiot2k)\
**Replies:** 31\
**Last updated:** [11 September 2022 22:57 UTC](https://discourse.nodered.org/t/example-flow-for-control-a-motor/67324 "2022-09-11T22:57:27Z")

</div>

Hi guys, I've started writing a guide to automating with Node-Red. In the guide I want to show what options there are, for solve an automation problem. This is the task: A motor is started with one push-button and s…

---

## [How to use node-red-contrib-smb get file?](https://discourse.nodered.org/t/how-to-use-node-red-contrib-smb-get-file/8624)

<div class="topic-metadata">

**Author:** [@GordonSu](https://discourse.nodered.org/u/GordonSu)\
**Replies:** 17\
**Last updated:** [11 September 2022 18:17 UTC](https://discourse.nodered.org/t/how-to-use-node-red-contrib-smb-get-file/8624 "2022-09-11T18:17:40Z")

</div>

I don't know how to use node-red-contrib-smb to get file，pls help me....:tired\_face:

---

## [Finding the best energy price with API call](https://discourse.nodered.org/t/finding-the-best-energy-price-with-api-call/67070)

<div class="topic-metadata">

**Author:** [@Kimovitzh](https://discourse.nodered.org/u/Kimovitzh)\
**Replies:** 13\
**Last updated:** [11 September 2022 15:50 UTC](https://discourse.nodered.org/t/finding-the-best-energy-price-with-api-call/67070 "2022-09-11T15:50:10Z")

</div>

With the current energy prices I want to see when it's most favorable to do energy heavy stuff. Here in Denmark we can make API call to a data hub to see energy prices at an hourly rate for current day and for the next …

---

## [Npm install issues?](https://discourse.nodered.org/t/npm-install-issues/67561)

<div class="topic-metadata">

**Author:** [@Sean-McG](https://discourse.nodered.org/u/Sean-McG)\
**Replies:** 8\
**Last updated:** [11 September 2022 14:37 UTC](https://discourse.nodered.org/t/npm-install-issues/67561 "2022-09-11T14:37:47Z")

</div>

Trying to move node red to a new rpi. Installed node red and tested OK copied over flows package,json etc and ran npm install to insall missing nodes but no luck any ideas please ? pi@pi-server:~/.node-red $ npm instal…

---

## [HTTP POST content too large?](https://discourse.nodered.org/t/http-post-content-too-large/67568)

<div class="topic-metadata">

**Author:** [@bakman2](https://discourse.nodered.org/u/bakman2)\
**Replies:** 3\
**Last updated:** [11 September 2022 11:22 UTC](https://discourse.nodered.org/t/http-post-content-too-large/67568 "2022-09-11T11:22:22Z")

</div>

I am trying out surrealDB (this is a fantastic NewSQL type of database project which supports live data streaming to websockets when tables change, among many other unique features like build-in rest/rpc/graphql, schemal…

---

## [ECONNRESET - can't find the issue](https://discourse.nodered.org/t/econnreset-cant-find-the-issue/67515)

<div class="topic-metadata">

**Author:** [@mfassier](https://discourse.nodered.org/u/mfassier)\
**Replies:** 6\
**Last updated:** [11 September 2022 03:49 UTC](https://discourse.nodered.org/t/econnreset-cant-find-the-issue/67515 "2022-09-11T03:49:36Z")

</div>

Hello. I understand this has been discussed a number of times, but existing posts don't seem to help. I am unable to get the http-request to work in a very straightforward setup: "fresh from yesterday" install (v16.16.…

---

## [Flow not doing what I expected](https://discourse.nodered.org/t/flow-not-doing-what-i-expected/67565)

<div class="topic-metadata">

**Author:** [@Anto79-ops](https://discourse.nodered.org/u/Anto79-ops)\
**Replies:** 4\
**Last updated:** [11 September 2022 08:21 UTC](https://discourse.nodered.org/t/flow-not-doing-what-i-expected/67565 "2022-09-11T08:21:59Z")

</div>

hey! have a flow that I want to warn us when the outdoor particulate matter (PM) values are above 32, and then when they are back to safe levels. However, it seems to be telling everytime the value is above 32. The repo…

---

## [Extract object value](https://discourse.nodered.org/t/extract-object-value/67530)

<div class="topic-metadata">

**Author:** [@DrS1981](https://discourse.nodered.org/u/DrS1981)\
**Replies:** 11\
**Last updated:** [10 September 2022 22:09 UTC](https://discourse.nodered.org/t/extract-object-value/67530 "2022-09-10T22:09:01Z")

</div>

Hello, can me someone explain me how i can extract the value temperature from the following payload? I tried with a change node but it doesnt work. I can extract the value from the array meters, but not the temperature …

---

## [Dynamic MQTT brokers in subflow](https://discourse.nodered.org/t/dynamic-mqtt-brokers-in-subflow/67563)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 2\
**Last updated:** [10 September 2022 21:16 UTC](https://discourse.nodered.org/t/dynamic-mqtt-brokers-in-subflow/67563 "2022-09-10T21:16:51Z")

</div>

I am trying to build a subflow which has an MQTT In node in it, where the broker url is configured via subflow properties. I thought I would be able to achieve this by using Dynamic mode in the MQTT node, and set the br…

---

## [Dynamic MQTT broker via url not working for me](https://discourse.nodered.org/t/dynamic-mqtt-broker-via-url-not-working-for-me/67555)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 2\
**Last updated:** [10 September 2022 19:58 UTC](https://discourse.nodered.org/t/dynamic-mqtt-broker-via-url-not-working-for-me/67555 "2022-09-10T19:58:21Z")

</div>

I am experimenting with Dynamic MQTT configuration, and have a couple of problems. I will ask about them separately to avoid confusing threads. I can't get it to work using msg.broker.url to specify the broker. if I set…

---

## [How to calculate time difference between two timestamps?](https://discourse.nodered.org/t/how-to-calculate-time-difference-between-two-timestamps/67550)

<div class="topic-metadata">

**Author:** [@network\_potato](https://discourse.nodered.org/u/network_potato)\
**Replies:** 7\
**Last updated:** [10 September 2022 18:50 UTC](https://discourse.nodered.org/t/how-to-calculate-time-difference-between-two-timestamps/67550 "2022-09-10T18:50:12Z")

</div>

I have a timestamp: previousTime: "2022-09-10T08:40:00.000Z" I want to calculate the time elapsed since the timestamp. For example if the current time is currentTime: "2022-09-10T10:44:00.000Z" I want to output a st…

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

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