Coder Social home page Coder Social logo

entertaintv_control's Introduction

EntertainTV_Control


If you are looking for an openHAB integration of the Entertain/MagentaTV Media Receiver you should check the native TelekomTV binding: https://github.com/markus7017/org.openhab.binding.telekomtv

Small script to control the Telekom Entertain Receiver with openHAB

Usage: sudo ./entertain_control.sh on | off | status | presskey [log]

status = display power status on = switch on off = switch off presskey = send key , k='P' will press the power button

Use the log option to reditect the log to stdout. Otherwise /usr/share/openhab2/log/entertain_control.log will be used.

Please note:

The script reflects my scenario and doesn't have the target to be a universal implementation supporting all types of Android TVs. Is was tricky to get everything running, esp. the fact that the TV is accepting the ADB connection. I'm not a bash expert, so maybe some optimizations and more specific error handling could be supplied. Looking forward to any contribution. I could also provide some scripts for waking up a Apple-TV or controlling the Telekom Entertain Receiver. If you are interested feel free to cantact me.

Also check https://github.com/markus7017/AndroidTV_Control for control of Android TVs with openHAB.

HappySmartHoming & have fun, Markus

entertaintv_control's People

Contributors

markus7017 avatar

Stargazers

Tobias G avatar JoeD avatar  avatar Christoph avatar

Watchers

JoeD avatar  avatar  avatar  avatar

Forkers

p4tr1ck-v3lt3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.