Fire TV Stick 4K can't turn off tv via ADB

So… there is no option to cleanly shut down a Fire TV using ADB commands?

I for now use a (quite ugly) workaround by sending this key combinations:

HOME
HOME
CENTER
HOME
--------
LEFT
LEFT
LEFT
DOWN
DOWN
DOWN
CENTER
DOWN
DOWN
DOWN
CENTER

This activates the “deep sleep” of FireTV - which is obviously no power off, as the device still responds to echo requests (ping) on the network.
Note that until the “-------” it’s a bit of error control cause we never know in what state the Fire TV currently is (home screen or profile selection pre-screen e.g.).

Does someone know if there’s a technical difference between the

  • SLEEP (ADB command) and the
  • deep sleep function selected in Fire TV (long press HOME and switch right to sleep (dunno what it is in English)

:question:

If SLEEP is the same all that send key commands party can be replaced.

For real power off:
I searched the whole web (really, not much left out there :smiley: ):

  1. I also tried to send few ADB commands mentioned here where only poweroff -p is working …and it reboots the Fire TV, does not shut it down.
  2. This one looked promising, but in the end keyevent 26 is the well-known SLEEP command. :frowning:
1 Like

For me “reboot -p” works well and shutdowns the fire tv. The problem is that in order to power it on again it needs to be unplugged and then reconnected to the mains.

So idea why. As mentioned, for me using „reboot -p“…

reboots the Fire TV, does not shut it down.

My solution is to use the Alexa Media Player from HACS.

service: media_player.play_media
target:
  entity_id: media_player.guest_room
data:
  media_content_type: custom
  media_content_id: 'turn off tv'