# Automatic update all client connected

**URL:** https://discourse.nodered.org/t/automatic-update-all-client-connected/90269
**Category:** Dashboard
**Created:** [19 August 2024 11:47 UTC](https://discourse.nodered.org/t/automatic-update-all-client-connected/90269 "2024-08-19T11:47:08Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![oldchap83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/oldchap83/32/94891_2.png) [@oldchap83](https://discourse.nodered.org/u/oldchap83)
#### Post date: [19 August 2024 11:47 UTC](https://discourse.nodered.org/t/automatic-update-all-client-connected/90269/1 "2024-08-19T11:47:08Z")

</div>

Hello everyone  
Today I decided to upgrade to Dashborad 2 😇  
I can't find Dashboard 1 mode where all widgets are updated when there is a change on all clients  
Thank you for your responses

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 August 2024 12:49 UTC](https://discourse.nodered.org/t/automatic-update-all-client-connected/90269/2 "2024-08-19T12:49:32Z")

</div>

> [@oldchap83](#):
>
> I can't find Dashboard 1 mode where all widgets are updated when there is a change on all clients

Can you explain in more detail what you mean by that?

---

<div class="post-metadata">

### Author: ![oldchap83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/oldchap83/32/94891_2.png) [@oldchap83](https://discourse.nodered.org/u/oldchap83)
#### Post date: [19 August 2024 13:01 UTC](https://discourse.nodered.org/t/automatic-update-all-client-connected/90269/3 "2024-08-19T13:01:33Z")

</div>

Hello and thank you for taking the time to answer my request.  
Sorry for my English it's a google translation.  
I want the state of widgets (example: switch) to change on all connected clients when clicked.  
On Dashboard 1 this is what was happening.  
I think it's the mode Single Source of Truth ?  
Thanks again

---

<div class="post-metadata">

### Author: ![oldchap83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/oldchap83/32/94891_2.png) [@oldchap83](https://discourse.nodered.org/u/oldchap83)
#### Post date: [19 August 2024 17:22 UTC](https://discourse.nodered.org/t/automatic-update-all-client-connected/90269/4 "2024-08-19T17:22:06Z")

</div>

I will try to be more specific in my request.  
I position a simple switch on the Dashboard 2  
I connect with two separate browsers in two PCs  
When I change the value of the switch in a browser #1, the second is not updated whereas on version 1 it was automatic  
I must have missed something  
Thank you all

---

<div class="post-metadata">

### Author: ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)
#### Post date: [19 August 2024 18:32 UTC](https://discourse.nodered.org/t/automatic-update-all-client-connected/90269/5 "2024-08-19T18:32:25Z")

</div>

As long as pass through message is not selected, you can feed the output back to the input.

You should also add this a a feature request on the nodes github page, if this is operating a device , as you say the switch state should be "the single source of truth "

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 August 2024 19:22 UTC](https://discourse.nodered.org/t/automatic-update-all-client-connected/90269/6 "2024-08-19T19:22:25Z")

</div>

There is already an open issue for this. [Clients get out of sync from centralised datastore · Issue #679 · FlowFuse/node-red-dashboard · GitHub](https://github.com/FlowFuse/node-red-dashboard/issues/679)

As you say, the workaround at the moment is to make sure that message passthrough is not enabled, and to feed the output back to the input.

---

<div class="post-metadata">

### Author: ![oldchap83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/oldchap83/32/94891_2.png) [@oldchap83](https://discourse.nodered.org/u/oldchap83)
#### Post date: [19 August 2024 19:25 UTC](https://discourse.nodered.org/t/automatic-update-all-client-connected/90269/7 "2024-08-19T19:25:48Z")

</div>

Good evening  
Thank you all  
But it’s a surprising solution.  
I'll move forward and wait for fixes.

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [19 August 2024 19:42 UTC](https://discourse.nodered.org/t/automatic-update-all-client-connected/90269/8 "2024-08-19T19:42:15Z")

</div>

> [@oldchap83](#):
>
> But it’s a surprising solution.

Not really surprising. By feeding the new value back in at the front of the switch the new value gets sent to all the clients.

---

<div class="post-metadata">

### Author: ![oldchap83](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/oldchap83/32/94891_2.png) [@oldchap83](https://discourse.nodered.org/u/oldchap83)
#### Post date: [19 August 2024 20:01 UTC](https://discourse.nodered.org/t/automatic-update-all-client-connected/90269/9 "2024-08-19T20:01:11Z")

</div>

actually it works

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [18 September 2024 20:01 UTC](https://discourse.nodered.org/t/automatic-update-all-client-connected/90269/10 "2024-09-18T20:01:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
