How to send a text to speech notification to your smartphone

How to send a text to speech notification to your smartphone

Hi guys,

In previous articles I introduced how to send a text notification to your smartphone.

Today we'll learn how to configure an automation to send a text to speach notification instead of posting a simple text on your smartphone.

Software configuration

  1. Home Assistant. I'm currently running version?2022.9.5.
  2. Mobile App integration?configured in Home Assistant. This integration allows Home Assistant mobile app (Android / IOS) to integrate with your Home Assistant environment.

Home Assistant code (yaml) / steps

This is the piece of code -?Automation?- you have to write:

alias: Sending a TTS notification to your smartphone
trigger: []
condition: []
action:
? - service: notify.mobile_app_yoursmartphone
? ? data:
? ? ? message: TTS
? ? ? data:
? ? ? ? tts_text: >-
? ? ? ? ? This is an example of text to speech notification you can get on your smartphone
mode: single        

This is the video showing you up the steps and the final result:

Thank you for reading and watching. ?? I hope you have enjoyed this article and video as well.

I'm available for any feedback so, feel free to contact me or share your thoughts in the comments section below.

Your feedbacks will be very appreciated!

Meanwhile,?if you liked this article share it or?subscribe?to my newsletter?about?Home Assistant?to read all previous episodes and still up to date on latest news.

Does not work on IOS either. You just get a text message of TTS

回复
Adrian K Christopher

Senior Customer Success Account Manager | Microsoft

2 年

Thank you for the code, it works flawlessly on my S10! ?? On the same note, how may i change the default voice of this code? Is there another line of code?

回复
Ramon Grem

IT Professional @ IT-Profile

2 年

Not working for me. really like it if it works for me

Miguel Martins

Técnico de Secretariado

2 年

Fantastic! Very useful. Thanks...

要查看或添加评论,请登录

Emiliano Guerzoni的更多文章

社区洞察

其他会员也浏览了