# General

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

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

**Page:** 260

---

## [How to cancel HTTP Request](https://discourse.nodered.org/t/how-to-cancel-http-request/73733)

<div class="topic-metadata">

**Author:** [@ralbright-wa](https://discourse.nodered.org/u/ralbright-wa)\
**Replies:** 4\
**Last updated:** [22 January 2023 08:28 UTC](https://discourse.nodered.org/t/how-to-cancel-http-request/73733 "2023-01-22T08:28:38Z")

</div>

I am using HTTP Request to send aRest commands to some arduinos. These commands initiate a reset of the arduino, however I do not get a response (for obvious reasons) from the Arduino, and so each of the HTTP Requests ev…

---

## [Can't Receive Simple Serial Comm on Raspberry Pi](https://discourse.nodered.org/t/cant-receive-simple-serial-comm-on-raspberry-pi/74026)

<div class="topic-metadata">

**Author:** [@Gump](https://discourse.nodered.org/u/Gump)\
**Replies:** 1\
**Last updated:** [22 January 2023 08:00 UTC](https://discourse.nodered.org/t/cant-receive-simple-serial-comm-on-raspberry-pi/74026 "2023-01-22T08:00:58Z")

</div>

I'm brand new to Node-RED and serial communication setups. I have two Raspberry Pis and I'm attempting to get them to communicate via serial ports. One Pi is using an RS485 CAN HAT, and the other Pi is using a DTech US…

---

## [Trying to access a remote MySQL database](https://discourse.nodered.org/t/trying-to-access-a-remote-mysql-database/17058)

<div class="topic-metadata">

**Author:** [@dynamicdave](https://discourse.nodered.org/u/dynamicdave)\
**Replies:** 6\
**Last updated:** [22 January 2023 07:45 UTC](https://discourse.nodered.org/t/trying-to-access-a-remote-mysql-database/17058 "2023-01-22T07:45:03Z")

</div>

I'm trying to set-up access (for my IoT students) to a remote MySQL database that has been recording readings from our weather station. I've written the NR flow and got everything working from my home using node-red-nod…

---

## [Problem after changing IP address](https://discourse.nodered.org/t/problem-after-changing-ip-address/74031)

<div class="topic-metadata">

**Author:** [@neilsonwheels](https://discourse.nodered.org/u/neilsonwheels)\
**Replies:** 1\
**Last updated:** [22 January 2023 05:27 UTC](https://discourse.nodered.org/t/problem-after-changing-ip-address/74031 "2023-01-22T05:27:53Z")

</div>

I'm running Nodered in a docker instance to automate my Home Assistant devices. I just changed my docker host IP address and I have a few issues. I can log into the Nodered dashboard and see my flows, but there is no c…

---

## [Persist variables - Flowforge](https://discourse.nodered.org/t/persist-variables-flowforge/73829)

<div class="topic-metadata">

**Author:** [@allacmc](https://discourse.nodered.org/u/allacmc)\
**Replies:** 13\
**Last updated:** [22 January 2023 03:13 UTC](https://discourse.nodered.org/t/persist-variables-flowforge/73829 "2023-01-22T03:13:47Z")

</div>

I'm in need of help with flow-forge. When I get the variables like this. flowforge gives an error. Guy Ben said it's a flowforge bug that would be fixed later. How can I get around this problem? in short time. …

---

## [Aqara window contact](https://discourse.nodered.org/t/aqara-window-contact/74001)

<div class="topic-metadata">

**Author:** [@ChrisF](https://discourse.nodered.org/u/ChrisF)\
**Replies:** 2\
**Last updated:** [21 January 2023 21:56 UTC](https://discourse.nodered.org/t/aqara-window-contact/74001 "2023-01-21T21:56:58Z")

</div>

Hello, I have an Arara window contact that sends the following values: I want to display the plant "contact" in debug so that only TRUE or FALSE is displayed or ON or OFF. Can anyone help me with this?

---

## [Remove Marker from Worldmap](https://discourse.nodered.org/t/remove-marker-from-worldmap/73993)

<div class="topic-metadata">

**Author:** [@Zak](https://discourse.nodered.org/u/Zak)\
**Replies:** 7\
**Last updated:** [21 January 2023 21:18 UTC](https://discourse.nodered.org/t/remove-marker-from-worldmap/73993 "2023-01-21T21:18:28Z")

</div>

hi. i am receiving an array of points with lat and lon locations from a database, and i am able to plot them on the worldmap, my problem is the following: 1- my query perform an update using a time interval (every 3 Se…

---

## [Why cant i call Globalvariable in another function?](https://discourse.nodered.org/t/why-cant-i-call-globalvariable-in-another-function/74018)

<div class="topic-metadata">

**Author:** [@rizkiaswangga](https://discourse.nodered.org/u/rizkiaswangga)\
**Replies:** 1\
**Last updated:** [21 January 2023 20:46 UTC](https://discourse.nodered.org/t/why-cant-i-call-globalvariable-in-another-function/74018 "2023-01-21T20:46:29Z")

</div>

Hello everybody..... I'm new to Node-Red and new to the forum, so this is the first time posting on this forum :wink: so, i'm trying to make a Global Variable on "function 4", which the later can be accessed on the "fu…

---

## [Buffer parser support - to get the correct 32bit float value](https://discourse.nodered.org/t/buffer-parser-support-to-get-the-correct-32bit-float-value/74012)

<div class="topic-metadata">

**Author:** [@GuE](https://discourse.nodered.org/u/GuE)\
**Replies:** 3\
**Last updated:** [21 January 2023 15:14 UTC](https://discourse.nodered.org/t/buffer-parser-support-to-get-the-correct-32bit-float-value/74012 "2023-01-21T15:14:32Z")

</div>

Hello. Not able to manage the correct setting for the buffer parser. Reading following addresses from my device: Message from the debug node when I am reading the device. {"topic":"c32e7007f4323d53","messageId":"63…

---

## [Beginner - merge 2 CSV files containing time stamp and temperature to one chart](https://discourse.nodered.org/t/beginner-merge-2-csv-files-containing-time-stamp-and-temperature-to-one-chart/74011)

<div class="topic-metadata">

**Author:** [@Georg](https://discourse.nodered.org/u/Georg)\
**Replies:** 2\
**Last updated:** [21 January 2023 14:53 UTC](https://discourse.nodered.org/t/beginner-merge-2-csv-files-containing-time-stamp-and-temperature-to-one-chart/74011 "2023-01-21T14:53:00Z")

</div>

Hello everybody, I would like to merge the content of 2 CSV files containing time stamp and temperature value in one chart. I'm trying around for several hours now, nothing works. If I try to join the 2 data, just the s…

---

## [How to setup ESP32CAM for measurement capturing?](https://discourse.nodered.org/t/how-to-setup-esp32cam-for-measurement-capturing/71589)

<div class="topic-metadata">

**Author:** [@pie25](https://discourse.nodered.org/u/pie25)\
**Replies:** 5\
**Last updated:** [21 January 2023 13:14 UTC](https://discourse.nodered.org/t/how-to-setup-esp32cam-for-measurement-capturing/71589 "2023-01-21T13:14:27Z")

</div>

Hi everyone. I need some suggestions regarding my project. I want to set up an ESP32CAM to capture images of reading on a fuel station pump and want to display it in the Node-RED dashboard. Is there any suggestion to le…

---

## [Reset status HTTP node](https://discourse.nodered.org/t/reset-status-http-node/73997)

<div class="topic-metadata">

**Author:** [@s1nbad](https://discourse.nodered.org/u/s1nbad)\
**Replies:** 2\
**Last updated:** [21 January 2023 10:28 UTC](https://discourse.nodered.org/t/reset-status-http-node/73997 "2023-01-21T10:28:45Z")

</div>

Is there a way to reset the status of an HTTP node ? After a flow of POST requests if there is an error then this is shown in red under the HTTP node (eg: EHOSTUNREACH) - how to remove ? I have tried sending a blank …

---

## [\`new tab\` button to make new tab BESIDE existing one](https://discourse.nodered.org/t/new-tab-button-to-make-new-tab-beside-existing-one/73999)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 7\
**Last updated:** [21 January 2023 10:23 UTC](https://discourse.nodered.org/t/new-tab-button-to-make-new-tab-beside-existing-one/73999 "2023-01-21T10:23:11Z")

</div>

I am sure I read it somewhere. But where that is/was .... is beyond me. I want to add a new tab but have it appear beside the one that is active. Sorry, but how is that done? (If possible)

---

## [Zigbee2mqtt aqara cube nodered](https://discourse.nodered.org/t/zigbee2mqtt-aqara-cube-nodered/19260)

<div class="topic-metadata">

**Author:** [@berndmoerstedt](https://discourse.nodered.org/u/berndmoerstedt)\
**Replies:** 6\
**Last updated:** [21 January 2023 09:56 UTC](https://discourse.nodered.org/t/zigbee2mqtt-aqara-cube-nodered/19260 "2023-01-21T09:56:44Z")

</div>

Hi, I' a newbie on nodered. I try to switch my aqara-plug through my aqara-cube. Cube and plug are already registered on zigbee2mqtt (raspi). By Alexa-node and mqtt-out I can switch the plug already by voice. These co…

---

## [Action to be triggered when the power consumption is decreasing?](https://discourse.nodered.org/t/action-to-be-triggered-when-the-power-consumption-is-decreasing/73557)

<div class="topic-metadata">

**Author:** [@BernardS](https://discourse.nodered.org/u/BernardS)\
**Replies:** 8\
**Last updated:** [21 January 2023 08:41 UTC](https://discourse.nodered.org/t/action-to-be-triggered-when-the-power-consumption-is-decreasing/73557 "2023-01-21T08:41:32Z")

</div>

Hello Fellow Node Red users, I got a 3D Printer for Xmas, all works fine. I would like to get a notification when the printing is done. For sure, the straight way with Octoprint and the Home assistant it's easy, did a …

---

## [Check if call service was successful](https://discourse.nodered.org/t/check-if-call-service-was-successful/73986)

<div class="topic-metadata">

**Author:** [@Rhysgh](https://discourse.nodered.org/u/Rhysgh)\
**Replies:** 5\
**Last updated:** [20 January 2023 21:20 UTC](https://discourse.nodered.org/t/check-if-call-service-was-successful/73986 "2023-01-20T21:20:42Z")

</div>

Hi I'm looking for recommendations for checking that a call service was successful Yes I can wait 5 min and check the state but I'm looking for a very fast method

---

## [Add an element on the go based on the value of msg.payload](https://discourse.nodered.org/t/add-an-element-on-the-go-based-on-the-value-of-msg-payload/73930)

<div class="topic-metadata">

**Author:** [@vongomben](https://discourse.nodered.org/u/vongomben)\
**Replies:** 3\
**Last updated:** [20 January 2023 19:33 UTC](https://discourse.nodered.org/t/add-an-element-on-the-go-based-on-the-value-of-msg-payload/73930 "2023-01-20T19:33:56Z")

</div>

Hi! Apologies in advance, this may sound a simple question. I would like to now how to create an element of msg.payload (or better, global.payload) based on the value of msg.payload. In other words: I am receiving a …

---

## [How to get environment variables in a custom node](https://discourse.nodered.org/t/how-to-get-environment-variables-in-a-custom-node/73525)

<div class="topic-metadata">

**Author:** [@LeungChunChiu](https://discourse.nodered.org/u/LeungChunChiu)\
**Replies:** 6\
**Last updated:** [20 January 2023 19:09 UTC](https://discourse.nodered.org/t/how-to-get-environment-variables-in-a-custom-node/73525 "2023-01-20T19:09:46Z")

</div>

Hello, I created a custom node, but I don't know how to access environment variables in the custom node pls help, thanks!

---

## [DNS retry on HTTP Request node](https://discourse.nodered.org/t/dns-retry-on-http-request-node/73967)

<div class="topic-metadata">

**Author:** [@rasmus](https://discourse.nodered.org/u/rasmus)\
**Replies:** 2\
**Last updated:** [20 January 2023 17:42 UTC](https://discourse.nodered.org/t/dns-retry-on-http-request-node/73967 "2023-01-20T17:42:38Z")

</div>

Now and then I get intemittent DNS errors resulting in the node throwing an error. Because this is intermittend I have build my own retry flow using catch node etc. This seems a bit bulky for a simple retry functionalit…

---

## [Scaling a RAW input value?](https://discourse.nodered.org/t/scaling-a-raw-input-value/73979)

<div class="topic-metadata">

**Author:** [@damica51](https://discourse.nodered.org/u/damica51)\
**Replies:** 2\
**Last updated:** [20 January 2023 17:01 UTC](https://discourse.nodered.org/t/scaling-a-raw-input-value/73979 "2023-01-20T17:01:28Z")

</div>

I've looked "High" and "Low" on how to get this done but have not found anything. Can someone please suggest a place for me to start. This is what I want to get done. I am reading an Analog Input (4-20ma) sensor my RA…

---

## [How write multi data with i2c](https://discourse.nodered.org/t/how-write-multi-data-with-i2c/73970)

<div class="topic-metadata">

**Author:** [@namexx](https://discourse.nodered.org/u/namexx)\
**Replies:** 1\
**Last updated:** [20 January 2023 15:04 UTC](https://discourse.nodered.org/t/how-write-multi-data-with-i2c/73970 "2023-01-20T15:04:51Z")

</div>

Hi guys! I’m using this node “node-red-contrib-i2c“ But I need write multiples bytes and this node only allow write 1 byte. The message what need send is the next: I Start|Address Write| data byte 0| data byte 1|… |st…

---

## [Node-red-contrib-buffer-parser failed to install](https://discourse.nodered.org/t/node-red-contrib-buffer-parser-failed-to-install/73959)

<div class="topic-metadata">

**Author:** [@ahmedt04](https://discourse.nodered.org/u/ahmedt04)\
**Replies:** 7\
**Last updated:** [20 January 2023 14:03 UTC](https://discourse.nodered.org/t/node-red-contrib-buffer-parser-failed-to-install/73959 "2023-01-20T14:03:26Z")

</div>

Hello. i am having a problem when i try to install node-red-contrib-buffer-parser it gives me installation failed, and I don't understand why, can someone help me. thank you.

---

## [Filter CSV file read stream for specific number, get belonging text](https://discourse.nodered.org/t/filter-csv-file-read-stream-for-specific-number-get-belonging-text/73969)

<div class="topic-metadata">

**Author:** [@markrickenbacher](https://discourse.nodered.org/u/markrickenbacher)\
**Replies:** 0\
**Last updated:** [20 January 2023 14:02 UTC](https://discourse.nodered.org/t/filter-csv-file-read-stream-for-specific-number-get-belonging-text/73969 "2023-01-20T14:02:06Z")

</div>

Im using node red v3.02 I'm reading a cvs file with the cvs node and get the following messages out: As you can see I have several ID's (ErrorCodes) and a corresponding text (ErrorText). I have another Node sending …

---

## [UTC to IST time](https://discourse.nodered.org/t/utc-to-ist-time/73948)

<div class="topic-metadata">

**Author:** [@Jhankhana](https://discourse.nodered.org/u/Jhankhana)\
**Replies:** 2\
**Last updated:** [20 January 2023 14:01 UTC](https://discourse.nodered.org/t/utc-to-ist-time/73948 "2023-01-20T14:01:54Z")

</div>

I want to display Current time according to IST. I have done plus 5 in hours and 30 in min. but It's not the solution as it will do +5 when time is 23 also and +30 when min is already 60. Pleas guide me with this. I am…

---

## [How can I compile and upload a .ino sketch file with Node-RED on a Raspberry PI to an Arduino](https://discourse.nodered.org/t/how-can-i-compile-and-upload-a-ino-sketch-file-with-node-red-on-a-raspberry-pi-to-an-arduino/73962)

<div class="topic-metadata">

**Author:** [@hansb001](https://discourse.nodered.org/u/hansb001)\
**Replies:** 6\
**Last updated:** [20 January 2023 13:38 UTC](https://discourse.nodered.org/t/how-can-i-compile-and-upload-a-ino-sketch-file-with-node-red-on-a-raspberry-pi-to-an-arduino/73962 "2023-01-20T13:38:08Z")

</div>

Hi I saw this topic a few times passing by, but they are rather old and had not really a clear answer. So I am asking again and have some additions. I have an Arduino controlling a simple robot (4 servo's) connect with a…

---

## [Wish for new Nodes](https://discourse.nodered.org/t/wish-for-new-nodes/73858)

<div class="topic-metadata">

**Author:** [@Syr](https://discourse.nodered.org/u/Syr)\
**Replies:** 24\
**Last updated:** [20 January 2023 12:54 UTC](https://discourse.nodered.org/t/wish-for-new-nodes/73858 "2023-01-20T12:54:00Z")

</div>

Hey guys. Firstly, I'd like to thank everyone here to help on this project. I tried to build the very same multiple times and failed, now I found this project and I LOVE IT! Unfortunately, I am not into JS-Programming,…

---

## [Temp from amazon echo (not dot)](https://discourse.nodered.org/t/temp-from-amazon-echo-not-dot/73885)

<div class="topic-metadata">

**Author:** [@Geniom](https://discourse.nodered.org/u/Geniom)\
**Replies:** 2\
**Last updated:** [20 January 2023 11:51 UTC](https://discourse.nodered.org/t/temp-from-amazon-echo-not-dot/73885 "2023-01-20T11:51:23Z")

</div>

Hi, i want read temperature from my amazon echo. I have echo (not dot) with internal temp sensor. I want read this temp without other external sensor. Is possible? Any help? Thanks to all

---

## [Having a problem with getting a http endpoint to work](https://discourse.nodered.org/t/having-a-problem-with-getting-a-http-endpoint-to-work/73949)

<div class="topic-metadata">

**Author:** [@gadget](https://discourse.nodered.org/u/gadget)\
**Replies:** 2\
**Last updated:** [20 January 2023 11:07 UTC](https://discourse.nodered.org/t/having-a-problem-with-getting-a-http-endpoint-to-work/73949 "2023-01-20T11:07:59Z")

</div>

I created a http endpoint using the http in node (GET) with the url endpoint "/test". This works fine when accessed from a browser and returns the correct response via the http response node. (all this basically from the…

---

## [Create a Report from MYSQL](https://discourse.nodered.org/t/create-a-report-from-mysql/73622)

<div class="topic-metadata">

**Author:** [@Shadow20X6](https://discourse.nodered.org/u/Shadow20X6)\
**Replies:** 8\
**Last updated:** [20 January 2023 09:34 UTC](https://discourse.nodered.org/t/create-a-report-from-mysql/73622 "2023-01-20T09:34:52Z")

</div>

Hello all. I have a test MYSQL server that I use Node Red to Format CSVs I generate from my programs before it uploads to the database. I'm interested in a method of generating PDF Reports partially based on this data. …

---

## [MySQL node, how to capitalize (only) the first letter of value when inserting?](https://discourse.nodered.org/t/mysql-node-how-to-capitalize-only-the-first-letter-of-value-when-inserting/73942)

<div class="topic-metadata">

**Author:** [@network\_potato](https://discourse.nodered.org/u/network_potato)\
**Replies:** 1\
**Last updated:** [20 January 2023 08:59 UTC](https://discourse.nodered.org/t/mysql-node-how-to-capitalize-only-the-first-letter-of-value-when-inserting/73942 "2023-01-20T08:59:20Z")

</div>

I am using node-red-node-mysql to insert a row into a table in a database. The function looks like this and works perfectly: msg.payload = \[msg.customerNumber, msg.orderNumber, msg.orderDate, msg.firstName\] msg.topic …

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

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