Is a “Hub” required as well for this? Does a Hub need to be a physical device?
Edge drivers require a physical ST hub. Can be a v2/v3/Aeotec hub, Smart Station hub, Connect Home or Wi-Fi hub, or a Samsung Refrigerator or TV hub.
Mmmm…I use Home Assistant. Is there a recommended ST Hub I can plug into Home Assistant?
A ST hub is not going to “plug into” a Home Assistant device. There are others in this community (such as @JDRoberts) who can comment more authoritatively than I about whether there is a way to bridge the two environments and if you would still be able to trigger soundbar input changes from HA over such a bridge. I’m skeptical at best…
No it doesn’t ‘plug into.’ Homeassistant uses a cloud integration (using the new SmartThings API) to connect to SmartThings.
There are integrations and methods in HA to have your homeassistant device send the web requests stated in the posts above natively without using SmartThings.
For instance, a shell command script that implements curl? If you can make that work - you could theoretically implement a whole template media player that sent the commands - and no I do not have the code - you will have to research the HomeAssistant community forums for the specific ways to make that work.
As @h0ckeysk8er and @nathancu said, nothing simple. The following topic discusses some of the details of how people are integrating the two.
You shouldn’t need the Edge Bridge for this, because you’re communicating to a LAN device. Edge Bridge is strictly for non-LAN devices outside your network.
I previously was using the Web Requestor for this, but found it a bit cumbersome. Now, I use TAustin’s HTTP Device Creator, which allows me to have a button for each Input, eliminating the need for extra buttons / routines.
I have calls go to the public SmartThings api, so needed it for that. I never tried going direct.
See THIS is what I’d want to do. DIRECT communication with the LAN Connected Soundbar. But I have no clue what the HTTP POST commands would be…everything I read sends commands to the external Samsung Smartthings API which then in turn commands the Soundbar.
I’m looking to for the commands which directly control the Soundbar locally. Any clues?
I cant seem to find it, but there used to be a site that listed most of the commands. The Input switch is ```
http://soundbarIP:56001/UIC?cmd=%3Cname%3ESetFunc%3C/name%3E%3Cp%20type=%22str%22%20name=%22function%22%20val=%22hdmi1%22/%3E%2050
Change HDMI to HDMI2, etc per button.
Ah shucks…ok. Yes, I tried those command already. I’m actually using a Samsung HW-Q950A Soundbar. I tried those commands on both port 56001 and 55001. It just gives a “connection refused” response
Tried firing off the curl command from my computer. Or do these local command have to come from a “SmartHub” device??? They cannot just be simple curl commands from any local server/computer?
I use this without issue on a HW-Q950A, so it definitely works. I’m using @TAustin’s HTTP Device button Edge driver to send the HTTP PUSH Request to the soundbar to change the Inputs. Though I have done it also by putting the request into a browser address bar. Make sure you’re on the same subnet as your Soundbar.
Holy crap! It works. I had to power cycle the soundbar, for some reason it sucks with maintaining Wifi connection.
Do you know what the commands are for Volume or Power?
I don’t believe you can volume up/down, but there is a way to set a specific volume number. There is a wealth of info and commands here: