# General

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

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

**Page:** 524

---

## [How to connect to Node red?](https://discourse.nodered.org/t/how-to-connect-to-node-red/48341)

<div class="topic-metadata">

**Author:** [@jlian168](https://discourse.nodered.org/u/jlian168)\
**Replies:** 6\
**Last updated:** [14 July 2021 09:57 UTC](https://discourse.nodered.org/t/how-to-connect-to-node-red/48341 "2021-07-14T09:57:28Z")

</div>

Dear All : After I clean chrome history and cookie...That cant connect to 127.0.0.1:1883 but dos command is show 127.0.0.1:1883 What happened? Thank u.

---

## [Value wrong interpreted](https://discourse.nodered.org/t/value-wrong-interpreted/48345)

<div class="topic-metadata">

**Author:** [@digidax](https://discourse.nodered.org/u/digidax)\
**Replies:** 12\
**Last updated:** [14 July 2021 08:27 UTC](https://discourse.nodered.org/t/value-wrong-interpreted/48345 "2021-07-14T08:27:46Z")

</div>

Hi, I use a simple function: if (msg.payload \< 300) { msg.payload = 3 } else { // nothing } if (msg.payload \> 500) { msg.payload = 0 } I have monitored the value of the msg.payload: The higher graph is the …

---

## [How to use the node prometheus](https://discourse.nodered.org/t/how-to-use-the-node-prometheus/48390)

<div class="topic-metadata">

**Author:** [@lei1](https://discourse.nodered.org/u/lei1)\
**Replies:** 0\
**Last updated:** [14 July 2021 08:17 UTC](https://discourse.nodered.org/t/how-to-use-the-node-prometheus/48390 "2021-07-14T08:17:26Z")

</div>

I used an http request to get the data fetched by node-exporter and then imported it into this prometheus node, but I don't know how to use this node, and I can't get started after checking the documentation

---

## [RPi4 - Modbus performance question](https://discourse.nodered.org/t/rpi4-modbus-performance-question/47316)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 5\
**Last updated:** [14 July 2021 06:54 UTC](https://discourse.nodered.org/t/rpi4-modbus-performance-question/47316 "2021-07-14T06:54:42Z")

</div>

Hey Guys, I am about to get some new solar inverters and one of things that they want is to have their own 3 phase energy meters (each of them so i will end up with 3 x 3 phase meters) Someone has hacked the modbus pro…

---

## [How To get Variable name as value then store in in mysql dataabse](https://discourse.nodered.org/t/how-to-get-variable-name-as-value-then-store-in-in-mysql-dataabse/48229)

<div class="topic-metadata">

**Author:** [@muhammad\_mikail\_j](https://discourse.nodered.org/u/muhammad_mikail_j)\
**Replies:** 2\
**Last updated:** [14 July 2021 05:36 UTC](https://discourse.nodered.org/t/how-to-get-variable-name-as-value-then-store-in-in-mysql-dataabse/48229 "2021-07-14T05:36:55Z")

</div>

Hi All, Nice to connect with people in this forum. I would like to make data logger with flow below, PLC (Data source) -\> Node-Red -\> MySql database. I have store value to database with function below : msg.topic = …

---

## [Some suggestions that will can help reading visually the flow](https://discourse.nodered.org/t/some-suggestions-that-will-can-help-reading-visually-the-flow/48334)

<div class="topic-metadata">

**Author:** [@nored](https://discourse.nodered.org/u/nored)\
**Replies:** 4\
**Last updated:** [13 July 2021 21:01 UTC](https://discourse.nodered.org/t/some-suggestions-that-will-can-help-reading-visually-the-flow/48334 "2021-07-13T21:01:32Z")

</div>

Hi i just have some suggestions, if its possible to add other point on top and buttom to wire the nodes , this will help getting nodes vertical also, which in my opinion will be more visually helpfull because it get me…

---

## [Using flow variable in change node to set HTTP request URL](https://discourse.nodered.org/t/using-flow-variable-in-change-node-to-set-http-request-url/48378)

<div class="topic-metadata">

**Author:** [@Nathan](https://discourse.nodered.org/u/Nathan)\
**Replies:** 10\
**Last updated:** [13 July 2021 20:36 UTC](https://discourse.nodered.org/t/using-flow-variable-in-change-node-to-set-http-request-url/48378 "2021-07-13T20:36:02Z")

</div>

Hi there, I'm trying to set a URL dynamically by: Setting a flow variable in a function: flow.set(sendURL,"https://myURL.com/api/"); Accessing the variable in the Change node: Set msg.url to flow.myVar Passing that …

---

## [JavaScript Editor Font Size](https://discourse.nodered.org/t/javascript-editor-font-size/48380)

<div class="topic-metadata">

**Author:** [@ryan1998](https://discourse.nodered.org/u/ryan1998)\
**Replies:** 1\
**Last updated:** [13 July 2021 19:58 UTC](https://discourse.nodered.org/t/javascript-editor-font-size/48380 "2021-07-13T19:58:54Z")

</div>

It would be great if it were possible to increase the font size in the JavaScript editor. Any help would be appreciated.

---

## [Updating dashboard on a raspi zero](https://discourse.nodered.org/t/updating-dashboard-on-a-raspi-zero/48367)

<div class="topic-metadata">

**Author:** [@alexander77](https://discourse.nodered.org/u/alexander77)\
**Replies:** 5\
**Last updated:** [13 July 2021 18:32 UTC](https://discourse.nodered.org/t/updating-dashboard-on-a-raspi-zero/48367 "2021-07-13T18:32:04Z")

</div>

It fails with the following message: 2021-07-13T13:44:18.530Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-dashboard@2.30.0 2021-07-13T13:44:51.546Z \[err\] npm 2021…

---

## [Mysql query set correct table name without ''](https://discourse.nodered.org/t/mysql-query-set-correct-table-name-without/48355)

<div class="topic-metadata">

**Author:** [@ketpa](https://discourse.nodered.org/u/ketpa)\
**Replies:** 2\
**Last updated:** [13 July 2021 15:26 UTC](https://discourse.nodered.org/t/mysql-query-set-correct-table-name-without/48355 "2021-07-13T15:26:29Z")

</div>

I want update mysql table Inside function: msg.payload = \['harm', 'day', 'val', 1\]; msg.topic="UPDATE ? SET day=?,val=? WHERE id=?" ; return msg; How to put string 'harm' like harm not 'harm' because it cause probl…

---

## [Developing a business application in Node-Red](https://discourse.nodered.org/t/developing-a-business-application-in-node-red/48360)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 0\
**Last updated:** [13 July 2021 13:38 UTC](https://discourse.nodered.org/t/developing-a-business-application-in-node-red/48360 "2021-07-13T13:38:22Z")

</div>

I am not doing software development as a profession. It was a long time I used any generic framework and time to learn something new is few and far between. Still, I was thinking if developing a business application in …

---

## [Error while using FTP from Node RED and Filezilla](https://discourse.nodered.org/t/error-while-using-ftp-from-node-red-and-filezilla/48210)

<div class="topic-metadata">

**Author:** [@KrishnanRavichandran](https://discourse.nodered.org/u/KrishnanRavichandran)\
**Replies:** 23\
**Last updated:** [13 July 2021 12:09 UTC](https://discourse.nodered.org/t/error-while-using-ftp-from-node-red-and-filezilla/48210 "2021-07-13T12:09:21Z")

</div>

I am trying to send some Files from a remote site using the FTP and accessing it through the Filezilla. I have a strange issue: Initially I had 4 files as a csv data sent and it was working fine. But, later I added som…

---

## [Bme280 Node only two decimal places](https://discourse.nodered.org/t/bme280-node-only-two-decimal-places/47891)

<div class="topic-metadata">

**Author:** [@KirchnerAlex](https://discourse.nodered.org/u/KirchnerAlex)\
**Replies:** 13\
**Last updated:** [13 July 2021 11:51 UTC](https://discourse.nodered.org/t/bme280-node-only-two-decimal-places/47891 "2021-07-13T11:51:49Z")

</div>

I use the node node-red-contrib-bme280. The temperature is output with two decimal places only. Where can I change that the full value, so all decimal places are output? I can't find it in the code. Can someone help me? …

---

## [Compare payload value to last received payload](https://discourse.nodered.org/t/compare-payload-value-to-last-received-payload/48351)

<div class="topic-metadata">

**Author:** [@JoshuaG](https://discourse.nodered.org/u/JoshuaG)\
**Replies:** 6\
**Last updated:** [13 July 2021 11:00 UTC](https://discourse.nodered.org/t/compare-payload-value-to-last-received-payload/48351 "2021-07-13T11:00:26Z")

</div>

I receive a payload value that rises every second, after a while it'll stop for a moment and reset to 0 again. What I want to do is capture that max value. I'm struggling to hold onto the last value to compare it again…

---

## [Node red ncd-red-mcp23008 fails install](https://discourse.nodered.org/t/node-red-ncd-red-mcp23008-fails-install/48269)

<div class="topic-metadata">

**Author:** [@Rob](https://discourse.nodered.org/u/Rob)\
**Replies:** 18\
**Last updated:** [13 July 2021 09:44 UTC](https://discourse.nodered.org/t/node-red-ncd-red-mcp23008-fails-install/48269 "2021-07-13T09:44:08Z")

</div>

Hi all, I'm trying to install this node but it's failing and I don't see the reason....anyone smarter than me is seeing it? If so, THANKS!!!!! Here is the log: 2021-07-11T14:06:21.014Z npm install --no-audit --no-upd…

---

## [Light on by opening the door](https://discourse.nodered.org/t/light-on-by-opening-the-door/48060)

<div class="topic-metadata">

**Author:** [@Wurmi](https://discourse.nodered.org/u/Wurmi)\
**Replies:** 16\
**Last updated:** [13 July 2021 07:57 UTC](https://discourse.nodered.org/t/light-on-by-opening-the-door/48060 "2021-07-13T07:57:22Z")

</div>

I have a little logic problem. I want to turn on the light, when someone is opening the door. On the busmonitor i receive the msg from the binary input, if the door is open. In Node-red i get also a true on the debu…

---

## [Set dynamic password for MSSQL node](https://discourse.nodered.org/t/set-dynamic-password-for-mssql-node/48082)

<div class="topic-metadata">

**Author:** [@sathishkumarc14](https://discourse.nodered.org/u/sathishkumarc14)\
**Replies:** 3\
**Last updated:** [13 July 2021 06:08 UTC](https://discourse.nodered.org/t/set-dynamic-password-for-mssql-node/48082 "2021-07-13T06:08:40Z")

</div>

How to set dynamic user name and password for MSSQL PLUS CN NODE? Is there any possibility? Whenever new deployment happens, we have to update the user name and password for database node.

---

## [Where did my palette go? (How to get it back)](https://discourse.nodered.org/t/where-did-my-palette-go-how-to-get-it-back/48340)

<div class="topic-metadata">

**Author:** [@SoggyGeek](https://discourse.nodered.org/u/SoggyGeek)\
**Replies:** 3\
**Last updated:** [13 July 2021 02:09 UTC](https://discourse.nodered.org/t/where-did-my-palette-go-how-to-get-it-back/48340 "2021-07-13T02:09:02Z")

</div>

Have been using Node Red for awhile. Not a total noob. But can't figure this out. Normally, the palette where you select a new node for your flow, is along the left edge of the node-red flows screen. I was using a lap…

---

## [How to use the Aedes MQTT broker?](https://discourse.nodered.org/t/how-to-use-the-aedes-mqtt-broker/48201)

<div class="topic-metadata">

**Author:** [@jktan](https://discourse.nodered.org/u/jktan)\
**Replies:** 37\
**Last updated:** [13 July 2021 00:43 UTC](https://discourse.nodered.org/t/how-to-use-the-aedes-mqtt-broker/48201 "2021-07-13T00:43:24Z")

</div>

How does one use the Aedes MQTT broker node with the MQTT-out node? I have googled and found a few pages which basically show the Aedes node just standing alone or linked to a Debug node. Have done this, but my measurem…

---

## [Can't get req/res Info after onvif node call](https://discourse.nodered.org/t/cant-get-req-res-info-after-onvif-node-call/48327)

<div class="topic-metadata">

**Author:** [@jamessantoya26](https://discourse.nodered.org/u/jamessantoya26)\
**Replies:** 7\
**Last updated:** [12 July 2021 22:03 UTC](https://discourse.nodered.org/t/cant-get-req-res-info-after-onvif-node-call/48327 "2021-07-12T22:03:47Z")

</div>

Hi guys, I am trying to resolve the request call that I make in node-red, and I am executing the onvif-discovery call to get information from the cameras, but when the node responds, the request information does not exi…

---

## [How to disgard NaN messages](https://discourse.nodered.org/t/how-to-disgard-nan-messages/48329)

<div class="topic-metadata">

**Author:** [@MaxSchaaper](https://discourse.nodered.org/u/MaxSchaaper)\
**Replies:** 5\
**Last updated:** [12 July 2021 20:45 UTC](https://discourse.nodered.org/t/how-to-disgard-nan-messages/48329 "2021-07-12T20:45:33Z")

</div>

A readout of my energy Smart meter gives me different values. Sometimes it gives a NaN value and sometimes the real value of the Gas-meter. How do I change my fow to disguard the NaN values and only let the real values p…

---

## [How to tackle this one](https://discourse.nodered.org/t/how-to-tackle-this-one/48031)

<div class="topic-metadata">

**Author:** [@craigcurtin](https://discourse.nodered.org/u/craigcurtin)\
**Replies:** 23\
**Last updated:** [12 July 2021 20:27 UTC](https://discourse.nodered.org/t/how-to-tackle-this-one/48031 "2021-07-12T20:27:06Z")

</div>

Guys, When my heatpump is in standby mode (i.e not water being pumped through it) - one of the registers (DPS ids) is updated on a 30 second basis and flips between two values. What would be the best way to capture thi…

---

## [Music from a file](https://discourse.nodered.org/t/music-from-a-file/48335)

<div class="topic-metadata">

**Author:** [@Jackob25](https://discourse.nodered.org/u/Jackob25)\
**Replies:** 1\
**Last updated:** [12 July 2021 20:11 UTC](https://discourse.nodered.org/t/music-from-a-file/48335 "2021-07-12T20:11:42Z")

</div>

I'm not sure the best way to make a system that pauses, plays and restarts music from a sound file that's on the machine. This is what I have so far and I can't get it to work... I have scrolled through and keep finding …

---

## [Create a delay to stabilze a switch](https://discourse.nodered.org/t/create-a-delay-to-stabilze-a-switch/48304)

<div class="topic-metadata">

**Author:** [@nightmare1](https://discourse.nodered.org/u/nightmare1)\
**Replies:** 3\
**Last updated:** [12 July 2021 15:58 UTC](https://discourse.nodered.org/t/create-a-delay-to-stabilze-a-switch/48304 "2021-07-12T15:58:02Z")

</div>

Thanks in advance im just new to Node Red. Its hard to give this a title, but what i have is a 4 switches controlled by heartrate. but i only want to change the switch once it has been within a range for 5 seconds In …

---

## [Different forum posts shown at top on Android vs WIndows](https://discourse.nodered.org/t/different-forum-posts-shown-at-top-on-android-vs-windows/48321)

<div class="topic-metadata">

**Author:** [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Replies:** 1\
**Last updated:** [12 July 2021 15:15 UTC](https://discourse.nodered.org/t/different-forum-posts-shown-at-top-on-android-vs-windows/48321 "2021-07-12T15:15:47Z")

</div>

PC and Android both running Firefox and visiting discourse.nodered.org, showing "Latest". On the phone "Latest" is a dropdown. On PC "all categories" is a drop down. On my PC I see 2 pinned posts: "How to share code or…

---

## [Searhing nodered.org](https://discourse.nodered.org/t/searhing-nodered-org/48320)

<div class="topic-metadata">

**Author:** [@eddee54455](https://discourse.nodered.org/u/eddee54455)\
**Replies:** 2\
**Last updated:** [12 July 2021 15:13 UTC](https://discourse.nodered.org/t/searhing-nodered-org/48320 "2021-07-12T15:13:15Z")

</div>

A really dumb question..... I have been wanting to search https://nodered.org/ for help, particularly the docs and tutorials sections, where I would like to lookup syntax of commands/examples etc... I cannot seem to fi…

---

## [Simple Password Authentication](https://discourse.nodered.org/t/simple-password-authentication/48313)

<div class="topic-metadata">

**Author:** [@Apple](https://discourse.nodered.org/u/Apple)\
**Replies:** 16\
**Last updated:** [12 July 2021 14:21 UTC](https://discourse.nodered.org/t/simple-password-authentication/48313 "2021-07-12T14:21:38Z")

</div>

Hi all hope all is well. I've setup a simple user/password authentication receiving stored names a txt file and passwords from a separate txt file for authentication agaisnt the user's input. I'm struggling to figure o…

---

## [How can I detect changes in varaibles?](https://discourse.nodered.org/t/how-can-i-detect-changes-in-varaibles/48316)

<div class="topic-metadata">

**Author:** [@juan\_R](https://discourse.nodered.org/u/juan_R)\
**Replies:** 1\
**Last updated:** [12 July 2021 13:31 UTC](https://discourse.nodered.org/t/how-can-i-detect-changes-in-varaibles/48316 "2021-07-12T13:31:53Z")

</div>

Hello everyone, I am developing a code and I want to active a "controler" for see the value of one variable in a period of time. Right now I do this: The inyect repeat every second and in the function I check the va…

---

## [Move a file from point A to point B](https://discourse.nodered.org/t/move-a-file-from-point-a-to-point-b/48301)

<div class="topic-metadata">

**Author:** [@luis](https://discourse.nodered.org/u/luis)\
**Replies:** 18\
**Last updated:** [12 July 2021 13:21 UTC](https://discourse.nodered.org/t/move-a-file-from-point-a-to-point-b/48301 "2021-07-12T13:21:49Z")

</div>

I have a file in a folder and i want to move it to another folder, any ideias?

---

## [Connection Speed Comparisons](https://discourse.nodered.org/t/connection-speed-comparisons/48282)

<div class="topic-metadata">

**Author:** [@tmichaeltx](https://discourse.nodered.org/u/tmichaeltx)\
**Replies:** 4\
**Last updated:** [12 July 2021 12:46 UTC](https://discourse.nodered.org/t/connection-speed-comparisons/48282 "2021-07-12T12:46:44Z")

</div>

I have started using @Steve-Mcl 's excellent flow-timer in my development to compare various ways of doing things and found some interesting anecdata to share. When comparing 3 ways of connecting 2 nodes, I found the fo…

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

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