Skip to content

cyosp/tv-remote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tv-remote

Stable version BSD-3 license

Remote for Samsung TV

Prerequisites

Serveur side:

  • PHP
  • Python 3 with packages:
    • wakeonlan
    • websocket-client

Configuration

It's the Python file tv-remote/remote/config.py which contains variables:

  • tvIpAddr : TV IP address
  • tvMacAddr : TV MAC address
  • tvRemoteToken : TV remote token

Create a token

First you must configure TV IP address and then run:

cd tv-remote/remote
python3 send-key.py

You must use original Samsung TV remote to allow the created token to be validated.
Token is then displayed on standard output and must be stored in configuration file.

License

tv-remote is released under the BSD 3-Clause License.
See the bundled file LICENSE for details.