AutoVoice + Tasker + WhatsTasker

485 views
Skip to first unread message

a.trX

unread,
Jul 23, 2014, 4:13:02 PM7/23/14
to tas...@googlegroups.com
Hey Guys!

So i tried to use Google Now to send messages via whatsapp (using autovoice to recognize the command and hand it on to tasker and complete the sending process with whatstasker)
(send|write) (?<contact>.+) (a whatsapp message|a message via whatsapp) (?<message>.+)

What AutoVoice hands on to tasker as the %contact is "send" (or "write", depending on what i said) and the %message becomes what i said as a contact.
for example when i say: "send Tim a whatsapp message Hi" it sets send as %contact and Tim as %message

as long as i dont use the or operator (...|...) everything is fine.

do you have any advice?

Scott

unread,
Jul 23, 2014, 5:24:29 PM7/23/14
to tas...@googlegroups.com
 IIRC, if you store any group as a variable, you have to store all groups as variables.  So just make temporary variables you never use for your two other groups.

(?<temp1>send|write) (?<contact>.+) (?<temp2>a whatsapp message|a message via whatsapp) (?<message>.+)

a.trX

unread,
Jul 23, 2014, 5:30:40 PM7/23/14
to tas...@googlegroups.com
Thanks a lot! That totally worked! Thank you!

Ruud

unread,
Dec 16, 2014, 10:50:00 AM12/16/14
to tas...@googlegroups.com
Hey dude, could you write me a tutorial on how you did this?

I'm trying to do this as well! I've setup and linked tasker to my moto360. I'm only after the right code to send whatsapp messages now. Seems like you;ve done it already, could you help me out with this?

Please post the process by steps.

Thanks in advance,

Op woensdag 23 juli 2014 23:30:40 UTC+2 schreef a.trX:

Ruud

unread,
Dec 17, 2014, 11:50:41 AM12/17/14
to tas...@googlegroups.com
Could you post a screenshot of your task list with this 'state' profile please?

Ruud Klein Gunnewiek

unread,
Dec 17, 2014, 1:01:21 PM12/17/14
to tas...@googlegroups.com
Got this to work my self after alot of trail and error. Turned out that I had to use multiple words to start the command with ( I use 3 words now to start with ) and an other thing was that I did not have Tasker to have root access. This caused a lot of ExitErr in the log's. 

So, for the googler's out there: remember, if you've got the ExitErr in the log; check if Tasker has got Root access.
If it does have root access>I can't help you
It if does not have root access>create a reboot task, press the 'play' button and grant access rights. Works on SuperSU

2014-12-17 17:50 GMT+01:00 Ruud <ruu...@gmail.com>:
Could you post a screenshot of your task list with this 'state' profile please?

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/JFVKG9wJqdU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

Bernard Yeo

unread,
Jan 24, 2015, 8:08:53 PM1/24/15
to tas...@googlegroups.com
Hi there, I'v been searching for the same solution and trying different ways to send out Whatsapp messages using Autovoice until I stumbled upon here. I have Whatstasker but don't know how to use it. Could you share your profile or screenshots? I know you worked hard and asked another Google Group about it, and I feel cheap just asking for a quick solution...but I would really appreciate it.

Thanks!

Ruud Klein Gunnewiek

unread,
Jan 25, 2015, 6:08:07 AM1/25/15
to tas...@googlegroups.com

Hi, no problem at all! I'm glad to inform you. We're here to learn and Android is open source! Have fun with it.

Screenshot_2015-01-25-11-59-29.png
Screenshot_2015-01-25-11-59-38.png
Screenshot_2015-01-25-11-59-46.png
Screenshot_2015-01-25-12-00-15.png
Screenshot_2015-01-25-12-00-24.png
Screenshot_2015-01-25-12-01-27.png
Screenshot_2015-01-25-12-01-30.png
Screenshot_2015-01-25-12-01-41.png
Screenshot_2015-01-25-12-01-54.png

Bernard Yeo

unread,
Jan 25, 2015, 10:36:40 AM1/25/15
to tas...@googlegroups.com
Hi Ruud,

Thank you for giving me the directions.

But I cannot get it to work. It seems like Autovoice is not giving the command to Whatstasker. I checked that I have root access for Whatstasker and Tasker. How should I speak the command in Autovoice? Is it like this: "Send a message to Penny Chai with the message How are you?"

My commands are
?<temp1>send a message to|send whatsapp to) (?<contact>.+) (?<temp2>say|with the message) (?<message>.+) (regex)




On Sun, Jan 25, 2015 at 7:07 PM, Ruud Klein Gunnewiek <ruu...@gmail.com> wrote:

Hi, no problem at all! I'm glad to inform you. We're here to learn and Android is open source! Have fun with it.

--

Ruud Klein Gunnewiek

unread,
Jan 25, 2015, 11:11:19 AM1/25/15
to tas...@googlegroups.com

No problem, I see you are using the word message twice. As far as my experience goes, this is something you would like to avoid. My best guess would be (after trial and error) that the algorithm can't recognize the second identical word.

My suggestion would be to remove the 2nd 'separation' "message" and replace it with something that isn't alike your first set of instructions (send a whatsapp to..  Or whatever )

Be sure to have a correct separation between your contact and message content by using unique words as I described earlier, because otherwise the algorithm might see your entire input as a contact, because it didn't see the separation check. If that is the case, autovoice will not send a command to what's Tasker because there is no message in that case.

As for the root access :
Be sure to have what's taker, Tasker and autovoice in the superSU app enabled for root access

Good luck

Op 25 jan. 2015 16:36 schreef "Bernard Yeo" <yeobe...@gmail.com>:

Bernard Yeo

unread,
Jan 25, 2015, 6:15:09 PM1/25/15
to tas...@googlegroups.com
Thank you Ruud, it works!

Ruud Klein Gunnewiek

unread,
Jan 26, 2015, 6:17:51 PM1/26/15
to tas...@googlegroups.com

You’re welcome

Reply all
Reply to author
Forward
0 new messages