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:

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”}”


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.