Button and socketid

Hi in my house i made a dashboard to manage my different api and connected device, and i make multiple buton to enable or disable a template but the button sends the change at all sessions, do you have a solution for this change to be targeted on a single session, can you help me?

When you click a ui-button it should have a msg.socketid property. If this is maintained on your msg through the flow then any things sent to the dashboard should only go back to that socketid.

Hi, sorry I didn't make myself understood, the problems (there are two):
First the change triggered by the button applies to the template on all sessions despite the msg.socketid being good and well sent.
Second, when I do that I want to temporarily disable the button only for the user who clicked, but disabling the button applies to all sessions.

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