You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if i'm missing documentation or not, but I do need help.
Can someone provide me an example how to change the State of a multistate button?
My idea is that I load the pciture for the 2 states in the streamdeck software.
From NodeRed I will then activate state 1 or 2
I have absolutely no idea what content I need to send to the Wbesocket Output.
I see a lot of great projects, but I only see pictures of the flow. How does everybody know what to send?
FYI,
I have now configured 2 buttons, 1 for the light on, 1 for the light off.
I would like to make 1 button for this, and the multistate will help me.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm not sure if i'm missing documentation or not, but I do need help.
Can someone provide me an example how to change the State of a multistate button?

My idea is that I load the pciture for the 2 states in the streamdeck software.
From NodeRed I will then activate state 1 or 2
I have absolutely no idea what content I need to send to the Wbesocket Output.
I see a lot of great projects, but I only see pictures of the flow. How does everybody know what to send?
FYI,
I have now configured 2 buttons, 1 for the light on, 1 for the light off.
I would like to make 1 button for this, and the multistate will help me.
This is the export of my flow
[ { "id": "b3da118674b8e5d3", "type": "websocket in", "z": "fe764be27529f665", "name": "", "server": "7e2156076eb3829b", "client": "", "x": 180, "y": 180, "wires": [ [ "fdeb3ac27305336c" ] ] }, { "id": "fdeb3ac27305336c", "type": "json", "z": "fe764be27529f665", "name": "", "property": "payload", "action": "", "pretty": false, "x": 350, "y": 180, "wires": [ [ "c83f896b59681bec" ] ] }, { "id": "c83f896b59681bec", "type": "change", "z": "fe764be27529f665", "name": "Context", "rules": [ { "t": "set", "p": "context", "pt": "msg", "to": "payload.context", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 500, "y": 180, "wires": [ [ "b0d0886f96aa2163" ] ] }, { "id": "b0d0886f96aa2163", "type": "switch", "z": "fe764be27529f665", "name": "Key down", "property": "payload.event", "propertyType": "msg", "rules": [ { "t": "eq", "v": "keyDown", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 660, "y": 180, "wires": [ [ "d487d7d39338c32f", "58c210d360646a63" ] ] }, { "id": "50da95347b85f7f9", "type": "change", "z": "fe764be27529f665", "name": "", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "1", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1000, "y": 180, "wires": [ [ "8635ba53d9f54fc4" ] ] }, { "id": "8635ba53d9f54fc4", "type": "link out", "z": "fe764be27529f665", "name": "link out 1", "mode": "link", "links": [ "48855f260c413577" ], "x": 1185, "y": 220, "wires": [] }, { "id": "7a7cb8428ab30d7d", "type": "change", "z": "fe764be27529f665", "name": "", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "0", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1000, "y": 260, "wires": [ [ "8635ba53d9f54fc4" ] ] }, { "id": "d487d7d39338c32f", "type": "switch", "z": "fe764be27529f665", "name": "Button On", "property": "payload.payload.settings.id", "propertyType": "msg", "rules": [ { "t": "eq", "v": "button1", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 820, "y": 180, "wires": [ [ "50da95347b85f7f9" ] ] }, { "id": "58c210d360646a63", "type": "switch", "z": "fe764be27529f665", "name": "Button Off", "property": "payload.payload.settings.id", "propertyType": "msg", "rules": [ { "t": "eq", "v": "button2", "vt": "str" } ], "checkall": "true", "repair": false, "outputs": 1, "x": 820, "y": 260, "wires": [ [ "7a7cb8428ab30d7d" ] ] }, { "id": "7e2156076eb3829b", "type": "websocket-listener", "path": "streamdeck", "wholemsg": "false" } ]Beta Was this translation helpful? Give feedback.
All reactions