Doesn't work on mine. Was looking at the HomeAssistant code for Samsung TV and he uses the SmartThings API to get the current source:
I wonder if that's something you might be able to add... It involves getting a token from the developer site in but opens a world of options. As an example, you can use a single button to change the HDMI source (instead of left, left, left, ..., right). Seems to work great from the HA thread (haven't tried this version yet but had the default Samsung integration on my HA).
For those still unable to get the tv to turn on while using LAN, here is my work around.
I installed a WOL app and created a TV Power switch. Set the app up with the TVs LAN Mac, then linked it to the switch created. Turning this switch on will power on the TV AFTER its been shut down and gone into full sleep. So if using the Samsung TV app power on button doesn't work because it's gone to sleep, this button will turn it on. Bind them together and turning either on will do the trick.
Now if you could simply add the WOL function within the Samsung TV app, thus eliminating a second app and switch, you'd have a winner.
I never tried linking the app to the Samsung TV apps power switch, but that might work too so f then you wouldn't need the virtual switch.
@lewis.heidrick, Hi.
Thank you for your help, all your instruction works well for me.
But, I have one issue. Tv asks each time when I connect my app confirmation. In tv settings I set Ask only once on first connection, but it steel appear again. Should I somehow describe client to avoid this confirmation? May be I should send client name, ip or MAC?
I tried something like this:
'{"method": "ms.remote.control", "params": {"Cmd": "Click", "Option": "false", "TypeOfRemote": "SendRemoteKey", "DataOfCmd": "KEY_VOLUP"}, "data": {"mac": "00:c3:f4:bf:e6:5b", "ip": "192.168.1.144", "name": "someremote"}}',
It didn't work
Separate question, I noticed for SmartThings integration it calls for a SmartThings API Key which I'm assuming is the Personal Access Token? And the Device Id is the id field (minus the uuid: from the /api/v2/ endpoint)? What capabilities need these settings?
Thanks! I'm grateful I can replace my Logitech Harmony setup because of this driver!
I have 2 Samsung SmartTV sets plus a LG C1. I checked again and it seems I did have the right address but somehow the errors are gone. Meanwhile, I fixed an app that was polling the wrong sets conditions. I have 21 items with reserved IP addresses.