Control another android by voice . Tasker task - Tasker Tips & Tricks

I have a android 4.4.4 car radio. But the Google voice on that devices is really bugging. It drives me crazy
How can I make tasker profiles to control that device with the google voice on my fone.
I hope that someone have any idea.

AutoVoice + AutoRemote?

Can you give me a example of a task/event please

Related

Enable Motorola Assist with NFC/Tasker?

I like the Motorola Assist feature that reads back texts to you. My problem is, I don't want it enabled every time I'm in a car. For example, I do not want it to read back texts to me when I'm a passenger in someone else's car. I also don't want it to read back texts when I have passengers in my car.
Is there a way I can create a Tasker task that would enable the Motorola Assist Driving function via an NFC tag with NFC Task Launcher? I'm pretty familiar with NFC Task Launcher but I'm pretty much a total noob with Tasker.
Sorry...I meant to post this in the Q&A forum. Moderators, feel free to move it if necessary.
bump
clankfu said:
I like the Motorola Assist feature that reads back texts to you. My problem is, I don't want it enabled every time I'm in a car. For example, I do not want it to read back texts to me when I'm a passenger in someone else's car. I also don't want it to read back texts when I have passengers in my car.
Is there a way I can create a Tasker task that would enable the Motorola Assist Driving function via an NFC tag with NFC Task Launcher? I'm pretty familiar with NFC Task Launcher but I'm pretty much a total noob with Tasker.
Click to expand...
Click to collapse
I just received my Moto X and had this exact thought. I'd like to be able to automatically trigger Driving mode, but only conditionally when an NFC tag is triggered, and then have it determine when I'm not driving anymore on its own.
Unfortunately, this would almost certainly require an API to be open by the Motorola Assist app that would allow another program to talk to it and issue it commands. I don't think that's the case, which is a bit of a bummer, since it's so useful.
I was taking a short drive back to my office, so I didn't bother to pull my phone out of my pocket. Sure enough, about 2 minutes into the ride, my Pandora station started back up automatically, and since it's paired to Bluetooth, it just started playing through my car speakers, which was awesome. Would be more awesome if it was triggered automatically by BT, and/or NFC though...
unless you can get the intent info for assist the best option may be to use tasker and input taps to open assist and toggle it on/off.
I haven't tested this at all because I just decided to make my own version of this in tasker that I can enable/disable any time I want with other profiles or via voice commands.
ntalbert000 said:
unless you can get the intent info for assist the best option may be to use tasker and input taps to open assist and toggle it on/off.
I haven't tested this at all because I just decided to make my own version of this in tasker that I can enable/disable any time I want with other profiles or via voice commands.
Click to expand...
Click to collapse
Sorry if I sound dumb, but I am new to Tasker. Is your solution possible without root? Is it possible for you to post the steps you used to create this toggle?
THANKS!
jmgordon613 said:
Sorry if I sound dumb, but I am new to Tasker. Is your solution possible without root? Is it possible for you to post the steps you used to create this toggle?
THANKS!
Click to expand...
Click to collapse
pretty sure you need root for input taps

[Q] Touchless control to activate Utter?

I'm running version 4.4, not rooted, Moto x. Utilizing Tasker, what is the easiest way to have the touchless control prompt "ok google now" directly initiate/bring up the Utter voice command app to it's listening state? I can accomplish this no problem with the screen on and unlocked, but I want the ability to also launch it with the screen off/inactive. I am most familiar with utter but will be fine using any voice command app if necessary. I just want to be able to utilize UItter voice command capabilities without it always being in a permanent listening state, which really drains my phone's battery life. Thanks for any suggestions!
I am also interested in this. The following thread should give you some leads:
http://forum.xda-developers.com/moto-x/general/moto-x-offline-recognition-solved-t2571466
Utter
masterfisher166 said:
I'm running version 4.4, not rooted, Moto x. Utilizing Tasker, what is the easiest way to have the touchless control prompt "ok google now" directly initiate/bring up the Utter voice command app to it's listening state? I can accomplish this no problem with the screen on and unlocked, but I want the ability to also launch it with the screen off/inactive. I am most familiar with utter but will be fine using any voice command app if necessary. I just want to be able to utilize UItter voice command capabilities without it always being in a permanent listening state, which really drains my phone's battery life. Thanks for any suggestions!
Click to expand...
Click to collapse
I use the Ok Google now trigger intent xposed module and in tasker use it to launch the utter! Shortcut available from the playstore so that way I have always listening capability without the battery drain that permanent recognition from utter brings and it works perfectly everytime, the alternative is to use touchless controls together with auto voice recognise within tasker and get the Google now api xposed module so that you're still using Google now but tasker tasks can be implemented by voice in Google now, hope that helps although you need to be rooted which I have only just reread your comment to see that you are not
Without root, your options are a bit limited. Utter! Has a direct shortcut to launch its voice recognizer? If so, you can say "OK, Google now, open (utter! shortcut name) app" Kinda awkward, but it should work.
Sent from my XT1060 using XDA Premium 4 mobile app
<br />
I use the Ok Google now trigger intent xposed module and in tasker use it to launch the utter! Shortcut available from the playstore so that way I have always listening capability without the battery drain that permanent recognition from utter brings and it works perfectly everytime, the alternative is to use touchless controls together with auto voice recognise within tasker and get the Google now api xposed module so that you're still using Google now but tasker tasks can be implemented by voice in Google now, hope that helps although you need to be rooted which I have only just reread your comment to see that you are not<br/>
Can you elaborate on this? I'm not a big Tasker user.
Sent from my XT1053 using Tapatalk
Touchless utter
overthatscreen said:
<br />
I use the Ok Google now trigger intent xposed module and in tasker use it to launch the utter! Shortcut available from the playstore so that way I have always listening capability without the battery drain that permanent recognition from utter brings and it works perfectly everytime, the alternative is to use touchless controls together with auto voice recognise within tasker and get the Google now api xposed module so that you're still using Google now but tasker tasks can be implemented by voice in Google now, hope that helps although you need to be rooted which I have only just reread your comment to see that you are not<br/>
Can you elaborate on this? I'm not a big Tasker user.
Sent from my XT1053 using Tapatalk
Click to expand...
Click to collapse
Download and install utter quick launch from the playstore and the okgooglenowtriggerintent module from xposed, once you have activated it and rebooted in xposed framework open tasker and create a new profile, hit event then in the popup start to type intent and send intent will appear, hit that and in the action section type the following:
com.hawkjm.okgooglenowtriggerintent.AUDIO_TRIGGER
Press back and new task popup will appear, choose application and select utter quick launch, make sure tasker is running and the new profile is active in tasker and keep pressing back until tasker exits, now everytime you say ok Google now utter will listen instead of Google now, you might want to customise the response from your command in utter, I changed mine simply to yes each time I activate utter and bear in mind that it has nothing to do with the wake up command settings in utter, I hope that all makes sense
If it's the tasker tasks in Google now that you are interested in then download autovoice from the playstore and the Google search api from the xposed framework application downloads section and activate it and reboot,
Open autovoice and scroll to the bottom and make sure that Google search api is enabled then open the Google search api app that you downloaded (should now be an icon) swipe across to the right and make sure autovoice is there, if not then reboot, if so open tasker, create a profile, select state, plugin, autovoice recognised then next to configuration hit the edit button, scroll to command filter and type the Phrase that you want to be recognised for example Toggle bluetooth, back out of it and hit the tick, then select the task that you want to perform (the possibilities are endless) and back out of tasker until it closes then try out your command, create new profiles for each autovoice command that you want to execute,
Google search will try and search for whatever you say even though it will execute your task, if you're fine with that then leave it as it is, if you want Google search to close after executing certain commands then under each task that you create press plus, select if and make the top line look like this:
%avsource ~ googlenow
Then hit back, hot plus and type kill application and select that option, search for google search and tick use root,
Hit back again and hit plus and type end if and select it and then hit back until tasker exits. Now whenever you say that particular command Google now will execute it and then return to where you were previously, if you don't want to do that for each task simply create a profile for recognising the Phrase homepage and have it run the task homepage
mpd81 said:
Download and install utter quick launch from the playstore and the okgooglenowtriggerintent module from xposed, once you have activated it and rebooted in xposed framework open tasker and create a new profile, hit event then in the popup start to type intent and send intent will appear, hit that and in the action section type the following:
com.hawkjm.okgooglenowtriggerintent.AUDIO_TRIGGER
Press back and new task popup will appear, choose application and select utter quick launch, make sure tasker is running and the new profile is active in tasker and keep pressing back until tasker exits, now everytime you say ok Google now utter will listen instead of Google now, you might want to customise the response from your command in utter, I changed mine simply to yes each time I activate utter and bear in mind that it has nothing to do with the wake up command settings in utter, I hope that all makes sense
If it's the tasker tasks in Google now that you are interested in then download autovoice from the playstore and the Google search api from the xposed framework application downloads section and activate it and reboot,
Open autovoice and scroll to the bottom and make sure that Google search api is enabled then open the Google search api app that you downloaded (should now be an icon) swipe across to the right and make sure autovoice is there, if not then reboot, if so open tasker, create a profile, select state, plugin, autovoice recognised then next to configuration hit the edit button, scroll to command filter and type the Phrase that you want to be recognised for example Toggle bluetooth, back out of it and hit the tick, then select the task that you want to perform (the possibilities are endless) and back out of tasker until it closes then try out your command, create new profiles for each autovoice command that you want to execute,
Google search will try and search for whatever you say even though it will execute your task, if you're fine with that then leave it as it is, if you want Google search to close after executing certain commands then under each task that you create press plus, select if and make the top line look like this:
%avsource ~ googlenow
Then hit back, hot plus and type kill application and select that option, search for google search and tick use root,
Hit back again and hit plus and type end if and select it and then hit back until tasker exits. Now whenever you say that particular command Google now will execute it and then return to where you were previously, if you don't want to do that for each task simply create a profile for recognising the Phrase homepage and have it run the task homepage
Click to expand...
Click to collapse
Great topic! Learning more about integrating Google Now and AutoVoice, but i have some doubts yet
I have a MotoX and do not want to leave the continuous mode autovoice on because MotoX has dedicated processor for voice recognition, intend
use "OK Google Now" to enable the continuous mode autovoice.
Could be accomplished?
"OK NOW GOOGLE", "MOTO X" "TURN ON TV"
^MotoX feature
^Enable AutoVoice
^Action
dont like Utter!...
Easily acomplished
klucilla said:
Great topic! Learning more about integrating Google Now and AutoVoice, but i have some doubts yet
I have a MotoX and do not want to leave the continuous mode autovoice on because MotoX has dedicated processor for voice recognition, intend
use "OK Google Now" to enable the continuous mode autovoice.
Could be accomplished?
"OK NOW GOOGLE", "MOTO X" "TURN ON TV"
^MotoX feature
^Enable AutoVoice
^Action
dont like Utter!...
Click to expand...
Click to collapse
You can accomplish it a couple of ways, if you use the okgooglenowintent xposed module as described above and instead of choosing utter quick launch you choose autovoice recognise as your task and give your commands that way (using this xposed module doesn't use autovoice permanent recognition, it uses the same as the touchless control does its just intercepting and switching touchless control for whatever app you replace it with so it doesn't drain any battery)
Or you can get the Google search api xposed module and set it up like I have above so that all of your tasker tasks are accomplished using Google now, so for example at screen off "OK Google Now turn on the tv" and providing you have the tasker task setup using the autovoice recognised profile or will perform the task for you
Just to clarify, using autovoice recognised under profile in tasker does not drain the battery as it's not the same thing as continuous listening mode in autovoice and you are using the moto x dedicated core for listening for your ok Google now command

[Q] App to launch app on phone / google voice

So the s-voice has proven fairly limited to Google Now. I've managed to get Google now (on my phone) to intercept and listen to command from my Galaxy Gear 1 stock (setting in Google Now to listen from Bluetooth). However, what would complete the equation is if I can launch Google Now from the GG. Is there an app that can do this? Preferably hook into the Power button on GG, but would I would settle for a simple widget on screen.
I've also tried the Null 23 ROM, but what I've noticed is the Google Now Bluetooth listening functionality no longer worked after that (nor did the camera app that came with NULL rom!). Since the listening part doesn't work, the only option left was to make the GG handle Google Now directly on the gear, which is not optimal (shifting more processing to watch = more processing/battery drain/slower/more mod/tethering to deal with etc)
I'm using Tmobile Note 4. I would prefer not to have to root if possible. Any help/ideas greatly appreciated!
Thanks!
I'm running null 23 with my note 3 and the listening function on Google now works. You have to enable it in settings. Combine this with tasker and tasgear, and you'll get exactly what you're seeking. Search in this forum.
nghiaxp said:
I'm running null 23 with my note 3 and the listening function on Google now works. You have to enable it in settings. Combine this with tasker and tasgear, and you'll get exactly what you're seeking. Search in this forum.
Click to expand...
Click to collapse
I'm on the Tmobile Note 4. To get Google Now (in the phone) recognition via Bluetooth, did you have to do any special config after you installed the null 23?
Also, is there any easy way to work on Tasker on the gear? After playing with custom ROMs and configuring on the gear, it doesn't seem that fun typing with fat fingers :X
Also, are you tethering with PDAnet or standard Bluetooth tether? The PDANet route with xpose framework still feels unstable (Voice on the Gear as standalone would not recognize my commands).
Same thing. Tasgear and tasker on Nul Rom,
Gear shortcut to launch tasker task to use taskger start tasker task on phone.
Tasker on phone turns on screen and launches google now
Google now on phone uses BT to listen to the gear
Tethering isn't required for this function.
When I do tether, I use Bluetooth Auto Connect on Gear which has tasker plugin
fat fingers
pingmustard said:
I'm on the Tmobile Note 4. To get Google Now (in the phone) recognition via Bluetooth, did you have to do any special config after you installed the null 23?
Also, is there any easy way to work on Tasker on the gear? After playing with custom ROMs and configuring on the gear, it doesn't seem that fun typing with fat fingers :X
Also, are you tethering with PDAnet or standard Bluetooth tether? The PDANet route with xpose framework still feels unstable (Voice on the Gear as standalone would not recognize my commands).
Click to expand...
Click to collapse
I'm also running the null Rom on my gear. I use the bluetooth tether option in the gear Bluetooth settings. So far I've tried both using Google now straight from the gear and the Bluetooth headset way. Sometimes the intent triggers without intention on the phone which seems to play havoc with spotify so currently I'm leaning more to the use of Google now via the gear alone. Also I find it easier when i can see the search, especially for note to self actions.
Anyway as the title suggests.... I'm no fan of typing on a tiny keyboard, it's a novelty and could be handy for a short text but I find holding my arm in the right position a pain after a while and it's difficult when you're typing stuff like com.orbonis.gear or whatever. Here are not 1 but 3 ways to make it easier.
1. Bluetooth keyboard. I've been using a Bluetooth keyboard with the gear off my wrist as a tiny monitor. Pros good typing experience and looks cool. Cons it can be fiddly to connect (I have to press var simultaneously on my keyboard and it can take a few go's to work) and it's not very portable.
2. Copy and paste. Although I've not been able to get copy and paste to work natively on my gear it works within tasker itself. You'd only have to type a message and a perform task once and then change the extras (which is easier than typing com.orbonis etc). However I think I've found a workaround. I was running the Swype keyboard (paid apk which I then downloaded via realapkleecher to pc, sideload to gear via adb) you can paste with this keyboard. I've found an app called clipper+ which is a syncing clipboard app. Downloaded straight from the play store tonight and was able to sync to the phone version. So I can now see my phones clipboard on the gear. When I get time I'll put Swype back on the gear and see if this does give a workaround for copy and paste.
3. Export from phone. I've not done this for tasker profiles but for apk files and zooper widgets from the phone via Bluetooth sharing from a file manager on the phone. Should be possible to do something similar for a tasker task. Just write the task on the phone and figure out how to send it lol.
Thanks for the great suggestion. I went with the bluetooth keyboard route for now. The other two routes are also viable, but I'm going to try keep it simple on the watch for now. I ended up tasker to intercept svoice and run task to kill it and invoke google voice on the phone instead.
Thanks again!
pingmustard said:
Thanks for the great suggestion. I went with the bluetooth keyboard route for now. The other two routes are also viable, but I'm going to try keep it simple on the watch for now. I ended up tasker to intercept svoice and run task to kill it and invoke google voice on the phone instead.
Thanks again!
Click to expand...
Click to collapse
Could you share the task descriptions? I'm very interested in how others use tasker with the gear. So far I've been using it for things like making Bluetooth tether a one button start and I've been looking at using apps like zooper to launch tasks. Recently I've also worked out a reasonable way to launch tasks on the watch with a command from the phone. I'll probably using that to add to my geo cache tasks on the phone. So when do something like going shopping the phone well recognise the location and the watch will bring up my shopping list, turn on Bluetooth tether, control motions/screen brightness etc.
You could create a profile on your gear that does the following:
When s voice is launched on the gear, kill it and send an intent to the phone.
On your phone, make sure Bluetooth headset is enabled in the Google search app. Then, create the following profile:
When the intent is received, wake the phone, open Google voice and start a search.

[Plugin] Hotword Plugin

Hi everyone!
After my first plugin I had an idea of creating another one, but this time not an "action" but an "event".
Of course the description can be found there, but as a quick recap, this plugin can listen for hotwords and signal Tasker when a hotword is recognized!
It uses Snowboy Hotword to listen to the mic and process what it hears super fast and completely locally.
Hotword models can be found and trained at the Snowboy Website and the downloaded model can be imported in my plugin.
Next from Tasker you can create an event of the Hotword Plugin and tap on the hotword you want to react to, next you can do with it what you want!
You can listen to multiple hotwords at the same time and run a different event for each one. So for example if you shout "lights on" the lights might turn on and if you shout "play music" the music starts playing.
You can see it as AutoVoice Continuous but a lot faster and more consistent, plus you can train any hotword you like and pronounce it in any language you prefer (to be defined at the website).
Of course you can modify the sensitivity if you feel like it can't hear you or if it goes off all the time and you can start or stop the service via a Tasker action if you like.
Personally I use the app in combination with my ADB shell plugin to launch assistant on my NVIDIA Shield AndroidTV handsfree by shouting "hey google" to an old android phone lying besides the tv.
Since a lot of time went into developing this plugin and making it work (a way lot more than my last plugin) I put it in the Play Store for the price of a small coffee.
So if you like the idea and want to try it out please have a look!
And if you have any questions, troubles, ideas, bugs (yes I'm sure they're there even after thoroughly testing), please leave them below!
<Mod Edit>
Please read the guide to posting paid work on xda:
https://www.xda-developers.com/a-guide-to-paid-work-on-xda-developers/
Thread closed.

Using a 2-button BT camera remote control clicker as the input for tasker.

I want to use a 2-button BT camera remote control clicker as the input for tasker.
If one of the buttons of the remote is pushed, then tasker should initiate a call to a phone number-1 (that is dial the number-1). If the other button of the remote is pushed, then tasker should initiate a call to a phone number-2.
The goal is to fully automate the process, so only a single push of a button will initiate a call.
I want to do it for my elderly mother for (non-medical) emergencies.
Will I be able to achieve what I want with Tasker?
Will it be say, 90% reliable solution?
Bluetooth Remote Control by CamKix
Even before I got to the end of your post, I said to myself this sounds like they are trying to build a sort of life alert system. Brilliant!
I just wanted to say how great an idea that is, but not sure how to Intercept/interact with a BT device. Yet, seems possible. Maybe the AutoNotification plugin?

Categories

Resources