bitfocus / companion

Bitfocus Companion enables the reasonably priced Elgato Stream Deck and other controllers to be a professional shotbox surface for an increasing amount of different presentation switchers, video playback software and broadcast equipment.
http://bitfocus.io/companion
Other
1.62k stars 505 forks source link

Set button step with variable #3128

Open peterfdej opened 2 weeks ago

peterfdej commented 2 weeks ago

Is this a feature relevant to companion itself, and not a module?

Is there an existing issue for this?

Describe the feature

Is it possible to set a button step with a variable check in the feedback. As far as I can see now you can only set colors and text of the button. I want to set a button step without a button press action.

Usecases

Depending of the message back in the feedback, I want to use 1 button for different actions. I use one button for sending message through a socketserver to start recording or stop recording a Sony camera. That is possible with 2 steps. 1 step is start recording, step 2 is stop recording. That's the easy part. But when you start recording on the camera itself, you can change color of the button with the feedback message, but not set it to step 2, the stop recording action step. The same when you start recording with the button and stop recording direct on the camera. Then the message back from the camera should set it to step 1.

Julusian commented 2 weeks ago

I suppose this could work by changing the 'progress' toggle to a dropdown with 3 modes:

1) auto-progress - (the default) same as today 2) manual - same as the toggle disabled today 3) from expression - enables another field which allows for inputting an expression.

That expression would allow you to use a variable, or whatever to do what you want.

This would allow us to avoid any fighting when the 'set step' action is used in combination with this feature, as we know the two are incompatible