setState to Stream Deck+ #30
Replies: 5 comments
-
sn007 You do not say if you using the context string for the value "context" in the key-value pair "context": context"? As part of the object returned when the SD button is first seen "willAppear" event, it sends a unique value for "context." You need to use this value in the JSON for "setFeedbackLayout", "context" : context: key-value pair. This is explained in the read-me for the plugin. Alan |
Beta Was this translation helpful? Give feedback.
-
n61ab yes, i'm using the context string for the key-value pair, but for some reason it doesn't seem to be getting through. I'm just learning node red for the first time today and it's a fairly steep learning curve. |
Beta Was this translation helpful? Give feedback.
-
I can either get it to work where the |
Beta Was this translation helpful? Give feedback.
-
Here is my Node-Red flow built to explore the SD+ Change the file type to ."json" See my bug report. I have both Dials and Button. At this time, you canont use both a Dial and Button on the same SD+ Alan |
Beta Was this translation helpful? Give feedback.
-
Thanks very much, i'll go away and analyze how yours works. I just managed to get the |
Beta Was this translation helpful? Give feedback.
-
I've been playing around with WSproxy on my Stream Deck+ and I've been trying to change the layout of the touchscreen according to the documentation. If I change the msg.payload with the example expression from the Elgato sdk docs such that:
{
"event": "setFeedbackLayout",
"context": context,
"payload": {
"layout": "$A0"
}
}
When this is passed to the sd-output the event doesn't seem to change to setFeedbackLayout. Using a debug node on the output of the sd-output node shows that the event stays as setState. The context and the layout payload get passed to the Stream Deck+. Is it even possible to change the layout of the touchscreen using the setFeedbackLayout event, or am I just limited to setState, setImage, and setTitle?
I tested to see if I could send an image to the touchscreen using the setImage event but nothing seems to happen. I've been able to send images to standard buttons using the setImage event but not the touchscreen.
Your help would be much appreciated. Thanks
Beta Was this translation helpful? Give feedback.
All reactions