New to HA using Portainer

Hello all! I just setup Docker and Portainer on my Ubuntu Server and am having a lot of fun playing with containers. I just setup HA and got a few things added. I love the idea of being able to control my Amazon Fire Sticks from the HA app but am really struggling. I was able to connect via the android debug bridge but that only gives me start/pause, power, rewind/fast forward. Is there a way I can get at least the direction buttons, OK and back? I could probably live with just that at least. I’ve been searching for hours and I really hope I’m not limited because I’m using Docker with Portainer. Thank you!!!

I’m pretty sure it has nothing to do with the HA version you are running (HA Container).

I think what you want is to use the new “Android TV Remote” integration:

Definitely works for my Shield, so I guess it should work for AFS as well

[...]
    - service: androidtv.adb_command 
      target:
        entity_id: media_player.shield_atv
      data:
        command: CENTER
[...]
    - service: androidtv.adb_command 
      target:
        entity_id: media_player.shield_atv
      data:
        command: BACK
[...]
    - service: androidtv.adb_command 
      target:
        entity_id: media_player.shield_atv
      data:
        command: UP
[...]
    - service: androidtv.adb_command 
      target:
        entity_id: media_player.shield_atv
      data:
        command: DOWN
[...]
    - service: androidtv.adb_command 
      target:
        entity_id: media_player.shield_atv
      data:
        command: LEFT
[...]
    - service: androidtv.adb_command 
      target:
        entity_id: media_player.shield_atv
      data:
        command: RIGHT

@finity I’m pretty sure the “Android TV Remote” is limited to Google’s Android TV, so not Amazon Fire, but I could be wrong.

I thought Android TV remote would work with all android tv’s. I think that the Firestick is an Android TV version.

Of course I could be wrong as well. The docs don’t specify either way whether it’s only Google’s version or others too.

:man_shrugging:

No. Although they are both meant for TVs and both based on Android, “Android TV” is google’s OS and “Amazon Fire TV” amazon’s, but they have nothing in common besides those 2 points, really :slight_smile:

1 Like