Create your own personal assistent with Tasker (in multi language) + Google Now integration

Seems something strange on your tasker…
From what I’m seeing, all your tasks are correct… Hmmm…

  • Try to use a global variable instead of a local variable?
  • If that doesnt work, try to put the switch/turn_on in your %HASS_SERVICE (adding at the end), and try to execute without %service, so you would have %HASS_SERVICE%HASS_PSW

Have you tried to use just http post, without variables? will that execute?

Either way, I think there is something wrong with your tasker… On my (nexus) devices, it has been working always flawlessly. I never had any issues…

I don’t know if I understood you correctly. Let’s assume I want to turn on the light by saying: “Living room light on.”

So, my Command Filter looks like this now:

(?<task>.+)

And my task is:

Unfortunately it doesn’t work for me…

nope, in your condition, you see ~ … click on that, you can change that to ~R…
Dont typ ~R in your variable

1 Like

Oh, I feel very stupid now :sweat_smile:

It’s working now!!! Awesome!! Thank you for your help! It even works if I say: “Home Assistant could you please turn on living room lights”

Amazing!!!

Yes, no problem… Match regex, means if Tasker recognize anything what you say, it will execute that…
Eg: it should even work if you say: blablabla, put on blababla living room lights… So it recognize the word ON and LIVING ROOM LIGHTS…

So that way, you have a lot of freedom, what you say to your phone :yum:

I have a different problem now. Tasker and AutoVoice are working as expected, but my normal Google search no longer works, because whatever I say, I get a toast notification “Received possible command: …” and my Google search closes - seems that AutoVoice is interferring.

If I say: “What’s the time?” it gets recognized perfectly, and phone start to speak out aloud the time, I even see the search result but it gets interrupted between and closes.

That’s because Tasker process to your Autovoice. You can configure what should processed are not…

I’ve been looking around AutoVoice for this settings, the only thing I found was in

General Settings -> default recognize settings ->Matching options

but whatever I check, uncheck it doesn’t help, Google search still closes and in log I see that AutoVoice received a possible command…

Work with source, %avsource…

Trying to set up. Having a problem with profile.
When i go to profile
Event->Plugin->Autovoice->Recognized
Than press the pen button on the upper right.
Than have to select “The Hard Way”
Than go to command filter and enter
(?.+) (?.+) and than go back it show up as

Command: Not “(?< task >.+) my (?< device >.+) (regex) (exact)”

After i go to the edit mode i see that there is a check mark on Command filter invert. I uncheck it go back. But it just stays as Not…

Maybe I am making a noob question but isn’t it possible to give to the community the Tasker xml so that everyone could use the same? Or some sort of file that we could import?

For everyone who are interested to: It’s easier to use natural language in Autovoice…
A tutorial how to setup, can be found here:

1 Like

Hi guys!

Thanks for this awesome tutorial. However, my setup is not really reliable.

The problem is that Autovoice does not always works. I have tested it on 2 different devices, but Autovoice only fires the commands 1 out 4 times. Google Now opens up, the voice command is properly recognized by GN, but Autovoice just won’t do a thing :frowning:
Any ideas?

Thanks!

Strange, I never had problems with AutoVoice, it has been worked flawless for me…

It used to work great for me too. Let me get a deeper look at all the logs… But still, it’s really strange that I get this behaviour on both my mobile phone and the Android box :-/