In the “native room controls” Profile Json file
I have to send http requests to the control system.
I cannot find how to format my data.
In linux I send the command and this is what it looks like
"curl -i http://10.4.201.195:49412/tvOneOff
HTTP/1.1 200 OK
Content-Length: 89
Content-Type: text/html
The control systems logs look like this when it receives a command
"
22/08/2022 11:48:24 - HTTP/1.1 200 OK
Content-Length: 89
Content-Type: text/html
22/08/2022 11:48:27 - GET /tvOneOn HTTP/1.1
Host: 10.4.201.195:49412
Connection: Keep-Alive
Accept-Encoding: gzip, deflate
Accept-Language: en-CA,*
User-Agent: Mozilla/5.0
22/08/2022 11:48:27 - HTTP/1.1 200 OK
Content-Length: 89
Content-Type: text/html
So basically I have a TV I need to do 4 things
power on
power off
input 1
input 2
the tv is being controlled by a control system that receives HTTP GET commands on port 49412
like if you were to open a web browser and type “http://10.4.201.195:49412/tvOneOn”
The tv would turn on and you would receive a message “command success”