# General

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

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

**Page:** 720

---

## [Deploy new flows to a remote machine](https://discourse.nodered.org/t/deploy-new-flows-to-a-remote-machine/11105)

<div class="topic-metadata">

**Author:** [@sudhakar](https://discourse.nodered.org/u/sudhakar)\
**Replies:** 17\
**Last updated:** [8 July 2020 16:44 UTC](https://discourse.nodered.org/t/deploy-new-flows-to-a-remote-machine/11105 "2020-07-08T16:44:34Z")

</div>

Hi, I'd like to deploy flows (.json file) to a remote machine using curl. I don't want any manual intervention to import or deploy flows on the remote machine. Could you please guide me achieve this task. Thanks in advan…

---

## [Unable to secure node-red over https using self signed certs](https://discourse.nodered.org/t/unable-to-secure-node-red-over-https-using-self-signed-certs/29637)

<div class="topic-metadata">

**Author:** [@mannharleen](https://discourse.nodered.org/u/mannharleen)\
**Replies:** 7\
**Last updated:** [8 July 2020 13:43 UTC](https://discourse.nodered.org/t/unable-to-secure-node-red-over-https-using-self-signed-certs/29637 "2020-07-08T13:43:38Z")

</div>

I create certificates using the following commands: I use localhost as the common-name for the second command openssl genrsa -out node-key.pem 2048 openssl req -new -sha256 -key node-key.pem -out node-csr.pem openssl x…

---

## [Remove access token keycloak](https://discourse.nodered.org/t/remove-access-token-keycloak/29653)

<div class="topic-metadata">

**Author:** [@digvijay17july](https://discourse.nodered.org/u/digvijay17july)\
**Replies:** 2\
**Last updated:** [8 July 2020 10:42 UTC](https://discourse.nodered.org/t/remove-access-token-keycloak/29653 "2020-07-08T10:42:58Z")

</div>

Hi, Using keycloak openid, After calling /auth/revoke using the logout button, the token from the browser is removed but somehow persists in the node-red and on again clicking with single sign-on button token somehow ap…

---

## [Solved: Fibaro UBS ZWave](https://discourse.nodered.org/t/solved-fibaro-ubs-zwave/29502)

<div class="topic-metadata">

**Author:** [@Geert](https://discourse.nodered.org/u/Geert)\
**Replies:** 4\
**Last updated:** [8 July 2020 10:32 UTC](https://discourse.nodered.org/t/solved-fibaro-ubs-zwave/29502 "2020-07-08T10:32:57Z")

</div>

I need some help in reading the content of the Fibaro UBS via the Wave stick

---

## [Modbus "Timed Out" error -- use with Inject node?](https://discourse.nodered.org/t/modbus-timed-out-error-use-with-inject-node/29704)

<div class="topic-metadata">

**Author:** [@grant1](https://discourse.nodered.org/u/grant1)\
**Replies:** 0\
**Last updated:** [8 July 2020 08:16 UTC](https://discourse.nodered.org/t/modbus-timed-out-error-use-with-inject-node/29704 "2020-07-08T08:16:17Z")

</div>

I have an issue whereby I am getting a "Timed Out" message after about 10-12 hours of readings (taken every 30 sec). It happens regardless of the controller that I am reading from. When I redeploy, it works fine again …

---

## [Node-red-node-email sending emails using msg.from not working](https://discourse.nodered.org/t/node-red-node-email-sending-emails-using-msg-from-not-working/18797)

<div class="topic-metadata">

**Author:** [@RoryCodes](https://discourse.nodered.org/u/RoryCodes)\
**Replies:** 3\
**Last updated:** [8 July 2020 07:42 UTC](https://discourse.nodered.org/t/node-red-node-email-sending-emails-using-msg-from-not-working/18797 "2020-07-08T07:42:23Z")

</div>

Hello all, I've been trying to send an email using the node-red-node-email node while setting the msg.from node in a change node. The email is sent however it shows that it is send from me (my email address currently w…

---

## [Need help on msgpayload](https://discourse.nodered.org/t/need-help-on-msgpayload/29698)

<div class="topic-metadata">

**Author:** [@mshaz](https://discourse.nodered.org/u/mshaz)\
**Replies:** 2\
**Last updated:** [8 July 2020 07:10 UTC](https://discourse.nodered.org/t/need-help-on-msgpayload/29698 "2020-07-08T07:10:46Z")

</div>

Hi, I am a newbie. My data not showing in dashboard gauge as I think the payload is in this format batt\_val: 3.54 How do i change it to send value only? Thank you

---

## [Node-Red need to restart manually](https://discourse.nodered.org/t/node-red-need-to-restart-manually/29662)

<div class="topic-metadata">

**Author:** [@Prizal](https://discourse.nodered.org/u/Prizal)\
**Replies:** 8\
**Last updated:** [8 July 2020 05:07 UTC](https://discourse.nodered.org/t/node-red-need-to-restart-manually/29662 "2020-07-08T05:07:20Z")

</div>

Hello, I have installed nod red. The problem is everytime I log out the nodered seems to be offline. I need to restart each time I log in via node-red command. ~$ node-red 7 Jul 13:22:17 - \[info\] Welcome to Node-RED 7…

---

## [For the mysql node, any way to cache the credentials?](https://discourse.nodered.org/t/for-the-mysql-node-any-way-to-cache-the-credentials/29693)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 0\
**Last updated:** [8 July 2020 04:18 UTC](https://discourse.nodered.org/t/for-the-mysql-node-any-way-to-cache-the-credentials/29693 "2020-07-08T04:18:36Z")

</div>

For the mysql node, any way to cache the credentials in a safe manner? I have some deployment automation, that populates flows file and calls npm as needed. Unfortunately, nodes that cache credentials lose their cached…

---

## [Best way to run a curl command?](https://discourse.nodered.org/t/best-way-to-run-a-curl-command/29594)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 18\
**Last updated:** [8 July 2020 04:14 UTC](https://discourse.nodered.org/t/best-way-to-run-a-curl-command/29594 "2020-07-08T04:14:30Z")

</div>

Guys, I have a CURL command from my Electricity provider to query an API and return (supposedly) as JSON object. I can run this from the command line in Linux and is does return data which i can store into a file. Sim…

---

## ["Error: connect ECONNREFUSED](https://discourse.nodered.org/t/error-connect-econnrefused/29608)

<div class="topic-metadata">

**Author:** [@susiloharjo](https://discourse.nodered.org/u/susiloharjo)\
**Replies:** 11\
**Last updated:** [8 July 2020 04:09 UTC](https://discourse.nodered.org/t/error-connect-econnrefused/29608 "2020-07-08T04:09:20Z")

</div>

I make post request to my api server, post using postman works very well but i can't make post request using node-red, please help need advice msg.headers = {}; msg.headers={ 'Content-Type': 'application/json' };…

---

## [Daily crashes with ELIFECYCLE. Unable to identify offending node](https://discourse.nodered.org/t/daily-crashes-with-elifecycle-unable-to-identify-offending-node/29692)

<div class="topic-metadata">

**Author:** [@Antil](https://discourse.nodered.org/u/Antil)\
**Replies:** 0\
**Last updated:** [8 July 2020 03:46 UTC](https://discourse.nodered.org/t/daily-crashes-with-elifecycle-unable-to-identify-offending-node/29692 "2020-07-08T03:46:59Z")

</div>

I am getting a daily crash where the system restarts but the error log does not identify the offending node as there is no trace dump. Any pointers appreciated on how to find it. npm ERR! errno 1 npm ERR! node-red-docke…

---

## [Setup and close of new function node: Discussion about use cases/extensions](https://discourse.nodered.org/t/setup-and-close-of-new-function-node-discussion-about-use-cases-extensions/29570)

<div class="topic-metadata">

**Author:** [@cinhcet](https://discourse.nodered.org/u/cinhcet)\
**Replies:** 9\
**Last updated:** [7 July 2020 23:41 UTC](https://discourse.nodered.org/t/setup-and-close-of-new-function-node-discussion-about-use-cases-extensions/29570 "2020-07-07T23:41:25Z")

</div>

Hi, Starting with v1.1, the function node now has the setup and close tab. This initially got me very excited. However, when thinking about possible use cases with the current functionality in more detail, I mostly can…

---

## [How to filter the maximum value of the last 24 hours](https://discourse.nodered.org/t/how-to-filter-the-maximum-value-of-the-last-24-hours/29566)

<div class="topic-metadata">

**Author:** [@Flixm](https://discourse.nodered.org/u/Flixm)\
**Replies:** 5\
**Last updated:** [7 July 2020 22:19 UTC](https://discourse.nodered.org/t/how-to-filter-the-maximum-value-of-the-last-24-hours/29566 "2020-07-07T22:19:26Z")

</div>

Hi, i'd like to show the maximum value of the last 24 hours on the dashboard with the ui-level node. The RBE node ist nearly perfect but it only let me filter the greater like XXX or equal to the last value. But i want…

---

## [Light-Scheduler Help](https://discourse.nodered.org/t/light-scheduler-help/29601)

<div class="topic-metadata">

**Author:** [@KC-MO](https://discourse.nodered.org/u/KC-MO)\
**Replies:** 5\
**Last updated:** [7 July 2020 21:34 UTC](https://discourse.nodered.org/t/light-scheduler-help/29601 "2020-07-07T21:34:19Z")

</div>

Hi, I am having some issues getting the node-red-contrib-light-scheduler to work. I believe I have everything set up correctly but the node does not seem to be switching states (it stays "OFF"). I have set the coordina…

---

## [Testing persistent context](https://discourse.nodered.org/t/testing-persistent-context/29679)

<div class="topic-metadata">

**Author:** [@davej](https://discourse.nodered.org/u/davej)\
**Replies:** 7\
**Last updated:** [7 July 2020 20:36 UTC](https://discourse.nodered.org/t/testing-persistent-context/29679 "2020-07-07T20:36:47Z")

</div>

I am trying out Context to save variables across a reboot. It is working fine and I have the timer set at the default 30 seconds. However, as a test, I replaced a value with the identical value and then did a flow.set(…

---

## [How to calculate data in day and month using node-red-contrib-modbus and mysql](https://discourse.nodered.org/t/how-to-calculate-data-in-day-and-month-using-node-red-contrib-modbus-and-mysql/29671)

<div class="topic-metadata">

**Author:** [@sonima](https://discourse.nodered.org/u/sonima)\
**Replies:** 3\
**Last updated:** [7 July 2020 20:26 UTC](https://discourse.nodered.org/t/how-to-calculate-data-in-day-and-month-using-node-red-contrib-modbus-and-mysql/29671 "2020-07-07T20:26:03Z")

</div>

I am working on raspberry pi 3. I am using node-red-contrib-modbus and Mysql for my project. I read my data from Modbus Energy meter by USB RS485 converter. I want calculate Power in every hour, daily, week and month but…

---

## [Roller shutter: Use slider to move up and down](https://discourse.nodered.org/t/roller-shutter-use-slider-to-move-up-and-down/29583)

<div class="topic-metadata">

**Author:** [@Sempel](https://discourse.nodered.org/u/Sempel)\
**Replies:** 18\
**Last updated:** [7 July 2020 19:37 UTC](https://discourse.nodered.org/t/roller-shutter-use-slider-to-move-up-and-down/29583 "2020-07-07T19:37:34Z")

</div>

Hi all, I am a little bit stuck. I would like to use a slider to move my roller shutter without MQTT. I have the right URL which works well, but here is my challenge: The URL in my http-request-node is like: "http://19…

---

## [Node-red-contrib-persist on DietPi : EACCES: permission denied, open '/root/data/persistence.json'](https://discourse.nodered.org/t/node-red-contrib-persist-on-dietpi-eacces-permission-denied-open-root-data-persistence-json/28911)

<div class="topic-metadata">

**Author:** [@devifast](https://discourse.nodered.org/u/devifast)\
**Replies:** 51\
**Last updated:** [7 July 2020 18:43 UTC](https://discourse.nodered.org/t/node-red-contrib-persist-on-dietpi-eacces-permission-denied-open-root-data-persistence-json/28911 "2020-07-07T18:43:34Z")

</div>

Cannot open this file in node red and dietpi. On raspbian stretch everything is ok. Please help. Thanks.

---

## [Combining Sonoff POW R2 and Input Boolean](https://discourse.nodered.org/t/combining-sonoff-pow-r2-and-input-boolean/29663)

<div class="topic-metadata">

**Author:** [@phreaq](https://discourse.nodered.org/u/phreaq)\
**Replies:** 0\
**Last updated:** [7 July 2020 14:08 UTC](https://discourse.nodered.org/t/combining-sonoff-pow-r2-and-input-boolean/29663 "2020-07-07T14:08:09Z")

</div>

I have several Sonoff POW R2s hooked up to various devices that I want to turn on/off as needed. I intend on keeping the R2s turned 'on' all the time, and use it's power value to determine if the controlled device is on …

---

## [Possible bug in v1.1: cannot add nodes with different z properties](https://discourse.nodered.org/t/possible-bug-in-v1-1-cannot-add-nodes-with-different-z-properties/29578)

<div class="topic-metadata">

**Author:** [@PaulKeates1](https://discourse.nodered.org/u/PaulKeates1)\
**Replies:** 3\
**Last updated:** [7 July 2020 13:36 UTC](https://discourse.nodered.org/t/possible-bug-in-v1-1-cannot-add-nodes-with-different-z-properties/29578 "2020-07-07T13:36:46Z")

</div>

Hi, Environment: Win 10. node-red v1.1. node.js 12.16.3. Chrome. I've been using v1.1 extensively for the weekend - moving VERY large automation projects to it. I really love the 'group' functionality - this is a ga…

---

## [SQLITE CONSTRAINT Error](https://discourse.nodered.org/t/sqlite-constraint-error/29649)

<div class="topic-metadata">

**Author:** [@Peter](https://discourse.nodered.org/u/Peter)\
**Replies:** 4\
**Last updated:** [7 July 2020 12:26 UTC](https://discourse.nodered.org/t/sqlite-constraint-error/29649 "2020-07-07T12:26:27Z")

</div>

Good Day Everone, I have an unfamiliar issue that appears out of the blue and I have no reason why. When we have built the flow last night, it all worked fine, and this morning after redstart the flow just seems not to…

---

## [Using join Node and CSV Node](https://discourse.nodered.org/t/using-join-node-and-csv-node/29645)

<div class="topic-metadata">

**Author:** [@Amir](https://discourse.nodered.org/u/Amir)\
**Replies:** 2\
**Last updated:** [7 July 2020 11:51 UTC](https://discourse.nodered.org/t/using-join-node-and-csv-node/29645 "2020-07-07T11:51:09Z")

</div>

Good morning every one, I want to write an .CSV file that contains the data captured from a sensor, i was succeeded to make the csv file when i wanted to store one parameter from the sensor but when i try to collect ot…

---

## [PID Controller for Cooling - Looking for Help](https://discourse.nodered.org/t/pid-controller-for-cooling-looking-for-help/29395)

<div class="topic-metadata">

**Author:** [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Replies:** 24\
**Last updated:** [7 July 2020 11:29 UTC](https://discourse.nodered.org/t/pid-controller-for-cooling-looking-for-help/29395 "2020-07-07T11:29:16Z")

</div>

Hi. I am trying to control a fan depending on the temperature I read from DS18B20. This is the PID node that I am using: I am new to Node-Red, and I don't know about PID controllers. I read the example provided by the…

---

## [Influx DB data collection](https://discourse.nodered.org/t/influx-db-data-collection/29535)

<div class="topic-metadata">

**Author:** [@eontec](https://discourse.nodered.org/u/eontec)\
**Replies:** 16\
**Last updated:** [7 July 2020 11:20 UTC](https://discourse.nodered.org/t/influx-db-data-collection/29535 "2020-07-07T11:20:02Z")

</div>

Hi, I am an electrician and gas installer by trade. I am a complete noob to programing and see that I need to evolve with the times and venturing into the remote monitoring space. I have been able to so far, with the h…

---

## [(Circular) buffer node](https://discourse.nodered.org/t/circular-buffer-node/29639)

<div class="topic-metadata">

**Author:** [@Joris6](https://discourse.nodered.org/u/Joris6)\
**Replies:** 2\
**Last updated:** [7 July 2020 10:25 UTC](https://discourse.nodered.org/t/circular-buffer-node/29639 "2020-07-07T10:25:23Z")

</div>

Has somebody a good hint for me if there is a node that is a (circular) buffer? I've been looking around, but I was personally unable to find one. I need for my project a buffer that stack my msg.payloads and releases on…

---

## [Make FTP server to transfer file directly to Nodered server](https://discourse.nodered.org/t/make-ftp-server-to-transfer-file-directly-to-nodered-server/29636)

<div class="topic-metadata">

**Author:** [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Replies:** 3\
**Last updated:** [7 July 2020 09:51 UTC](https://discourse.nodered.org/t/make-ftp-server-to-transfer-file-directly-to-nodered-server/29636 "2020-07-07T09:51:01Z")

</div>

I want to be able to write directly to a local folder in my nodered server through FTP protocol. Is this possible? If so, I hope someone can guide me how. Our nodered server is hosted in Azure.

---

## [Allocation failed - JavaScript heap out of memory](https://discourse.nodered.org/t/allocation-failed-javascript-heap-out-of-memory/29618)

<div class="topic-metadata">

**Author:** [@JayCee](https://discourse.nodered.org/u/JayCee)\
**Replies:** 2\
**Last updated:** [7 July 2020 08:50 UTC](https://discourse.nodered.org/t/allocation-failed-javascript-heap-out-of-memory/29618 "2020-07-07T08:50:24Z")

</div>

Hello Folks. I have to debug what is going on with my NR. Deployed in container, docker node-red. I was trying many things in parallel, so I don't know what is triggering crash of NR. How can I debug it deeper, which f…

---

## [SamsungTV Flow, help please](https://discourse.nodered.org/t/samsungtv-flow-help-please/12055)

<div class="topic-metadata">

**Author:** [@sucram](https://discourse.nodered.org/u/sucram)\
**Replies:** 7\
**Last updated:** [7 July 2020 08:25 UTC](https://discourse.nodered.org/t/samsungtv-flow-help-please/12055 "2020-07-07T08:25:15Z")

</div>

I hesitate to ask but i have tried for hours to get a samsung tv flow to work, no luck at all. Have tried several contrib-samsungtv / samsungnewtv etc nodes. I wonder if anyone has a flow they might like to share ? I …

---

## [Function to add L and H registers in Modbus](https://discourse.nodered.org/t/function-to-add-l-and-h-registers-in-modbus/29221)

<div class="topic-metadata">

**Author:** [@swanside](https://discourse.nodered.org/u/swanside)\
**Replies:** 8\
**Last updated:** [7 July 2020 06:52 UTC](https://discourse.nodered.org/t/function-to-add-l-and-h-registers-in-modbus/29221 "2020-07-07T06:52:40Z")

</div>

Hi all. I have seen various you tube videos on how it works but I cant figure out how to do it. I have my EP Solar controller and I want to get the values from Charging equipment input power L (3102) and Charging equipm…

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

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