strem-app / strem

A free and open source automation tool for streamers
MIT License
49 stars 3 forks source link

Add Stream Deck Integration #42

Open grofit opened 2 years ago

grofit commented 2 years ago

I don't currently have a Stream Deck so while I can do the code to some extent I can't really verify any of it works, I have found a C# library that wraps up integration with it.

grofit commented 1 year ago

I have sent Elgato an email asking if they are able to provide units for integration purposes as some hardware vendors are happy to support community/integration efforts. I highly doubt they will due to this project not existing for that long, but will see what they say.

grofit commented 1 year ago

Was eventually directed to someone at Corsair after not getting a response, a week later and still no response from them, so it looks like this integration will have to wait for now.

grofit commented 1 year ago

There seems to be a free mobile version that lets you use their API so it would potentially work the same on the deck, the problem ive found is that you cant make buttons on the fly, you need to bundle it all into a plugin that gets added to the locally installed Streamdeck folder.

The plugin needs to expose every button you want to hook into, so the only way I could see it working would be to have the ability to export a portal as a plugin for Streamdeck and then have it imported into the streamdeck app, that bit alone isnt a major issue but it only really works with images or manual blitting, not css from what I can see which is how a lot of the buttons on the portal run by default.

I think it would be possible to make something that lets you put your portal on your stream deck but it wont be easy and wont look the same, so not working on it right away but its on the todo list.

grofit commented 6 months ago

Putting this as blocked as the proof of concept I was working on would require each button to have an image icon and isnt really as dynamic as the existing portal, there may be a way to express this as a separate portal which mimics the built in portal but lets you specify how the stream deck needs the data, but as I personally dont use/have one I would be looking for a user champion who would want this and be happy to test it, so will open it back up when someone else can assist.