# Latest

**URL:** https://discourse.nodered.org/latest.md?page=1088

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

**Page:** 1089

---

## [Secure credentials in subflow](https://discourse.nodered.org/t/secure-credentials-in-subflow/23736)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 5\
**Last updated:** [19 May 2020 07:23 UTC](https://discourse.nodered.org/t/secure-credentials-in-subflow/23736 "2020-05-19T07:23:30Z")

</div>

I want to include an e-mail node in a subflow and allow the credentials to be configurable via subflow env vars. However I obviously don't want the password appearing as plain text in the flows file. Is there a solutio…

---

## [Count array length](https://discourse.nodered.org/t/count-array-length/26865)

<div class="topic-metadata">

**Author:** [@pi642s](https://discourse.nodered.org/u/pi642s)\
**Replies:** 3\
**Last updated:** [19 May 2020 06:59 UTC](https://discourse.nodered.org/t/count-array-length/26865 "2020-05-19T06:59:43Z")

</div>

hi guys i'm using homeassistant and node red. i used a get-entities node to get an array of windows/doors left open. i'm trying to create a function node that counts the array length and join the friendly name attribu…

---

## [From Particle Photon to Node-RED](https://discourse.nodered.org/t/from-particle-photon-to-node-red/26890)

<div class="topic-metadata">

**Author:** [@blindner](https://discourse.nodered.org/u/blindner)\
**Replies:** 1\
**Last updated:** [19 May 2020 06:42 UTC](https://discourse.nodered.org/t/from-particle-photon-to-node-red/26890 "2020-05-19T06:42:37Z")

</div>

Hi there. So im using node red for my product design class and im basically brand new to it. Im trying to make a chart of values that are being generated by a particle photon. This will be a leader board for a game. What…

---

## [ELI5 NPM and JS](https://discourse.nodered.org/t/eli5-npm-and-js/26887)

<div class="topic-metadata">

**Author:** [@VinistoisR](https://discourse.nodered.org/u/VinistoisR)\
**Replies:** 3\
**Last updated:** [19 May 2020 06:36 UTC](https://discourse.nodered.org/t/eli5-npm-and-js/26887 "2020-05-19T06:36:31Z")

</div>

I'm a beginner with npm and Js. Can someone ELI5 a bit how it all works? If I find an npm module that is not written for node-red, can I do anything with it, in the context of node-red? For example, I've been working w…

---

## [Production Vs Dev environment config](https://discourse.nodered.org/t/production-vs-dev-environment-config/26844)

<div class="topic-metadata">

**Author:** [@Magnus](https://discourse.nodered.org/u/Magnus)\
**Replies:** 4\
**Last updated:** [19 May 2020 06:23 UTC](https://discourse.nodered.org/t/production-vs-dev-environment-config/26844 "2020-05-19T06:23:53Z")

</div>

Hi I'm about to use node-red as part of server/service monitoring project. I'm developing on my local machine and have http endpoints and mqtt server configurations (TLS certificates) etc all pointing to local/test data…

---

## [Raspberry Pi RS485 and MODBUS Read](https://discourse.nodered.org/t/raspberry-pi-rs485-and-modbus-read/2570)

<div class="topic-metadata">

**Author:** [@admintite](https://discourse.nodered.org/u/admintite)\
**Replies:** 6\
**Last updated:** [18 May 2020 23:59 UTC](https://discourse.nodered.org/t/raspberry-pi-rs485-and-modbus-read/2570 "2020-05-18T23:59:04Z")

</div>

TL;DR Can I read MODBUS registers (like these) directly from a device using Node Red using /dev/ttyUSB0? I just cant seem to make it work, mainly due to my very narrow scope of knowledge. My current setup is a raspberr…

---

## [Comparison of msg.payloads from the dashboard](https://discourse.nodered.org/t/comparison-of-msg-payloads-from-the-dashboard/26854)

<div class="topic-metadata">

**Author:** [@Joaovitor](https://discourse.nodered.org/u/Joaovitor)\
**Replies:** 7\
**Last updated:** [18 May 2020 22:44 UTC](https://discourse.nodered.org/t/comparison-of-msg-payloads-from-the-dashboard/26854 "2020-05-18T22:44:28Z")

</div>

I am developing an app for Iot from node red. In this app I need to compare a sensor value with maximum and minimum limits defined from the dashboard. It would have to work as follows: on the dashboard I would define t…

---

## [Another Sensor-to-Switch Thread](https://discourse.nodered.org/t/another-sensor-to-switch-thread/26705)

<div class="topic-metadata">

**Author:** [@mighkel](https://discourse.nodered.org/u/mighkel)\
**Replies:** 8\
**Last updated:** [18 May 2020 21:33 UTC](https://discourse.nodered.org/t/another-sensor-to-switch-thread/26705 "2020-05-18T21:33:43Z")

</div>

Problem: How do I get my temperature setpoints to activate my switch? (thermostat operation) I have a feeling it’s something stupid to connect that last dot. I’ve just been staring at this for so long, it’s time to b…

---

## [Button with selection menu option](https://discourse.nodered.org/t/button-with-selection-menu-option/26876)

<div class="topic-metadata">

**Author:** [@renlefche](https://discourse.nodered.org/u/renlefche)\
**Replies:** 2\
**Last updated:** [18 May 2020 21:24 UTC](https://discourse.nodered.org/t/button-with-selection-menu-option/26876 "2020-05-18T21:24:08Z")

</div>

I wanted to make a button with selection options just like the layer button on the top right. How can I add such a feature to a custom button?

---

## [Raspberry pi and sd card Write](https://discourse.nodered.org/t/raspberry-pi-and-sd-card-write/26129)

<div class="topic-metadata">

**Author:** [@sweetwater](https://discourse.nodered.org/u/sweetwater)\
**Replies:** 19\
**Last updated:** [18 May 2020 21:20 UTC](https://discourse.nodered.org/t/raspberry-pi-and-sd-card-write/26129 "2020-05-18T21:20:01Z")

</div>

Running NodeRed on Pi 3B+. Raspbian version = 10 ("Buster") The flows on NodeRed are working. However we had a case where after about 1 week, the unit stopped working. We re-installed another new SD card with new image…

---

## [Progress bar or text field on worldmap](https://discourse.nodered.org/t/progress-bar-or-text-field-on-worldmap/26877)

<div class="topic-metadata">

**Author:** [@renlefche](https://discourse.nodered.org/u/renlefche)\
**Replies:** 1\
**Last updated:** [18 May 2020 20:44 UTC](https://discourse.nodered.org/t/progress-bar-or-text-field-on-worldmap/26877 "2020-05-18T20:44:23Z")

</div>

I'd like to add a progress bar or a text box to the worldmap that is not linked to a specific marker. What is the best way to do that?

---

## [Node-red disconnect every 30 sec](https://discourse.nodered.org/t/node-red-disconnect-every-30-sec/26867)

<div class="topic-metadata">

**Author:** [@soylant](https://discourse.nodered.org/u/soylant)\
**Replies:** 2\
**Last updated:** [18 May 2020 20:35 UTC](https://discourse.nodered.org/t/node-red-disconnect-every-30-sec/26867 "2020-05-18T20:35:24Z")

</div>

hey I am running node-red on my Home Assistant and have been running it for about a year now, but know it has started to disconnect all my entities every 30sec, and they come back connected after 5 sec. if i try to deplo…

---

## [Password protect the worldmap page](https://discourse.nodered.org/t/password-protect-the-worldmap-page/26875)

<div class="topic-metadata">

**Author:** [@renlefche](https://discourse.nodered.org/u/renlefche)\
**Replies:** 1\
**Last updated:** [18 May 2020 20:13 UTC](https://discourse.nodered.org/t/password-protect-the-worldmap-page/26875 "2020-05-18T20:13:06Z")

</div>

I have a worldmap with sensitive controls that I have to protect from being accessed by anyone who gets ahold of the worldmap URL. What would be the best way to add password protection for the worldmap page?

---

## [Modbus RTU Server](https://discourse.nodered.org/t/modbus-rtu-server/26825)

<div class="topic-metadata">

**Author:** [@cbodington](https://discourse.nodered.org/u/cbodington)\
**Replies:** 7\
**Last updated:** [18 May 2020 16:48 UTC](https://discourse.nodered.org/t/modbus-rtu-server/26825 "2020-05-18T16:48:17Z")

</div>

Hello. I am designing a panel that captures data from a sensor (temperatures, pressures, and vibrations), and this panel is capable of displaying all the information on the screen. However, now I need to make this panel…

---

## [Sending mqtt msg every 20 seconds](https://discourse.nodered.org/t/sending-mqtt-msg-every-20-seconds/26853)

<div class="topic-metadata">

**Author:** [@Ian](https://discourse.nodered.org/u/Ian)\
**Replies:** 2\
**Last updated:** [18 May 2020 16:01 UTC](https://discourse.nodered.org/t/sending-mqtt-msg-every-20-seconds/26853 "2020-05-18T16:01:09Z")

</div>

Hi I need to send an mqtt msg every 20 second with the content based on a received input that is updated about once every 4 hours. The input is on or off and the output 1 for on and 0 for off. Any suggestions as to the…

---

## [Debugging aid using MQTT Explorer](https://discourse.nodered.org/t/debugging-aid-using-mqtt-explorer/26413)

<div class="topic-metadata">

**Author:** [@cymplecy](https://discourse.nodered.org/u/cymplecy)\
**Replies:** 1\
**Last updated:** [18 May 2020 15:55 UTC](https://discourse.nodered.org/t/debugging-aid-using-mqtt-explorer/26413 "2020-05-18T15:55:39Z")

</div>

Just thought I'd share a little technique that I'm finding quite useful I'm basically using my local MQTT broker to store logging information and then using MQTT Explorer as my inspection tool It lets me easily read …

---

## [\[Solved\] Putting Pictures into Flow share](https://discourse.nodered.org/t/solved-putting-pictures-into-flow-share/26855)

<div class="topic-metadata">

**Author:** [@Brew](https://discourse.nodered.org/u/Brew)\
**Replies:** 6\
**Last updated:** [18 May 2020 15:14 UTC](https://discourse.nodered.org/t/solved-putting-pictures-into-flow-share/26855 "2020-05-18T15:14:33Z")

</div>

Hi All, I'm having trouble getting a flow I've tried to share to also include the pictures or update the text and fix a couple of typos. Flow is here https://flows.nodered.org/flow/4b3f2cd44ebfa4689ec13c34dc576d56 Wh…

---

## [Arduino to arduino serial communication](https://discourse.nodered.org/t/arduino-to-arduino-serial-communication/26774)

<div class="topic-metadata">

**Author:** [@wasifazmi](https://discourse.nodered.org/u/wasifazmi)\
**Replies:** 1\
**Last updated:** [18 May 2020 14:53 UTC](https://discourse.nodered.org/t/arduino-to-arduino-serial-communication/26774 "2020-05-18T14:53:57Z")

</div>

Hi, I have two Arduinos, master and slave. Master is is configured on node-red. \[{"id":"ecbb4b8e.2b4d28","type":"serial out","z":"8de82ddc.c1d07","name":"Serial Out","serial":"a5c662b5.9c21c","x":500,"y":180,"wires":\[…

---

## [Extending UI of editor](https://discourse.nodered.org/t/extending-ui-of-editor/26667)

<div class="topic-metadata">

**Author:** [@azigzag](https://discourse.nodered.org/u/azigzag)\
**Replies:** 3\
**Last updated:** [18 May 2020 12:29 UTC](https://discourse.nodered.org/t/extending-ui-of-editor/26667 "2020-05-18T12:29:42Z")

</div>

Hi, I want to add a functionality to Node-RED editor, which analyzes the current model and performs some actions. For example, configuring an external system based on a flow. I don't want to implement it as a new node t…

---

## [Siemens PLC communication using TCP IP node](https://discourse.nodered.org/t/siemens-plc-communication-using-tcp-ip-node/26710)

<div class="topic-metadata">

**Author:** [@RAW](https://discourse.nodered.org/u/RAW)\
**Replies:** 4\
**Last updated:** [18 May 2020 12:00 UTC](https://discourse.nodered.org/t/siemens-plc-communication-using-tcp-ip-node/26710 "2020-05-18T12:00:05Z")

</div>

Hello Everyone, I am new to node-red and learning about it using internet. I have found various information about siemens PLC - node red communication by using S7 comm & modbus TCP nodes but Is it possible to use tcp i…

---

## [Handling multiple ui-media nodes](https://discourse.nodered.org/t/handling-multiple-ui-media-nodes/26837)

<div class="topic-metadata">

**Author:** [@dhanasekar](https://discourse.nodered.org/u/dhanasekar)\
**Replies:** 20\
**Last updated:** [18 May 2020 11:45 UTC](https://discourse.nodered.org/t/handling-multiple-ui-media-nodes/26837 "2020-05-18T11:45:16Z")

</div>

Hi, I am using two media nodes with similar configuration. If i click on picture in the output, i am getting payload only from the first media node. Second media node not working or not providing any output. Kindly he…

---

## [Node-red-contrib-ui-svg : server side logging](https://discourse.nodered.org/t/node-red-contrib-ui-svg-server-side-logging/26728)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 10\
**Last updated:** [18 May 2020 11:17 UTC](https://discourse.nodered.org/t/node-red-contrib-ui-svg-server-side-logging/26728 "2020-05-18T11:17:45Z")

</div>

Hi folks, A big disadvantage of the 1.x.x versions of the SVG node was the poor error reporting. Indeed when a user made a mistake, it was very difficult to determine what was going wrong. So got lots of questions sin…

---

## [Esp32-cam choose which file to view](https://discourse.nodered.org/t/esp32-cam-choose-which-file-to-view/26796)

<div class="topic-metadata">

**Author:** [@muggins](https://discourse.nodered.org/u/muggins)\
**Replies:** 8\
**Last updated:** [18 May 2020 10:34 UTC](https://discourse.nodered.org/t/esp32-cam-choose-which-file-to-view/26796 "2020-05-18T10:34:08Z")

</div>

Hi I have managed to get my ESP32-cam to upload to my RPI in a folder under html and web accessible. Reference https://robotzero.one/posting-data-server-esp32 Each image is time stamped and I can view any specific on…

---

## [Influxdb Missing Data](https://discourse.nodered.org/t/influxdb-missing-data/26802)

<div class="topic-metadata">

**Author:** [@JCLCN](https://discourse.nodered.org/u/JCLCN)\
**Replies:** 10\
**Last updated:** [18 May 2020 10:25 UTC](https://discourse.nodered.org/t/influxdb-missing-data/26802 "2020-05-18T10:25:06Z")

</div>

Hi, I am new to node red. I'm using it to send some data to influxdb at a sampling rate of 1000Hz. The data is coming from a tcp in node (connected to OpenSignals (r)evolution). The data is in an array form. I've placed …

---

## [Create a graph from data](https://discourse.nodered.org/t/create-a-graph-from-data/26821)

<div class="topic-metadata">

**Author:** [@noob96](https://discourse.nodered.org/u/noob96)\
**Replies:** 19\
**Last updated:** [18 May 2020 08:46 UTC](https://discourse.nodered.org/t/create-a-graph-from-data/26821 "2020-05-18T08:46:22Z")

</div>

How do I create a chart from a csv file, the x axis should be dt column and y axis should be AverageTemperature column. Here is the sample data from the csv file dt,value 1865-01-01,25 1865-02-01,23 1865-03-01,27 .…

---

## [Repeated messages with Vernemq mqtt broker](https://discourse.nodered.org/t/repeated-messages-with-vernemq-mqtt-broker/26759)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 14\
**Last updated:** [18 May 2020 08:00 UTC](https://discourse.nodered.org/t/repeated-messages-with-vernemq-mqtt-broker/26759 "2020-05-18T08:00:43Z")

</div>

I am using Vernemq MQTT broker with node-red both running in Docker in a Traefik Stack (though I don't expect that is the problem). I am seeing a strange symptom with repeated messages when subscribing to a topic. If I…

---

## [Switch node to control ui](https://discourse.nodered.org/t/switch-node-to-control-ui/26805)

<div class="topic-metadata">

**Author:** [@budiman098](https://discourse.nodered.org/u/budiman098)\
**Replies:** 2\
**Last updated:** [18 May 2020 06:56 UTC](https://discourse.nodered.org/t/switch-node-to-control-ui/26805 "2020-05-18T06:56:16Z")

</div>

hy guys, can someone help me? i have a problem with my switch node in my node-red, the example i want make some node to read value number 12 and another node read value 15 (i inject the value), and the system in dashboa…

---

## [Counting, would like some direction](https://discourse.nodered.org/t/counting-would-like-some-direction/26505)

<div class="topic-metadata">

**Author:** [@mattk](https://discourse.nodered.org/u/mattk)\
**Replies:** 10\
**Last updated:** [18 May 2020 05:51 UTC](https://discourse.nodered.org/t/counting-would-like-some-direction/26505 "2020-05-18T05:51:48Z")

</div>

Hi, I have built a esp8266 sump pump monitor that sends a mqtt signal to node-red when the float is tripped. I have modified someones elses flow, I don't yet understand the function nodes, but its working fine. What I …

---

## [Dashboard line chart not working](https://discourse.nodered.org/t/dashboard-line-chart-not-working/26795)

<div class="topic-metadata">

**Author:** [@iijan](https://discourse.nodered.org/u/iijan)\
**Replies:** 2\
**Last updated:** [18 May 2020 05:31 UTC](https://discourse.nodered.org/t/dashboard-line-chart-not-working/26795 "2020-05-18T05:31:16Z")

</div>

having bit of an issue trying to display a line chart using stored data,. here is the payload i am sending to the dashboard ui chart node {"label":"label","data":\[{"x":1589785353387,"y":74},{"x":1589785371831,"y":74},{"…

---

## [Change in flows OTA](https://discourse.nodered.org/t/change-in-flows-ota/26784)

<div class="topic-metadata">

**Author:** [@kareemwaheed94](https://discourse.nodered.org/u/kareemwaheed94)\
**Replies:** 3\
**Last updated:** [18 May 2020 02:37 UTC](https://discourse.nodered.org/t/change-in-flows-ota/26784 "2020-05-18T02:37:49Z")

</div>

Hi, I was wondering if there is a way to change in flows or update it remotely (OTA updates) i have a device running Linux with node-red installed, connected to the internet how to be able to do this updates with my p…

[Previous page](https://discourse.nodered.org/latest.md?page=1087)

[Next page](https://discourse.nodered.org/latest.md?page=1089)
