Sony TV Web Page Remote Control
Web Page based Sony Remote Control
This is a web page based Sony TV Remote Control.
It can be used online, installed locally, or installed as a web extension.
It provides quick access to some often used commands such as Muting, entering all the digits to change a channel number using a single click, and any user-defined custom command sequence.
The web page has a setup that allows for creating custom buttons to send your own commands to the TV, and it comes bundled with some fixed commands (such as Mute, Volume Up and Down, Power On/Off, etc).
It can be used on any device that can access both the web remote control page and the TV to be controlled. On smartphones (or desktop too), it is also possible to create a Home Screen shortcut to the web page which allows for quick access to the remote control.
Sony does provide a smartphone app with similar controls and far more capability, but it is very slow to startup and has too many additional features that make it more complex to use. And it has no quick way to enter a channel number - entering 38.1 requires clicking on four buttons (or more) instead of just one button using this tool.
For more information and screenshots of the extension web page, visit the home page which also has a link to an online working version of this web page Sony remote control.
The home page link contains some more information as well as a link to the actual working Sony TV Remote control page.
How it works
Sony Bravia TVs (2016 or later, some earlier ones too) support IRCC control (infrared-like-control-commands).
These can be sent to the TV over HTTP using a POST web request.
Sony TVs also offer a way to provide security by defining a Pre-Shared Key on the TV which has to be provided in the POST request header.
Use as a web page
This is the easiest way to use this tool. The link to the online web page is provided on the home page: ACZoom.com/tech/sony-tv-remote/
Use as Web Extension
This is only provided for TVs that do not send the correct CORS headers. (At least the Sony TV I tested and from other reports on the web, it seems that all Sony TVs do send CORS headers, so using this as a web extension may not be necessary).
Firefox Add-on (Web Extension) is available at the Firefox pages: Firefox Add-on Sony TV Web Page Remote.
Just for reference, here are the HTTP headers actually seen on a computer loading this Sony TV Web Remote page:
Sent to TV when loading this page from the online page at http://www.aczoom.com/..../sony-tv.html page: Access-Control-Request-Method: POST Origin: null Origin: http://www.aczoom.com\r\n Get this in response: HTTP/1.1 200 OK Access-Control-Allow-Origin: http://www.aczoom.com\r\n Access-Control-Allow-Credentials: true Sent to TV when loading this page locally as a file://..../sony-tv.html page: Origin: null Get this in response: Access-Control-Allow-Origin: null Sent to TV when loading from a local web server as http://10.0.0.29/.../sony-tv.html page: Origin: http://10.0.0.29 Get this in response: Access-Control-Allow-Origin: http://10.0.0.29
This means the Sony TV is correctly configured to send the CORS header, which for a Apache
web server means enabling
If you are using a Sony TV without CORS setup, then the Web Extension is necessary and that will work.
No email support
If you do find a bug or have a feature request, feel free to file it at the (GitHub aczoom) Sony TV Remote issues page.