# General

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

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

**Page:** 499

---

## [How to track a node-red variable trend on a browser](https://discourse.nodered.org/t/how-to-track-a-node-red-variable-trend-on-a-browser/50661)

<div class="topic-metadata">

**Author:** [@Westwood](https://discourse.nodered.org/u/Westwood)\
**Replies:** 4\
**Last updated:** [7 September 2021 09:51 UTC](https://discourse.nodered.org/t/how-to-track-a-node-red-variable-trend-on-a-browser/50661 "2021-09-07T09:51:44Z")

</div>

I am new at node-red. I want to track my variable outside of node-red dashboard as a trend. My question is that is there a free web service that I can track my variable on a browser?

---

## [Update broke MySQL, old versions of Node-red-nodes have been removed. Why and where are they?](https://discourse.nodered.org/t/update-broke-mysql-old-versions-of-node-red-nodes-have-been-removed-why-and-where-are-they/50688)

<div class="topic-metadata">

**Author:** [@thebaldgeek](https://discourse.nodered.org/u/thebaldgeek)\
**Replies:** 31\
**Last updated:** [7 September 2021 09:11 UTC](https://discourse.nodered.org/t/update-broke-mysql-old-versions-of-node-red-nodes-have-been-removed-why-and-where-are-they/50688 "2021-09-07T09:11:45Z")

</div>

I run a global aircraft tracking website that gets around 90,000 hits a day. Its all built on Node-RED. Some months back I did an update around the 1.3.0 point and it broke all my MySQL insert statements. At that time …

---

## [How do I find my IP address to use node-red on Windows?](https://discourse.nodered.org/t/how-do-i-find-my-ip-address-to-use-node-red-on-windows/50694)

<div class="topic-metadata">

**Author:** [@djdarwin7](https://discourse.nodered.org/u/djdarwin7)\
**Replies:** 6\
**Last updated:** [7 September 2021 08:49 UTC](https://discourse.nodered.org/t/how-do-i-find-my-ip-address-to-use-node-red-on-windows/50694 "2021-09-07T08:49:33Z")

</div>

I just finished installed Node-RED on Windows, and tried the flow but now I want to use it from another computer, unfortunately, I can't access the flow. do I have to work on the programming to be able to share the flow …

---

## [Node Red lost connection after running properly for more than an hour](https://discourse.nodered.org/t/node-red-lost-connection-after-running-properly-for-more-than-an-hour/50244)

<div class="topic-metadata">

**Author:** [@DipikaSamanta](https://discourse.nodered.org/u/DipikaSamanta)\
**Replies:** 10\
**Last updated:** [7 September 2021 08:03 UTC](https://discourse.nodered.org/t/node-red-lost-connection-after-running-properly-for-more-than-an-hour/50244 "2021-09-07T08:03:23Z")

</div>

Hello all I have deployed the node red and was successfully able to get the desired outcome from the flows. Node red runs properly for few hours and then it get crashed, as I get the msg of lost connection. This happe…

---

## [Listen to all sub-messages on a MQTT path](https://discourse.nodered.org/t/listen-to-all-sub-messages-on-a-mqtt-path/50697)

<div class="topic-metadata">

**Author:** [@novski](https://discourse.nodered.org/u/novski)\
**Replies:** 3\
**Last updated:** [7 September 2021 08:01 UTC](https://discourse.nodered.org/t/listen-to-all-sub-messages-on-a-mqtt-path/50697 "2021-09-07T08:01:03Z")

</div>

Im wondering if it is possible to set up an MQTT-in node to listen to a root string url, passing all subsequent actions. sample: If i setup my MQTT path as: /level\_1/room\_1/lights/ceiling and configure my MQTT-in node …

---

## [How to control 12v dc motor (peristaltic pump) using function](https://discourse.nodered.org/t/how-to-control-12v-dc-motor-peristaltic-pump-using-function/50141)

<div class="topic-metadata">

**Author:** [@Ghoond](https://discourse.nodered.org/u/Ghoond)\
**Replies:** 16\
**Last updated:** [7 September 2021 06:44 UTC](https://discourse.nodered.org/t/how-to-control-12v-dc-motor-peristaltic-pump-using-function/50141 "2021-09-07T06:44:36Z")

</div>

Hello node-red community, i'm new to node-red here, and i'm still learning. I'm working my project for my final exam. So im building a device that can control ph and tds of the water, i'm already can control the sensor a…

---

## [Restart flow on disconnected modbus on a truenas machine](https://discourse.nodered.org/t/restart-flow-on-disconnected-modbus-on-a-truenas-machine/50472)

<div class="topic-metadata">

**Author:** [@PPz](https://discourse.nodered.org/u/PPz)\
**Replies:** 3\
**Last updated:** [7 September 2021 03:56 UTC](https://discourse.nodered.org/t/restart-flow-on-disconnected-modbus-on-a-truenas-machine/50472 "2021-09-07T03:56:31Z")

</div>

How can I restart my flow if my connected modbus poll has disconnected, whatever the error ? Sounds basic enough but I don't know how to handle this. I need just a simple way to process this: an error (or a disconnectio…

---

## [A harmless function node deletes all my flows and I have no idea why](https://discourse.nodered.org/t/a-harmless-function-node-deletes-all-my-flows-and-i-have-no-idea-why/49936)

<div class="topic-metadata">

**Author:** [@murraybrandon](https://discourse.nodered.org/u/murraybrandon)\
**Replies:** 4\
**Last updated:** [7 September 2021 01:45 UTC](https://discourse.nodered.org/t/a-harmless-function-node-deletes-all-my-flows-and-i-have-no-idea-why/49936 "2021-09-07T01:45:23Z")

</div>

Hi folks, I've been playing around with trying to get a cool bluetooth Divoom pixel display working to show visual and fun animated statuses. In order to pre-format the data going to the display I am using a third part…

---

## [Is it possible to open a Youtube link with IRCC code?](https://discourse.nodered.org/t/is-it-possible-to-open-a-youtube-link-with-ircc-code/50689)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 0\
**Last updated:** [6 September 2021 21:43 UTC](https://discourse.nodered.org/t/is-it-possible-to-open-a-youtube-link-with-ircc-code/50689 "2021-09-06T21:43:02Z")

</div>

Hi! I hope it's possible to ask here/look for somebody who mayb knows about this, if not please forgive me and delete this topic. My goal is to start a youtube fireplace video on Sony Bravia TV, to add it on my home sc…

---

## [Nodered electron white screen](https://discourse.nodered.org/t/nodered-electron-white-screen/50676)

<div class="topic-metadata">

**Author:** [@PiMo131](https://discourse.nodered.org/u/PiMo131)\
**Replies:** 1\
**Last updated:** [6 September 2021 19:45 UTC](https://discourse.nodered.org/t/nodered-electron-white-screen/50676 "2021-09-06T19:45:33Z")

</div>

I have made a Electron build using https://github.com/dceejay/electron-node-red. But when executing the .msi first the screen keeps showing "Loading NODE-RED press alt to see menu-bar" When I press ALT and go to dashboa…

---

## [Function node min value](https://discourse.nodered.org/t/function-node-min-value/50671)

<div class="topic-metadata">

**Author:** [@dowermyr](https://discourse.nodered.org/u/dowermyr)\
**Replies:** 11\
**Last updated:** [6 September 2021 18:37 UTC](https://discourse.nodered.org/t/function-node-min-value/50671 "2021-09-06T18:37:42Z")

</div>

Hi! Can someone help med with a function node to extract the total value in these two arrays and find the minimum value of these?

---

## [Basic TCP question - server sending message to client](https://discourse.nodered.org/t/basic-tcp-question-server-sending-message-to-client/50681)

<div class="topic-metadata">

**Author:** [@rt54321](https://discourse.nodered.org/u/rt54321)\
**Replies:** 1\
**Last updated:** [6 September 2021 17:24 UTC](https://discourse.nodered.org/t/basic-tcp-question-server-sending-message-to-client/50681 "2021-09-06T17:24:35Z")

</div>

Greetings All! I have a working example up and running, using an ESP32 as a TCP client connected with a TCP server node in node red (running on a raspberry pi). The client sends basic messages to the server, and I can …

---

## [World-map incon disapears when changing page](https://discourse.nodered.org/t/world-map-incon-disapears-when-changing-page/50674)

<div class="topic-metadata">

**Author:** [@AirsoftSystem90](https://discourse.nodered.org/u/AirsoftSystem90)\
**Replies:** 3\
**Last updated:** [6 September 2021 13:57 UTC](https://discourse.nodered.org/t/world-map-incon-disapears-when-changing-page/50674 "2021-09-06T13:57:29Z")

</div>

Hi, I could need some help with the node-red-contrib-web-worldmap 2.15.5. I am a bit novice in node-red but im trying as hard as i can so bare with me :slight\_smile: I have managed to setup a map with some icons that i …

---

## [Problem opening file written by write node](https://discourse.nodered.org/t/problem-opening-file-written-by-write-node/50636)

<div class="topic-metadata">

**Author:** [@mczakk](https://discourse.nodered.org/u/mczakk)\
**Replies:** 6\
**Last updated:** [6 September 2021 12:48 UTC](https://discourse.nodered.org/t/problem-opening-file-written-by-write-node/50636 "2021-09-06T12:48:11Z")

</div>

I'm putting this here as I'm not sure where else it would go! I have three flows that each write to their own .txt file. two of the flows I can open in the text editor on my raspberry pi, but when opening the third it …

---

## [Receive any message that the user writes in Telegram](https://discourse.nodered.org/t/receive-any-message-that-the-user-writes-in-telegram/50447)

<div class="topic-metadata">

**Author:** [@achrafb](https://discourse.nodered.org/u/achrafb)\
**Replies:** 6\
**Last updated:** [6 September 2021 12:46 UTC](https://discourse.nodered.org/t/receive-any-message-that-the-user-writes-in-telegram/50447 "2021-09-06T12:46:41Z")

</div>

Good afternoon, I am making a telegram message system with the nodes (node-red-contrib-telegrambot-home) because it has the part of displaying options (telegrambot-switch) and I like it a lot since it facilitates the int…

---

## [Function node doesn't return msg on Start](https://discourse.nodered.org/t/function-node-doesnt-return-msg-on-start/50644)

<div class="topic-metadata">

**Author:** [@GiovanniG](https://discourse.nodered.org/u/GiovanniG)\
**Replies:** 5\
**Last updated:** [6 September 2021 12:24 UTC](https://discourse.nodered.org/t/function-node-doesnt-return-msg-on-start/50644 "2021-09-06T12:24:12Z")

</div>

Hi, I'm testing a simply flow: \[{"id":"7de8e2b7.8f26f4","type":"inject","z":"781f6239.1ae304","name":"","props":\[{"p":"payload"},{"p":"topic","vt":"str"}\],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":""…

---

## [Node-red-contrib-sun-position author](https://discourse.nodered.org/t/node-red-contrib-sun-position-author/19412)

<div class="topic-metadata">

**Author:** [@gerry](https://discourse.nodered.org/u/gerry)\
**Replies:** 2\
**Last updated:** [6 September 2021 08:44 UTC](https://discourse.nodered.org/t/node-red-contrib-sun-position-author/19412 "2021-09-06T08:44:36Z")

</div>

Looking for the author of this node to ask if it is possible to set the start-time and end-time programmatically in the within-time node. Combed his tutorials and played a bit with the node but haven't gotten a definitiv…

---

## [Converting CSV to mysql causes error with blank csv columns](https://discourse.nodered.org/t/converting-csv-to-mysql-causes-error-with-blank-csv-columns/50632)

<div class="topic-metadata">

**Author:** [@HarryPottar](https://discourse.nodered.org/u/HarryPottar)\
**Replies:** 2\
**Last updated:** [6 September 2021 02:10 UTC](https://discourse.nodered.org/t/converting-csv-to-mysql-causes-error-with-blank-csv-columns/50632 "2021-09-06T02:10:54Z")

</div>

I know this is an old thread, but it has helped me a lot. I have a large csv file, reading it in and writing to MySQL. The flow posted works except when I get to empty values, if I don’t set include empty values in csv…

---

## [ADS1115 extract voltage value](https://discourse.nodered.org/t/ads1115-extract-voltage-value/50651)

<div class="topic-metadata">

**Author:** [@RackBoy](https://discourse.nodered.org/u/RackBoy)\
**Replies:** 1\
**Last updated:** [6 September 2021 00:11 UTC](https://discourse.nodered.org/t/ads1115-extract-voltage-value/50651 "2021-09-06T00:11:12Z")

</div>

I've been trying to get the voltage value to show it in a gauge but I can't. I've put the change node but it didn´t work. This is what it shows: {"voltage":2.8600872829371013,"channel":\["A0-GND"\],"I2C":\["ADDRESS\_0x48"\],…

---

## [I make a downtime timer. it operates similarly to stopwatch. but the problem is i cant display the timer in hour:minute:seconds . after 60sec it continues to 61 instead 1:01. can anyone help me?](https://discourse.nodered.org/t/i-make-a-downtime-timer-it-operates-similarly-to-stopwatch-but-the-problem-is-i-cant-display-the-timer-in-hourseconds-after-60sec-it-continues-to-61-instead-1-01-can-anyone-help-me/50366)

<div class="topic-metadata">

**Author:** [@xpqrs97](https://discourse.nodered.org/u/xpqrs97)\
**Replies:** 3\
**Last updated:** [6 September 2021 00:05 UTC](https://discourse.nodered.org/t/i-make-a-downtime-timer-it-operates-similarly-to-stopwatch-but-the-problem-is-i-cant-display-the-timer-in-hourseconds-after-60sec-it-continues-to-61-instead-1-01-can-anyone-help-me/50366 "2021-09-06T00:05:58Z")

</div>

---

## [Text to msg.payload to inject in influxdb](https://discourse.nodered.org/t/text-to-msg-payload-to-inject-in-influxdb/50353)

<div class="topic-metadata">

**Author:** [@NicuBioc](https://discourse.nodered.org/u/NicuBioc)\
**Replies:** 2\
**Last updated:** [5 September 2021 19:41 UTC](https://discourse.nodered.org/t/text-to-msg-payload-to-inject-in-influxdb/50353 "2021-09-05T19:41:58Z")

</div>

bmsjk.txt (3.6 KB) hallo, I am very new in node ...and I don't now how ? I wont to inject this file in influxdb via node red. any suggestion we apreciate. Rgd Nicu

---

## [Telegram Response Payload](https://discourse.nodered.org/t/telegram-response-payload/50631)

<div class="topic-metadata">

**Author:** [@NooBAsTiK](https://discourse.nodered.org/u/NooBAsTiK)\
**Replies:** 9\
**Last updated:** [5 September 2021 17:08 UTC](https://discourse.nodered.org/t/telegram-response-payload/50631 "2021-09-05T17:08:30Z")

</div>

Good afternoon, everyone! I use code-red-contrib-telegrambot, I can't understand how to determine the payload for a specific request. The answer comes only YES or NO. But it is not clear to what request. How do I determ…

---

## [Stream audio between 2 node red sessions](https://discourse.nodered.org/t/stream-audio-between-2-node-red-sessions/50621)

<div class="topic-metadata">

**Author:** [@bierre2000](https://discourse.nodered.org/u/bierre2000)\
**Replies:** 3\
**Last updated:** [5 September 2021 14:35 UTC](https://discourse.nodered.org/t/stream-audio-between-2-node-red-sessions/50621 "2021-09-05T14:35:15Z")

</div>

Hi I have 2 node-red sessions running on 2 different raspberry RPI1 has a USB microphone RPI2 has speakers Any suggestion on how to stream sound from RPI1 to RPI2 ? Cheers Pierre

---

## [Alarm in case of error notification mail from device thru raspberry pi](https://discourse.nodered.org/t/alarm-in-case-of-error-notification-mail-from-device-thru-raspberry-pi/50015)

<div class="topic-metadata">

**Author:** [@hiteshpopli](https://discourse.nodered.org/u/hiteshpopli)\
**Replies:** 7\
**Last updated:** [5 September 2021 14:27 UTC](https://discourse.nodered.org/t/alarm-in-case-of-error-notification-mail-from-device-thru-raspberry-pi/50015 "2021-09-05T14:27:01Z")

</div>

hi .. anybody can help me?.. i want to generate alarm in case of error notification from mail.

---

## [Javascript function block help](https://discourse.nodered.org/t/javascript-function-block-help/50618)

<div class="topic-metadata">

**Author:** [@bbartling](https://discourse.nodered.org/u/bbartling)\
**Replies:** 5\
**Last updated:** [5 September 2021 12:26 UTC](https://discourse.nodered.org/t/javascript-function-block-help/50618 "2021-09-05T12:26:05Z")

</div>

Would someone have a tip for how to change a msg.payload? For example the msg.payload going into the function block is Boolean True or False. Can I modify the payload to something different? var payload = msg.payload …

---

## [JSONATA - Lookup data in a change node?](https://discourse.nodered.org/t/jsonata-lookup-data-in-a-change-node/50614)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 1\
**Last updated:** [4 September 2021 17:34 UTC](https://discourse.nodered.org/t/jsonata-lookup-data-in-a-change-node/50614 "2021-09-04T17:34:09Z")

</div>

Guys, My inverter sends in a heap of data which i am parsing with the Buffer Parser node - one of those variables is battery mode - which comes in as a number - mode 1 = charging, mode 2 = discharging I am currently us…

---

## [Node-red-contrib-google-smarthome](https://discourse.nodered.org/t/node-red-contrib-google-smarthome/47408)

<div class="topic-metadata">

**Author:** [@Paul-Reed](https://discourse.nodered.org/u/Paul-Reed)\
**Replies:** 8\
**Last updated:** [5 September 2021 10:10 UTC](https://discourse.nodered.org/t/node-red-contrib-google-smarthome/47408 "2021-09-05T10:10:19Z")

</div>

For information, the node-red-contrib-google-smarthome node is likely to be updated shortly. Currently, the node credentials are saved in the flow itself (which are exposed if you export a flow), and the change will ens…

---

## [Virtual comport](https://discourse.nodered.org/t/virtual-comport/50625)

<div class="topic-metadata">

**Author:** [@PiMo131](https://discourse.nodered.org/u/PiMo131)\
**Replies:** 2\
**Last updated:** [5 September 2021 10:04 UTC](https://discourse.nodered.org/t/virtual-comport/50625 "2021-09-05T10:04:06Z")

</div>

Hi, I want to make a simulator for a serial device. When using node-red i can use the serial out node. But it is used to send information to an existing com or virtual com port. Is there a way to make a virtual compor…

---

## [Memory issues processing and writing a large file](https://discourse.nodered.org/t/memory-issues-processing-and-writing-a-large-file/17356)

<div class="topic-metadata">

**Author:** [@eoliverio](https://discourse.nodered.org/u/eoliverio)\
**Replies:** 4\
**Last updated:** [31 October 2019 15:39 UTC](https://discourse.nodered.org/t/memory-issues-processing-and-writing-a-large-file/17356 "2019-10-31T15:39:13Z")

</div>

I'm trying to traverse through a large CSV file. Each line, I do some data remodelling and convert it to XML format. Lastly, I save all of it into an XML file. In my actual implementation, the resulting remodelled XML…

---

## [Want to run if/then actions based upon MQTT humidity level sensor](https://discourse.nodered.org/t/want-to-run-if-then-actions-based-upon-mqtt-humidity-level-sensor/50299)

<div class="topic-metadata">

**Author:** [@reverendalc](https://discourse.nodered.org/u/reverendalc)\
**Replies:** 28\
**Last updated:** [4 September 2021 19:47 UTC](https://discourse.nodered.org/t/want-to-run-if-then-actions-based-upon-mqtt-humidity-level-sensor/50299 "2021-09-04T19:47:44Z")

</div>

I've just set up my first (tasmota based) hygrometer, and it's working great. When I query the sensor I get this: {"StatusSNS":{"Time":"2021-08-27T21:55:38","AM2301":{"Temperature":24.1,"Humidity":52.6,"DewPoint":13.8}…

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

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