Today we will integrate Android TV/FireTV with Home Assistant in two ways - using Python ADB and later using ADB server plugin for Home Assistant (hassio).
[ Ссылка ]
00:00 Intro
00:53 - In order for your to be able to integrate with Home Assistant, you have to enable developer options on your Android device.
01:57 - for Python ADB (if you are using Docker/Core version, use this) - edit your configuration.yaml (or where ever you have media_player already configured).
media_player: # remove if you already have media player defined
- platform: androidtv
host: 192.168.1.146 # change to IP address of your Android TV
name: SuperTV # Change to anything you like
03:10 - Verify your configuration and restart your Home Assistant. Android TV should be now available in media_player list.
06:07 - In order to push notifications from Home Assistant to Android TV you have to install application on your Android box and also create additional integration. More details are available here:
[ Ссылка ]
07:12 - Hassio/Home Assistant users should use "ADB - Android Debug Bridge" add-on in Supervisor section. First you should install plugin.
07:27 - You need to specify IP address of your Android box in Config secion of add-on.
Just remove "[]" and add in new line:
- 192.168.1.146 #change to IP address of your device(s)
08:17 - For Home Assistant ADB - Android Debug Bridge add-on in hassio, following lines are required:
media_player: # remove if you already have media player defined
- platform: androidtv
host: 192.168.1.146 # change to IP address of your Android TV
name: SuperTV # Change to anything you like
adb_server_ip: 127.0.0.1
09:02 - Restart your Home Assistant after you verify your configuration. And that should be it - Android TV should be now available in media_player list.
11:09 - For more integration details and other options, check [ Ссылка ]
Please, give me a thumb up if you liked this video, subscribe if you still haven't and I'll see you next time!
Have fun!
BeardedTinker
🧡 If you would like to support me and this channel, you can JOIN and become channel member!
[ Ссылка ]
✅Twitter: @BeardedTinker
✅Discord: [ Ссылка ]
#howto #HomeAssistant #androidtv #firetv #pythonadb
![](https://i.ytimg.com/vi/C2RBKuzUpSg/maxresdefault.jpg)