# Mdashboard slight issue?

**URL:** <https://discourse.nodered.org/t/mdashboard-slight-issue/2592>\
**Category:** Dashboard\
**Created:** [27 August 2018 08:33 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592 "2018-08-27T08:33:14Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![VikrantSharma](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VikrantSharma](https://discourse.nodered.org/u/VikrantSharma)\
**Post date:** [2 December 2018 08:00 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/22 "2018-12-02T08:00:12Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/74ef07f5b9f978c7df4d55d3cd61e6590c759480.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/1eb1fb0d4df35148f3ffb88151bf832d9be5d2f9.png)

Slider working of but not mqtt reception  
Please see the video

> **[Dec 3, 2018 3:23 PM.webm (video)](https://drive.google.com/file/d/193tCRqkYSrO7h5ZgKgg-A8XvphCxN0Bp/view)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [2 December 2018 08:29 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/23 "2018-12-02T08:29:22Z")

</div>

so rather than have an unconnected debug node. Add one each to your slider and MQTT nodes and compare the output

---

<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:** [2 December 2018 09:19 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/24 "2018-12-02T09:19:41Z")

</div>

> [@VikrantSharma](#):
>
> I am able to run slider plus chart app in node red mdashboard but not mqtt feed to chart. I have done it after clean install to in mdashboard

Do you mean the chart works from the slider, but not from mqtt? If so then there must be a difference in the messages from the slider and from mqtt. As suggested, connect separate debug nodes to each and carefully compare the results.

---

<div class="post-metadata">

**Author:** ![VikrantSharma](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VikrantSharma](https://discourse.nodered.org/u/VikrantSharma)\
**Post date:** [3 December 2018 05:28 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/25 "2018-12-03T05:28:48Z")

</div>

No difference in message found. Can i send you the flow which i made to view

---

<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:** [3 December 2018 06:50 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/26 "2018-12-03T06:50:51Z")

</div>

First post a screenshot showing the messages from each in debug pane

---

<div class="post-metadata">

**Author:** ![VikrantSharma](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VikrantSharma](https://discourse.nodered.org/u/VikrantSharma)\
**Post date:** [3 December 2018 08:37 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/27 "2018-12-03T08:37:17Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/1/1d5648a259d44a1f2d8a62d6ae5bc3883c92b1f7.png)  
In this image we see that Gauge is getting number input but not showing the result.  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/7/7e4a49bd9fda71e70129c47a79ffe815e417718d.png)

but if we connects slider directly to Gauge it works but we have to connect it to mqtt node.  
It all being done on **mdashboard**

---

<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:** [3 December 2018 08:51 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/28 "2018-12-03T08:51:44Z")

</div>

And post the same screen shot but with slider connected direct and the guage working

---

<div class="post-metadata">

**Author:** ![VikrantSharma](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VikrantSharma](https://discourse.nodered.org/u/VikrantSharma)\
**Post date:** [3 December 2018 09:01 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/29 "2018-12-03T09:01:25Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/9/916b6f82d74e2900786b6a488a602786c67414bf.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/a/ae4807e102883ebe331358c39f0375e228d20004.png)  
Both are receiving same input

> **[Dec 3, 2018 3:23 PM.webm (video)](https://drive.google.com/file/d/193tCRqkYSrO7h5ZgKgg-A8XvphCxN0Bp/view)**
>
> Google Drive file.

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [3 December 2018 10:46 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/30 "2018-12-03T10:46:56Z")

</div>

If you remove the function node and make a direct connection, it should work

---

<div class="post-metadata">

**Author:** ![krambriw](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/krambriw/32/5429_2.png) [@krambriw](https://discourse.nodered.org/u/krambriw)\
**Post date:** [3 December 2018 11:57 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/31 "2018-12-03T11:57:18Z")

</div>

Well, then you have to figure out what msg format the mdashboard requires.

When you use debug nodes, set them to show the complete msg. Check what you get from the slider when it works, compare the msg properties with what you get from the MQTT node and see if/how it differs

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [3 December 2018 12:27 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/32 "2018-12-03T12:27:04Z")

</div>

If you change both debugs to display the entire message, I think you will see that there is a difference between the two messages.

One would appear to have msg.topic set and one doesn't.

---

<div class="post-metadata">

**Author:** ![VikrantSharma](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VikrantSharma](https://discourse.nodered.org/u/VikrantSharma)\
**Post date:** [3 December 2018 12:36 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/33 "2018-12-03T12:36:31Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/3/34f2f9f891e2ff06bf4aaaf5cceae70c03289ccc.png)

Important: Gauge which is working has additional property socketid with it So how can we add socketid with any message in node red

---

<div class="post-metadata">

**Author:** ![ukmoose](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/ukmoose/32/13_2.png) [@ukmoose](https://discourse.nodered.org/u/ukmoose)\
**Post date:** [3 December 2018 13:03 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/34 "2018-12-03T13:03:39Z")

</div>

Is that the _only_ difference you can see between the messages? What else do you see?

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [3 December 2018 13:12 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/35 "2018-12-03T13:12:28Z")

</div>

If you choose to use mdashboard and not the officially supported node-red-dashboard nodes, then you may well find issues no-one here knows the answer to as very few people here have ever looked at mdashboard.

In this case, I would guess, it uses the socketid property to identify which dashboard the data should be sent to. You would have to refer to the node's own help for any information on how to set that your self.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [3 December 2018 13:25 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/36 "2018-12-03T13:25:39Z")

</div>

from the README

> Note that this is `not` the official node-red-dashboard. This is a fork which solves a very specific requirement- `widget state is emitted only to the socket origin that caused the change`. For example, if two users have the same dashboard open and one user types into a text input, the other user will not get the text update. This works well when a typical web form like behavior is needed- multiple users can use the same dashboard url as a form to submit data back to the flow. This version of the dashboard can be installed along with the original node-red-dashboard- the UI configuration for the two dashboards are distinct and the settings appear in different tabs in the sidebar. Note that this changes the behavior of the original node-red-dashboard - specifically, one user's changes could overwrite another's without them knowing about it. In that sense, **this dashboard is multi-user only for input** - all dashboard users `still share` the same backend instance.

`

---

<div class="post-metadata">

**Author:** ![VikrantSharma](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VikrantSharma](https://discourse.nodered.org/u/VikrantSharma)\
**Post date:** [3 December 2018 14:24 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/37 "2018-12-03T14:24:39Z")

</div>

message content one is string type another is number type. but as the socketid property is set this issue seems to be resolved

---

<div class="post-metadata">

**Author:** ![VikrantSharma](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VikrantSharma](https://discourse.nodered.org/u/VikrantSharma)\
**Post date:** [3 December 2018 17:33 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/38 "2018-12-03T17:33:07Z")

</div>

Hello Sir,  
I have found the solution.I need your help in implementing this.  
We can query contect socketid as  
**var msg = { payload: msg.socketid};**  
**global.set('sid', msg);**  
Work remain to pass this info to all messages of this client  
**[//msg.socketid=](https://msg.socketid=)"Ia\_BRze\_HEK3jgKxAAAO";** // Successfully target achieved  
**msg.socketid = global.get('sid');** // No success  
**return msg;**  
HOW can we change msg.socketid Please Advice

---

<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:** [3 December 2018 18:23 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/39 "2018-12-03T18:23:05Z")

</div>

Can I just check that you really do need to use mdashboard rather than the standard one? The issue you are seeing is specific to mdashboard.

---

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [3 December 2018 19:25 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/40 "2018-12-03T19:25:02Z")

</div>

I second that. This problem is mdashboard specific. The main node-red-dashboard does not do this, and is the one most users here are familiar with.

Note. You can’t run both. You would need to uninstall mdashboard first then install node-red-dashboard.

---

<div class="post-metadata">

**Author:** ![VikrantSharma](https://avatars.discourse-cdn.com/v4/letter/v/22d042/32.png) [@VikrantSharma](https://discourse.nodered.org/u/VikrantSharma)\
**Post date:** [4 December 2018 03:42 UTC](https://discourse.nodered.org/t/mdashboard-slight-issue/2592/41 "2018-12-04T03:42:44Z")

</div>

yes in multiuser environment we need to have separate screen for each user.if i have twenty set of temp-hum sensors on shop floor and if any user want to see nth sensor we need this. And for that matter there can be some inactive nodes too.

[Previous page](https://discourse.nodered.org/t/mdashboard-slight-issue/2592.md?page=1)

[Next page](https://discourse.nodered.org/t/mdashboard-slight-issue/2592.md?page=3)
