# General

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

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

**Page:** 621

---

## [How to replace all in string](https://discourse.nodered.org/t/how-to-replace-all-in-string/39320)

<div class="topic-metadata">

**Author:** [@Ptwtech](https://discourse.nodered.org/u/Ptwtech)\
**Replies:** 5\
**Last updated:** [18 January 2021 12:22 UTC](https://discourse.nodered.org/t/how-to-replace-all-in-string/39320 "2021-01-18T12:22:25Z")

</div>

Hello All, Please Guide me how to replace all in string i want to replace rep with " ". getting the value of id is dynamically from payload. var rep = "ID"+" "+id+"\_"; msg.payload=s.replace(rep," "); This is worki…

---

## [Integrate Azur 540R v3 using Node Red and node-red-node-serialport pallette](https://discourse.nodered.org/t/integrate-azur-540r-v3-using-node-red-and-node-red-node-serialport-pallette/39325)

<div class="topic-metadata">

**Author:** [@John245](https://discourse.nodered.org/u/John245)\
**Replies:** 3\
**Last updated:** [18 January 2021 12:10 UTC](https://discourse.nodered.org/t/integrate-azur-540r-v3-using-node-red-and-node-red-node-serialport-pallette/39325 "2021-01-18T12:10:00Z")

</div>

I'm trying to send commands to my Azur 540R v3 receiver using the node-red-node-serialport pallette. As background info I use a Moxa Serial Server and I'm able to send commands to a video switch. As I use a different ca…

---

## [Mqtt nodes not connecting](https://discourse.nodered.org/t/mqtt-nodes-not-connecting/38950)

<div class="topic-metadata">

**Author:** [@ega](https://discourse.nodered.org/u/ega)\
**Replies:** 25\
**Last updated:** [18 January 2021 11:22 UTC](https://discourse.nodered.org/t/mqtt-nodes-not-connecting/38950 "2021-01-18T11:22:01Z")

</div>

I'm running node-red in a cloud server. All mqtt nodes show a yellow "connecting" label, but they never achieve the connection. How can I find the problem?

---

## [Node-Red container won't restart after adding a node](https://discourse.nodered.org/t/node-red-container-wont-restart-after-adding-a-node/37148)

<div class="topic-metadata">

**Author:** [@Kenspot](https://discourse.nodered.org/u/Kenspot)\
**Replies:** 2\
**Last updated:** [18 January 2021 10:42 UTC](https://discourse.nodered.org/t/node-red-container-wont-restart-after-adding-a-node/37148 "2021-01-18T10:42:35Z")

</div>

Node-Red Docker container won't restart after adding a node I'm hoping that someone can help me, perhaps someone who uses Docker has had the same problem. I was playing about adding a Node for IFTTT, and left a port fo…

---

## [Cannot to start Node-RED Docker custom container with npm](https://discourse.nodered.org/t/cannot-to-start-node-red-docker-custom-container-with-npm/39316)

<div class="topic-metadata">

**Author:** [@ChiaChia1114](https://discourse.nodered.org/u/ChiaChia1114)\
**Replies:** 0\
**Last updated:** [18 January 2021 08:51 UTC](https://discourse.nodered.org/t/cannot-to-start-node-red-docker-custom-container-with-npm/39316 "2021-01-18T08:51:44Z")

</div>

Hi, everyone. I have some problems with my container. I have followed the step with https://discourse.nodered.org/t/cannot-seem-to-start-node-red-docker-custom-container/26168 . But in the last step, which he says "The …

---

## [Can I connect NODEMCU directly to Node-RED?](https://discourse.nodered.org/t/can-i-connect-nodemcu-directly-to-node-red/39297)

<div class="topic-metadata">

**Author:** [@mindquanta](https://discourse.nodered.org/u/mindquanta)\
**Replies:** 5\
**Last updated:** [18 January 2021 06:14 UTC](https://discourse.nodered.org/t/can-i-connect-nodemcu-directly-to-node-red/39297 "2021-01-18T06:14:54Z")

</div>

Hi :blush: I'm new to automation. I want to connect my NODEMCU to NODE-RED. I've seen several videos and everyone says I have to use MTQQ. Am I required to use MQTT between NODEMCU and NODE-RED? Can't I connect NODEMC…

---

## [Dashboard Screenshot / Telegram](https://discourse.nodered.org/t/dashboard-screenshot-telegram/39310)

<div class="topic-metadata">

**Author:** [@Broutech](https://discourse.nodered.org/u/Broutech)\
**Replies:** 0\
**Last updated:** [18 January 2021 07:31 UTC](https://discourse.nodered.org/t/dashboard-screenshot-telegram/39310 "2021-01-18T07:31:44Z")

</div>

Good day, I am running Node-Red in a Docker environment. I am looking for a way to capture a screenshot of the dashboard i.e http://localhost:1880/ui/ and then Telegram the screenshot when required. Thank you

---

## [Adding new flows using curl](https://discourse.nodered.org/t/adding-new-flows-using-curl/39305)

<div class="topic-metadata">

**Author:** [@akhtar321h](https://discourse.nodered.org/u/akhtar321h)\
**Replies:** 0\
**Last updated:** [18 January 2021 06:47 UTC](https://discourse.nodered.org/t/adding-new-flows-using-curl/39305 "2021-01-18T06:47:11Z")

</div>

Hello Everyone, I am working with node-red flow manager and trying to get, replace, delete, add and modify the flows with the help of curl command. Get, replace, delete commands are working fine but when I am trying to …

---

## [MongoDB Out Node - Issues with \_id on Update](https://discourse.nodered.org/t/mongodb-out-node-issues-with-id-on-update/6064)

<div class="topic-metadata">

**Author:** [@SeanT](https://discourse.nodered.org/u/SeanT)\
**Replies:** 4\
**Last updated:** [18 January 2021 05:46 UTC](https://discourse.nodered.org/t/mongodb-out-node-issues-with-id-on-update/6064 "2021-01-18T05:46:45Z")

</div>

Good Day, I am attempting to do an update (overwrite) to MongoDB via the mongodb out node. The notes suggest "... if you want repeated entries to overwrite, then you must set the msg.\_id property to be a constant by th…

---

## [Programatically edit or create flows](https://discourse.nodered.org/t/programatically-edit-or-create-flows/39296)

<div class="topic-metadata">

**Author:** [@StefanSchmelz](https://discourse.nodered.org/u/StefanSchmelz)\
**Replies:** 2\
**Last updated:** [18 January 2021 00:17 UTC](https://discourse.nodered.org/t/programatically-edit-or-create-flows/39296 "2021-01-18T00:17:01Z")

</div>

Hi, I want to build an abstraction layer to adapt various devices to siematic s7. I would like to avoid having to have like 10 copies of the same Nodes (one set per device). If you want more information about my proje…

---

## [Is the scope of "const" only within the node?](https://discourse.nodered.org/t/is-the-scope-of-const-only-within-the-node/39272)

<div class="topic-metadata">

**Author:** [@FatPilot](https://discourse.nodered.org/u/FatPilot)\
**Replies:** 5\
**Last updated:** [17 January 2021 20:55 UTC](https://discourse.nodered.org/t/is-the-scope-of-const-only-within-the-node/39272 "2021-01-17T20:55:27Z")

</div>

Hi Everyone, I've spent most of today trying all sorts to get to the bottom of this. I am familiar with context variables, however I want several flow.const I can declare a const="Test" within a function node and it w…

---

## [Raspberry Pi camera](https://discourse.nodered.org/t/raspberry-pi-camera/16324)

<div class="topic-metadata">

**Author:** [@lodv](https://discourse.nodered.org/u/lodv)\
**Replies:** 14\
**Last updated:** [17 January 2021 20:36 UTC](https://discourse.nodered.org/t/raspberry-pi-camera/16324 "2021-01-17T20:36:46Z")

</div>

I have a Raspberry Pi zero with a camera module running. Is it possible to connect to this camera with another Raspberry Pi running Node-Red. Which nodes do I have to use? I have to connect to the Raspberry Zero with …

---

## [Multiple Instances of Node Red](https://discourse.nodered.org/t/multiple-instances-of-node-red/5076)

<div class="topic-metadata">

**Author:** [@deven2020](https://discourse.nodered.org/u/deven2020)\
**Replies:** 15\
**Last updated:** [17 January 2021 20:36 UTC](https://discourse.nodered.org/t/multiple-instances-of-node-red/5076 "2021-01-17T20:36:33Z")

</div>

Good Day all I am working on a project where i have multiple Raspberry PI. Each PI controls a room where node red install in it. The node red will control devices like smart lights within each room. I have a created a…

---

## [microbitとBluetooth連携](https://discourse.nodered.org/t/microbit-bluetooth/18899)

<div class="topic-metadata">

**Author:** [@TOSHI1](https://discourse.nodered.org/u/TOSHI1)\
**Replies:** 11\
**Last updated:** [17 January 2021 20:33 UTC](https://discourse.nodered.org/t/microbit-bluetooth/18899 "2021-01-17T20:33:59Z")

</div>

I want to link microbit and node-red with bluetooth and get sensor data with node-red, but I can only connect, but I can't read sensor data. The node used is node-red-contrib-generic-ble. I am not familiar with bluetoot…

---

## [Error: EACCES: permission denied, open '/root/.node-red/flows....json'..'](https://discourse.nodered.org/t/error-eacces-permission-denied-open-root-node-red-flows-json/39274)

<div class="topic-metadata">

**Author:** [@inavarrosevilla](https://discourse.nodered.org/u/inavarrosevilla)\
**Replies:** 4\
**Last updated:** [17 January 2021 20:15 UTC](https://discourse.nodered.org/t/error-eacces-permission-denied-open-root-node-red-flows-json/39274 "2021-01-17T20:15:57Z")

</div>

Hi for all. This is my first post on my life I'm trying to make a flows backup. When execute the file in node in debug windows I see the error on the title Can anybody helpme? Thanks in advance. NOTE: I´m nodered an…

---

## [Timezone in Debug window](https://discourse.nodered.org/t/timezone-in-debug-window/39249)

<div class="topic-metadata">

**Author:** [@tmichaeltx](https://discourse.nodered.org/u/tmichaeltx)\
**Replies:** 4\
**Last updated:** [17 January 2021 20:03 UTC](https://discourse.nodered.org/t/timezone-in-debug-window/39249 "2021-01-17T20:03:08Z")

</div>

I am doing something where I am recording into a global variable and showing in a debug window, the time/date of an event. In both places, it is showing it in Zulu format. Is there any way to get it to show using the ser…

---

## [Looking for AWS node](https://discourse.nodered.org/t/looking-for-aws-node/39218)

<div class="topic-metadata">

**Author:** [@kanke](https://discourse.nodered.org/u/kanke)\
**Replies:** 5\
**Last updated:** [17 January 2021 19:55 UTC](https://discourse.nodered.org/t/looking-for-aws-node/39218 "2021-01-17T19:55:51Z")

</div>

I am looking for an AWS node and found this one https://flows.nodered.org/node/node-red-contrib-aws. It has not been updated for long time, is it still good? Are there any other good AWS node?

---

## [Recovering flows from console?](https://discourse.nodered.org/t/recovering-flows-from-console/39276)

<div class="topic-metadata">

**Author:** [@aidan](https://discourse.nodered.org/u/aidan)\
**Replies:** 3\
**Last updated:** [17 January 2021 17:32 UTC](https://discourse.nodered.org/t/recovering-flows-from-console/39276 "2021-01-17T17:32:42Z")

</div>

I have created an inadvertent loop running in node-red that is maxing out the cpu well, yes it's a pi one.. SSH still working, just so disabled node-red Can I recover the flows.json file, and is it possible to restart …

---

## [Include functions file in function node possible?](https://discourse.nodered.org/t/include-functions-file-in-function-node-possible/36981)

<div class="topic-metadata">

**Author:** [@RogierQ](https://discourse.nodered.org/u/RogierQ)\
**Replies:** 16\
**Last updated:** [16 January 2021 18:13 UTC](https://discourse.nodered.org/t/include-functions-file-in-function-node-possible/36981 "2021-01-16T18:13:51Z")

</div>

Hi! I made a function that removes spaces, sets to lower case and split on , of the msg.payload Now every time i need to do this i copy this function into my function node. But is it possible to put this in a file tog…

---

## [Copy flows\_compName.json to another computer](https://discourse.nodered.org/t/copy-flows-compname-json-to-another-computer/39245)

<div class="topic-metadata">

**Author:** [@Henjoe](https://discourse.nodered.org/u/Henjoe)\
**Replies:** 4\
**Last updated:** [17 January 2021 16:19 UTC](https://discourse.nodered.org/t/copy-flows-compname-json-to-another-computer/39245 "2021-01-17T16:19:01Z")

</div>

Hello nodered experts, This is actually a question not related to programming but I am hoping that someone can help me here. I have nodered running locally at my development Laptop (installed on specific folder). I use…

---

## [How To Reply On TCP in Specified Port?](https://discourse.nodered.org/t/how-to-reply-on-tcp-in-specified-port/16715)

<div class="topic-metadata">

**Author:** [@mrizkywiguna](https://discourse.nodered.org/u/mrizkywiguna)\
**Replies:** 5\
**Last updated:** [17 January 2021 14:06 UTC](https://discourse.nodered.org/t/how-to-reply-on-tcp-in-specified-port/16715 "2021-01-17T14:06:12Z")

</div>

Hi All, I want to send a payload through a different TCP port, now I use TCP Out as the sender of the payload. The problem is that the payload I sent is received by another port. How do I send the payload according …

---

## [Nice RGB LED sequences?](https://discourse.nodered.org/t/nice-rgb-led-sequences/38924)

<div class="topic-metadata">

**Author:** [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Replies:** 12\
**Last updated:** [17 January 2021 13:44 UTC](https://discourse.nodered.org/t/nice-rgb-led-sequences/38924 "2021-01-17T13:44:46Z")

</div>

Hi all, Now that I'm getting to grips with my Shellies. I am interested in making best use of the Shelly LED driver. This lets me remote set R, G, and B values from 0-255 as well as setting an overall "gain" from 0-100%…

---

## [How can I send CSV files to an FTP server?](https://discourse.nodered.org/t/how-can-i-send-csv-files-to-an-ftp-server/39200)

<div class="topic-metadata">

**Author:** [@robo7795](https://discourse.nodered.org/u/robo7795)\
**Replies:** 8\
**Last updated:** [17 January 2021 12:59 UTC](https://discourse.nodered.org/t/how-can-i-send-csv-files-to-an-ftp-server/39200 "2021-01-17T12:59:58Z")

</div>

Hello, I would like to send csv files to an FTP server. Node-Red is running on a Windows PC. How can I send the locale file to the FTP server with PUT? I want to add a current date before I send the file. How can I do t…

---

## [Trigger Node-RED from a cover template in Home Assistant with Arguments](https://discourse.nodered.org/t/trigger-node-red-from-a-cover-template-in-home-assistant-with-arguments/39106)

<div class="topic-metadata">

**Author:** [@martinst](https://discourse.nodered.org/u/martinst)\
**Replies:** 1\
**Last updated:** [17 January 2021 12:04 UTC](https://discourse.nodered.org/t/trigger-node-red-from-a-cover-template-in-home-assistant-with-arguments/39106 "2021-01-17T12:04:48Z")

</div>

I'm using 'hass-node-red' to trigger Node-RED from Home Assistant. That works well. But I have also a cover templete in which I also want to call Node-RED. That is not working with the arguments. Do somebody know if thi…

---

## [Node-RED should empty my influxDB "test database" every 7 days](https://discourse.nodered.org/t/node-red-should-empty-my-influxdb-test-database-every-7-days/39259)

<div class="topic-metadata">

**Author:** [@nilsbaurx](https://discourse.nodered.org/u/nilsbaurx)\
**Replies:** 1\
**Last updated:** [17 January 2021 10:42 UTC](https://discourse.nodered.org/t/node-red-should-empty-my-influxdb-test-database-every-7-days/39259 "2021-01-17T10:42:10Z")

</div>

Hello all, Can anyone tell me if it is possible to specify in Node-RED that all records in my database are deleted every 7 days? kind regards nilsbaurx

---

## [Writing Putitem to AWS Dynomodb](https://discourse.nodered.org/t/writing-putitem-to-aws-dynomodb/39251)

<div class="topic-metadata">

**Author:** [@ScheepersJohan](https://discourse.nodered.org/u/ScheepersJohan)\
**Replies:** 0\
**Last updated:** [17 January 2021 07:23 UTC](https://discourse.nodered.org/t/writing-putitem-to-aws-dynomodb/39251 "2021-01-17T07:23:52Z")

</div>

Hi, I am looking for help on AWS Dynomodb Putitem in to the DB. Do someone have a example please. Thank you \[{"id":"1a4d0477.d34c0c","type":"AWS DynamoDB","z":"e688ba86.12a628","aws":"a4b5e3bd.dd33f","operation":"Put…

---

## [How do i reference a value out of a JSON string](https://discourse.nodered.org/t/how-do-i-reference-a-value-out-of-a-json-string/38960)

<div class="topic-metadata">

**Author:** [@DavidMagrobi](https://discourse.nodered.org/u/DavidMagrobi)\
**Replies:** 15\
**Last updated:** [17 January 2021 06:18 UTC](https://discourse.nodered.org/t/how-do-i-reference-a-value-out-of-a-json-string/38960 "2021-01-17T06:18:46Z")

</div>

{"Time":"2021-01-11T16:27:50","DS18B20":{"Id":"3C01D6072EAF","Temperature":-19.8},"TempUnit":"C"} I need only the temperature which in this case is -19.8, this value will go on to be used in various other flows I assum…

---

## [Vuejs binding to tabulator?](https://discourse.nodered.org/t/vuejs-binding-to-tabulator/38858)

<div class="topic-metadata">

**Author:** [@d0d04m3](https://discourse.nodered.org/u/d0d04m3)\
**Replies:** 11\
**Last updated:** [16 January 2021 23:56 UTC](https://discourse.nodered.org/t/vuejs-binding-to-tabulator/38858 "2021-01-16T23:56:26Z")

</div>

hi all I need updat my tabulator with Uibuilder but I cant please any ids var tabledata = \[ {id:1, name:"Oli Bob", age:"12", col:"red", dob:""}, {id:2, name:"Mary May", age:"1", col:"blue", dob:"14/05/1982"}, {…

---

## [Web scraping issue](https://discourse.nodered.org/t/web-scraping-issue/37945)

<div class="topic-metadata">

**Author:** [@Marty1982](https://discourse.nodered.org/u/Marty1982)\
**Replies:** 21\
**Last updated:** [16 January 2021 21:27 UTC](https://discourse.nodered.org/t/web-scraping-issue/37945 "2021-01-16T21:27:24Z")

</div>

Hello all node-red maniacs! I'm web scrapping a little bit and i found a rock in my shoe!. I have this... And i want to get the value from that table..this is how it sees from the UI. So...in my node-red nodes i …

---

## [Formating a numeric field](https://discourse.nodered.org/t/formating-a-numeric-field/38998)

<div class="topic-metadata">

**Author:** [@FatPilot](https://discourse.nodered.org/u/FatPilot)\
**Replies:** 4\
**Last updated:** [16 January 2021 21:08 UTC](https://discourse.nodered.org/t/formating-a-numeric-field/38998 "2021-01-16T21:08:40Z")

</div>

Hi everyone, I'm trying to format a number to be displayed in a particular format and can't see how to achieve that. I've looked at All About the Built-In AngularJS Filters ― Scotch.io as referred to in the help sectio…

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

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