Another trigger #25
Replies: 7 comments
-
Sorry for the delayed answer. Best practice is to use the new If you don't use those nodes, you will have to be careful injecting the right parameters to the websocket message when returning. Those parameters, in particular the One way to fix this is to catch all the buttons loading when StreamDeck initializes and cache in a flow variable all the Later on, when you need to change a button state, you fetch in that cache what is the This is a bit complicated, that's why I created the node-red-contrib-streamdeck-ws module that you can use like this : Basically you send all messages coming from StreamDeck to |
Beta Was this translation helpful? Give feedback.
-
Thank you very much for the further hints. I will now see how far I can get with it. Maybe I'll shortly explain my goal: Simple example: control a lamp. Goal 1: Goal 2: A later variant of goal 2 is not to change an image in the stream deck, but display a concrete value from an ioBroker object (e.g. a temperature). If I had a working template for all this, I could create a lot of cool actions for it :-) |
Beta Was this translation helpful? Give feedback.
-
I don't use ioBroker, but I guess HomeAssistant module is similar. That's basically the example above in my answer, then : |
Beta Was this translation helpful? Give feedback.
-
I have now installed node-red-contrib-streamdeck-ws. But to be honest, haven't quite understood how to use that to achieve my goal. |
Beta Was this translation helpful? Give feedback.
-
It is a little bit convoluted indeed. the |
Beta Was this translation helpful? Give feedback.
-
It surely makes sense, but I don't quite understand it yet ;-) |
Beta Was this translation helpful? Give feedback.
-
No they are for production use. Bottomline is : you put a |
Beta Was this translation helpful? Give feedback.
-
I am pretty new to Node Red and I am getting nowhere even though I have tried many times.
I have reproduced the example program and it works.
Now I want to customize it for my needs and replace the web socket trigger with an "ioBroker in" (trigger on state change). Unfortunately the triggering does not work. Could someone tell me what is still missing here?
Beta Was this translation helpful? Give feedback.
All reactions