dev-master
9999999-devPHP Remote control for Sony Android TVs.
MIT
The Requires
v1.0.1
1.0.1.0PHP Remote control for Sony Android TVs.
MIT
The Requires
v1.0.0
1.0.0.0PHP Remote control for Sony Android TVs.
MIT
The Requires
PHP Remote control for Sony Android TVs.
A Command-Line Remote control for Sony Bravia Android TV written in PHP., (*2)
It was one of those evenings where I could not find the fu****g remote for my TV. So instead of doing the work I'm supposed to do. I decided to procrastinate by writing this little program that allows you to control your Sony Android TV over the command line., (*3)
, (*5)
If you are using composer you can make use of global packages., (*6)
$ composer global require mario-deluna/phptv
Make sure that you have exported the vendors bin path:, (*7)
$ export PATH="$PATH:$HOME/.composer/vendor/bin"
You can also just download and use the prebuild .phar
., (*8)
$ wget https://github.com/mario-deluna/PHPTv/blob/v1.0.1/phptv.phar?raw=true -O phptv.phar
And if you trust me, add it to your bin dir., (*9)
$ sudo chmod a+x phptv.phar $ sudo mv phptv.phar /usr/local/bin/phptv
Now you should be ready to use the remote., (*10)
To start the remote just enter phptv <the ip of your tv> <psk>
., (*11)
$ phptv 192.168.1.42 0000
Remote key controls:, (*12)
------------------------------------------------------------ | key | action | description | ============================================================ | ← | Left | Navigate left | ------------------------------------------------------------ | → | Right | Navigate Right | ------------------------------------------------------------ | ↑ | Up | Navigate Up | ------------------------------------------------------------ | ↓ | Down | Navigate Down | ------------------------------------------------------------ | ↵ | Confirm | Enter / Confirm | ------------------------------------------------------------ | ⌫ | Return | Go Back / Return | ------------------------------------------------------------ | c | Command | Opens the command prompt. | ------------------------------------------------------------ | f | Forward | Enter the forward raw commands mode. | ------------------------------------------------------------ | g | Home | Go Home. | ------------------------------------------------------------ | p | TogglePower | Turns the TV on / Off | ------------------------------------------------------------ | m | Mute | Mute / Unmute the Tv. | ------------------------------------------------------------ | b | VolumeDown | Turn down for what? | ------------------------------------------------------------ | n | VolumeUp | Turn up the Volume | ------------------------------------------------------------
This is an absolute "just for fun" and "because I can" project. You will be off much faster just using the normal Remote. I still hope you like this little goof., (*13)
The MIT License (MIT). Please see License File for more information., (*14)
PHP Remote control for Sony Android TVs.
MIT
PHP Remote control for Sony Android TVs.
MIT
PHP Remote control for Sony Android TVs.
MIT