# Latest

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

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

**Page:** 1037

---

## [Deleting and Creating New Data Files](https://discourse.nodered.org/t/deleting-and-creating-new-data-files/30451)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 11\
**Last updated:** [21 July 2020 13:37 UTC](https://discourse.nodered.org/t/deleting-and-creating-new-data-files/30451 "2020-07-21T13:37:48Z")

</div>

I\`m trying to find a way for data to be written to a file, so that when the file gets too big the file is either, stored, deleted and new file is put in its place? So far Ive found a way to write to a file, however Im u…

---

## [Show an image on the dashboard](https://discourse.nodered.org/t/show-an-image-on-the-dashboard/30466)

<div class="topic-metadata">

**Author:** [@Hattori](https://discourse.nodered.org/u/Hattori)\
**Replies:** 3\
**Last updated:** [21 July 2020 13:30 UTC](https://discourse.nodered.org/t/show-an-image-on-the-dashboard/30466 "2020-07-21T13:30:42Z")

</div>

I have an image of size 1280x800 contained in an Array. The Array is one dimensional with length 1280x800. I would like to be able to plot the corresponding image in the dashboard. I saw examples that loads the image fro…

---

## [UR robot TCP server](https://discourse.nodered.org/t/ur-robot-tcp-server/30424)

<div class="topic-metadata">

**Author:** [@rowen826](https://discourse.nodered.org/u/rowen826)\
**Replies:** 2\
**Last updated:** [21 July 2020 13:27 UTC](https://discourse.nodered.org/t/ur-robot-tcp-server/30424 "2020-07-21T13:27:08Z")

</div>

Hi, I am trying to set a TCP(server/client) connection between an UR robot and red-node but it seems that I don't know what I'm doing. The robot routine is fairly simple. It opens a socket (TCP client) and checks that …

---

## [Dashboard group width layout](https://discourse.nodered.org/t/dashboard-group-width-layout/30445)

<div class="topic-metadata">

**Author:** [@max](https://discourse.nodered.org/u/max)\
**Replies:** 8\
**Last updated:** [21 July 2020 12:41 UTC](https://discourse.nodered.org/t/dashboard-group-width-layout/30445 "2020-07-21T12:41:16Z")

</div>

Hi i have groups with width 6 and groups with width 3. Any Idea how to get them the same width? i mean 2x3 = 6. and not 2x3 = 6,2... i hope you know what i mean. i already tried box-sizing: border-box; etc. but i c…

---

## [Accessing flow context from the subflow](https://discourse.nodered.org/t/accessing-flow-context-from-the-subflow/30467)

<div class="topic-metadata">

**Author:** [@krzydec](https://discourse.nodered.org/u/krzydec)\
**Replies:** 8\
**Last updated:** [21 July 2020 12:39 UTC](https://discourse.nodered.org/t/accessing-flow-context-from-the-subflow/30467 "2020-07-21T12:39:44Z")

</div>

Hello I'm trying to package some of my flows into sub-flows to make it easier to follow. One of my function nodes is going through the flow context store using: flow.keys() and delete some variables when they are n…

---

## [Copying my Door control status back to my Mysql databse](https://discourse.nodered.org/t/copying-my-door-control-status-back-to-my-mysql-databse/30383)

<div class="topic-metadata">

**Author:** [@shipra](https://discourse.nodered.org/u/shipra)\
**Replies:** 95\
**Last updated:** [21 July 2020 12:38 UTC](https://discourse.nodered.org/t/copying-my-door-control-status-back-to-my-mysql-databse/30383 "2020-07-21T12:38:05Z")

</div>

I want to write and insert into a column (which is Door Status) ,it should be written as Door open /Door close back to mysql databse how to do that?Please help

---

## [Specify how the dashboard should open](https://discourse.nodered.org/t/specify-how-the-dashboard-should-open/30442)

<div class="topic-metadata">

**Author:** [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Replies:** 3\
**Last updated:** [21 July 2020 12:37 UTC](https://discourse.nodered.org/t/specify-how-the-dashboard-should-open/30442 "2020-07-21T12:37:10Z")

</div>

Hi folks, I have a last online call tonight with Maxim Salnikov about releasing (finally) the node-red-contrib-ui-web-push node on NPM, but I have problem with notifications containing buttons: These buttons are very…

---

## [Error - port not open - not reading CAN Hat from serial](https://discourse.nodered.org/t/error-port-not-open-not-reading-can-hat-from-serial/30468)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 0\
**Last updated:** [21 July 2020 12:13 UTC](https://discourse.nodered.org/t/error-port-not-open-not-reading-can-hat-from-serial/30468 "2020-07-21T12:13:49Z")

</div>

I\`m trying to access the sensor data from /dev/ttys0 on my pi using a can hat rs485. The can hat - https://www.waveshare.com/w/upload/2/29/RS485-CAN-HAT-user-manuakl-en.pdf I\`ve installed the driver for the can hat but…

---

## [How to monitor Each node-red workflow execution time](https://discourse.nodered.org/t/how-to-monitor-each-node-red-workflow-execution-time/30455)

<div class="topic-metadata">

**Author:** [@venkat1497](https://discourse.nodered.org/u/venkat1497)\
**Replies:** 15\
**Last updated:** [21 July 2020 11:13 UTC](https://discourse.nodered.org/t/how-to-monitor-each-node-red-workflow-execution-time/30455 "2020-07-21T11:13:50Z")

</div>

I created multiple workflows in node-red window. Now i want know each workflow execution time and how can I monitor in runtime? Is it possible? If yes please let me know. Thanks.

---

## [Pi Shutdown Button with an OK/Cancel Notification](https://discourse.nodered.org/t/pi-shutdown-button-with-an-ok-cancel-notification/30459)

<div class="topic-metadata">

**Author:** [@oncdastan](https://discourse.nodered.org/u/oncdastan)\
**Replies:** 4\
**Last updated:** [21 July 2020 11:04 UTC](https://discourse.nodered.org/t/pi-shutdown-button-with-an-ok-cancel-notification/30459 "2020-07-21T11:04:35Z")

</div>

Hi. Here is my flow: \[{"id":"b699b242.275aa","type":"ui\_button","z":"4cdd06f6.faf528","name":"","group":"843bc78a.c5b078","order":5,"width":0,"height":0,"passthru":false,"label":"Shutdown","tooltip":"","color":"","bgcol…

---

## [Modbus / Temp Sensor and Rasp Pi through Node Red](https://discourse.nodered.org/t/modbus-temp-sensor-and-rasp-pi-through-node-red/30353)

<div class="topic-metadata">

**Author:** [@edwardr](https://discourse.nodered.org/u/edwardr)\
**Replies:** 21\
**Last updated:** [21 July 2020 10:37 UTC](https://discourse.nodered.org/t/modbus-temp-sensor-and-rasp-pi-through-node-red/30353 "2020-07-21T10:37:56Z")

</div>

Hi guys, I\`m having some real trouble trying to sort a project at the moment - I have the waveshare can hat connected to my pi hoping to read data from a Rs485 sht20 temp sensor. The can hat The sensor- http://w…

---

## [Node-red-contrib-msg-queue Data base](https://discourse.nodered.org/t/node-red-contrib-msg-queue-data-base/30431)

<div class="topic-metadata">

**Author:** [@develop5632](https://discourse.nodered.org/u/develop5632)\
**Replies:** 3\
**Last updated:** [21 July 2020 10:22 UTC](https://discourse.nodered.org/t/node-red-contrib-msg-queue-data-base/30431 "2020-07-21T10:22:21Z")

</div>

Hi everyone, if someone has used the node-red-contrib-msg-queue I have a doubt: The queue is stored in a SQLITE Database which is installed locally on the device that is running the Node Red. This node stores automatica…

---

## [Function to dynamically change the MQTT topic based on user input](https://discourse.nodered.org/t/function-to-dynamically-change-the-mqtt-topic-based-on-user-input/30438)

<div class="topic-metadata">

**Author:** [@zazas321](https://discourse.nodered.org/u/zazas321)\
**Replies:** 13\
**Last updated:** [21 July 2020 09:40 UTC](https://discourse.nodered.org/t/function-to-dynamically-change-the-mqtt-topic-based-on-user-input/30438 "2020-07-21T09:40:03Z")

</div>

I have a flow where user inputs data through dropdown and form menus. I save this data in flow variable as such: flow.DBdata\[0\] = Device flow.DBdata\[1\] = Item flow.DBdata\[2\] = Serial What I need to do is to join DBda…

---

## [Extract audio data from usb sound card (rpi)](https://discourse.nodered.org/t/extract-audio-data-from-usb-sound-card-rpi/30447)

<div class="topic-metadata">

**Author:** [@yzerman](https://discourse.nodered.org/u/yzerman)\
**Replies:** 4\
**Last updated:** [21 July 2020 09:23 UTC](https://discourse.nodered.org/t/extract-audio-data-from-usb-sound-card-rpi/30447 "2020-07-21T09:23:52Z")

</div>

Hello, could you please give me suggestion how i can get audio from usb sound card into node-red. I use my phone as audio source and plug the audio jack into usb sound card connected to one of the raspberry's usb ports. …

---

## [(Brain failure) Need help understanding why it isn't working](https://discourse.nodered.org/t/brain-failure-need-help-understanding-why-it-isnt-working/30440)

<div class="topic-metadata">

**Author:** [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Replies:** 20\
**Last updated:** [21 July 2020 09:20 UTC](https://discourse.nodered.org/t/brain-failure-need-help-understanding-why-it-isnt-working/30440 "2020-07-21T09:20:16Z")

</div>

I am trying to optimise how a msg is constructed. This is what I have: if (counter == 0) { msg = { payload: "OFF", icon: '\<font color = "orangered"\>\<i class="fa fa-lightbulb-o fa…

---

## [Not getting updated data back to my database](https://discourse.nodered.org/t/not-getting-updated-data-back-to-my-database/30444)

<div class="topic-metadata">

**Author:** [@shipra](https://discourse.nodered.org/u/shipra)\
**Replies:** 1\
**Last updated:** [21 July 2020 08:08 UTC](https://discourse.nodered.org/t/not-getting-updated-data-back-to-my-database/30444 "2020-07-21T08:08:40Z")

</div>

Sir, i have deployed mqtt rfid node where i am giving rfid number if its valid it shows CR\_SUCCESS otherwise CR\_FAIL .Now i have a door controller which has 2 switch open and close i want whenever anyone comes with valid…

---

## [Gateway data to a file](https://discourse.nodered.org/t/gateway-data-to-a-file/30443)

<div class="topic-metadata">

**Author:** [@Roger](https://discourse.nodered.org/u/Roger)\
**Replies:** 0\
**Last updated:** [21 July 2020 07:22 UTC](https://discourse.nodered.org/t/gateway-data-to-a-file/30443 "2020-07-21T07:22:23Z")

</div>

Hello, I configured a temperature sensor with my arduino and I send the data to my gateway (multitech conduit). Now with node-red I need to get this data and save it in a file (xlsx or similar). I intend to receive the…

---

## [Search database rows in msg object](https://discourse.nodered.org/t/search-database-rows-in-msg-object/30386)

<div class="topic-metadata">

**Author:** [@reloopbenny](https://discourse.nodered.org/u/reloopbenny)\
**Replies:** 7\
**Last updated:** [21 July 2020 05:46 UTC](https://discourse.nodered.org/t/search-database-rows-in-msg-object/30386 "2020-07-21T05:46:08Z")

</div>

Hello! I have a converted XML in node red and formated to node-red array with JSONata. I have database same formated output with JSONata. my xml output in "msg.xmloutput" and my database output in "msg.dboutput" I …

---

## [Two msg in delay with function node](https://discourse.nodered.org/t/two-msg-in-delay-with-function-node/30435)

<div class="topic-metadata">

**Author:** [@lalo](https://discourse.nodered.org/u/lalo)\
**Replies:** 3\
**Last updated:** [21 July 2020 05:04 UTC](https://discourse.nodered.org/t/two-msg-in-delay-with-function-node/30435 "2020-07-21T05:04:10Z")

</div>

Hi guys, I'm trying to send two messages from one funcion it's kind off something like this.... msg.payload = "hi"; msg.delay = 5000; msg.payload = "goodbye"; msg.delay = 10000; return msg; basically I have a msg to se…

---

## [Ethernet and WiFi at the same time?](https://discourse.nodered.org/t/ethernet-and-wifi-at-the-same-time/30091)

<div class="topic-metadata">

**Author:** [@JordanHamann](https://discourse.nodered.org/u/JordanHamann)\
**Replies:** 11\
**Last updated:** [21 July 2020 03:46 UTC](https://discourse.nodered.org/t/ethernet-and-wifi-at-the-same-time/30091 "2020-07-21T03:46:36Z")

</div>

Hi everyone, I'm pretty new to all of this so please excuse my ignorance. I'm running Node-Red on a Raspberry Pi 4 (Standard Raspbian Operating System) and I'm trying to retrieve some data from a PLC and then send that…

---

## [Json show records on table](https://discourse.nodered.org/t/json-show-records-on-table/30216)

<div class="topic-metadata">

**Author:** [@lalo](https://discourse.nodered.org/u/lalo)\
**Replies:** 6\
**Last updated:** [21 July 2020 02:31 UTC](https://discourse.nodered.org/t/json-show-records-on-table/30216 "2020-07-21T02:31:50Z")

</div>

Hi, guys I'm trying to recover and show my datafrom a json file on the dashboard but I don't know what is the problem. This is my flow \[{"id":"cb5a86a8.addd98","type":"ui\_template","z":"1c449847.08bad8","group":"f8e166…

---

## [Execution of a flow before NR shutdown?](https://discourse.nodered.org/t/execution-of-a-flow-before-nr-shutdown/30415)

<div class="topic-metadata">

**Author:** [@Nodi.Rubrum](https://discourse.nodered.org/u/Nodi.Rubrum)\
**Replies:** 3\
**Last updated:** [21 July 2020 01:07 UTC](https://discourse.nodered.org/t/execution-of-a-flow-before-nr-shutdown/30415 "2020-07-21T01:07:55Z")

</div>

Execution of a flow before NR shutdown? I thought I saw a forum thread on this? But I can't seem to find it, so maybe this is not possible currently? Since I am running a primary and secondary NR setup, not a cluster,…

---

## [Crelay and Sainsmart USB relays](https://discourse.nodered.org/t/crelay-and-sainsmart-usb-relays/30430)

<div class="topic-metadata">

**Author:** [@VA3CW](https://discourse.nodered.org/u/VA3CW)\
**Replies:** 0\
**Last updated:** [21 July 2020 00:49 UTC](https://discourse.nodered.org/t/crelay-and-sainsmart-usb-relays/30430 "2020-07-21T00:49:07Z")

</div>

Hi all! I've got Node-RED installed on a RPi4 and am using it to control a Sainsmart USB (FTDI) relay board. So far things seem to work with crelay however I'm suspicious that my approach is less than an efficient use …

---

## [Node Red Security: Auditing login successes and failures](https://discourse.nodered.org/t/node-red-security-auditing-login-successes-and-failures/30371)

<div class="topic-metadata">

**Author:** [@murraybrandon](https://discourse.nodered.org/u/murraybrandon)\
**Replies:** 3\
**Last updated:** [20 July 2020 23:34 UTC](https://discourse.nodered.org/t/node-red-security-auditing-login-successes-and-failures/30371 "2020-07-20T23:34:47Z")

</div>

(Raspbian Node Red) If you plan to have Node Red running for a long time, you really should keep an eye on who is using it. One handy thing you can do is tail the system logs to see when someone logs in or fails to log…

---

## [Update Template On Set Schedule, Cache Results](https://discourse.nodered.org/t/update-template-on-set-schedule-cache-results/30427)

<div class="topic-metadata">

**Author:** [@Majerus1223](https://discourse.nodered.org/u/Majerus1223)\
**Replies:** 3\
**Last updated:** [20 July 2020 23:28 UTC](https://discourse.nodered.org/t/update-template-on-set-schedule-cache-results/30427 "2020-07-20T23:28:10Z")

</div>

Is there a way to have a template updated once, then for calls following the initial load just return the same data? I am attempting to have a schedule kick off at 12am, gather data then update the said template. When o…

---

## [Problems with mqtt node (msg.payload interrupt)](https://discourse.nodered.org/t/problems-with-mqtt-node-msg-payload-interrupt/30167)

<div class="topic-metadata">

**Author:** [@lalo](https://discourse.nodered.org/u/lalo)\
**Replies:** 14\
**Last updated:** [20 July 2020 21:54 UTC](https://discourse.nodered.org/t/problems-with-mqtt-node-msg-payload-interrupt/30167 "2020-07-20T21:54:28Z")

</div>

Hi, I'm trying to use some conditions with some readings from Arduino Mega, my issue is when I try to use the switch to send open, my condition don't allow me to send the msg, there is any solution to this? I was thinki…

---

## ["The flows on the server have been updated" with Pi gpiod nodes](https://discourse.nodered.org/t/the-flows-on-the-server-have-been-updated-with-pi-gpiod-nodes/29827)

<div class="topic-metadata">

**Author:** [@Charry2014](https://discourse.nodered.org/u/Charry2014)\
**Replies:** 18\
**Last updated:** [20 July 2020 21:39 UTC](https://discourse.nodered.org/t/the-flows-on-the-server-have-been-updated-with-pi-gpiod-nodes/29827 "2020-07-20T21:39:50Z")

</div>

My project is running on a Raspberry Pi 4, with Node Red running in Docker and I am deploying this to the Pi through Balena io. The project has two Docker images - one running the Pi GPIOD and the other running Node Red.…

---

## [Node-red-contrib-ewelink](https://discourse.nodered.org/t/node-red-contrib-ewelink/19195)

<div class="topic-metadata">

**Author:** [@JoseGodinho](https://discourse.nodered.org/u/JoseGodinho)\
**Replies:** 13\
**Last updated:** [20 July 2020 20:46 UTC](https://discourse.nodered.org/t/node-red-contrib-ewelink/19195 "2020-07-20T20:46:54Z")

</div>

Hello After installing the above mentioned node, and feeding with the credentials I get the Following error message "RequestError: Error: getaddrinfo ENOTFOUND europe-api.coolkit.cc" could be the region? if so how I…

---

## [Hide node at ui](https://discourse.nodered.org/t/hide-node-at-ui/30417)

<div class="topic-metadata">

**Author:** [@newsky40](https://discourse.nodered.org/u/newsky40)\
**Replies:** 0\
**Last updated:** [20 July 2020 20:20 UTC](https://discourse.nodered.org/t/hide-node-at-ui/30417 "2020-07-20T20:20:07Z")

</div>

I want to hide a text\_input node if I click button. I know how to hide group by ui\_control, but I want to put text\_input node, button and other nodes in same group. How can I hide 'a' text\_input node (not whole group) …

---

## [PYNODE RED async message responses](https://discourse.nodered.org/t/pynode-red-async-message-responses/30409)

<div class="topic-metadata">

**Author:** [@shanajira](https://discourse.nodered.org/u/shanajira)\
**Replies:** 9\
**Last updated:** [20 July 2020 20:24 UTC](https://discourse.nodered.org/t/pynode-red-async-message-responses/30409 "2020-07-20T20:24:40Z")

</div>

hello I am using successfully pynodered (Python node red) to do a lot of processing in the background for all my node-red needs. Now I am trying to add "async" asynchronous functionality to my backend system via pynode…

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

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