StreamDeckWS icon indicating copy to clipboard operation
StreamDeckWS copied to clipboard

Switching Profiles

Open tfer6 opened this issue 4 months ago • 0 comments

So I've been trying to use this plugin to switch Profiles on my SD+. I've read through the guide and the SDK Docs. Based on that you can only switch to a profile that is included with the plugin.

So I modified the manifest.json and included a .streamDeckProfile in the install file. It installs correctly, or at least I think i does, because I can see the profile in the Stream Deck Software. The next step, I think, would be to send a "switchToProfile" event

Here is the JSON I'm sending

{
    "event": "switchToProfile",
    "context": "cbfc41937432ceb5bfa957d1e8013b46",
    "device": "A07E65F8C5384232BB92C705A40D68BF",
    "payload": {
        "profile": "Security"
    }
}

The context is of a WS Proxy button that is currently displayed and the device id matches the device. I've gotten the context and the device from a received "willAppear" event from. As you can probably guess, no profile switch is made when event is sent. Nothing is received from my websocket node.

I'm able to interact with the button otherwise; change it's title, change the icon, etc.Is there something I'm missing or is the switching profile event just not built into this plugin?

tfer6 avatar Oct 23 '24 15:10 tfer6