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:
- Anyone have any additional thoughts on how this might be possible in a DH or SmartApp?
- 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}}