# Latest

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

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

**Page:** 226

---

## [Retaining state information in a Dashboard 2 ui-template](https://discourse.nodered.org/t/retaining-state-information-in-a-dashboard-2-ui-template/86007)

<div class="topic-metadata">

**Author:** [@Colin](https://discourse.nodered.org/u/Colin)\
**Replies:** 28\
**Last updated:** [2 March 2024 21:37 UTC](https://discourse.nodered.org/t/retaining-state-information-in-a-dashboard-2-ui-template/86007 "2024-03-02T21:37:59Z")

</div>

I am retaining state information in a Dashboard 2 ui-template by saving it in a property (eg msg.\_mydata) in the message that gets sent back to the server. If the page is refreshed or a new browser window is opened on t…

---

## [Restore chart dont work](https://discourse.nodered.org/t/restore-chart-dont-work/86075)

<div class="topic-metadata">

**Author:** [@Nichlas](https://discourse.nodered.org/u/Nichlas)\
**Replies:** 2\
**Last updated:** [2 March 2024 16:29 UTC](https://discourse.nodered.org/t/restore-chart-dont-work/86075 "2024-03-02T16:29:00Z")

</div>

Hi, I calculated the power from my solar panels with node watt2kwh and then bar-chart-data to get chart for hour, day and month. I stored the outgoing payload from my chart with contrib-persist and i can see all of the …

---

## [Background color and border not applied to page](https://discourse.nodered.org/t/background-color-and-border-not-applied-to-page/86073)

<div class="topic-metadata">

**Author:** [@nygma2004](https://discourse.nodered.org/u/nygma2004)\
**Replies:** 2\
**Last updated:** [2 March 2024 11:52 UTC](https://discourse.nodered.org/t/background-color-and-border-not-applied-to-page/86073 "2024-03-02T11:52:04Z")

</div>

I want to create a page where there groups are not visible, everything is on a white background. I set the Page background, group background and outline to all white: But I still get a grey background and also a grou…

---

## [Modbus RS485 read errors?](https://discourse.nodered.org/t/modbus-rs485-read-errors/86070)

<div class="topic-metadata">

**Author:** [@4711Austria](https://discourse.nodered.org/u/4711Austria)\
**Replies:** 8\
**Last updated:** [2 March 2024 07:33 UTC](https://discourse.nodered.org/t/modbus-rs485-read-errors/86070 "2024-03-02T07:33:27Z")

</div>

Hello would need some hlp pls, to understand, where is my fault, thx! reading via RS485/USB Adapter from a BMS Batterypack. connected are 1/8 2/7 (no ground - does have a problem on pack off getting voltage) pallette…

---

## [Receiving data from phone and camera sensors](https://discourse.nodered.org/t/receiving-data-from-phone-and-camera-sensors/86027)

<div class="topic-metadata">

**Author:** [@tsuratolya](https://discourse.nodered.org/u/tsuratolya)\
**Replies:** 4\
**Last updated:** [2 March 2024 01:30 UTC](https://discourse.nodered.org/t/receiving-data-from-phone-and-camera-sensors/86027 "2024-03-02T01:30:19Z")

</div>

Description: The task is to obtain data from sensors and build graphs. there is an application on the phone - ip webcam. It can output photos, videos and phone sensor data. Problem: I receive gyroscope data from my ph…

---

## [Close chrome window with button](https://discourse.nodered.org/t/close-chrome-window-with-button/86064)

<div class="topic-metadata">

**Author:** [@lucianv](https://discourse.nodered.org/u/lucianv)\
**Replies:** 2\
**Last updated:** [2 March 2024 00:47 UTC](https://discourse.nodered.org/t/close-chrome-window-with-button/86064 "2024-03-02T00:47:55Z")

</div>

Hi, i search a lot but I was not able to find a way to close the page (chrome) using a button from dashboard. Basically I want to have a button called exit which when cliked to close the page. Is that possible to achie…

---

## [NR 'write file' node \[storage\] Q / request](https://discourse.nodered.org/t/nr-write-file-node-storage-q-request/86044)

<div class="topic-metadata">

**Author:** [@StrongTown](https://discourse.nodered.org/u/StrongTown)\
**Replies:** 9\
**Last updated:** [1 March 2024 22:10 UTC](https://discourse.nodered.org/t/nr-write-file-node-storage-q-request/86044 "2024-03-01T22:10:46Z")

</div>

Is it possible to ask how, or if not currently included, ask to add, the ability to set this node with an option to write to top of file instead of always (only) appending to end? This would be very helpful with log fi…

---

## [\[LINK OUT & LINK CALL\] Trace Link origin](https://discourse.nodered.org/t/link-out-link-call-trace-link-origin/86066)

<div class="topic-metadata">

**Author:** [@SynoUser-NL](https://discourse.nodered.org/u/SynoUser-NL)\
**Replies:** 1\
**Last updated:** [1 March 2024 20:12 UTC](https://discourse.nodered.org/t/link-out-link-call-trace-link-origin/86066 "2024-03-01T20:12:40Z")

</div>

When using many LINK nodes, it is more and more difficult to know which Link-OUT or Link-CALL sent a message to a Link-IN node. Especially if a Link-IN can be called from multiple OUT's or CALL's. To be able to trace wh…

---

## [Approach for signing message with HMAC (any recommendation for third party node?)](https://discourse.nodered.org/t/approach-for-signing-message-with-hmac-any-recommendation-for-third-party-node/86058)

<div class="topic-metadata">

**Author:** [@escapist3734](https://discourse.nodered.org/u/escapist3734)\
**Replies:** 2\
**Last updated:** [1 March 2024 19:05 UTC](https://discourse.nodered.org/t/approach-for-signing-message-with-hmac-any-recommendation-for-third-party-node/86058 "2024-03-01T19:05:15Z")

</div>

Hi! I have a Python script that I would like to integrate into Node-RED. Essentially, it signs a message with HMAC/SHA256. So far, I've attempted to implement Crypto-JS to create a function in Node-RED. However, this a…

---

## [Problem comparing dates](https://discourse.nodered.org/t/problem-comparing-dates/86054)

<div class="topic-metadata">

**Author:** [@Tinbum1](https://discourse.nodered.org/u/Tinbum1)\
**Replies:** 10\
**Last updated:** [1 March 2024 18:34 UTC](https://discourse.nodered.org/t/problem-comparing-dates/86054 "2024-03-01T18:34:34Z")

</div>

I'm trying to pull a date from an online database and compare it with today's date. I can get the data ok but for some reason in the function node the date format is being changed. I'm in the UK and use dd/mm/yyyy but fo…

---

## [Start and Stop Button In Dashboard](https://discourse.nodered.org/t/start-and-stop-button-in-dashboard/86060)

<div class="topic-metadata">

**Author:** [@daniel90](https://discourse.nodered.org/u/daniel90)\
**Replies:** 4\
**Last updated:** [1 March 2024 18:11 UTC](https://discourse.nodered.org/t/start-and-stop-button-in-dashboard/86060 "2024-03-01T18:11:01Z")

</div>

hello, can someone help me how to make 'start' and 'stop' button in nodered dashboard that function as activating the gauge meter and chart that showing the data from mqtt/inject node when start button was selected/push …

---

## [UI-Gauge with negative scale shows wrong value](https://discourse.nodered.org/t/ui-gauge-with-negative-scale-shows-wrong-value/85574)

<div class="topic-metadata">

**Author:** [@Frida](https://discourse.nodered.org/u/Frida)\
**Replies:** 4\
**Last updated:** [1 March 2024 17:57 UTC](https://discourse.nodered.org/t/ui-gauge-with-negative-scale-shows-wrong-value/85574 "2024-03-01T17:57:06Z")

</div>

Any one see this. The middle scale shows 0 on the pointer, but the number shows -2.5. The other 2 scales show correctly.

---

## [How to do two way binding](https://discourse.nodered.org/t/how-to-do-two-way-binding/85490)

<div class="topic-metadata">

**Author:** [@nr\_luna\_mw](https://discourse.nodered.org/u/nr_luna_mw)\
**Replies:** 6\
**Last updated:** [1 March 2024 16:36 UTC](https://discourse.nodered.org/t/how-to-do-two-way-binding/85490 "2024-03-01T16:36:29Z")

</div>

Good day jwj001, I created a template node for a separated button. It should be a combo button including a v-btn for changing the page and activating dynamic content. The other component is a switch for smart-home contr…

---

## [Dashboard 2 - Socket emit from ui-template](https://discourse.nodered.org/t/dashboard-2-socket-emit-from-ui-template/86051)

<div class="topic-metadata">

**Author:** [@douchebagraccoon](https://discourse.nodered.org/u/douchebagraccoon)\
**Replies:** 5\
**Last updated:** [1 March 2024 16:20 UTC](https://discourse.nodered.org/t/dashboard-2-socket-emit-from-ui-template/86051 "2024-03-01T16:20:19Z")

</div>

Hello everyone ! In a D2 ui-template node, I created a button that opens a dialog containing two sliders and a switch ; I managed to dynamically change the slider values with two inject nodes, but when I change the slid…

---

## [Raspberry Pi supported versions](https://discourse.nodered.org/t/raspberry-pi-supported-versions/86052)

<div class="topic-metadata">

**Author:** [@grawsom](https://discourse.nodered.org/u/grawsom)\
**Replies:** 3\
**Last updated:** [1 March 2024 16:11 UTC](https://discourse.nodered.org/t/raspberry-pi-supported-versions/86052 "2024-03-01T16:11:16Z")

</div>

Is there somewhere where you can the supported version OS/NR. So I can see strech, buster, bullseye highests NR versions that can be installed

---

## [New install of Node-RED broke modbus](https://discourse.nodered.org/t/new-install-of-node-red-broke-modbus/86036)

<div class="topic-metadata">

**Author:** [@hotdog](https://discourse.nodered.org/u/hotdog)\
**Replies:** 17\
**Last updated:** [1 March 2024 15:01 UTC](https://discourse.nodered.org/t/new-install-of-node-red-broke-modbus/86036 "2024-03-01T15:01:06Z")

</div>

I have been working through a RPi with node red v3.0.2 for a few weeks now but recently I needed to set up a new pi and import my flows to it. However, after installing a fresh install on a new sd, my flows aren't passin…

---

## [Ui-template & v-table: how to display array of data](https://discourse.nodered.org/t/ui-template-v-table-how-to-display-array-of-data/86057)

<div class="topic-metadata">

**Author:** [@SynoUser-NL](https://discourse.nodered.org/u/SynoUser-NL)\
**Replies:** 2\
**Last updated:** [1 March 2024 14:58 UTC](https://discourse.nodered.org/t/ui-template-v-table-how-to-display-array-of-data/86057 "2024-03-01T14:58:05Z")

</div>

Hi, I am sending an array to the ui-table node, which displays that data perfectly. When trying to send this data to a vuetify table, I am not getting any results in the table. The code in the template node: \<templat…

---

## [🎉 Node-RED 3.1.6 released](https://discourse.nodered.org/t/node-red-3-1-6-released/86056)

<div class="topic-metadata">

**Author:** [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Replies:** 0\
**Last updated:** [1 March 2024 14:08 UTC](https://discourse.nodered.org/t/node-red-3-1-6-released/86056 "2024-03-01T14:08:01Z")

</div>

Node-RED 3.1.6 is now available Full details in the release notes:

---

## [Some general questions](https://discourse.nodered.org/t/some-general-questions/86050)

<div class="topic-metadata">

**Author:** [@EaB11](https://discourse.nodered.org/u/EaB11)\
**Replies:** 6\
**Last updated:** [1 March 2024 13:44 UTC](https://discourse.nodered.org/t/some-general-questions/86050 "2024-03-01T13:44:32Z")

</div>

hi all.. i have been building some things in Node Red recently and its been going quite well.. i have limited software development knowledge though and as i have been progressing i have started to wonder about a few thin…

---

## [Problems with Custom Event](https://discourse.nodered.org/t/problems-with-custom-event/85973)

<div class="topic-metadata">

**Author:** [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Replies:** 3\
**Last updated:** [1 March 2024 11:08 UTC](https://discourse.nodered.org/t/problems-with-custom-event/85973 "2024-03-01T11:08:57Z")

</div>

I was trying to generate a custom even as described in the Dashboard 2 Info; \<v-btn @click="$socket.emit('ui-event', 'custom-event-name', msg)"\>Send Custom Event\</v-btn\> I created a ui-template with the following code …

---

## [Use of this.msg V this.$socket.on('msg-input:' + this.id, (msg)](https://discourse.nodered.org/t/use-of-this-msg-v-this-socket-on-msg-input-this-id-msg/86037)

<div class="topic-metadata">

**Author:** [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Replies:** 10\
**Last updated:** [1 March 2024 09:22 UTC](https://discourse.nodered.org/t/use-of-this-msg-v-this-socket-on-msg-input-this-id-msg/86037 "2024-03-01T09:22:03Z")

</div>

I notice that people are using this.msg instead of mounted() { // listen for incoming msg's from Node-RED // note our topic is "msg-input" + the node's unique ID this.$socket.…

---

## [TypeError: Converting circular structure to JSON](https://discourse.nodered.org/t/typeerror-converting-circular-structure-to-json/86039)

<div class="topic-metadata">

**Author:** [@daycare](https://discourse.nodered.org/u/daycare)\
**Replies:** 9\
**Last updated:** [1 March 2024 07:45 UTC](https://discourse.nodered.org/t/typeerror-converting-circular-structure-to-json/86039 "2024-03-01T07:45:42Z")

</div>

Hi, I could use some help and, if possible, a little explanation. After quite a struggle, I managed to configure a Tuya smart plug and, with node-red-contrib-tuya-smart-device, the following flow works fine manually: F…

---

## [Websocket Connect Problem](https://discourse.nodered.org/t/websocket-connect-problem/86025)

<div class="topic-metadata">

**Author:** [@sercancetin](https://discourse.nodered.org/u/sercancetin)\
**Replies:** 2\
**Last updated:** [1 March 2024 07:23 UTC](https://discourse.nodered.org/t/websocket-connect-problem/86025 "2024-03-01T07:23:58Z")

</div>

Hello everyone. There is a problem with websocket. I'd like to get your opinion. When I connect to the server with the Node-Redin websocket client node in a project, the server disconnects immediately, but when I connec…

---

## [Cannot Communicate with Node-Red Modbus Server (Slave)](https://discourse.nodered.org/t/cannot-communicate-with-node-red-modbus-server-slave/86046)

<div class="topic-metadata">

**Author:** [@jordanv](https://discourse.nodered.org/u/jordanv)\
**Replies:** 9\
**Last updated:** [1 March 2024 06:17 UTC](https://discourse.nodered.org/t/cannot-communicate-with-node-red-modbus-server-slave/86046 "2024-03-01T06:17:05Z")

</div>

I am having trouble establishing a healthy communications link with a Node-Red Modbus Slave. Context: I have created a Node-Red Modbus Slave on Laptop A, with the intent that it can be polled by a separate Modbus Maste…

---

## [How to upload the local file to google drive](https://discourse.nodered.org/t/how-to-upload-the-local-file-to-google-drive/85984)

<div class="topic-metadata">

**Author:** [@neyarprasanth1](https://discourse.nodered.org/u/neyarprasanth1)\
**Replies:** 8\
**Last updated:** [1 March 2024 04:54 UTC](https://discourse.nodered.org/t/how-to-upload-the-local-file-to-google-drive/85984 "2024-03-01T04:54:05Z")

</div>

Hello guys, Now i am working for upload a local storage file uploaded to google drive from my nodered flow. So when i am inject, then it will activate thr function node and http response node. Function node working for c…

---

## [Slightly off topic, insert data into a database, one table or many tables?](https://discourse.nodered.org/t/slightly-off-topic-insert-data-into-a-database-one-table-or-many-tables/85883)

<div class="topic-metadata">

**Author:** [@questuk](https://discourse.nodered.org/u/questuk)\
**Replies:** 13\
**Last updated:** [1 March 2024 01:07 UTC](https://discourse.nodered.org/t/slightly-off-topic-insert-data-into-a-database-one-table-or-many-tables/85883 "2024-03-01T01:07:16Z")

</div>

Hi, Can I ask your advice on how to store data in my JSON based database efficiently (PostgreSQL). I have a number of Arduino modules that send various data at various intervals, these need to be stored. Each Arduino …

---

## [Smartmeter: How to save the highest / last value of the day](https://discourse.nodered.org/t/smartmeter-how-to-save-the-highest-last-value-of-the-day/85621)

<div class="topic-metadata">

**Author:** [@HerrLux](https://discourse.nodered.org/u/HerrLux)\
**Replies:** 4\
**Last updated:** [29 February 2024 22:23 UTC](https://discourse.nodered.org/t/smartmeter-how-to-save-the-highest-last-value-of-the-day/85621 "2024-02-29T22:23:21Z")

</div>

Hey everyone, node red and js noob here. I am using the smartmeter node to read the current power consumption as well as the total. I'm doing so every few seconds in order to display an up to date value of the current p…

---

## [Change in ui-group node Size When Page Menu Open / Closed](https://discourse.nodered.org/t/change-in-ui-group-node-size-when-page-menu-open-closed/85974)

<div class="topic-metadata">

**Author:** [@Buckskin](https://discourse.nodered.org/u/Buckskin)\
**Replies:** 11\
**Last updated:** [29 February 2024 20:13 UTC](https://discourse.nodered.org/t/change-in-ui-group-node-size-when-page-menu-open-closed/85974 "2024-02-29T20:13:13Z")

</div>

I have two issues regarding this The order of the Groups on the Dashboard is not the same as on the Dashboard Layout tab (should be Graph then Gauge) I have one of hotNipi's Windrose gauges and a standard graph on two …

---

## [Msg.payload: object - Data restructure?](https://discourse.nodered.org/t/msg-payload-object-data-restructure/86030)

<div class="topic-metadata">

**Author:** [@SabreFrenzy](https://discourse.nodered.org/u/SabreFrenzy)\
**Replies:** 4\
**Last updated:** [29 February 2024 19:21 UTC](https://discourse.nodered.org/t/msg-payload-object-data-restructure/86030 "2024-02-29T19:21:13Z")

</div>

I'm sure its simple but I appear to be running in circles and hoping for a little help please. I have some data that is coming into NR as below: (msg.payload:Object) My understanding is that the payload is the three…

---

## [Raspberry Pi 5 (Bookworm) - Node-Red Install Failure](https://discourse.nodered.org/t/raspberry-pi-5-bookworm-node-red-install-failure/86013)

<div class="topic-metadata">

**Author:** [@HS10](https://discourse.nodered.org/u/HS10)\
**Replies:** 6\
**Last updated:** [29 February 2024 17:23 UTC](https://discourse.nodered.org/t/raspberry-pi-5-bookworm-node-red-install-failure/86013 "2024-02-29T17:23:18Z")

</div>

Hi Folks Getting back to my RPI project. Still can't get Node-Red to install on Raspberry PI 5 running bookworm. Created a fresh SD-Card image, loaded Nodejs & NPM, then attempted bash \<(curl -sL https://raw.githubuse…

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

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