# General

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

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

**Page:** 129

---

## [Error updating Home Assistant Web Socket node](https://discourse.nodered.org/t/error-updating-home-assistant-web-socket-node/85972)

<div class="topic-metadata">

**Author:** [@CAL37](https://discourse.nodered.org/u/CAL37)\
**Replies:** 0\
**Last updated:** [27 February 2024 20:46 UTC](https://discourse.nodered.org/t/error-updating-home-assistant-web-socket-node/85972 "2024-02-27T20:46:53Z")

</div>

I'm trying to update this node, but it keeps erroring about disk space, but I have plenty free. I have been googling and think it's due to this folder being full when I run df -i. When I check the folder I don't see anyt…

---

## [Writing and Processing Data to File](https://discourse.nodered.org/t/writing-and-processing-data-to-file/85481)

<div class="topic-metadata">

**Author:** [@bgultekin](https://discourse.nodered.org/u/bgultekin)\
**Replies:** 5\
**Last updated:** [27 February 2024 12:53 UTC](https://discourse.nodered.org/t/writing-and-processing-data-to-file/85481 "2024-02-27T12:53:36Z")

</div>

Hello, I will save the data in node-red to a file and then send the data here to sqle according to the old to new. Then I will delete the data I sent from the file. I would appreciate if you can help.

---

## [Compare data from one hour ago with current](https://discourse.nodered.org/t/compare-data-from-one-hour-ago-with-current/85940)

<div class="topic-metadata">

**Author:** [@RedRobin132](https://discourse.nodered.org/u/RedRobin132)\
**Replies:** 3\
**Last updated:** [27 February 2024 12:21 UTC](https://discourse.nodered.org/t/compare-data-from-one-hour-ago-with-current/85940 "2024-02-27T12:21:16Z")

</div>

Hello! I have a project where i collect the water level of a river with a sensor. When a predefined height is surpassed, the node red flow send a push message to my phone. Now i want to also compare the current level wi…

---

## [Get total number of messages for logging purpose](https://discourse.nodered.org/t/get-total-number-of-messages-for-logging-purpose/85930)

<div class="topic-metadata">

**Author:** [@Riccaleu](https://discourse.nodered.org/u/Riccaleu)\
**Replies:** 8\
**Last updated:** [27 February 2024 09:16 UTC](https://discourse.nodered.org/t/get-total-number-of-messages-for-logging-purpose/85930 "2024-02-27T09:16:11Z")

</div>

hi evreyone, for log purpose i need to count all the messages that arrive in a node. i need one value in a varible At the moment i set up topic + counter + join with a timeout. but is not the proper soluutin sin time c…

---

## [Change data type dword/ bit string (32bit)](https://discourse.nodered.org/t/change-data-type-dword-bit-string-32bit/85942)

<div class="topic-metadata">

**Author:** [@Nanda](https://discourse.nodered.org/u/Nanda)\
**Replies:** 1\
**Last updated:** [27 February 2024 07:40 UTC](https://discourse.nodered.org/t/change-data-type-dword-bit-string-32bit/85942 "2024-02-27T07:40:17Z")

</div>

Hai, I want to change the data type in node red to dword / bit string (32bit) so that the display is in accordance with the HMI engine. is the address part changed or other parts?

---

## [Handling HTTPRequest Error](https://discourse.nodered.org/t/handling-httprequest-error/85918)

<div class="topic-metadata">

**Author:** [@shershah](https://discourse.nodered.org/u/shershah)\
**Replies:** 9\
**Last updated:** [27 February 2024 07:27 UTC](https://discourse.nodered.org/t/handling-httprequest-error/85918 "2024-02-27T07:27:42Z")

</div>

Dear All, Currently I am hitting http request to get the response. When API is down , I am not able to handle the exception. I am getting "JSON parse error". Catch block is not triggering , nor I am getting any http ou…

---

## [Redeploy an existing flow from another flow using the flows API](https://discourse.nodered.org/t/redeploy-an-existing-flow-from-another-flow-using-the-flows-api/85689)

<div class="topic-metadata">

**Author:** [@jftaylorMn](https://discourse.nodered.org/u/jftaylorMn)\
**Replies:** 17\
**Last updated:** [26 February 2024 18:20 UTC](https://discourse.nodered.org/t/redeploy-an-existing-flow-from-another-flow-using-the-flows-api/85689 "2024-02-26T18:20:58Z")

</div>

Last summer, pretty much the same topic came up and the response was that even though the payload contains info for a specific flow (tab), all flows will reload as long as the reload parameter is set in the header. That…

---

## [Using moment.js to compare times in function node](https://discourse.nodered.org/t/using-moment-js-to-compare-times-in-function-node/85917)

<div class="topic-metadata">

**Author:** [@lee\_evo](https://discourse.nodered.org/u/lee_evo)\
**Replies:** 2\
**Last updated:** [26 February 2024 11:16 UTC](https://discourse.nodered.org/t/using-moment-js-to-compare-times-in-function-node/85917 "2024-02-26T11:16:06Z")

</div>

Hi, I can't seem to work out why I always get a 'false' result when comparing 2 times in a nodered function with moment.js. Taking the current time, and the sunset time and trying to test if it's before sunset. appreci…

---

## [Convert object from sqlite to use in line graph](https://discourse.nodered.org/t/convert-object-from-sqlite-to-use-in-line-graph/85906)

<div class="topic-metadata">

**Author:** [@telescopio](https://discourse.nodered.org/u/telescopio)\
**Replies:** 1\
**Last updated:** [26 February 2024 03:42 UTC](https://discourse.nodered.org/t/convert-object-from-sqlite-to-use-in-line-graph/85906 "2024-02-26T03:42:23Z")

</div>

Need help, I have a Select command from a Sqlite database that gave me the following timestamp and temp values: \[{"TIMESTAMP":1691538694000,"TEMP":"91.63"},{"TIMESTAMP":1691538699000,"TEMP":"91.67"},{"TIMESTAMP":169153…

---

## [Data from one function to another function](https://discourse.nodered.org/t/data-from-one-function-to-another-function/85830)

<div class="topic-metadata">

**Author:** [@pcwortex](https://discourse.nodered.org/u/pcwortex)\
**Replies:** 4\
**Last updated:** [25 February 2024 22:13 UTC](https://discourse.nodered.org/t/data-from-one-function-to-another-function/85830 "2024-02-25T22:13:19Z")

</div>

Hi community, I have this diagram which shows below. I want this data, which is drawn in red color from the Antena\_1 function node output, to be sent to the input of the antena1\_sat function node. How I can do it…

---

## [Memory issues with 3.1.5?](https://discourse.nodered.org/t/memory-issues-with-3-1-5/85876)

<div class="topic-metadata">

**Author:** [@bennyb](https://discourse.nodered.org/u/bennyb)\
**Replies:** 6\
**Last updated:** [25 February 2024 18:56 UTC](https://discourse.nodered.org/t/memory-issues-with-3-1-5/85876 "2024-02-25T18:56:00Z")

</div>

I recently updated nodered from 3.1.2 to 3.1.5, including some nodes which I don't recall exactly. Nodered v3.1.5 Node.js V16.02 RPI4 Since the update I noticed that the memory used by nodered is slowly increasing (ov…

---

## [Error: Unsupported protocol](https://discourse.nodered.org/t/error-unsupported-protocol/85880)

<div class="topic-metadata">

**Author:** [@broccnbeans](https://discourse.nodered.org/u/broccnbeans)\
**Replies:** 2\
**Last updated:** [25 February 2024 17:58 UTC](https://discourse.nodered.org/t/error-unsupported-protocol/85880 "2024-02-25T17:58:47Z")

</div>

Hello! I am trying to get Data from a Sensor via MQTT trough Node-Red into an InfluxDB. I am using an ESP32, and an UNRAID Server with all sorts of Docker Container. Namely are Node-Red and InfluxDB also in Docker Cont…

---

## [Variable countdown timer](https://discourse.nodered.org/t/variable-countdown-timer/85878)

<div class="topic-metadata">

**Author:** [@daycare](https://discourse.nodered.org/u/daycare)\
**Replies:** 3\
**Last updated:** [25 February 2024 17:56 UTC](https://discourse.nodered.org/t/variable-countdown-timer/85878 "2024-02-25T17:56:25Z")

</div>

Hello, I'm new to node-red, which I use with the Rhasspy voice assistant. I'm trying to create a countdown whose duration is variable depending on the choice made vocally. I manage to retrieve this value from the Rhas…

---

## [When will Node-RED 4.0 be released?](https://discourse.nodered.org/t/when-will-node-red-4-0-be-released/85854)

<div class="topic-metadata">

**Author:** [@lius](https://discourse.nodered.org/u/lius)\
**Replies:** 7\
**Last updated:** [25 February 2024 07:08 UTC](https://discourse.nodered.org/t/when-will-node-red-4-0-be-released/85854 "2024-02-25T07:08:25Z")

</div>

Since Node.js 16 reached end of life in October 2023, running the official Docker image of Node-RED version 3.x can no longer be considered safe. While I understand that requiring Node.js 18 or 20 would constitute a brea…

---

## [Edit mysql table](https://discourse.nodered.org/t/edit-mysql-table/85856)

<div class="topic-metadata">

**Author:** [@hbb999](https://discourse.nodered.org/u/hbb999)\
**Replies:** 3\
**Last updated:** [24 February 2024 19:23 UTC](https://discourse.nodered.org/t/edit-mysql-table/85856 "2024-02-24T19:23:02Z")

</div>

How to create an editable MySql table? I want CRUD operations: to list all the rows of table, add new rows, update values, and delete record.

---

## [Victron node-RED asset management](https://discourse.nodered.org/t/victron-node-red-asset-management/85817)

<div class="topic-metadata">

**Author:** [@martinKraft](https://discourse.nodered.org/u/martinKraft)\
**Replies:** 3\
**Last updated:** [24 February 2024 17:15 UTC](https://discourse.nodered.org/t/victron-node-red-asset-management/85817 "2024-02-24T17:15:59Z")

</div>

Hello, I represent a company where we have about 100+ sites with victron systems. These have the VENUS OS Large, enabling modification of hardware behaviour using node-RED flows. Each site has the same few flows, and the…

---

## [How can I trigger a message when the value goes past one value and then past another?](https://discourse.nodered.org/t/how-can-i-trigger-a-message-when-the-value-goes-past-one-value-and-then-past-another/85853)

<div class="topic-metadata">

**Author:** [@Mastiff](https://discourse.nodered.org/u/Mastiff)\
**Replies:** 9\
**Last updated:** [24 February 2024 13:33 UTC](https://discourse.nodered.org/t/how-can-i-trigger-a-message-when-the-value-goes-past-one-value-and-then-past-another/85853 "2024-02-24T13:33:48Z")

</div>

The Suzuki engine interface in my boat sends tilt/trim to SignalK, which I forward to the MQTT broker, where it's read by Node-RED. What I need is a way to trigger an MQTT message (to an ESP Home-device, but that doesn't…

---

## [Calculate Time with "plus x min" and "minus x min"](https://discourse.nodered.org/t/calculate-time-with-plus-x-min-and-minus-x-min/85851)

<div class="topic-metadata">

**Author:** [@Gawan](https://discourse.nodered.org/u/Gawan)\
**Replies:** 2\
**Last updated:** [24 February 2024 12:31 UTC](https://discourse.nodered.org/t/calculate-time-with-plus-x-min-and-minus-x-min/85851 "2024-02-24T12:31:53Z")

</div>

Hi there, is there a possibility to calculate time in NodeRed comparable to what I can do in SQL with dateadd (min) ? I have a time as a varchar ("23:59") and want to add one minute plus or minus - whenever I press a s…

---

## [How to limit memory usage](https://discourse.nodered.org/t/how-to-limit-memory-usage/85792)

<div class="topic-metadata">

**Author:** [@rmystique](https://discourse.nodered.org/u/rmystique)\
**Replies:** 12\
**Last updated:** [24 February 2024 08:51 UTC](https://discourse.nodered.org/t/how-to-limit-memory-usage/85792 "2024-02-24T08:51:06Z")

</div>

I'm using a change node to "set flow.chart" to the value "msg.payload" to save my chart data, how do I limit how much it stores? I only want 7 days worth of data at most, and not just keep adding forever.

---

## [Information on NODERED features](https://discourse.nodered.org/t/information-on-nodered-features/85838)

<div class="topic-metadata">

**Author:** [@Evan7](https://discourse.nodered.org/u/Evan7)\
**Replies:** 2\
**Last updated:** [24 February 2024 08:13 UTC](https://discourse.nodered.org/t/information-on-nodered-features/85838 "2024-02-24T08:13:40Z")

</div>

Guys, can anyone explain to me what this pane marked in the image herewith means and how to interpret the notifications, please? Thank you all for your valuable input because this question arises from an existing iss…

---

## [Convert KML to WKT](https://discourse.nodered.org/t/convert-kml-to-wkt/85831)

<div class="topic-metadata">

**Author:** [@pat1](https://discourse.nodered.org/u/pat1)\
**Replies:** 1\
**Last updated:** [23 February 2024 20:43 UTC](https://discourse.nodered.org/t/convert-kml-to-wkt/85831 "2024-02-23T20:43:43Z")

</div>

I try to POST a json containing WKT geodata. But the geodata is stored in a KML file. How can I do this? Is there a node for the job?

---

## [How to change the value of a cell in Google Spreadsheets by specifying its row and column?](https://discourse.nodered.org/t/how-to-change-the-value-of-a-cell-in-google-spreadsheets-by-specifying-its-row-and-column/85820)

<div class="topic-metadata">

**Author:** [@zan](https://discourse.nodered.org/u/zan)\
**Replies:** 2\
**Last updated:** [23 February 2024 18:33 UTC](https://discourse.nodered.org/t/how-to-change-the-value-of-a-cell-in-google-spreadsheets-by-specifying-its-row-and-column/85820 "2024-02-23T18:33:28Z")

</div>

Hi! Using Apps Script, I'm sending information from Google Spreadsheets to Node-Red about cells that are edited by users (column, row, and the value of the edited cell). Is there any sensible way to change the value of…

---

## [Docker desktop & PostgreSQL & pgAdmin4 … where is the database data stored?](https://discourse.nodered.org/t/docker-desktop-postgresql-pgadmin4-where-is-the-database-data-stored/85807)

<div class="topic-metadata">

**Author:** [@questuk](https://discourse.nodered.org/u/questuk)\
**Replies:** 8\
**Last updated:** [23 February 2024 18:30 UTC](https://discourse.nodered.org/t/docker-desktop-postgresql-pgadmin4-where-is-the-database-data-stored/85807 "2024-02-23T18:30:23Z")

</div>

Hi, I am sending data out via Node-RED, to PostgreSQL to a table that has energy I can see this on pgAdmin4 , but I cannot find the actual data inside of Docker desktop , so that i can either bind to it or save it. A…

---

## [setTimeout usage and 'Deploy' kills it](https://discourse.nodered.org/t/settimeout-usage-and-deploy-kills-it/85826)

<div class="topic-metadata">

**Author:** [@gNeandr](https://discourse.nodered.org/u/gNeandr)\
**Replies:** 13\
**Last updated:** [23 February 2024 18:24 UTC](https://discourse.nodered.org/t/settimeout-usage-and-deploy-kills-it/85826 "2024-02-23T18:24:36Z")

</div>

To start a function after a given time 'eTime' I use a function block setTimeout(function () {..}, eTime). If a 'Deploy' is made within the NR editor, the specified timeout time is canceled. Can this be prevented? If not…

---

## [Generate screenshot of a dashboard chart for a PDF](https://discourse.nodered.org/t/generate-screenshot-of-a-dashboard-chart-for-a-pdf/85466)

<div class="topic-metadata">

**Author:** [@LilGrundy](https://discourse.nodered.org/u/LilGrundy)\
**Replies:** 4\
**Last updated:** [23 February 2024 17:57 UTC](https://discourse.nodered.org/t/generate-screenshot-of-a-dashboard-chart-for-a-pdf/85466 "2024-02-23T17:57:03Z")

</div>

Good morning, I have been looking for a way to take or remove the image of a chart from my dashboard and have that image inserted into the structure of the PDF that I am putting together, I have searched for information …

---

## [Taking screenshots - Final?](https://discourse.nodered.org/t/taking-screenshots-final/85209)

<div class="topic-metadata">

**Author:** [@nerevar](https://discourse.nodered.org/u/nerevar)\
**Replies:** 15\
**Last updated:** [23 February 2024 17:51 UTC](https://discourse.nodered.org/t/taking-screenshots-final/85209 "2024-02-23T17:51:11Z")

</div>

Hello, For some time now I'm struggling to produce working automated screenshots of my dashboard (it uibuilder dashboard but it doesn't matter here). I've tried puppeteer and chromium headless. First, the puppeteer fr…

---

## [Serial on Raspberry PI3B+ don't work](https://discourse.nodered.org/t/serial-on-raspberry-pi3b-dont-work/85647)

<div class="topic-metadata">

**Author:** [@golfy44](https://discourse.nodered.org/u/golfy44)\
**Replies:** 10\
**Last updated:** [23 February 2024 17:37 UTC](https://discourse.nodered.org/t/serial-on-raspberry-pi3b-dont-work/85647 "2024-02-23T17:37:03Z")

</div>

Hello everyone, after some hours to try everything I found on forum I'm finished to create this topic. I try to send a string through the serial port of my Raspberry PI3B+ with node-red. Even I don't hace the correct …

---

## [Filter only some fields in a json](https://discourse.nodered.org/t/filter-only-some-fields-in-a-json/85823)

<div class="topic-metadata">

**Author:** [@fikerplunk](https://discourse.nodered.org/u/fikerplunk)\
**Replies:** 5\
**Last updated:** [23 February 2024 17:15 UTC](https://discourse.nodered.org/t/filter-only-some-fields-in-a-json/85823 "2024-02-23T17:15:03Z")

</div>

Hello! I'm receiving the following JSON from an http request: { "rows":\[ { "id":"AAAA", "number":38, "numberInColumn":11, "numberTwo":1, "size":"P", "statu…

---

## [Why does my output deliver NaN/Cannot Read](https://discourse.nodered.org/t/why-does-my-output-deliver-nan-cannot-read/85812)

<div class="topic-metadata">

**Author:** [@Twellow](https://discourse.nodered.org/u/Twellow)\
**Replies:** 3\
**Last updated:** [23 February 2024 13:55 UTC](https://discourse.nodered.org/t/why-does-my-output-deliver-nan-cannot-read/85812 "2024-02-23T13:55:01Z")

</div>

Whenever pressing the inject button, I have it to pre count function but whenever it delivers the last function where it adds all the other msgs the output just responds with NaN. Not sure what the problem is \[{"id":"d5…

---

## [Good way of calculating tempo?](https://discourse.nodered.org/t/good-way-of-calculating-tempo/85804)

<div class="topic-metadata">

**Author:** [@EaB11](https://discourse.nodered.org/u/EaB11)\
**Replies:** 6\
**Last updated:** [23 February 2024 13:40 UTC](https://discourse.nodered.org/t/good-way-of-calculating-tempo/85804 "2024-02-23T13:40:29Z")

</div>

hi all... ive got a flow where im calculating the tempo of some music by tapping a button in time with the beat.. problem is i dont think its doing a great job and im wondering if someone might have a better method.. pos…

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

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