# \[APP\]\[Pro\] Android TV - Community (deprecated)

**URL:** <https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018>\
**Category:** Apps\
**Tags:** homey-pro, community-app\
**Created:** [March 1, 2023, 5:05pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018 "2023-03-01T17:05:49Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [March 1, 2023, 5:05pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/1 "2023-03-01T17:05:49Z")

</div>

# Android TV

Introducing the Android TV app for Homey!

> **[Android TV | Homey](https://homey.app/en-gb/app/codes.lucasvdh.android-tv/Android-TV/)**
>
> Take control of your TV experience

Please note that this is an initial version, which means that there may still be bugs or issues where the app loses connection with your device. I haven’t had enough time to test it thoroughly yet, so please bear with me.

### Links

If you’re interested in learning more about the app, we’ve provided a few links below to help you get started:

- [Documentation](https://homey-android-tv.gitbook.io/en/)
- [Source code](https://github.com/lucasvdh/codes.lucasvdh.android-tv/)
- [Homey App Store Stable v0.5.2](https://homey.app/en-gb/app/codes.lucasvdh.android-tv)
- [Homey App Store Test v0.6.0](https://homey.app/en-gb/app/codes.lucasvdh.android-tv/test)

### Supported devices

The Android TV app for Homey should work with any Android device you can install the [Android TV Remote Service](https://play.google.com/store/apps/details?id=com.google.android.tv.remote.service) on.

You can test if the Homey app will work by trying to control your TV with the remote feature in the [Google TV](https://play.google.com/store/apps/details?id=com.google.android.videos) app, because it uses the same API.

### Supported languages

We currently support the following languages:

- English
- Dutch
- German
- French
- Italian
- Swedish
- Norwegian
- Spanish
- Danish
- Polish

If you have any feedback regarding translations, please let me know by posting in this topic or by [creating an issue on Github](https://github.com/lucasvdh/codes.lucasvdh.android-tv/issues)

### Known issues

- Switching the TV’s input via the flow card action should work but I haven’t managed to get this working on my own TV yet.

- The device in Homey is not set as unavailable if the connection to your TV is lost.

### Feedback

If you have any feedback or issues, please feel free to post them in this topic or create an issue on Github. I appreciate your help in making the app better!

### Future features

I might have a look the following feature:

- Open apps on your TV from a flow card action

If you have any suggestions please let me know!

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [March 1, 2023, 5:06pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/2 "2023-03-01T17:06:47Z")

</div>

# Changelog

## v0.6.0

Added channel up and channel down buttons

> **Full list of changes**
>
> ## Features
> 
> - Added channel up and channel down button capabilities
> - Added channel up and channel down button to flow card actions

## v0.5.2

Fix “device not found” error crashing app and reduce app size.

## v0.5.1

Fix dependency issue

## v0.5.0

Fix infinite crash loop when TV is unavailable and various other improvements

> **Full list of changes**
>
> ## Features
> 
> - Added repair flow for when TV was unpaired
> - Refactor `androidtv-remote` dependency to an internal TypeScript module to fix issues, improve performance and allow for more control and flexibility.
> 
> ## Fixes/improvements
> 
> - Fixed infinite crash loop when TV is unavailable
> - Removed unused dependencies

## v0.4.0

Long press and open application flow card actions

> **Full list of changes**
>
> ### Features
> 
> - New `long_press_key` flow card action, simulate a long key press with a specific duration e.g. 1.5 seconds
> - New `open_application` flow card action, open apps by their deeplink
> 
> ### Changes
> 
> - The `send_key` flow card action was renamed to `press_key`

## v0.3.0

Volume button fixes and new flow card actions

> **Full list of changes**
>
> ### Features
> 
> - Added missing pairing translations for `nl`, `de`, `fr`, `it`, `sv`, `no`, `es`, `da`, `pl`
> - New `send_key` flow card action, simulate a key press from a flow
> - New `application_opened` flow card trigger, trigger flows when the current app changes
> 
> ### Fixes
> 
> - The volume up, down and mute buttons not working
> 
> ### Changes
> 
> - The `volume` capability was changed from a `slider` UI component to a `sensor`

## v0.2.1

Fix pairing link

> **Full list of changes**
>
> ### Fixes
> 
> - An incorrect link to pairing documentation on the `add_by_ip` pairing step

## v0.2.0

New driver image and more App store translations

> **Full list of changes**
>
> ### Features
> 
> - Added new driver images of the type of device it emulates (remote)
> - Added a new Homey App Store slogan
> - Added new Homey App Store descriptions in the languages: `en`, `nl`, `de`, `fr`, `it`, `sv`, `no`, `es`, `da`, `pl`

## v0.1.0

Initial version

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [March 1, 2023, 5:22pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/3 "2023-03-01T17:22:23Z")

</div>

Interesting app!  
You post images in the App Store of the Google Chromecast with Google TV (which runs on Android TV).

That one is obviously plugged into a “normal” TV of course. Is that one indeed supported? Or just TV’s that run Android TV?  
 ![1668674](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/f/8f40d1fee2515d30f6c640a354e374ab3b4353e2.jpeg)

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [March 1, 2023, 5:29pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/4 "2023-03-01T17:29:43Z")

</div>

It shouldn’t matter what kind of device it runs on, as long as it’s Android TV the app should work!

The choice to use the Chromecast with Google TV’s remote as a driver image was made together with Athom because it was an app icon before and they suggested the driver image should represent the function it provides. This might be changed later.

---

<div class="post-metadata">

**Author:** ![Adrian\_Rockall](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/adrian_rockall/32/13209_2.png) [@Adrian\_Rockall](https://community.homey.app/u/Adrian_Rockall)\
**Post date:** [March 1, 2023, 5:39pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/5 "2023-03-01T17:39:23Z")

</div>

Nice to see this as the Sony TV app stopped working. I can use this to switch the TV on and off when my SkyQ box switches on / off.

I’m not sure if the volume, volume up, volume down and mute are still WIP but they just give an error at the moment about missing capability listener.

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [March 1, 2023, 6:32pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/6 "2023-03-01T18:32:56Z")

</div>

Thanks for the feedback!

This is most likely due to me just forgetting to actually link the capability 😅 I haven’t had that much time to test it tbh. I’ll fix this some time next week as i don’t really have any free time left.

---

<div class="post-metadata">

**Author:** ![Alfred\_Nyhus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/alfred_nyhus/32/54183_2.png) [@Alfred\_Nyhus](https://community.homey.app/u/Alfred_Nyhus)\
**Post date:** [March 1, 2023, 10:13pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/7 "2023-03-01T22:13:25Z")

</div>

Same here, volume dont work

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [March 2, 2023, 8:48pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/8 "2023-03-02T20:48:48Z")

</div>

New version (v0.3.0) now available [as the test version](https://homey.app/en-gb/app/codes.lucasvdh.android-tv/test) and it should be released to stable soon.

This version fixes:

- The volume up/down/mute buttons not working.

And it adds:

- Missing pairing translations for `nl`, `de`, `fr`, `it`, `sv`, `no`, `es`, `da`, `pl`
- The `send_key` flow card action, allowing you to simulate a key press from a flow.
- The `application_opened` flow card trigger, allowing you to trigger flow based on which app is opened on your TV.

Please note that I haven’t found a good way to format the application links yet so when an `application_opened` flow card is triggered it will supply the raw application link as the app. For example: `com.disney.disneyplus`

This version also changes:

- The volume capability to be displayed as a sensor instead of a slider which you can’t interact with.

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [March 10, 2023, 9:49am UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/9 "2023-03-10T09:49:20Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/9/a98f98017e08e2a01bade647a80afe57670cabbc.jpeg)  
Get this error today

---

<div class="post-metadata">

**Author:** ![GwoonBert](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gwoonbert/32/17387_2.png) [@GwoonBert](https://community.homey.app/u/GwoonBert)\
**Post date:** [March 11, 2023, 2:47pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/10 "2023-03-11T14:47:56Z")

</div>

Same here. App does not work anymore. Restarting the app does not solve the issue.

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [March 11, 2023, 3:14pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/11 "2023-03-11T15:14:06Z")

</div>

I’m trying to find a solution for this issue. Will release a new test version as soon as I have a potential fix.

---

<div class="post-metadata">

**Author:** ![Philip\_Montgomery](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/philip_montgomery/32/12434_2.png) [@Philip\_Montgomery](https://community.homey.app/u/Philip_Montgomery)\
**Post date:** [March 11, 2023, 10:06pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/12 "2023-03-11T22:06:50Z")

</div>

Seems to be working fine for me

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [March 11, 2023, 10:30pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/13 "2023-03-11T22:30:51Z")

</div>

It’s an edge-case some people encounter that crashes the app. I should have a fix for this sometime this week.

---

<div class="post-metadata">

**Author:** ![Marcel\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_visser/32/66024_2.png) [@Marcel\_Visser](https://community.homey.app/u/Marcel_Visser)\
**Post date:** [March 15, 2023, 7:37pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/14 "2023-03-15T19:37:04Z")

</div>

Thanks for the app! Working great so far for my nVidia Shield and Google Chromecast.

It will be very nice if the app knows if something is playing so that this can be used as a condition flow card.

---

<div class="post-metadata">

**Author:** ![Mariomark1541](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mariomark1541/32/178160_2.png) [@Mariomark1541](https://community.homey.app/u/Mariomark1541)\
**Post date:** [March 15, 2023, 7:59pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/15 "2023-03-15T19:59:40Z")

</div>

Yes that’s a nice future.

If I open an app or shield is playing then turn lights on or off

---

<div class="post-metadata">

**Author:** ![RonnyW](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ronnyw/32/10879_2.png) [@RonnyW](https://community.homey.app/u/RonnyW)\
**Post date:** [March 15, 2023, 8:30pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/16 "2023-03-15T20:30:36Z")

</div>

Hi Lucas,  
while adding a Sony TV I got this error in pair view.

 ![Screenshot_20230315_212645_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/4/74bf5dcbd6d3a1e3dc3cc389d915c0c27c244a3f.jpeg)  
It would be nice if you could check if it’s an implementation issue or if it depends on the device.

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [March 17, 2023, 3:49pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/17 "2023-03-17T15:49:13Z")

</div>

New version (v0.4.0) now available [as the test version](https://homey.app/en-gb/app/codes.lucasvdh.android-tv/test).

This version adds:

- The `long_press_key` flow card action, allowing you to simulate a key press from a flow with a specific duration e.g. 1.5 seconds
- The `open_application` flow card action, allowing you to open apps by their deep links (see deeplinks below).

And it renames:

- The `send_key` flow card action to `press_key`. If you were using the “Send a key” flow card action you need to re-add this card.

### Deeplinks

With the “Open an app” flow card action you can now send a deeplink to your TV and if there’s an app on your TV that listens to this link, it will be opened.

**Note** : sending unsupported deeplinks to your tv may crash the app, I’ve not found a solution for this yet as it seems to bypass the default error handling.

I’ve managed to figure out a few deep links for apps to save you the hassle:

- Amazon Prime `https://app.primevideo.com`
- Disney+ `https://www.disneyplus.co`
- NOS `nos://video/.*`
- Netflix: `https://www.netflix.com/title.*`
- OQEE `link": "https://oq.ee/home/`
- Spotify `spotify://`

### App settings

I’m working on a settings page where you can manage these apps and link them to simple names so they’re easier to use in flows.

If you know the deeplink for any other apps, please let me know because I’ll be able to add them to the default list.

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [March 17, 2023, 3:50pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/18 "2023-03-17T15:50:02Z")

</div>

I’ve been a bit under the weather last week, I’ll try and have a look soon @RonnyW

---

<div class="post-metadata">

**Author:** ![Marcel\_Visser](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcel_visser/32/66024_2.png) [@Marcel\_Visser](https://community.homey.app/u/Marcel_Visser)\
**Post date:** [March 17, 2023, 4:13pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/19 "2023-03-17T16:13:20Z")

</div>

Thanks for the update! I will test it later today…

One button I am missing to control my chromecast is a play/pause button instead of 2 serperate buttons for play and pause. Is this something you can add?

Cheers

---

<div class="post-metadata">

**Author:** ![lucasvdh](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/lucasvdh/32/54915_2.png) [@lucasvdh](https://community.homey.app/u/lucasvdh)\
**Post date:** [March 17, 2023, 4:18pm UTC](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018/20 "2023-03-17T16:18:33Z")

</div>

I’ll add this in the next release, thanks for the feedback.

[Next page](https://community.homey.app/t/app-pro-android-tv-community-deprecated/77018.md?page=2)
