This integrated integration discovers Android TV devices on the network.
Multiple Android TV devices are supported and a media-player entity is exposed to the Remote per device.
Requirements
- Only devices running the Android TV Remote Service are supported.
- ‼️ This service does not work on Amazon Fire TV devices.
- Only devices in the same network can be discovered.
- The mDNS protocol must be allowed in your network.
- In most consumer networks the mDNS protocol is allowed and when the Remote and the Android TV device(s) are on the same network, the Remote should have no difficulties finding the device(s).
- When using mesh networking or professional networking gear, mDNS may be disabled or only specific mDNS services may be allowed. In such cases, please check the manufacturer's documentation on how to enable mDNS or specific mDNS services.
- When using DHCP: a static IP address reservation for the Android TV devices is recommended. A fixed IP address can speed up reconnection after the Remote wakes up from standby.
- See general Network requirements for further information.
Limitations and known issues
- During the setup process, you have to enter a PIN code that is shown on your Android TV.
- Please make sure that your Android TV is powered on and that no old pairing request is shown.
- If pairing continuously fails, reboot your Android TV device and try again.
- If sending commands doesn't work after pairing or the integration is repeatedly disconnected, try rebooting the Android TV device.
- Verify with the Google TV mobile app or the Google Home mobile app to send commands to the Android TV device.
- If these don't work, neither will this integration.
- Not every app will work or supports all keycodes.
- For example, some IP-TV apps don't support channel-up & down commands.
- Retrieving media information is currently not possible but a future update will use Google Cast to retrieve what is playing and allow additional features like seeking.
- Retrieving the installed applications is not supported.
- The shown apps in the input selection list are a pre-defined list of common applications.
- Some devices, like TCL, become unavailable after they are turned off, unless you activate the
Screenless service
.- Activate it under: Settings, System, Power and energy: Screenless service
See also the known issues of Home Assistant's Android TV Remote Integration, since it is using the same communication library.
Available Android device profiles
Unfortunately the keycode support of Android TV devices is very limited and often device-specific. Many Android based devices use different keycodes for common functions like the settings menu.
The Android TV integration contains Device Profiles for the following devices:
- Google Chromecast with Google TV, HD and 4k
- Nvidia Shield TV (Pro)
- Dune HD Homatics Box R 4K Plus
- Philips Android TV
- onn. Streaming Device 4K pro
The profile is automatically selected based on the detected model.
At the moment it is not possible to upload custom device profiles.
Application settings
Kodi
If navigation doesn't work within the Kodi app, an additional input controller needs to be configured first with the original Android TV remote:
- Start Kodi
- Go to Settings, System, Input:
Configure attached controllers
- Select
Get more...
- Scroll down and select
TV Remote
- Configure buttons: select a button in the list with the original remote, then confirm it with the corresponding Remote Two button.
More information
This integration is open sourced. It can also be run on a PC on your network and used as an external integration.