Advice Request for a custom DH - TV Control (Vizio)!

Need some advice… I am trying to write a Device Handler for a Vizio TV. After researching, there is an https server in the Vizio TV. I’ve had some success sending messages using curl, so I know it is working and the communication is fine [1]. I’ve browsed and read through a ton of the forums and the consensus seems to be that it isn’t possible to call a local HTTPS. Obviously tried within the DH to use HubAction, no dice. Tried using httpput() in both a DH and SmartApp, no dice either.

So, a few questions:

  1. Anyone have any additional thoughts on how this might be possible in a DH or SmartApp?
  2. If that isn’t possible, what additional setup/hardware would you recommend? I have a few options in mind, but I’d like to get some opinions.

It is probably useful to know that these two things are out there:


[1]
Here is an example of the cURL message that will receive a successful response when ran from my PC:
curl -k -H “Content-Type: application/json” -X PUT -d “{“DEVICE_ID”:“12345”,“DEVICE_NAME”:“cURL Example”}” https://192.168.86.203:7345/pairing/start

Response:
{“STATUS”: {“RESULT”: “SUCCESS”, “DETAIL”: “Success”}, “ITEM”: {“CHALLENGE_TYPE”: 1, “PAIRING_REQ_TOKEN”: 925471}}

So, here is my very rough version of DTH and Node code. Node code exposes Tv control over http, since you already able to communicate with TV you might not need it. You can refer to DTH to send commands to TV using http. I only have some controls coded, there is a lot of room to improve this. Feel free to modify as it fit to your needs.

I would like to integrate my new Vizio Smart TV with Smartthings.
I have your device handler installed in Smartthings.
How do I pair the TV with smartthings, so that I can link it with your device handler?

I was never able to get a Vizio TV to work with the old SmartThings platform. It was possible, but with extra hardware (Raspberry Pi). I haven’t officially started work on a new project because the SmartThings platform completely changed right before I planned on starting. I do plan on working on full integration for LG (old & new), Sony and Vizio. It is just going to take some time to get it done and make it perfect.

1 Like

Thanks for the reply.
Please keep us updated if you develop a new DTH.