• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Tasker does not work at all

rfc89747

Lurker
I have tasker and autovoice (unlocked) installed. No matter what profiles I create, I get the "possible voice command received" notification, but then nothing happens. If I manually run the task by clicking the play button on the task edit screen, it runs fine. I have enabled logging, and spoke commands, the log shows up blank.

It isn't just voice commands either. I set a time profile from 4:20PM - 4:22PM to disabled wifi. 4:20PM comes, and nothing happens

What am I doing wrong?
 
Last edited:
Welcome to Android Forums.

You might not be executing what you think you are.

If you make a change you can run it inside Tasker and it will run the new version if and only if it does not call an enteral task (like with a Perform Task action).

T0 get everything updated and saved you need to go to a place where the Profiles Tasks Actions Vars are shown ... select the three dots ... select Exit. When the Confirm Exit dialog appears select Save First. If it exits without showing the dialog then there were no changes to save.

A future version of Tasker is supposed to have a Save button on the main screen so you don't have to exit. It currently doesn't.

If you are using the Export As App function on a Project and it has a Profile ... if you rerun the export a number of times it sometimes gets "confused" and does not fire the Profile when the condition is met. Of this happens ... uninstall the app and rerun the Export As App on the project. (I happened into this one recently when I was doing a lot or Export App on the same Project.

So ... today ... if you don't 3want to think about it ...
  • When you make a change ... go to the top display ... hit the three dots ... select Exit ... select Save First.
  • When using a Export As App on a Project ... uninstall the old one first.
See if this helps.

... Thom
 
It isn't just voice commands either. I set a time profile from 4:20PM - 4:22PM to disabled wifi. 4:20PM comes, and nothing happens
Note that since this is a "state" context, the wifi is expected to turn on at 4:20 and back off at 4:22. If you want it to stay on, make it an "event" context by changing both times to 4:20

Sorry if this is unrelated to your question
 
Thanks for the reply, I thought you had something there. I made sure I saved this time (wasn't doing that before), but the tasks still do not run.

Here is exactly what I do with a completely clear profile list:

  1. Open Tasker to the Profiles tab
  2. Press the "+" symbol at the bottom of the screen
  3. Press "Event"
  4. Press "plugin"
  5. Press "AutoVoice"
  6. Press "Recognized"
  7. Press the "Pencil" edit icon to the right of configuration
  8. Press "Speak Filter" (note I have also typed the filter with "Command Filter")
  9. Say "Test"
  10. Press the check mark in the top right of the screen
  11. Press the left carrot/back icon next to "Event Edit"
  12. Press "New Task"
  13. Enter task name "Test"
  14. Press the "+" symbol at the bottom of the screen
  15. Press "Net" (keep in mind it doesn't matter what I select from this point, nothing ever works)
  16. Press "WiFi"
  17. Leave default settings to "off" with no if statements
  18. Press the left carrot/back icon next to "Action Edit"
  19. Press the left carrot/back icon next to "Task Edit"
  20. Press the 3 vertical dots in the top right
  21. Press Exit
  22. Press "Save First"
  23. *App closes*
  24. Press or voice activate "ok google"
  25. Say "Test"
  26. "Received possible commands: Test" flashes on the bottom of the screen.
  27. Google search stays open, nothing else happens.
Anything wrong there?
 
* Is tasker enabled? Have you got any other profiles to work... start with something simpler than autovoice... like your time profile...did you ever get it to work?
* I'd try going back into Tasker to verify profile is enabled and everything is as you set up. Then exit again using back key and try again.
* Is autovoice accessibility set up?
* Try long-press your profile and uncheck "restore settings" in case you are getting event behavior
 
Last edited:
Ok I completely removed tasker, and autovoice. Then I reinstalled tasker. So now I have a fresh install tasker with no plugins. I then perform these steps.
  1. Open Tasker to the Profiles tab
  2. Press the "+" symbol at the bottom of the screen
  3. Press State -> Hardware -> Headset Plugged
  4. Press the "Pencil" edit icon to the right of configuration
  5. Press the left carrot/back icon next to "State Edit"
  6. Press "New Task"
  7. Enter task name "Test"
  8. Press the "+" symbol at the bottom of the screen
  9. Press App -> Launch App -> Music App
  10. Leave default settings
  11. Press the left carrot/back icon next to "Action Edit"
  12. Press the left carrot/back icon next to "Task Edit"
  13. Press the 3 vertical dots in the top right
  14. Press Exit
  15. Press "Save First"
  16. *App closes*
  17. This time I get a notification saying "Tasker No active profiles"
  18. *plug in head phones*
  19. App opens
  20. Tasker works successfully.
Ok so now that I've gotten something to work, I'm going to try to install auto voice again and see if I can get a voice command to open the music app. Stand by.
 
When it is totally bewildering in Tasker I have found that the two points I provided are usually the cause.

If you are simply going nuts with it not doing the obvious ... that is the key.

... Thom
 
I just bought a copy of Active Voice.

When the Enter task activates there seems to be a timing issue ... sometimes. Try putting a Wait of 1/2 sec as the first action in the Enter task.

Profile: _autovoice
Event: AutoVoice Recognized [ Configuration:Command: "demo" ]
Enter: _autovoice
A1: Wait [ MS:0 Seconds:1 Minutes:0 Hours:0 Days:0 ]
A2: Popup [ Title: Text:Message resulting from voice command. Background Image: Layout:_autovoice Timeout (Seconds):16 Show Over Keyguard:On ]

The notification Flash every time it starts the Enter task was annoying. You can go to Auto Voice and select Toasts & Logs and uncheck Received Command Toast.

... Thom
 
Last edited:
Back
Top Bottom