# General

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

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

**Page:** 516

---

## [Upgrading to version 2.0.4 - help - where did I go wrong?](https://discourse.nodered.org/t/upgrading-to-version-2-0-4-help-where-did-i-go-wrong/49030)

<div class="topic-metadata">

**Author:** [@hazymat](https://discourse.nodered.org/u/hazymat)\
**Replies:** 2\
**Last updated:** [28 July 2021 16:19 UTC](https://discourse.nodered.org/t/upgrading-to-version-2-0-4-help-where-did-i-go-wrong/49030 "2021-07-28T16:19:21Z")

</div>

After upgrading to v2.0.4 and running node-red admin init, all my nodes are missing.

---

## [How to get the Hysteresis as a chart? and find Duty cycles?](https://discourse.nodered.org/t/how-to-get-the-hysteresis-as-a-chart-and-find-duty-cycles/49006)

<div class="topic-metadata">

**Author:** [@KrishnanRavichandran](https://discourse.nodered.org/u/KrishnanRavichandran)\
**Replies:** 9\
**Last updated:** [28 July 2021 14:38 UTC](https://discourse.nodered.org/t/how-to-get-the-hysteresis-as-a-chart-and-find-duty-cycles/49006 "2021-07-28T14:38:24Z")

</div>

I have a system to control my valve based on the input from the sensor. If the value of sensor is below 0.27, I need the valve to switch ON and below the value 0.25, I need it to switch OFF. I have used the Hysteresis t…

---

## [Node-RED is not updated to 2.0.4](https://discourse.nodered.org/t/node-red-is-not-updated-to-2-0-4/49021)

<div class="topic-metadata">

**Author:** [@achrafb](https://discourse.nodered.org/u/achrafb)\
**Replies:** 2\
**Last updated:** [28 July 2021 14:04 UTC](https://discourse.nodered.org/t/node-red-is-not-updated-to-2-0-4/49021 "2021-07-28T14:04:21Z")

</div>

Good morning to everybody, Today I have tried to update the Node-RED version to release 2.0.4 by running the following command: bash \<(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/upd…

---

## [Max31855 type k thermocouple](https://discourse.nodered.org/t/max31855-type-k-thermocouple/49019)

<div class="topic-metadata">

**Author:** [@Niki](https://discourse.nodered.org/u/Niki)\
**Replies:** 0\
**Last updated:** [28 July 2021 12:54 UTC](https://discourse.nodered.org/t/max31855-type-k-thermocouple/49019 "2021-07-28T12:54:04Z")

</div>

Hello I’m trying to connect a k type thermocouple and max31855 to raspberry pie using node red does anyone have experience with this or know the best approach , I’m totally new to node red and coding so baby steps please…

---

## [Split incoming message](https://discourse.nodered.org/t/split-incoming-message/49014)

<div class="topic-metadata">

**Author:** [@jenssen](https://discourse.nodered.org/u/jenssen)\
**Replies:** 2\
**Last updated:** [28 July 2021 12:24 UTC](https://discourse.nodered.org/t/split-incoming-message/49014 "2021-07-28T12:24:10Z")

</div>

Hello, I have a message with this structure, I receive this message every 10 seconds with new values (values are random, everytime I receive four values in the same order). I can not change the way the information is de…

---

## [Flows stopped due to missing node types - that are not used](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-that-are-not-used/49008)

<div class="topic-metadata">

**Author:** [@alamapstieks](https://discourse.nodered.org/u/alamapstieks)\
**Replies:** 2\
**Last updated:** [28 July 2021 11:09 UTC](https://discourse.nodered.org/t/flows-stopped-due-to-missing-node-types-that-are-not-used/49008 "2021-07-28T11:09:54Z")

</div>

Hi guys, I have some flows which used to rely on some palette nodes, I have since removed these nodes from all flows as I don't use them, and removed the palette nodes, but now Node Red won't start up as it is somehow S…

---

## [Filtering an array](https://discourse.nodered.org/t/filtering-an-array/49005)

<div class="topic-metadata">

**Author:** [@shard](https://discourse.nodered.org/u/shard)\
**Replies:** 7\
**Last updated:** [28 July 2021 11:04 UTC](https://discourse.nodered.org/t/filtering-an-array/49005 "2021-07-28T11:04:16Z")

</div>

Is there a way to filter old entries from an array and only keep the new entries? I have a flow that gets forum posts as an array. The array is then passed through filter node so only when array contains a new element i…

---

## [Node-red / grafana sum/average](https://discourse.nodered.org/t/node-red-grafana-sum-average/48999)

<div class="topic-metadata">

**Author:** [@trombose009](https://discourse.nodered.org/u/trombose009)\
**Replies:** 2\
**Last updated:** [28 July 2021 09:45 UTC](https://discourse.nodered.org/t/node-red-grafana-sum-average/48999 "2021-07-28T09:45:26Z")

</div>

Hello, following situation: I have some solar panels and using some esp32 stuff, I got a value every 30 minutes which represents the average of the generated power during the last 30 minutes time period. Hopefully you…

---

## [Multipart-stream-decoder still doing something when disabled](https://discourse.nodered.org/t/multipart-stream-decoder-still-doing-something-when-disabled/48941)

<div class="topic-metadata">

**Author:** [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Replies:** 12\
**Last updated:** [28 July 2021 09:26 UTC](https://discourse.nodered.org/t/multipart-stream-decoder-still-doing-something-when-disabled/48941 "2021-07-28T09:26:32Z")

</div>

I noticed then even after disabling the entire flow, my three multipart-stream-decoder nodes are still popping up streaming or error signals depending on what I am doing with the source feeds. Seems a bit sus …

---

## [httpNodeAuth question](https://discourse.nodered.org/t/httpnodeauth-question/48997)

<div class="topic-metadata">

**Author:** [@QRO](https://discourse.nodered.org/u/QRO)\
**Replies:** 3\
**Last updated:** [28 July 2021 08:57 UTC](https://discourse.nodered.org/t/httpnodeauth-question/48997 "2021-07-28T08:57:18Z")

</div>

Hello Via httpNodeAuth: it is possible to control the access to the /ui Is there a way to access the /ui from a local address (192.168.1.0/8) without the need to login while access from a remote address there is a nee…

---

## [Save data from the object to influxdb](https://discourse.nodered.org/t/save-data-from-the-object-to-influxdb/49000)

<div class="topic-metadata">

**Author:** [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Replies:** 3\
**Last updated:** [28 July 2021 08:40 UTC](https://discourse.nodered.org/t/save-data-from-the-object-to-influxdb/49000 "2021-07-28T08:40:22Z")

</div>

Hello \[{"id":"5297e597a1c4de59","type":"inject","z":"d753f1f6adf829e0","name":"push","props":\[{"p":"payload"},{"p":"topic","vt":"str"}\],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payloadType":"dat…

---

## [Calculate with msg.date from email in node](https://discourse.nodered.org/t/calculate-with-msg-date-from-email-in-node/48993)

<div class="topic-metadata">

**Author:** [@tfuchs1987](https://discourse.nodered.org/u/tfuchs1987)\
**Replies:** 1\
**Last updated:** [28 July 2021 07:42 UTC](https://discourse.nodered.org/t/calculate-with-msg-date-from-email-in-node/48993 "2021-07-28T07:42:01Z")

</div>

Hi Forum, I try to calculate with the msg.date object from the email in node node-red-node-email v1.12.3 msg.date = "2021-07-28T04:32:28.000Z" Is there a way to querry just the emails recieved in the last X minutes? …

---

## [Problem with data displayed in UI-Table when switching Tabs](https://discourse.nodered.org/t/problem-with-data-displayed-in-ui-table-when-switching-tabs/48940)

<div class="topic-metadata">

**Author:** [@carflomi](https://discourse.nodered.org/u/carflomi)\
**Replies:** 16\
**Last updated:** [28 July 2021 06:03 UTC](https://discourse.nodered.org/t/problem-with-data-displayed-in-ui-table-when-switching-tabs/48940 "2021-07-28T06:03:49Z")

</div>

Hello. I am trying to use the UI-Table node and I see a curious thing: 1 If I add information to the table like this. \[ { "textValue": "Line #1", "numberValue": 123.12 }, { "textVa…

---

## [Your flow credentials file is encrypted using a system-generated key](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382)

<div class="topic-metadata">

**Author:** [@robbe](https://discourse.nodered.org/u/robbe)\
**Replies:** 57\
**Last updated:** [28 July 2021 05:36 UTC](https://discourse.nodered.org/t/your-flow-credentials-file-is-encrypted-using-a-system-generated-key/18382 "2021-07-28T05:36:44Z")

</div>

Help i'm completely new and i don't understand what to do. can someone help step by step?

---

## [Cannot load json model in nodered](https://discourse.nodered.org/t/cannot-load-json-model-in-nodered/48805)

<div class="topic-metadata">

**Author:** [@MK1992](https://discourse.nodered.org/u/MK1992)\
**Replies:** 15\
**Last updated:** [28 July 2021 02:15 UTC](https://discourse.nodered.org/t/cannot-load-json-model-in-nodered/48805 "2021-07-28T02:15:03Z")

</div>

Hi I want to know why I cannot load my mode.json from local file. I have attached the screenshot of this. pls suggest me on that. Thank you.

---

## [Exec node write stderr to Logbook service (HomeAssistant)](https://discourse.nodered.org/t/exec-node-write-stderr-to-logbook-service-homeassistant/48992)

<div class="topic-metadata">

**Author:** [@cshuttle](https://discourse.nodered.org/u/cshuttle)\
**Replies:** 0\
**Last updated:** [28 July 2021 01:34 UTC](https://discourse.nodered.org/t/exec-node-write-stderr-to-logbook-service-homeassistant/48992 "2021-07-28T01:34:01Z")

</div>

I'm using 1.3.5 embedded in to HomeAssistant. I'm running the following code to trigger a backup to GH, and I would like to log the event outcome to the HomeAssistant Logbook service. I am able to write to the Logbook s…

---

## [Export excel from MS SQL Server 2019](https://discourse.nodered.org/t/export-excel-from-ms-sql-server-2019/48949)

<div class="topic-metadata">

**Author:** [@chihiep11](https://discourse.nodered.org/u/chihiep11)\
**Replies:** 2\
**Last updated:** [28 July 2021 00:53 UTC](https://discourse.nodered.org/t/export-excel-from-ms-sql-server-2019/48949 "2021-07-28T00:53:59Z")

</div>

The title says it all. Command: EXEC sp\_configure 'show advanced options', 1 RECONFIGURE GO EXEC sp\_configure 'ad hoc distributed queries', 1 RECONFIGURE GO INSERT INTO OPENROWSET('Microsoft.ACE.OLEDB.12.0', 'Ex…

---

## [Link in/link out R-PI bug](https://discourse.nodered.org/t/link-in-link-out-r-pi-bug/48965)

<div class="topic-metadata">

**Author:** [@dsplitz](https://discourse.nodered.org/u/dsplitz)\
**Replies:** 14\
**Last updated:** [27 July 2021 20:30 UTC](https://discourse.nodered.org/t/link-in-link-out-r-pi-bug/48965 "2021-07-27T20:30:44Z")

</div>

When I connect multiple link in nodes to a single link out node I see a memory leak on my R-PI 4 using the R-PI task manager. I'm using \[1.3.4 Maintenance Release\] I don't see the issue if I only connect 1 link in to …

---

## [Http request returning a partial response](https://discourse.nodered.org/t/http-request-returning-a-partial-response/48981)

<div class="topic-metadata">

**Author:** [@brunoamaral](https://discourse.nodered.org/u/brunoamaral)\
**Replies:** 0\
**Last updated:** [27 July 2021 20:17 UTC](https://discourse.nodered.org/t/http-request-returning-a-partial-response/48981 "2021-07-27T20:17:04Z")

</div>

I'm using the HTTP Request node with some custom headers such as these: msg.headers\['Connection'\] = 'keep-alive' msg.headers\['Pragma'\] = 'no-cache' msg.headers\['Cache-Control'\] = 'no-cache' msg.headers\['Accept…

---

## [Error on close, save, restart of node-red](https://discourse.nodered.org/t/error-on-close-save-restart-of-node-red/48963)

<div class="topic-metadata">

**Author:** [@justin](https://discourse.nodered.org/u/justin)\
**Replies:** 2\
**Last updated:** [27 July 2021 19:29 UTC](https://discourse.nodered.org/t/error-on-close-save-restart-of-node-red/48963 "2021-07-27T19:29:38Z")

</div>

I have a scenario where I have a bunch of custom nodes that I created that leverage a configuration node. I built the configuration node to run against the @elasticsearch/elasticsearch nodejs client lib. It has worked gr…

---

## [Modbus node installation failing](https://discourse.nodered.org/t/modbus-node-installation-failing/48974)

<div class="topic-metadata">

**Author:** [@ceejm1](https://discourse.nodered.org/u/ceejm1)\
**Replies:** 1\
**Last updated:** [27 July 2021 19:04 UTC](https://discourse.nodered.org/t/modbus-node-installation-failing/48974 "2021-07-27T19:04:51Z")

</div>

Hello, I am trying to install the modbus node. I've had no issues on other machines but this is throwing this error. Any guidance would be much appreciated. Thanks James 2021-07-27T17:34:40.982Z Install : node-red-…

---

## [Help| how to add timestamp into csv file](https://discourse.nodered.org/t/help-how-to-add-timestamp-into-csv-file/48973)

<div class="topic-metadata">

**Author:** [@puteramelaka](https://discourse.nodered.org/u/puteramelaka)\
**Replies:** 9\
**Last updated:** [27 July 2021 17:59 UTC](https://discourse.nodered.org/t/help-how-to-add-timestamp-into-csv-file/48973 "2021-07-27T17:59:22Z")

</div>

Hello all, recently i have manage to split data from MQTT and saved as CSV ,thanks to forum member that really kind and helpfull. For now i want to do is add timestamp(if im not mistaken) which add date and time of data…

---

## [Combine two messages with two topics](https://discourse.nodered.org/t/combine-two-messages-with-two-topics/48969)

<div class="topic-metadata">

**Author:** [@myozone](https://discourse.nodered.org/u/myozone)\
**Replies:** 4\
**Last updated:** [27 July 2021 16:31 UTC](https://discourse.nodered.org/t/combine-two-messages-with-two-topics/48969 "2021-07-27T16:31:58Z")

</div>

I've got a flow that creates two values with two topics and I would like to divide one by the other. Basically I've forgotten how to do it :roll\_eyes: The two topics are "on" and "off" which the payload is the on and of…

---

## [Add Monaco Editor - how?](https://discourse.nodered.org/t/add-monaco-editor-how/48896)

<div class="topic-metadata">

**Author:** [@vikozo](https://discourse.nodered.org/u/vikozo)\
**Replies:** 13\
**Last updated:** [27 July 2021 15:38 UTC](https://discourse.nodered.org/t/add-monaco-editor-how/48896 "2021-07-27T15:38:39Z")

</div>

hello on a VM i installed node Red 2 so far it works! i wish to change to the monaco editor node-red -v \[info\] Einstellungsdatei: /root/.node-red/settings.js so i edited the file and aroud line 353 i changed the li…

---

## [Reluctantly asking for help how to handle huge data files](https://discourse.nodered.org/t/reluctantly-asking-for-help-how-to-handle-huge-data-files/48959)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 9\
**Last updated:** [27 July 2021 14:48 UTC](https://discourse.nodered.org/t/reluctantly-asking-for-help-how-to-handle-huge-data-files/48959 "2021-07-27T14:48:38Z")

</div>

Maybe because the "log files" are Node-Red generated I should ask here. For the past 18 months - or there about - I have been logging the temperature every.... 30 seconds. The file is text and is time stamped. So an e…

---

## [OPC-UA stop node-red process](https://discourse.nodered.org/t/opc-ua-stop-node-red-process/48631)

<div class="topic-metadata">

**Author:** [@Massimo](https://discourse.nodered.org/u/Massimo)\
**Replies:** 1\
**Last updated:** [27 July 2021 14:40 UTC](https://discourse.nodered.org/t/opc-ua-stop-node-red-process/48631 "2021-07-27T14:40:01Z")

</div>

Hello! I'm having this problem. I've created a flow with OPC-UA READ node. After deploying it start with these warning in the console: client\_session\_keepalive\_manag:114 warning : ClientSessionKeepAliveManager#pin…

---

## [Stopping the Flow](https://discourse.nodered.org/t/stopping-the-flow/48926)

<div class="topic-metadata">

**Author:** [@ArunKarkare](https://discourse.nodered.org/u/ArunKarkare)\
**Replies:** 5\
**Last updated:** [27 July 2021 14:39 UTC](https://discourse.nodered.org/t/stopping-the-flow/48926 "2021-07-27T14:39:48Z")

</div>

HI .. I am absolutely RAW and new to NODE-RED programming. I created a Flashing LED program as Flow1 with half second ON and half second OFF that works fine, next I created Alternately flashing two LEDs at 1 second rate…

---

## [Deployment management](https://discourse.nodered.org/t/deployment-management/48771)

<div class="topic-metadata">

**Author:** [@blunoz](https://discourse.nodered.org/u/blunoz)\
**Replies:** 14\
**Last updated:** [27 July 2021 13:08 UTC](https://discourse.nodered.org/t/deployment-management/48771 "2021-07-27T13:08:25Z")

</div>

Hey all, I’m wondering what solutions people are using for managing deployments on multiple systems that need to run the same project. Ideally I’d like to be able to remotely deploy a complete configuration to a new mach…

---

## [How to calculate CRC-16 (Modbus)?](https://discourse.nodered.org/t/how-to-calculate-crc-16-modbus/48955)

<div class="topic-metadata">

**Author:** [@quemf](https://discourse.nodered.org/u/quemf)\
**Replies:** 6\
**Last updated:** [27 July 2021 10:54 UTC](https://discourse.nodered.org/t/how-to-calculate-crc-16-modbus/48955 "2021-07-27T10:54:06Z")

</div>

Hi everyone, I am trying to calculate CRC with a function I got from Node-RED forum, but when there is a 0 at the end or at the beginning of the CRC, it does not identify it, and I just get three bytes. The fact is tha…

---

## [Extract specific data](https://discourse.nodered.org/t/extract-specific-data/48958)

<div class="topic-metadata">

**Author:** [@wael5300](https://discourse.nodered.org/u/wael5300)\
**Replies:** 1\
**Last updated:** [27 July 2021 10:20 UTC](https://discourse.nodered.org/t/extract-specific-data/48958 "2021-07-27T10:20:25Z")

</div>

How to extract/write specific data from msg.payload? I have send data to node-red and I want to deal with each data separately. msg.payload.temperature?

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

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