bitfocus / io.bitfocus.companion-plugin

Companion plugin for the native Stream Deck application
MIT License
6 stars 3 forks source link

Control remote companion #2

Open fmalcher opened 4 years ago

fmalcher commented 4 years ago

I'm super happy to see the plugin communicate via WebSocket. Even better, it already considers controlling a remote companion instance. This works fine by just changing the IP in the plugin source code.

https://github.com/bitfocus/io.bitfocus.companion-plugin/blob/master/app.js#L55

Your comment says:

In the future, let people select external companion

Will you share your thoughts on how this could be implemented? Should the companion IP be set in a config file or through the Elgato UI? If the latter, what ways are there to set global settings for the plugin?

Thanks!

rehofman commented 2 years ago

I would like to have the same functionality. I would like to have two profiles which each controls a different instance of companion. Can we just expose the IP in the settings of the button? I think that would be easy to implement, and by default we can leave it on localhost. streamdeck_with_IP

Julusian commented 1 year ago

I believe the problem is that there isnt any suitable place to input a 'global' ip address. It could be done per button, but that will not be at all friendly to configure, and will require some work to ensure that this code can handle there being connected to multiple companion instances concurrently.

Instead, you should consider using Companion Satellite, which is designed to connect a local streamdeck to a remote companion installation

avremy commented 1 year ago

+1

abdullahseba commented 5 months ago

I believe the problem is that there isnt any suitable place to input a 'global' ip address. It could be done per button, but that will not be at all friendly to configure, and will require some work to ensure that this code can handle there being connected to multiple companion instances concurrently.

Instead, you should consider using Companion Satellite, which is designed to connect a local streamdeck to a remote companion installation

The satellite doesn't work with the plugin. I've been trying to get it to work, but there no settings anywhere for this. You have to install the server on the same device that has the deck plugged into it for it to work.

fmalcher commented 5 months ago

The satellite doesn't work with the plugin. I've been trying to get it to work, but there no settings anywhere for this. You have to install the server on the same device that has the deck plugged into it for it to work.

The hacky solution is to set the IP address manually in the StreamDeck plugin code. I've been using this for years, but you have to change it again after every update of the plugin.