Git Product home page Git Product logo

ha-androidtv-custom's Introduction

HA Android TV Custom integration

This custom integration is the copy of the Android TV integration implemented in Home Assistant with the additional option to define custom commands as supported by the library python-androidtv used both by this and native integration.

The aim is to allow tests and find the final solution to provide support to currently unsupported AndroidTV device, to finally move back to the HA native integration.

Obviously, feedback is important, we can use issue section in this repository or open a discussion on the community forums or Discord chat.

Installation & configuration

You can install this integration in two ways: via HACS or manually.

Option A: Installing via HACS

If you have HACS, you must add this repository ("https://github.com/ollo69/ha-androidtv-custom") to your Custom Repository selecting the Configuration Tab in the HACS page. After this you can go in the Integration Tab and search the "Android TV Custom" component to configure it.

Option B: Manually installation (custom_component)

  1. Clone the git master branch.

  2. Unzip/copy the androidtv_custom directory within the custom_components directory of your homeassistant installation. The custom_components directory resides within your homeassistant configuration directory. Usually, the configuration directory is within your home (~/.homeassistant/). In other words, the configuration directory of homeassistant is where the configuration.yaml file is located. After a correct installation, your configuration directory should look like the following.

    └── ...
    └── configuration.yaml
    └── secrects.yaml
    └── custom_components
        └── androidtv_custom
            └── __init__.py
            └── media_player.py
            └── ...
    

    Note: if the custom_components directory does not exist, you need to create it.

Component setup

For the configuration use exactly the same options used to configure the standard AndroidTV component, however choosing the Android TV Custom component from the list of integrations.

N.B. Before configuring this integration, remove the standard Android TV integration.

ha-androidtv-custom's People

Contributors

ollo69 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ha-androidtv-custom's Issues

Android TV Custom is not showing under Integration page

Android TV Custom is not showing under Integration page after i have added the repo under HACS and i saw it download into the custom_components folder. It is the only folder there for Android called androidtv_custom.

I have rebooted HA and when i go to Integrations to search, it just brings up the none custom one.

SURVEY: Customizable commands used

I open this survey with the purpose to collect the customizable command used in the configuration option. This would probably help to understand the right command to use for different AndroidTV models and find a method to implement this in backend library.

Please provide:

  • Model and manufacturer of your AndroidTV device
  • Customizable command configured

Thanks.

Standby for exactly 10 sec (couple of times per hour) [Nvidia Shield]

First of all: great integration! Finally solved the issue that it was not always showing the name of the app correctly.

I have another unresolved issue though, also occurs with the default integrations.
My Nvidia Shield shows as 'standby' while playing something. This happens a couple of times per hour and it shows 'standby' for exactly 10 seconds.

Knipsel

Do you have any idea what could cause this?

Thanks in advanced.

Support for SmartVU SV11?

I have just bought a SmartVU SV11 and its pretty good little device.

Is this supported? It is based on AndroidTV.

Thanks

Feature suggestion: brightness controls

I'm not sure if this is already possible somehow using already existing integrations, but on my Hitachi Smart TV I discovered that I'm able to change brightness by using this adb shell command:
settings put global picture_backlight 5 (sets to 5 percent)

I didn't find the setting easily, so I thought it might be useful to others (I want to automate brightness during the day), and if it's not in any AndroidTV integration would be a very nice addition.

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.