driver-samsung-tv

command module
v0.2.0-2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2015 License: MIT Imports: 14 Imported by: 0

README

Ninja Sphere - Samsung TV Driver

godoc MIT License Ninja Sphere Ninja Sphere


Introduction

This is a driver for Samsung Smart TVs, allowing them to be used as part of Ninja Sphere.

It is basically a port of https://github.com/natalan/samsung-remote

Supported Sphere Protocols
Name URI Supported Events Supported Methods
volume http://schema.ninjablocks.com/protocol/volume set, volumeUp, volumeDown, mute, unmute, toggleMute
media-control http://schema.ninjablocks.com/protocol/media-control play, pause
on-off http://schema.ninjablocks.com/protocol/on-off state turnOff
Can't Do
  • There is currently no way to get state back from the television.
  • Turn on the TV. Turning off works, but the TV stops responding once it is in standby mode.
Requirements
  • Go 1.3
Building

This project can be built with go build, but a makefile is also provided.

Running

DEBUG=* ./driver-samsung-tv

Options

The usual Ninja Sphere configuration and parameters apply, but these are the most useful during development.

  • --autostart - Doesn't wait to be started by Ninja Sphere
  • --mqtt.host=HOST - Override default mqtt host
  • --mqtt.port=PORT - Override default mqtt host
More Information

More information can be found on the project site or by visiting the Ninja Blocks forums.

Contributing Changes

To contribute code changes to the project, please clone the repository and submit a pull-request (What does that mean?).

License

This project is licensed under the MIT license, a copy of which can be found in the LICENSE file.

This work is Copyright (c) 2014-2015 - Ninja Blocks Inc.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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