How-To Send Text Messages via Google Home (Text Any Contact or Ph#)

muniz_ri

Senior Member
Jun 27, 2012
3,257
4,980
113
***12/15/2017*** The method below has been replaced with the following improved method: Text Messaging with Google Home and AutoVoice


**Updated 5/27/2017**

After installing this profile you will be able to say "OK Google, text <name of any contact or a ph#>" followed by "message" then <the body of your message>.

Video Demo - 1
Video Demo - 2

Part 1.
1. Download and install the Tasker, AutoContacts BETA and Pushover apps. Also download the Send_Message.prf.xml (you will make use of this file in Part 3).
2. Open AutoContacts, grant all permissions and allow it to load your contacts (I recommend that you upgrade to the full, paid version or you will only have access to a limited number of contacts).
3. Open Pushover and create an account (it’s free).

Part 2.
1. Go to IFTTT.com and create the following two applets:

Applet# 1:
a. “This” – Google Assistant channel - “Say a Phrase with a Text Ingredient”
i. Under “What do you want to say?” – Enter “please text $”
ii. Under “What do you want the Assistant to say in response?” – Enter “ok, text $ , would you like to send this message”

b. “That” – Pushover channel - “Send a Pushover notification”
i. Under “Title” enter “text”
ii. Under “Device” select your device’s name. You can leave, or change, the other default entries according to your preference.

Applet# 2:
a. “This” – Google Assistant channel - “Say a simple phrase”
i. Under “What do you want to say?” – Enter “please send message”
ii. Under “What do you want the Assistant to say in response?” – Enter “ok, sending message”

b. “That” – Pushover channel - “Send a Pushover notification”
i. Under “Title” enter “text”
ii. Under "Message" enter "send"
iii. Under “Device” select your device’s name. You can leave, or change, the other default entries according to your preference.

Part 3.
1. Place the "Send_Message” xml file in your device’s Tasker/profiles folder (if these folders do not exist then create them).
2. Open Tasker and long-press “Profiles,” then select “Import” and import the xml file from Part 1.
3. Back-out of Tasker to save the profile. Done!

To send a text message, use the following command format:
1. “Ok Google, text <name of your contact> "message" <followed by the body of your text message>." GH will read back your message and ask if you want to send it.
2. Say "Ok Google, send message" to send or, restate your message to make corrections. Enjoy!

**Important**
- You must say the word "message" after you state the name of the contact to message and before you state the actual message body! The Tasker profile identifies the word "message" as the "splitter/separator" between the name of your contact or ph# and the body of your text message.
- Turn off battery optimization for Tasker, AutoContacts, and Pushover or your device may disable these apps when idle.


Other Google Home Projects:
- Ask Google Home - Who Called?
- How-To Hear Missed Call and Unread Text Message Reminder on Google Home
- How-To Make Google Home Announce Incoming Calls and Auto-Read New Text Messages
- Google Home - Quick Todoist Update and Recurring Reminder
- Google Home Spotify Alarm
- How-To Reply to Text Message with Google Home
- How-To Have Google Home Read Your Last Text Message
- How-To Initiate Phone Calls via Google Home
- How-To Create Calendar Events using Google Home
- Google Home - Announce Incoming Notifications
- Start Navigation with Google Home
 
Last edited:

lonespeaker

Senior Member
Dec 4, 2011
321
318
0
North East England
thanks for posting this great tip but I have a problem

I've setup everything as per your instructions, my GH understands the voice commands I give it, but no text message is actually sent

I wonder if there is some setup of autocontacts that I need to do? I'm new to tasker so don't fully understand how it all works together :)

edit: I got it to work, needed to upgrade autocontacts to the beta version. thanks again for all your great GH tips
 
Last edited:

muniz_ri

Senior Member
Jun 27, 2012
3,257
4,980
113
thanks for posting this great tip but I have a problem

I've setup everything as per your instructions, my GH understands the voice commands I give it, but no text message is actually sent

I wonder if there is some setup of autocontacts that I need to do? I'm new to tasker so don't fully understand how it all works together :)

edit: I got it to work, needed to upgrade autocontacts to the beta version. thanks again for all your great GH tips
My bad, I forgot to mention and link to the BETA version of AutoContacts. Glad that you figured it out. OP updated.
 

rayma39

New member
Apr 21, 2017
1
0
0
Thanks for the guide, I followed it and ran into the same problem as the first comment. I realized I also did not have the beta version of AutoContacts so I followed your link to download it and ran into a message on GooglePlay saying "Your account isn't currently eligible for this app's testing program" Is there anyway to get added to this or make regular AutoContacts to work with the rest of the set up?

Thanks
 
Last edited:

muniz_ri

Senior Member
Jun 27, 2012
3,257
4,980
113
Thanks for the guide, I followed it and ran into the same problem as the first comment. I realized I also did not have the beta version of AutoContacts so I followed your link to download it and ran into a message on GooglePlay saying "Your account isn't currently eligible for this app's testing program" Is there anyway to get added to this or make regular AutoContacts to work with the rest of the set up?

Thanks
I have never encountered that issue. Try going here to sign up for BETA and see if that works: https://joaoapps.com/beta-testing/
 

mrniceguy1849

Senior Member
Nov 25, 2009
106
77
0
Chicago, IL
I have followed every single step and on the tasker profile keeps giving me an error on the Variable Split.
Variable split: can't split unset value to set %pushovermesssage
Do I need to be rooted to use it? I have the galaxy s8
thanks
 

muniz_ri

Senior Member
Jun 27, 2012
3,257
4,980
113
I have followed every single step and on the tasker profile keeps giving me an error on the Variable Split.
Variable split: can't split unset value to set %pushovermesssage
Do I need to be rooted to use it? I have the galaxy s8
thanks
You don't need root. Make certain that you are phrasing your message properly, i.e. "text <name> message <body of your message>" Open the pushover app and confirm the message is coming over correctly.
 

mrniceguy1849

Senior Member
Nov 25, 2009
106
77
0
Chicago, IL
You don't need root. Make certain that you are phrasing your message properly, i.e. "text <name> message <body of your message>" Open the pushover app and confirm the message is coming over correctly.
I checked the pushover app and it is coming over correctly but I always get a message on my own phone from anonymous with the text % pushovermessage2.
When I run the pushover task in tasker I get an error in line 6
thanks
 

Attachments

muniz_ri

Senior Member
Jun 27, 2012
3,257
4,980
113
I checked the pushover app and it is coming over correctly but I always get a message on my own phone from anonymous with the text % pushovermessage2.
When I run the pushover task in tasker I get an error in line 6
thanks
Can you send a test message and post a screen shot of the pushover message?
 

GrazedNutsack

New member
Mar 22, 2015
4
0
0
I suspect the issue is user error which is why I need the screenshot to confirm. mrniceguy1849 never posted the screenshot when requested.
I guess but it's strange that we both have the same exact 'user error'. I was fiddling with it all night last night and couldn't get it to work properly. I'd post screenshots if I could.
 

walktheline687

New member
Jun 25, 2017
2
1
0
I think the problem people are having is they're not saying "message" after they say the contact name and before the text content. If you watch the video, the formula is:

Hey Google text <contact> message <text contents>
Hey Google send message

If you never say "message" the program never knows that you stopped saying the contact name and started the message body.
 
  • Like
Reactions: muniz_ri

muniz_ri

Senior Member
Jun 27, 2012
3,257
4,980
113
I think the problem people are having is they're not saying "message" after they say the contact name and before the text content. If you watch the video, the formula is:

Hey Google text <contact> message <text contents>
Hey Google send message

If you never say "message" the program never knows that you stopped saying the contact name and started the message body.
Exactly!