Switching input source on Samsung Soundbar via Apple Shortcuts

Hello SmartThings community!

I hated cycling through input sources using the source button on my soundbar controller (Q990B). After many days of searching online, reading this forum, experimenting with HTTP requests, and struggling with the API, I’ve successfully created a solution using Shortcuts. I’m sharing it here in the hopes that someone else like me can find it and save a lot of time.

  1. Get API Key / token (check “Devices”)
  2. Get Device ID, (click on your room \ device, and copy the device id)
  3. Go to shortcuts and make a workflow like this
  4. On mac you can assign a keyboard shortcut to a workflow by going to info \ details (it didn’t work for me, I used BetterTouchTools instead).
  5. Repeat steps 3,4 for each input. I have 5 shortcuts in total (bluetooth, digital, wifi, HDMI1, HDMI2)
1 Like

And after you name the shortcut you can use Siri to run the shortcut

Like ‘hey Siri, shortcut Select HDMI 1’ if you name the shortcut ‘Select HDMI 1’

I’ve found telling Siri that you want to execute a shortcut works much better than just saying the shortcut name