Posted

in

, , ,

by


How to make Fire HD tablet talk in Home Assistant

If you have Amazon’s (or any other ) tablet that shows your dashboard, you can make it talk.

I created a new automation (triggered by a motion sensor) which greets me when I approach the tablet:

home assistant automation screenshot

I used the ‘Send notification’ action, chose the tablet and inserted ‘TTS‘ in the message field.

Then I switched to YAML editing, searched for the TTL and added two lines below it:

data:
    tts_text: Enter text here
home assistant automation YAML screenshot

The result:

The tablet greets me when I approach it

Probably there are better ways to do it, but this was the quickest method for me.

Drawback of this method is that everytime you want to change the text, you have to edit automation’s YAML code. But what if you want to set greeting text from the UI?

Set the TTS text from the HA UI

Firstly, I created a new helper entity – input text (Settings / Devices / Helpers / create helper / Text):

Then I added it to a dashboard:

Then add the following code to the automation’s YAML instead of fixed text:

data:
      tts_text: "{{ states('input_text.kitchen_greeting') }}"

Voila!

*** update 1. Aug. 2024 ***

Short report after 6 months of using this tablet.



Comments

4 responses to “How to make Fire HD tablet talk in Home Assistant”

  1. Julian Lawson Avatar

    @tomi cool. What's the "when I approach it" trigger?

  2. Tomi the Slav and 1024 others Avatar

    @tomi Update: make greeting text dynamic – enter it in #homeassistant UI using text input field card.

  3. Tomi the Slav and 1024 others Avatar

    @tomi Damn, yesterday the wake-screen-on-movement automation suddenly stopped working.
    I suspect some Amazon #FireHD update broke things.
    #homeassistant companion app won't stay pinned anymore – after waking up the tablet screen is locked despite the lock is disabled.

Leave a Reply

Your email address will not be published. Required fields are marked *