goremote

command module
v0.0.0-...-1d7dbd9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2015 License: MIT Imports: 13 Imported by: 0

README

GoRemote

A quickly hacked (POG alert) Virtual TV remote controller because sometimes it's much easier to use a notebook to control your "smart" TV through Wi-Fi network:

This was tested with a Sony Bravia KDL-50W805B and alike. PRs supporting other devices are welcome.

Install

go get github.com/marcioAlmada/goremote
cd $GOPATH/src/github.com/marcioAlmada/goremote
make
make install

Usage

GUI

To use the GTK GUI interface:

$ goremote <tv-ip> # click the buttons :)

First time TV access can't be done with the GUI yet because I was too lazy to implement the auth screen, here.

Terminal

To use the curses (terminal) interface:

$ goremote <tv-ip> --repl # use the computer keyboard :)

Ex: my TV has a fixed IP so I always: goremote 10.0.0.101 --repl.

Is My Smart TV Compatible?

With fingers crossed, try to run:

curl "http://<tv-ip>/sony/accessControl/actRegister"
# OR
curl "http://<tv-ip>/accessControl/actRegister"

If you get {"error":[501,"Not Implemented"]} response your TV is probably compatible :)

To Do

  • Add the pin code promt screen to GTK app
  • Add device autodiscover so it won't be necessary to type the IP
  • Add support to other smart TVs

Copyright (c) 2014 - 2015 Márcio Almada. Distributed under the terms of an MIT-style license. See LICENSE for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL