Does anyone know how to play TTS notification on HA mobile app instead of Google/Alexa?

I have a few tablets with HA mobile client running on them, I would like to send audio notifications to them.

Currently I have audio notifications playing on google nest hubs.

I’ve searched through the forum and surprisingly found nothing.

Anyone?

I did that succesfully for a long time using Lannouncer. It still works fine.

1 Like
3 Likes

Here’s mine:

action:
  - service: notify.mobile_app_pixel_xl
    data:
      title: "Nobody is home right now, turn off the alarm"
      message: TTS
      data:
        channel: alarm_stream
        priority: high
        ttl: 0

I’m using those settings to ensure it’s played even if the phone is in do-not-disturb. Other settings are available in the docs dschido linked.

5 Likes

I even found the HACS/Browser-mod way too and had that working also.

@Tinkerer - could I use your suggested way to send the message to a group rather than one target?

Sure… there’s no magic here, just building blocks.

I just tried via a group and nothing happened, it appears ‘platform: group’ method only works for actual mobile app notifications and not TTS.

I presume I just have to add multiple service entries under action rather than just send the TTS to a group.

did the notification arrive on the device? check notification history in app configuration. As long as the notification received with message: TTS it will process it as TTS

Strange, literally as I got to the end of reading your post, my phone played back 4 notifications in a row.

I just checked the notification-history in the app-config, and I see the notifications each arriving at different times, however they didn’t play until later and in sequence.

did you have ttl and priority added to the notifications when you sent them? normally delays are related to doze mode so we have to bypass it

That happens to me too.

@dshokouhi on the same topic but slightly different, when is the breaking change due on command notifications?
I read about it in GitHub.

For that one were probably going to talk about it first in a blog post to give a heads up and then do the switch in the next release after that.

1 Like

Group TTS functionality works :tropical_drink:

3 Likes

Sorry to unbury an old threat but what is the current implementation of this feature?
Thank you

Install the official app and it does it.

Thanks.

The tts part only seems to be valid for android. Maybe I should have asked more specificly any way to play tts over the mobile app on ios? Besides uploading a specific wav file.

For me it’s not working. TTS on phone says “please set a title so that text can be processed into speech”.

1 Like

The format changed, check the companion app docs for the updated format.

2 Likes

That’s it! Thank you! It works now. :grin: :+1:

1 Like

Are we out of luck on ios for TTS notifications? I only see instructions for Android :cry: