# General

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

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

**Page:** 199

---

## [Node-RED vs LabVIEW (DAQ solutions)](https://discourse.nodered.org/t/node-red-vs-labview-daq-solutions/79395)

<div class="topic-metadata">

**Author:** [@kansaandre](https://discourse.nodered.org/u/kansaandre)\
**Replies:** 8\
**Last updated:** [29 June 2023 21:49 UTC](https://discourse.nodered.org/t/node-red-vs-labview-daq-solutions/79395 "2023-06-29T21:49:56Z")

</div>

Hi! I just want to hear your guys opinion on Node-RED increasing precence in the DAQ community and its ability to challenge traditional softwares as LabVIEW. I believe that when the new features as testing and breakpoi…

---

## [userDir configuration](https://discourse.nodered.org/t/userdir-configuration/79491)

<div class="topic-metadata">

**Author:** [@ax2382](https://discourse.nodered.org/u/ax2382)\
**Replies:** 7\
**Last updated:** [29 June 2023 21:39 UTC](https://discourse.nodered.org/t/userdir-configuration/79491 "2023-06-29T21:39:02Z")

</div>

Hello, I'm a newbie to node-red and am unable to figure out the proper configuration value for userDir. I looked at the User Guide but still, where am I supposed to create the directory for the user nol? I see a new fo…

---

## [How to use Node-Red to check if a program has started?](https://discourse.nodered.org/t/how-to-use-node-red-to-check-if-a-program-has-started/79439)

<div class="topic-metadata">

**Author:** [@LuckyMooon](https://discourse.nodered.org/u/LuckyMooon)\
**Replies:** 25\
**Last updated:** [29 June 2023 18:57 UTC](https://discourse.nodered.org/t/how-to-use-node-red-to-check-if-a-program-has-started/79439 "2023-06-29T18:57:05Z")

</div>

I would like to use Node-Red to send MQTT messages from my PC when a program is started or closed. For example, if I open Discord, my PC should inform my smart home via Mqtt. I've already researched but found nothing, i…

---

## [How to resolve the isssue for Error: spawn npm ENOENT](https://discourse.nodered.org/t/how-to-resolve-the-isssue-for-error-spawn-npm-enoent/79483)

<div class="topic-metadata">

**Author:** [@GAOJY11](https://discourse.nodered.org/u/GAOJY11)\
**Replies:** 1\
**Last updated:** [29 June 2023 10:28 UTC](https://discourse.nodered.org/t/how-to-resolve-the-isssue-for-error-spawn-npm-enoent/79483 "2023-06-29T10:28:04Z")

</div>

2023-06-29T10:22:46.695Z Install : ttb-node-red-counter 0.1.0 2023-06-29T10:22:47.711Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict ttb-node-red-counter@0.1.…

---

## [How to generate the PDF from Node-Red](https://discourse.nodered.org/t/how-to-generate-the-pdf-from-node-red/79469)

<div class="topic-metadata">

**Author:** [@ksthar](https://discourse.nodered.org/u/ksthar)\
**Replies:** 6\
**Last updated:** [29 June 2023 05:55 UTC](https://discourse.nodered.org/t/how-to-generate-the-pdf-from-node-red/79469 "2023-06-29T05:55:42Z")

</div>

Hello, I want to ask something about generating the PDF using node-red. The PDF I want to generate is the water meter bill as shown in the photo. How can I generate something like that? I already keep the meter re…

---

## [Help about this problem](https://discourse.nodered.org/t/help-about-this-problem/79475)

<div class="topic-metadata">

**Author:** [@miki89](https://discourse.nodered.org/u/miki89)\
**Replies:** 2\
**Last updated:** [29 June 2023 06:25 UTC](https://discourse.nodered.org/t/help-about-this-problem/79475 "2023-06-29T06:25:58Z")

</div>

hello i am trying to test these nodes but i get this error Node-RED version: v3.0.2 \] Node.js version: v18.16.1 \[info\] Windows\_NT 10.0.19045 x64 LE thanks MIGUE

---

## [Get some status from my MQTT broker at startup](https://discourse.nodered.org/t/get-some-status-from-my-mqtt-broker-at-startup/79236)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 11\
**Last updated:** [29 June 2023 05:36 UTC](https://discourse.nodered.org/t/get-some-status-from-my-mqtt-broker-at-startup/79236 "2023-06-29T05:36:48Z")

</div>

Hi folks, An MQTT noob speaking here... I have some Shellies that send a message to an MQTT topic, every time their relay status changes. Via an MQTT-In node I receive that status, so I can e.g. change the color of a …

---

## [How can update the dashboard version?](https://discourse.nodered.org/t/how-can-update-the-dashboard-version/79476)

<div class="topic-metadata">

**Author:** [@miki89](https://discourse.nodered.org/u/miki89)\
**Replies:** 1\
**Last updated:** [29 June 2023 05:24 UTC](https://discourse.nodered.org/t/how-can-update-the-dashboard-version/79476 "2023-06-29T05:24:12Z")

</div>

help me STEP by STEP I am a new user to node -red tks

---

## [(sorry) material-icon icons. How to use them?](https://discourse.nodered.org/t/sorry-material-icon-icons-how-to-use-them/79455)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 5\
**Last updated:** [29 June 2023 02:08 UTC](https://discourse.nodered.org/t/sorry-material-icon-icons-how-to-use-them/79455 "2023-06-29T02:08:19Z")

</div>

Yes, I have asked in the past and it was answered. I've read the replies but they are not .... compatible (?) with the structure that works now I want to make a new button. Existing code: \<div id="GButtonM\_TWK"\> \<…

---

## [Can we use node red to monitor 350 energy meter](https://discourse.nodered.org/t/can-we-use-node-red-to-monitor-350-energy-meter/79472)

<div class="topic-metadata">

**Author:** [@PRABHAKAR82](https://discourse.nodered.org/u/PRABHAKAR82)\
**Replies:** 3\
**Last updated:** [29 June 2023 01:28 UTC](https://discourse.nodered.org/t/can-we-use-node-red-to-monitor-350-energy-meter/79472 "2023-06-29T01:28:47Z")

</div>

Can we use node red to monitor and log data of 350 energy meter. One energy meter give 10 data it means total 3500 tag to read and log. Is it possible to do this EMS project with node red.

---

## [Moving from DarkSky.io](https://discourse.nodered.org/t/moving-from-darksky-io/79221)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 38\
**Last updated:** [29 June 2023 00:53 UTC](https://discourse.nodered.org/t/moving-from-darksky-io/79221 "2023-06-29T00:53:40Z")

</div>

I have been using darksky.io weather service for many years, until it was purchased by Apple and now they stopped the free API service. Could you recommend a different service that I can call with a simple HTTP request …

---

## [Help with heap out of memory](https://discourse.nodered.org/t/help-with-heap-out-of-memory/79097)

<div class="topic-metadata">

**Author:** [@SandeepA](https://discourse.nodered.org/u/SandeepA)\
**Replies:** 10\
**Last updated:** [28 June 2023 17:58 UTC](https://discourse.nodered.org/t/help-with-heap-out-of-memory/79097 "2023-06-28T17:58:11Z")

</div>

Hi All, We have numerous flows in the system. Periodically we see some flow executions failing with below error message. My challenge : How do i understand from below which node is the one creating problem ? So that i…

---

## [TypeError: server.on is not a function](https://discourse.nodered.org/t/typeerror-server-on-is-not-a-function/79449)

<div class="topic-metadata">

**Author:** [@ax2382](https://discourse.nodered.org/u/ax2382)\
**Replies:** 3\
**Last updated:** [28 June 2023 17:16 UTC](https://discourse.nodered.org/t/typeerror-server-on-is-not-a-function/79449 "2023-06-28T17:16:17Z")

</div>

Hello, node-heads :slight\_smile: I'm installing node-red in a nest.js app and I'm getting the following error when running/starting the server. I have no clue how to fix this issue and documentation for nest.js apps is q…

---

## [Using node red as a read/write api](https://discourse.nodered.org/t/using-node-red-as-a-read-write-api/79467)

<div class="topic-metadata">

**Author:** [@steven\_191](https://discourse.nodered.org/u/steven_191)\
**Replies:** 1\
**Last updated:** [28 June 2023 16:34 UTC](https://discourse.nodered.org/t/using-node-red-as-a-read-write-api/79467 "2023-06-28T16:34:34Z")

</div>

I have a remote device that has an option to write data to an http server. I assume this means api requests as I know them. I did a bit of googling but I think I may not be phrasing it correctly because I keep coming ba…

---

## [Node-red-contrib-mqtt-sparkplug-plus](https://discourse.nodered.org/t/node-red-contrib-mqtt-sparkplug-plus/79446)

<div class="topic-metadata">

**Author:** [@splata](https://discourse.nodered.org/u/splata)\
**Replies:** 1\
**Last updated:** [28 June 2023 12:36 UTC](https://discourse.nodered.org/t/node-red-contrib-mqtt-sparkplug-plus/79446 "2023-06-28T12:36:58Z")

</div>

hello, im making an application with nodered to replace some softwares used like Edge nodes sending information trhough MQTT Spark plug B , I have accomplished read tags from plc , robots, some brokers and this really wo…

---

## [Adding a project to a git repository](https://discourse.nodered.org/t/adding-a-project-to-a-git-repository/79297)

<div class="topic-metadata">

**Author:** [@jw\_te\_r](https://discourse.nodered.org/u/jw_te_r)\
**Replies:** 8\
**Last updated:** [28 June 2023 12:31 UTC](https://discourse.nodered.org/t/adding-a-project-to-a-git-repository/79297 "2023-06-28T12:31:05Z")

</div>

Hi all, I'm trying to put my project on github but somewhere something is going wrong. I created an empty repository on my github account, enabled projects in Node-Red, and added my github repo url to the Node-red proje…

---

## [The Things Network and MQTT In Nodes Problem](https://discourse.nodered.org/t/the-things-network-and-mqtt-in-nodes-problem/79461)

<div class="topic-metadata">

**Author:** [@moonlight](https://discourse.nodered.org/u/moonlight)\
**Replies:** 2\
**Last updated:** [28 June 2023 12:12 UTC](https://discourse.nodered.org/t/the-things-network-and-mqtt-in-nodes-problem/79461 "2023-06-28T12:12:49Z")

</div>

Hi I have been using Node-RED to process payloads from four SenseCAP LoRa nodes connected to The Things Network(TTN) without problems for sometime now (12 months +). Today I added a new sensor, acquired a new MQTT API k…

---

## [Modbus via websocket](https://discourse.nodered.org/t/modbus-via-websocket/79459)

<div class="topic-metadata">

**Author:** [@Shivdoke39](https://discourse.nodered.org/u/Shivdoke39)\
**Replies:** 8\
**Last updated:** [28 June 2023 11:00 UTC](https://discourse.nodered.org/t/modbus-via-websocket/79459 "2023-06-28T11:00:27Z")

</div>

hello, is there any way or sample flow to understand , how to write and read modbus regsiter using websocket protocol..

---

## [Data logging in windows PC (.csv)](https://discourse.nodered.org/t/data-logging-in-windows-pc-csv/79453)

<div class="topic-metadata">

**Author:** [@ganeshiac](https://discourse.nodered.org/u/ganeshiac)\
**Replies:** 5\
**Last updated:** [28 June 2023 10:28 UTC](https://discourse.nodered.org/t/data-logging-in-windows-pc-csv/79453 "2023-06-28T10:28:17Z")

</div>

Hi everyone, I want to store live data in windows PC via .csv file format. In this file every day change new file with date and time . Do you have any sample flow code for that. Please support how to write .csv file. He…

---

## [Help with nodes on a new install](https://discourse.nodered.org/t/help-with-nodes-on-a-new-install/79232)

<div class="topic-metadata">

**Author:** [@9toejack](https://discourse.nodered.org/u/9toejack)\
**Replies:** 6\
**Last updated:** [17 June 2023 23:29 UTC](https://discourse.nodered.org/t/help-with-nodes-on-a-new-install/79232 "2023-06-17T23:29:50Z")

</div>

Ok , so i installed node red (the latest version) on a new computer. i have my raspberry pi node opened up and im installing all the nodes I have on it , onto the new version of node red on the new computer. I got half…

---

## [Smart metering electrical within nodered as a portal](https://discourse.nodered.org/t/smart-metering-electrical-within-nodered-as-a-portal/79419)

<div class="topic-metadata">

**Author:** [@mike-farur](https://discourse.nodered.org/u/mike-farur)\
**Replies:** 5\
**Last updated:** [27 June 2023 23:58 UTC](https://discourse.nodered.org/t/smart-metering-electrical-within-nodered-as-a-portal/79419 "2023-06-27T23:58:40Z")

</div>

Hi! Is it a possible to collect and gather data from 15,000 houses and it's data to then monitor, every household and theirs usage of kw, larms, trends and etc. The monitoring platform would nodereds dashboard, is that …

---

## [Nodered stopping Automatically](https://discourse.nodered.org/t/nodered-stopping-automatically/79433)

<div class="topic-metadata">

**Author:** [@Industry40](https://discourse.nodered.org/u/Industry40)\
**Replies:** 2\
**Last updated:** [27 June 2023 20:55 UTC](https://discourse.nodered.org/t/nodered-stopping-automatically/79433 "2023-06-27T20:55:20Z")

</div>

I am using node red on local machine to collect data from robots(temperature, current, voltage) for a period of 3 days. My UI or node red is not slowing down at all but after few hours of running the program the nodered…

---

## [Join json files to one file and sort them](https://discourse.nodered.org/t/join-json-files-to-one-file-and-sort-them/79354)

<div class="topic-metadata">

**Author:** [@EL\_tech](https://discourse.nodered.org/u/EL_tech)\
**Replies:** 4\
**Last updated:** [27 June 2023 20:28 UTC](https://discourse.nodered.org/t/join-json-files-to-one-file-and-sort-them/79354 "2023-06-27T20:28:48Z")

</div>

Hello, With the great support of @E1cid I was able to filter a json database (Filter json database with conditions Now I would like to join two json files to one json file and sort the result file by a select variable …

---

## [Multiple String Outputs from Function](https://discourse.nodered.org/t/multiple-string-outputs-from-function/79441)

<div class="topic-metadata">

**Author:** [@dandspach](https://discourse.nodered.org/u/dandspach)\
**Replies:** 6\
**Last updated:** [27 June 2023 16:38 UTC](https://discourse.nodered.org/t/multiple-string-outputs-from-function/79441 "2023-06-27T16:38:24Z")

</div>

I'm sorry if the question is redundent, but I've been through the forum and still can't quite get my function working. I have the following Pixel Code examples #1 and# 2 which are working independently of each other, an…

---

## [Arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type](https://discourse.nodered.org/t/arithmetic-operation-must-be-of-type-any-number-bigint-or-an-enum-type/79442)

<div class="topic-metadata">

**Author:** [@tfuchs1987](https://discourse.nodered.org/u/tfuchs1987)\
**Replies:** 4\
**Last updated:** [27 June 2023 15:26 UTC](https://discourse.nodered.org/t/arithmetic-operation-must-be-of-type-any-number-bigint-or-an-enum-type/79442 "2023-06-27T15:26:36Z")

</div>

Hi Forum, I have a function node with the following code which runs fine and does what I want. msg.date contains a timestamp. let age = (new Date() - new Date(msg.date)) / (1000 \* 60); but since the new Node-RED updat…

---

## [Hexadecimals data types](https://discourse.nodered.org/t/hexadecimals-data-types/79430)

<div class="topic-metadata">

**Author:** [@hubert11](https://discourse.nodered.org/u/hubert11)\
**Replies:** 1\
**Last updated:** [27 June 2023 12:54 UTC](https://discourse.nodered.org/t/hexadecimals-data-types/79430 "2023-06-27T12:54:14Z")

</div>

I am trying to use Jasonata in the node red but $number(arg) does not work propelly. I read out hex data from string and join them into one word value. It works at try.jasonata but in the node red it can't cast the value…

---

## [Node-red-contrib-speedtest config error](https://discourse.nodered.org/t/node-red-contrib-speedtest-config-error/79358)

<div class="topic-metadata">

**Author:** [@k5map](https://discourse.nodered.org/u/k5map)\
**Replies:** 11\
**Last updated:** [27 June 2023 11:45 UTC](https://discourse.nodered.org/t/node-red-contrib-speedtest-config-error/79358 "2023-06-27T11:45:48Z")

</div>

I've been using this node for almost a year without any issues until today... for some reason I'm now getting the error: Error: Configuration - Could not retrieve or read configuration (ConfigurationError) Has anyone e…

---

## [Have loads of unused pages in the dashboard: how to I erase them all at once or in groups?](https://discourse.nodered.org/t/have-loads-of-unused-pages-in-the-dashboard-how-to-i-erase-them-all-at-once-or-in-groups/79416)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 4\
**Last updated:** [27 June 2023 11:07 UTC](https://discourse.nodered.org/t/have-loads-of-unused-pages-in-the-dashboard-how-to-i-erase-them-all-at-once-or-in-groups/79416 "2023-06-27T11:07:33Z")

</div>

Hi! I teach node-red as part of my IoT teaching, and end up having a lot of unused pages in the dashboard after correcting my exams. Is there a quicker way for erasing pages other than "configuration nodes" and "dashbo…

---

## [Multiple path parameters on http in node for api](https://discourse.nodered.org/t/multiple-path-parameters-on-http-in-node-for-api/79404)

<div class="topic-metadata">

**Author:** [@hughsheehy](https://discourse.nodered.org/u/hughsheehy)\
**Replies:** 4\
**Last updated:** [27 June 2023 10:53 UTC](https://discourse.nodered.org/t/multiple-path-parameters-on-http-in-node-for-api/79404 "2023-06-27T10:53:02Z")

</div>

Possibly a silly question. I am trying to write an api with the http in node. I want to use path parameters so that I can have an api path that is - for instance - in the form api/:color/:shape Is it possible to have m…

---

## [Status node couldnt capture disconnected status](https://discourse.nodered.org/t/status-node-couldnt-capture-disconnected-status/79427)

<div class="topic-metadata">

**Author:** [@Josh](https://discourse.nodered.org/u/Josh)\
**Replies:** 6\
**Last updated:** [27 June 2023 08:58 UTC](https://discourse.nodered.org/t/status-node-couldnt-capture-disconnected-status/79427 "2023-06-27T08:58:52Z")

</div>

Hi Forum, I have a sample flow like this When the MQTT is connected I get the status as When the MQTT is in connecting state I get the status as But when the MQTT is in Disconnected state I dont get any status. …

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

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