AutoVoice Google Search Not Canceled

Discussion in 'AutoApps' started by easiuser, Nov 16, 2015.

  1. easiuser

    easiuser Member

    Joined:
    Mar 7, 2015
    Messages:
    50
    Likes Received:
    4
    I have Google Now Integration enabled and AutoVoice does intercept commands however the Google Now search also runs. Is that the predicted response? I have the option "Do Google Now Search" unchecked.

    I created an Autovoice Recongized Command profile with "what time is it" as a filter in order to override the canned Google Now response. The Tasker Entry Task runs and speaks the time but sometimes Google Now runs (either completely or partially) before the Tasker Task runs. At other times Google Now doesn't run. I assume that is only because Tasker response fast enough. Am I missing a setting?
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Can you please export your profile's description (not xml) so I can take a look? Long-click the profile in Tasker->export description Thanks in advance
     
  3. easiuser

    easiuser Member

    Joined:
    Mar 7, 2015
    Messages:
    50
    Likes Received:
    4
    Profile: avTestTime (132)
    Event: AutoVoice Recognized [ Configuration:Command: "what time is it"
    Last Cmd Id Regex: false
    Last Cmd Id Invert: false
    Not on Normal: false
    Not on Continuous: false
    Contains All: false
    Use Regex Replacements: false
    Do Google Now Search: false ]
    Enter: Anon (133)
    A1: Flash [ Text:Av caught time request. Long:Off ]
    A2: Perform Task [ Name:SpeakCurrentTime Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ]
     
  4. Carla Ruigh

    Carla Ruigh New Member

    Joined:
    Oct 15, 2015
    Messages:
    13
    Likes Received:
    0
    I'm having the same problem. I have an app I was working on.. went on vacation for a couple of weeks, and just got back to working on it again. The voice command no longer works to open the application. Instead, the google search function comes up and does a web search on the Command Filter text. Also, I checked it with the "testing" function and the command will still not open the app. even under the testing function. A message comes up "Received Possible Commands...." but it does not open up a web search window like it does when I say the Command Filter verbally. The "Received possible commands..." also comes up when I say the Command Filter verbally.
     
    Last edited: Nov 18, 2015
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    @easiuser can you please also export the SpeakCurrentTime task?
    @Carla Ruigh can you please try this:
    - clear logs
    - enable system logs
    -do command
    -export logs and paste them here

    Thanks!
     
  6. easiuser

    easiuser Member

    Joined:
    Mar 7, 2015
    Messages:
    50
    Likes Received:
    4
    Here you go.
    Code (Text):

    SpeakCurrentTime (525)
    A1: Variable Set [ Name:%time To:%TIME Do Maths:Off Append:Off ]
    A2: Variable Split [ Name:%time Splitter:. Delete Base:Off ]
    A3: Variable Set [ Name:%time1 To:%time1+0 Do Maths:On Append:Off ]
    A4: Variable Set [ Name:%ampm To:p M  Do Maths:Off Append:Off ]
    A5: Variable Set [ Name:%ampm To:A M Do Maths:Off Append:Off ] If [ %time1 < 12 ]
    A6: Variable Set [ Name:%time1 To:12 Do Maths:Off Append:Off ] If [ %time1 = 0 ]
    A7: Variable Subtract [ Name:%time1 Value:12 Wrap Around:0 ] If [ %time1 > 12 ]
    A8: Variable Set [ Name:%time2 To:eek:h clock Do Maths:Off Append:Off ] If [ %time2 = 0 ]
    A9: Variable Set [ Name:%time To:%time1 %time2 %ampm Do Maths:Off Append:Off ]
    A10: Say [ Text:The current time is %time. Engine:Voice:default:default Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ]
    A11: Return [ Value:%time Stop:On ]
     
     
    Last edited by a moderator: Nov 19, 2015
  7. easiuser

    easiuser Member

    Joined:
    Mar 7, 2015
    Messages:
    50
    Likes Received:
    4
    Apparently colon-A and colon-O are interpretted as emoticons in the above post? :A :O
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    @easiuser Can you please try this:
    - clear logs
    - enable system logs and enable google now logs
    -do command
    -export logs and paste them here

    Thanks!
     
  9. easiuser

    easiuser Member

    Joined:
    Mar 7, 2015
    Messages:
    50
    Likes Received:
    4
    The audible results were: Google Now responded with the time and then Tasker responded with the time

    version 2.0.46

    OS Build KOT49H.I337UCUFNB1
    OS Code 19
    Device SAMSUNG-SGH-I337
    Manufacturer samsung
    Product jflteuc

    Google Now - 2015-11-19 12:39:07.281 - Text isn't present yet: wait
    Google Now - 2015-11-19 12:39:06.698 - Text isn't present yet: wait
    Google Now - 2015-11-19 12:39:06.088 - Text isn't present yet: wait
    Google Now - 2015-11-19 12:39:05.493 - Text isn't present yet: wait
    Google Now - 2015-11-19 12:39:04.901 - Text isn't present yet: wait
    Trigger Words - 2015-11-19 12:39:04.686 - Removed trigger words:
    what time is it
    Google Now - 2015-11-19 12:39:04.315 - Text isn't present yet: wait
    Google Now - 2015-11-19 12:39:03.736 - Text isn't present yet: wait
    Google Now - 2015-11-19 12:39:03.142 - Text isn't present yet: wait
    Google Now - 2015-11-19 12:39:02.553 - Text isn't present yet: wait
    Google Now - 2015-11-19 12:39:01.982 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.SimpleSearchText;Id: com.google.android.googlequicksearchbox:id/search_box;Text: Search, or say “Ok Google”
    Google Now - 2015-11-19 12:39:01.919 - Type: 8192;ClassName: com.google.android.apps.gsa.searchplate.SimpleSearchText;Id: com.google.android.googlequicksearchbox:id/search_box;Text: Search, or say “Ok Google”
    Google Now - 2015-11-19 12:39:01.918 - Text isn't present yet: wait
    Profile Matches - 2015-11-19 12:39:01.785 - "run task" matches "what time is it": false
    Google Now - 2015-11-19 12:39:01.755 - Type: 2048;ClassName: android.support.v4.widget.DrawerLayout;Id: com.google.android.googlequicksearchbox:id/velvet_toplevel;Text: null
    Google Now - 2015-11-19 12:39:01.640 - Type: 2048;ClassName: android.support.v4.widget.DrawerLayout;Id: com.google.android.googlequicksearchbox:id/velvet_toplevel;Text: null
    Google Now - 2015-11-19 12:39:01.639 - Text isn't present: press back
    Profile Matches - 2015-11-19 12:39:01.554 - "^(mute|unmute) htc" matches "what time is it": false
    Google Now - 2015-11-19 12:39:01.519 - Results checker: Command matched
    Google Now - 2015-11-19 12:39:01.508 - Should do google search: false
    Google Now - 2015-11-19 12:39:01.503 - It's a new voice command
    Google Now - 2015-11-19 12:39:01.498 - Type: 2048;ClassName: android.view.View;Id: com.google.android.googlequicksearchbox:id/logo_header_logo_view;Text: null
    Google Now - 2015-11-19 12:39:01.456 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Phone
    Google Now - 2015-11-19 12:39:01.438 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Books
    Google Now - 2015-11-19 12:39:01.423 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Shopping
    Google Now - 2015-11-19 12:39:01.377 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Images
    Google Now - 2015-11-19 12:39:01.358 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Apps
    Google Now - 2015-11-19 12:39:01.333 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Videos
    Google Now - 2015-11-19 12:39:01.316 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: News
    Google Now - 2015-11-19 12:39:01.295 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/corpus_selector_name;Text: Web
    Google Now - 2015-11-19 12:39:01.260 - Type: 2048;ClassName: android.widget.HorizontalScrollView;Id: com.google.android.googlequicksearchbox:id/corpus_bar_scroll_view;Text: null
    Google Now - 2015-11-19 12:39:01.157 - Type: 2048;ClassName: android.widget.LinearLayout;Id: com.google.android.googlequicksearchbox:id/corpus_selector;Text: null
    Google Now - 2015-11-19 12:39:01.001 - Type: 2048;ClassName: android.widget.LinearLayout;Id: com.google.android.googlequicksearchbox:id/corpus_selector;Text: null
    Google Now - 2015-11-19 12:39:00.960 - Type: 2048;ClassName: android.widget.LinearLayout;Id: com.google.android.googlequicksearchbox:id/corpus_selector;Text: null
    Google Now - 2015-11-19 12:39:00.932 - Type: 2048;ClassName: android.widget.LinearLayout;Id: com.google.android.googlequicksearchbox:id/corpus_selector;Text: null
    Google Now - 2015-11-19 12:39:00.920 - Type: 2048;ClassName: android.widget.LinearLayout;Id: com.google.android.googlequicksearchbox:id/corpus_selector;Text: null
    Google Now - 2015-11-19 12:39:00.903 - Type: 2048;ClassName: android.widget.LinearLayout;Id: com.google.android.googlequicksearchbox:id/corpus_selector;Text: null
    Google Now - 2015-11-19 12:39:00.882 - Type: 2048;ClassName: android.widget.LinearLayout;Id: com.google.android.googlequicksearchbox:id/corpus_selector;Text: null
    Google Now - 2015-11-19 12:39:00.868 - Type: 2048;ClassName: android.widget.LinearLayout;Id: com.google.android.googlequicksearchbox:id/corpus_selector;Text: null
    Google Now - 2015-11-19 12:39:00.829 - Type: 2048;ClassName: android.widget.ImageView;Id: com.google.android.googlequicksearchbox:id/burger;Text: null
    Google Now - 2015-11-19 12:39:00.802 - Type: 2048;ClassName: android.view.View;Id: null;Text: null
    Google Now - 2015-11-19 12:39:00.760 - Type: 2048;ClassName: com.google.android.apps.gsa.legacyui.VelvetMainContainer;Id: com.google.android.googlequicksearchbox:id/velvet_main;Text: null
    Google Now - 2015-11-19 12:39:00.691 - Type: 2048;ClassName: android.support.v4.widget.DrawerLayout;Id: com.google.android.googlequicksearchbox:id/velvet_toplevel;Text: null
    Recognition - 2015-11-19 12:39:00.508 - Clearing last command id
    Profile Matches - 2015-11-19 12:39:00.457 - No Last Command Id matches No Last Matched Command Id
    Profile Matches - 2015-11-19 12:39:00.448 - "what time is it" matches "what time is it": true
    Google Now - 2015-11-19 12:39:00.432 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.SearchPlate;Id: com.google.android.googlequicksearchbox:id/search_plate;Text: null
    Google Now - 2015-11-19 12:39:00.357 - Type: 2048;ClassName: android.support.v4.widget.DrawerLayout;Id: com.google.android.googlequicksearchbox:id/velvet_toplevel;Text: null
    Google Now - 2015-11-19 12:39:00.341 - Type: 2048;ClassName: android.widget.ImageView;Id: com.google.android.googlequicksearchbox:id/clear_or_voice_button;Text: null
    Google Now - 2015-11-19 12:39:00.325 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.SimpleSearchText;Id: com.google.android.googlequicksearchbox:id/search_box;Text: what time is it
    Google Now - 2015-11-19 12:39:00.301 - Type: 2048;ClassName: android.widget.FrameLayout;Id: null;Text: null
    Google Now - 2015-11-19 12:39:00.286 - Type: 2048;ClassName: android.widget.FrameLayout;Id: com.google.android.googlequicksearchbox:id/navigation_viewport;Text: null
    Google Now - 2015-11-19 12:39:00.099 - Type: 2048;ClassName: android.widget.FrameLayout;Id: com.google.android.googlequicksearchbox:id/progress_or_clear_or_voice;Text: null
    Profile Matches - 2015-11-19 12:38:59.895 - "(read last text)|(read last sms)" matches "what time is it": false
    Google Now - 2015-11-19 12:38:59.871 - Type: 2048;ClassName: android.widget.FrameLayout;Id: com.google.android.googlequicksearchbox:id/navigation_viewport;Text: null
    Trigger Words - 2015-11-19 12:38:59.679 - Current trigger words:
    what time is it
    Trigger Words - 2015-11-19 12:38:59.670 - Added trigger words:
    what time is it
    Google Now - 2015-11-19 12:38:59.661 - Type: 2048;ClassName: android.widget.FrameLayout;Id: com.google.android.googlequicksearchbox:id/navigation_viewport;Text: null
    Google Now - 2015-11-19 12:38:59.543 - Type: 2048;ClassName: android.widget.FrameLayout;Id: com.google.android.googlequicksearchbox:id/progress_or_clear_or_voice;Text: null
    Google Now - 2015-11-19 12:38:59.495 - Checking if any command matched
    Google Now - 2015-11-19 12:38:59.482 - Intercepted Google Search: what time is it
    Recognition - 2015-11-19 12:38:59.402 - Got commands: Received possible commands:
    what time is it

    Google Now - 2015-11-19 12:38:59.347 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.SimpleSearchText;Id: com.google.android.googlequicksearchbox:id/search_box;Text: what time is it
    Google Now - 2015-11-19 12:38:59.271 - Type: 2048;ClassName: android.view.View;Id: com.google.android.googlequicksearchbox:id/logo_view;Text: null
    Google Now - 2015-11-19 12:38:56.489 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:56.481 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: what time is it
    Google Now - 2015-11-19 12:38:56.352 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:56.347 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: what time is it
    Google Now - 2015-11-19 12:38:56.205 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:56.200 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: what time is it
    Google Now - 2015-11-19 12:38:56.020 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:56.014 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: what time is it
    Google Now - 2015-11-19 12:38:55.909 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:55.904 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: what time is it
    Google Now - 2015-11-19 12:38:55.734 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:55.728 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: what time is
    Google Now - 2015-11-19 12:38:55.670 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:55.658 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: what time
    Google Now - 2015-11-19 12:38:55.445 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:55.439 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: what
    Google Now - 2015-11-19 12:38:55.408 - Type: 2048;ClassName: android.view.View;Id: com.google.android.googlequicksearchbox:id/logo_view;Text: null
    Google Now - 2015-11-19 12:38:55.361 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:55.349 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: how
    Google Now - 2015-11-19 12:38:54.840 - Type: 2048;ClassName: android.view.View;Id: com.google.android.googlequicksearchbox:id/logo_view;Text: null
    Google Now - 2015-11-19 12:38:52.137 - Type: 2048;ClassName: android.widget.ScrollView;Id: com.google.android.googlequicksearchbox:id/suggestions_container;Text: null
    Google Now - 2015-11-19 12:38:52.117 - Type: 2048;ClassName: android.widget.ImageView;Id: com.google.android.googlequicksearchbox:id/label_icon;Text: null
    Google Now - 2015-11-19 12:38:52.109 - Type: 2048;ClassName: android.widget.RelativeLayout;Id: null;Text: null
    Google Now - 2015-11-19 12:38:52.082 - Type: 2048;ClassName: android.widget.ScrollView;Id: com.google.android.googlequicksearchbox:id/suggestions_container;Text: null
    Google Now - 2015-11-19 12:38:52.049 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:52.038 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: null
    Google Now - 2015-11-19 12:38:52.030 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/display_text;Text: Listening…
    Google Now - 2015-11-19 12:38:52.022 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.SearchPlate;Id: com.google.android.googlequicksearchbox:id/search_plate;Text: null
    Google Now - 2015-11-19 12:38:51.983 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/display_text;Text: Listening…
    Google Now - 2015-11-19 12:38:51.946 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:51.941 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: null
    Google Now - 2015-11-19 12:38:51.926 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.SearchPlate;Id: com.google.android.googlequicksearchbox:id/search_plate;Text: null
    Google Now - 2015-11-19 12:38:51.889 - user has spoken with com.google.android.apps.gsa.searchplate.StreamingTextView
    Google Now - 2015-11-19 12:38:51.884 - Type: 2048;ClassName: com.google.android.apps.gsa.searchplate.StreamingTextView;Id: com.google.android.googlequicksearchbox:id/streaming_text;Text: null
    Google Now - 2015-11-19 12:38:51.831 - Type: 2048;ClassName: android.widget.TextView;Id: com.google.android.googlequicksearchbox:id/display_text;Text: null
    Google Now - 2015-11-19 12:38:51.698 - Type: 2048;ClassName: android.view.View;Id: com.google.android.googlequicksearchbox:id/logo_view;Text: null
     
  10. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Oh, I see. So when you ask for the time, your query disappears from the Google search box, right? Can you confirm?
     
  11. easiuser

    easiuser Member

    Joined:
    Mar 7, 2015
    Messages:
    50
    Likes Received:
    4
    The google search box shows the query, announces the time and then displays the search results. At some point (a random delay), either during the announcement, during the display of search results or some time after, the announcment and query or search results stop and disappear. Afterwich the task runs.
     
  12. Carla Ruigh

    Carla Ruigh New Member

    Joined:
    Oct 15, 2015
    Messages:
    13
    Likes Received:
    0
    Thanks, went on vacation pretty much out of internet the whole timd (Death Valley), so had to let this go for a while. We just switch cell phone carriers, internet service and got new cell phones. It seems to be working now. But, in switching cell phones, I think I might have lost my beta tester access for AutoInput, I think I am on just the most recent build now. Would like to get the beta back to see if I can get this app working.

     
  13. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Yeah, I think that's the problem: AutoVoice will look for the text you searched for and press the back button until it disappears. Since the text is nowhere to be found in this particular case it's not pressing the back button to cancel the search. Sorry! Unfortunately there's no ideal way to handle all situations. What you can do is use AutoInput to press back yourself in this specific task, with the "AutoInput Global" action in Tasker. Hope this helps!
     
  14. easiuser

    easiuser Member

    Joined:
    Mar 7, 2015
    Messages:
    50
    Likes Received:
    4
    Is this in response to my issue? If so, I do not understand. What text is "nowhere to be found". Autovoice does recongize the text and runs the Tasker profile, it just does so after Google Now starts and/or finishes. Are you suggesting to put AutoInput back presses in the entry task of the profile?
     
  15. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Yes, that was meant for you. The command text disappears after you say it :) That's what I meant. And yes, I was suggesting you add a back action in the entry task.
     
  16. easiuser

    easiuser Member

    Joined:
    Mar 7, 2015
    Messages:
    50
    Likes Received:
    4
    Thanks, that worked!
     
  17. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
: Google Now

Share This Page