# General

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

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

**Page:** 128

---

## [Some general questions](https://discourse.nodered.org/t/some-general-questions/86050)

<div class="topic-metadata">

**Author:** [@EaB11](https://discourse.nodered.org/u/EaB11)\
**Replies:** 6\
**Last updated:** [1 March 2024 13:44 UTC](https://discourse.nodered.org/t/some-general-questions/86050 "2024-03-01T13:44:32Z")

</div>

hi all.. i have been building some things in Node Red recently and its been going quite well.. i have limited software development knowledge though and as i have been progressing i have started to wonder about a few thin…

---

## [TypeError: Converting circular structure to JSON](https://discourse.nodered.org/t/typeerror-converting-circular-structure-to-json/86039)

<div class="topic-metadata">

**Author:** [@daycare](https://discourse.nodered.org/u/daycare)\
**Replies:** 9\
**Last updated:** [1 March 2024 07:45 UTC](https://discourse.nodered.org/t/typeerror-converting-circular-structure-to-json/86039 "2024-03-01T07:45:42Z")

</div>

Hi, I could use some help and, if possible, a little explanation. After quite a struggle, I managed to configure a Tuya smart plug and, with node-red-contrib-tuya-smart-device, the following flow works fine manually: F…

---

## [Websocket Connect Problem](https://discourse.nodered.org/t/websocket-connect-problem/86025)

<div class="topic-metadata">

**Author:** [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Replies:** 2\
**Last updated:** [1 March 2024 07:23 UTC](https://discourse.nodered.org/t/websocket-connect-problem/86025 "2024-03-01T07:23:58Z")

</div>

Hello everyone. There is a problem with websocket. I'd like to get your opinion. When I connect to the server with the Node-Redin websocket client node in a project, the server disconnects immediately, but when I connec…

---

## [Cannot Communicate with Node-Red Modbus Server (Slave)](https://discourse.nodered.org/t/cannot-communicate-with-node-red-modbus-server-slave/86046)

<div class="topic-metadata">

**Author:** [@jordanv](https://discourse.nodered.org/u/jordanv)\
**Replies:** 9\
**Last updated:** [1 March 2024 06:17 UTC](https://discourse.nodered.org/t/cannot-communicate-with-node-red-modbus-server-slave/86046 "2024-03-01T06:17:05Z")

</div>

I am having trouble establishing a healthy communications link with a Node-Red Modbus Slave. Context: I have created a Node-Red Modbus Slave on Laptop A, with the intent that it can be polled by a separate Modbus Maste…

---

## [How to upload the local file to google drive](https://discourse.nodered.org/t/how-to-upload-the-local-file-to-google-drive/85984)

<div class="topic-metadata">

**Author:** [@neyarprasanth1](https://discourse.nodered.org/u/neyarprasanth1)\
**Replies:** 8\
**Last updated:** [1 March 2024 04:54 UTC](https://discourse.nodered.org/t/how-to-upload-the-local-file-to-google-drive/85984 "2024-03-01T04:54:05Z")

</div>

Hello guys, Now i am working for upload a local storage file uploaded to google drive from my nodered flow. So when i am inject, then it will activate thr function node and http response node. Function node working for c…

---

## [Slightly off topic, insert data into a database, one table or many tables?](https://discourse.nodered.org/t/slightly-off-topic-insert-data-into-a-database-one-table-or-many-tables/85883)

<div class="topic-metadata">

**Author:** [@questuk](https://discourse.nodered.org/u/questuk)\
**Replies:** 13\
**Last updated:** [1 March 2024 01:07 UTC](https://discourse.nodered.org/t/slightly-off-topic-insert-data-into-a-database-one-table-or-many-tables/85883 "2024-03-01T01:07:16Z")

</div>

Hi, Can I ask your advice on how to store data in my JSON based database efficiently (PostgreSQL). I have a number of Arduino modules that send various data at various intervals, these need to be stored. Each Arduino …

---

## [Smartmeter: How to save the highest / last value of the day](https://discourse.nodered.org/t/smartmeter-how-to-save-the-highest-last-value-of-the-day/85621)

<div class="topic-metadata">

**Author:** [@HerrLux](https://discourse.nodered.org/u/HerrLux)\
**Replies:** 4\
**Last updated:** [29 February 2024 22:23 UTC](https://discourse.nodered.org/t/smartmeter-how-to-save-the-highest-last-value-of-the-day/85621 "2024-02-29T22:23:21Z")

</div>

Hey everyone, node red and js noob here. I am using the smartmeter node to read the current power consumption as well as the total. I'm doing so every few seconds in order to display an up to date value of the current p…

---

## [Msg.payload: object - Data restructure?](https://discourse.nodered.org/t/msg-payload-object-data-restructure/86030)

<div class="topic-metadata">

**Author:** [@SabreFrenzy](https://discourse.nodered.org/u/SabreFrenzy)\
**Replies:** 4\
**Last updated:** [29 February 2024 19:21 UTC](https://discourse.nodered.org/t/msg-payload-object-data-restructure/86030 "2024-02-29T19:21:13Z")

</div>

I'm sure its simple but I appear to be running in circles and hoping for a little help please. I have some data that is coming into NR as below: (msg.payload:Object) My understanding is that the payload is the three…

---

## [Raspberry Pi 5 (Bookworm) - Node-Red Install Failure](https://discourse.nodered.org/t/raspberry-pi-5-bookworm-node-red-install-failure/86013)

<div class="topic-metadata">

**Author:** [@HS10](https://discourse.nodered.org/u/HS10)\
**Replies:** 6\
**Last updated:** [29 February 2024 17:23 UTC](https://discourse.nodered.org/t/raspberry-pi-5-bookworm-node-red-install-failure/86013 "2024-02-29T17:23:18Z")

</div>

Hi Folks Getting back to my RPI project. Still can't get Node-Red to install on Raspberry PI 5 running bookworm. Created a fresh SD-Card image, loaded Nodejs & NPM, then attempted bash \<(curl -sL https://raw.githubuse…

---

## [Sending Out Requests From Node-Red to Another Network](https://discourse.nodered.org/t/sending-out-requests-from-node-red-to-another-network/85735)

<div class="topic-metadata">

**Author:** [@wi11](https://discourse.nodered.org/u/wi11)\
**Replies:** 2\
**Last updated:** [29 February 2024 17:10 UTC](https://discourse.nodered.org/t/sending-out-requests-from-node-red-to-another-network/85735 "2024-02-29T17:10:27Z")

</div>

Hello Everybody, looking for some help today. I have some Amcrest Cameras that are on their own network. I wanted to send API requests to the camera to manipulate the settings, grab a photo, etc... I have the syntax of t…

---

## [MQTT publish inject credentials](https://discourse.nodered.org/t/mqtt-publish-inject-credentials/86017)

<div class="topic-metadata">

**Author:** [@KarolisL](https://discourse.nodered.org/u/KarolisL)\
**Replies:** 5\
**Last updated:** [29 February 2024 10:36 UTC](https://discourse.nodered.org/t/mqtt-publish-inject-credentials/86017 "2024-02-29T10:36:59Z")

</div>

Hello, End goal is to be able to setup "MQTT Out" credentials via ENV\_Variables First, I'm trying to inject credentials via nodes. Tried to follow @Steve-Mcl guide: Notes I have from broker side: Broker setup fr…

---

## [Unknown issue. I was asked to report this](https://discourse.nodered.org/t/unknown-issue-i-was-asked-to-report-this/86008)

<div class="topic-metadata">

**Author:** [@Lebo](https://discourse.nodered.org/u/Lebo)\
**Replies:** 10\
**Last updated:** [29 February 2024 08:56 UTC](https://discourse.nodered.org/t/unknown-issue-i-was-asked-to-report-this/86008 "2024-02-29T08:56:40Z")

</div>

Unexpected Node Error Info: Node object is not a node-red Node Stack: TypeError: Cannot read property 'length' of undefined at TimeSchedulerNode.Node.close (/usr/lib/node\_modules/node-red/node\_modules/@node-red/ru…

---

## [Combine mulitple values in monitoring](https://discourse.nodered.org/t/combine-mulitple-values-in-monitoring/85863)

<div class="topic-metadata">

**Author:** [@ebnerjoh](https://discourse.nodered.org/u/ebnerjoh)\
**Replies:** 6\
**Last updated:** [29 February 2024 07:32 UTC](https://discourse.nodered.org/t/combine-mulitple-values-in-monitoring/85863 "2024-02-29T07:32:24Z")

</div>

Hi, I have a PowerGenerator, which is automatically starting, if there is an power outage and stopping again, when the power is restored. Unfortunatley I cannot monitor remotley if the Power Generator is running. Ther…

---

## [Cloning and filtering BACnet instances](https://discourse.nodered.org/t/cloning-and-filtering-bacnet-instances/86015)

<div class="topic-metadata">

**Author:** [@WarrenL](https://discourse.nodered.org/u/WarrenL)\
**Replies:** 0\
**Last updated:** [29 February 2024 04:01 UTC](https://discourse.nodered.org/t/cloning-and-filtering-bacnet-instances/86015 "2024-02-29T04:01:22Z")

</div>

Hi all, I've recently started using Node-RED and having had success passing OpenWeather data to a BACnet controller I'm now looking at using it to pass power meter data from a Modbus TCP server to BACnet AVs. Now, if I…

---

## [Newbie question: writing a value to a BACnet AV](https://discourse.nodered.org/t/newbie-question-writing-a-value-to-a-bacnet-av/85911)

<div class="topic-metadata">

**Author:** [@WarrenL](https://discourse.nodered.org/u/WarrenL)\
**Replies:** 9\
**Last updated:** [29 February 2024 03:56 UTC](https://discourse.nodered.org/t/newbie-question-writing-a-value-to-a-bacnet-av/85911 "2024-02-29T03:56:21Z")

</div>

Hi all, A real newbie here! I'm looking to take a temperature value from OpenWeather and write it to a BACnet analog value. I've done alright so far, installing node-red-contrib-bacnet and OpenWeather. Using a BACnet W…

---

## [Persistant data SQLite when running docker image](https://discourse.nodered.org/t/persistant-data-sqlite-when-running-docker-image/85971)

<div class="topic-metadata">

**Author:** [@hadwll](https://discourse.nodered.org/u/hadwll)\
**Replies:** 6\
**Last updated:** [28 February 2024 21:14 UTC](https://discourse.nodered.org/t/persistant-data-sqlite-when-running-docker-image/85971 "2024-02-28T21:14:28Z")

</div>

I am running a docker image with the following familiar command; docker run -it -p 1880:1880 -v node\_red\_data:/data --name mynodered nodered/node-red Each time I run the container the flows etc are all returned I …

---

## [All flows have disappeared](https://discourse.nodered.org/t/all-flows-have-disappeared/86000)

<div class="topic-metadata">

**Author:** [@Obi-Wan](https://discourse.nodered.org/u/Obi-Wan)\
**Replies:** 8\
**Last updated:** [28 February 2024 18:29 UTC](https://discourse.nodered.org/t/all-flows-have-disappeared/86000 "2024-02-28T18:29:17Z")

</div>

Hi everyone, the flows I was working on in Home Assistant have disappeared... can anyone tell me if there is a valid reason? And, above all, is it possible to recover them? Thanks

---

## [Node tuya smart devices](https://discourse.nodered.org/t/node-tuya-smart-devices/86010)

<div class="topic-metadata">

**Author:** [@Adimarcel2006](https://discourse.nodered.org/u/Adimarcel2006)\
**Replies:** 0\
**Last updated:** [28 February 2024 18:29 UTC](https://discourse.nodered.org/t/node-tuya-smart-devices/86010 "2024-02-28T18:29:01Z")

</div>

Bonjour j'ai un problème avec les node tuya smart devices, lorsque j'essaye de me connecter avec un appareil, parfois cela marche mais la plus part du temps il na même pas le temps de ce connecter que mon serveur node re…

---

## [GRBL Controller](https://discourse.nodered.org/t/grbl-controller/86006)

<div class="topic-metadata">

**Author:** [@Fabian1](https://discourse.nodered.org/u/Fabian1)\
**Replies:** 6\
**Last updated:** [28 February 2024 18:20 UTC](https://discourse.nodered.org/t/grbl-controller/86006 "2024-02-28T18:20:36Z")

</div>

Can I program a Grbl controller with Node Red? If so, how does the serial port work? Ps.: I use an upgraded GRBL 1.1 control board.

---

## [Control an audio player on a separate PC](https://discourse.nodered.org/t/control-an-audio-player-on-a-separate-pc/85922)

<div class="topic-metadata">

**Author:** [@daycare](https://discourse.nodered.org/u/daycare)\
**Replies:** 4\
**Last updated:** [28 February 2024 17:55 UTC](https://discourse.nodered.org/t/control-an-audio-player-on-a-separate-pc/85922 "2024-02-28T17:55:23Z")

</div>

Hi, Before searching in vain, I would like to know if this is possible : I use a PC as a media player, on which music is played with Musicbee ; this pc is connected to the box via ethernet. Node-red is installed on a …

---

## [Cannot access Node-Red from another LAN computer](https://discourse.nodered.org/t/cannot-access-node-red-from-another-lan-computer/86004)

<div class="topic-metadata">

**Author:** [@RGAnthony](https://discourse.nodered.org/u/RGAnthony)\
**Replies:** 4\
**Last updated:** [28 February 2024 17:06 UTC](https://discourse.nodered.org/t/cannot-access-node-red-from-another-lan-computer/86004 "2024-02-28T17:06:28Z")

</div>

Hey all, I'm able to connect to my ui from localhost, but another computer on the same network as me cannot connect when using :1880/ui. I've tried every ip address from the host ipconfig /all and nothing seems to work. …

---

## [Best way to check the connected state of an MQTT node before publishing?](https://discourse.nodered.org/t/best-way-to-check-the-connected-state-of-an-mqtt-node-before-publishing/7955)

<div class="topic-metadata">

**Author:** [@episensor](https://discourse.nodered.org/u/episensor)\
**Replies:** 8\
**Last updated:** [28 February 2024 16:35 UTC](https://discourse.nodered.org/t/best-way-to-check-the-connected-state-of-an-mqtt-node-before-publishing/7955 "2024-02-28T16:35:37Z")

</div>

We would like to log data locally if (a) the MQTT node isn't connected to the broker or (b) the message fails to publish. What's the best way to check the connected state before publishing, and if connected, to confirm t…

---

## [Use input msg.payload after postgres node](https://discourse.nodered.org/t/use-input-msg-payload-after-postgres-node/85994)

<div class="topic-metadata">

**Author:** [@prodoreda](https://discourse.nodered.org/u/prodoreda)\
**Replies:** 1\
**Last updated:** [28 February 2024 11:09 UTC](https://discourse.nodered.org/t/use-input-msg-payload-after-postgres-node/85994 "2024-02-28T11:09:03Z")

</div>

I'm trying to manage an alarm system using Node-RED. Giving a function node that sends out multiple messages using node.send() method or giving a split node, I need to check if each value exists in a PostgreSQL database…

---

## [Node-Red won't start now](https://discourse.nodered.org/t/node-red-wont-start-now/85991)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 2\
**Last updated:** [28 February 2024 10:44 UTC](https://discourse.nodered.org/t/node-red-wont-start-now/85991 "2024-02-28T10:44:05Z")

</div>

This is what I'm seeing. pi@TimePi:~/.node-red $ node-red --safe 28 Feb 21:24:00 - \[info\] Welcome to Node-RED =================== 28 Feb 21:24:00 - \[info\] Node-RED version: v3.0.2 28 Feb 21:24:00 - \[info\] Node.js ve…

---

## [Nodered - hub & spoke - security](https://discourse.nodered.org/t/nodered-hub-spoke-security/85924)

<div class="topic-metadata">

**Author:** [@MCPCN](https://discourse.nodered.org/u/MCPCN)\
**Replies:** 11\
**Last updated:** [28 February 2024 09:44 UTC](https://discourse.nodered.org/t/nodered-hub-spoke-security/85924 "2024-02-28T09:44:39Z")

</div>

Bit of a can of worms - I work for a MSP and am writing a reporting flow in Node-Red which pulls in data from various sources, puts it into a docx-template and allows the user to download it. The reporting flow runs on …

---

## [Node Red crashed and I am not able to restart](https://discourse.nodered.org/t/node-red-crashed-and-i-am-not-able-to-restart/85986)

<div class="topic-metadata">

**Author:** [@StevieG](https://discourse.nodered.org/u/StevieG)\
**Replies:** 2\
**Last updated:** [28 February 2024 09:18 UTC](https://discourse.nodered.org/t/node-red-crashed-and-i-am-not-able-to-restart/85986 "2024-02-28T09:18:10Z")

</div>

Hi, I am running NodeRed on a Raspbery Pi Zero, and to day it has crashed while I was changing MQTT sub information. I would be really grateful if anyone has a solution. I have stopped and re-started node red in safe m…

---

## [Node Red: More efficient to use a "link out" node, or read MQTT In multiple times?](https://discourse.nodered.org/t/node-red-more-efficient-to-use-a-link-out-node-or-read-mqtt-in-multiple-times/85982)

<div class="topic-metadata">

**Author:** [@sanderson](https://discourse.nodered.org/u/sanderson)\
**Replies:** 2\
**Last updated:** [28 February 2024 08:55 UTC](https://discourse.nodered.org/t/node-red-more-efficient-to-use-a-link-out-node-or-read-mqtt-in-multiple-times/85982 "2024-02-28T08:55:35Z")

</div>

I am using the data from a single MQTT In source in multiple different flows. Which is less memory and CPU intensive: A) To read the MQTT In channel three or four times in different flows, and use the values in each f…

---

## [Inject/cron/schedule nodes no longer working](https://discourse.nodered.org/t/inject-cron-schedule-nodes-no-longer-working/85964)

<div class="topic-metadata">

**Author:** [@Gibbz](https://discourse.nodered.org/u/Gibbz)\
**Replies:** 4\
**Last updated:** [28 February 2024 04:25 UTC](https://discourse.nodered.org/t/inject-cron-schedule-nodes-no-longer-working/85964 "2024-02-28T04:25:30Z")

</div>

Inject nodes or anything using a set time schedule no longer works on my node red. Ive checked the system date, left the nodes running over a few days with no debug outputs. Ive tried to install a few addons using crons…

---

## [How to add filters to a Microsoft Excel CSV generated from Node-Red](https://discourse.nodered.org/t/how-to-add-filters-to-a-microsoft-excel-csv-generated-from-node-red/85962)

<div class="topic-metadata">

**Author:** [@wi11](https://discourse.nodered.org/u/wi11)\
**Replies:** 5\
**Last updated:** [28 February 2024 01:37 UTC](https://discourse.nodered.org/t/how-to-add-filters-to-a-microsoft-excel-csv-generated-from-node-red/85962 "2024-02-28T01:37:05Z")

</div>

Hello I am wondering if it is at all possible to add filters to my column data in my CSV. I have no trouble generating the report and adding my data to specific cells but I have no clue how to add filters. Any idea how o…

---

## [Can you use Node Red offline?](https://discourse.nodered.org/t/can-you-use-node-red-offline/85969)

<div class="topic-metadata">

**Author:** [@Fabian1](https://discourse.nodered.org/u/Fabian1)\
**Replies:** 7\
**Last updated:** [27 February 2024 23:13 UTC](https://discourse.nodered.org/t/can-you-use-node-red-offline/85969 "2024-02-27T23:13:25Z")

</div>

I want to program a dashboard for a machine to display various Values and buttons. Now my question is when I'm done with the code can I use it offline or do I need an internet connection? Ps.: I use a Raspberry Pi 4B

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

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