AutoVoice Trigger word not detected/listened when dialog is hidden if no BT headset

Discussion in 'AutoApps' started by Fred Eric, Jun 29, 2020.

  1. Fred Eric

    Fred Eric New Member

    Joined:
    Feb 20, 2020
    Messages:
    10
    Likes Received:
    0
    Hi,

    I try to make AutoVoice listen to me and run command when the screen is off and device locked. Hence I enabled “Hide Dialog” option. The other advantage being the dialog doesn’t stay in an error state when it can’t understand you.

    Unfortunately, it only works if a BT Headset is connected and used to send commands. It doesn’t work if I directly talk to my phone while no BT headset is connected. The screen being ON or OFF doesn’t change the issue. No issue when the AutoVoice dialog is set to be shown. All authorizations are granted.

    I ran some tests. Before each one, I killed Autovoice and google and set AutoVoice as default assistant. I found out this trick solves undetected trigger words with BT headset and “Hide Dialog” is enabled when there is a network connection change (specially when offline). This may be related to a google bug.

    Google version 11.16.13.21.arm64

    Here is the log when direct talking to my phone while connected to the internet, screen is ON and unlocked and “Hide Dialog” is set. I said the word “TEST”.

    FAIL
    Code (Text):

     version 3.6.2

     Source com.android.vending
     OS Build ONEPLUS A6003_22_190911
     OS Code 28
     Device ONEPLUS A6003
     Manufacturer OnePlus
     Product OnePlus6

    Trigger Words - 2020-07-04 17:00:10.239 - Added trigger words:
    Trigger Words - 2020-07-04 17:00:10.239 - Current trigger words:
    Recognition - 2020-07-04 17:00:05.126 - Getting Voice command...
    Recognizer - 2020-07-04 17:00:05.125 - Can't connect to BT. No BT headset detected
    Recognizer - 2020-07-04 17:00:05.015 - Getting default recognition settings
    Recognizer - 2020-07-04 17:00:05.015 - Sound not on BT. Redirecting...
    Recognizer - 2020-07-04 17:00:05.015 - Setting up Bluetooth...
    Recognizer - 2020-07-04 17:00:05.014 - Action: android.intent.action.ASSIST
    Hotword - 2020-07-04 17:00:04.931 - resumed
    Hotword - 2020-07-04 17:00:04.887 - detected
     
    See the other test in the post below.
     
    Last edited: Jul 4, 2020
  2. Fred Eric

    Fred Eric New Member

    Joined:
    Feb 20, 2020
    Messages:
    10
    Likes Received:
    0
    Here is the log with the same condition (when direct talking to my phone while connected to the internet, screen is ON and unlocked and) dialog is set to be shown.

    SUCCESS
    Code (Text):

     version 3.6.2

     Source com.android.vending
     OS Build ONEPLUS A6003_22_190911
     OS Code 28
     Device ONEPLUS A6003
     Manufacturer OnePlus
     Product OnePlus6

    Trigger Words - 2020-07-04 17:07:19.263 - Removed trigger words:
    test
    tests
    est
    Test
    tu est
    Recognition - 2020-07-04 17:07:16.506 - Clearing last command id
    Profile Matches - Easy - 2020-07-04 17:07:16.375 - "heures,heure,time,quelle heure" matches "est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.375 - "Anything" matches "est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.375 - "heures,heure,time,quelle heure" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.375 - "Anything" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.375 - "Anything" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.375 - "heures,heure,time,quelle heure" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.374 - "heures,heure,time,quelle heure" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.374 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.374 - "heures,heure,time,quelle heure" matches "tests": false
    Profile Matches - Hard - 2020-07-04 17:07:16.374 - "Anything" matches "tests": false
    Profile Matches - Hard - 2020-07-04 17:07:16.370 - "Anything" matches "test": true
    Profile Matches - Hard - 2020-07-04 17:07:16.370 - No Last Command Id matches No Last Matched Command Id
    Profile Matches - Easy - 2020-07-04 17:07:16.369 - "voice test,test,teste" matches "test": true
    Profile Matches - Hard - 2020-07-04 17:07:16.368 - "Anything" matches "tu est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.367 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.367 - "précédent" matches "tests": false
    Profile Matches - Hard - 2020-07-04 17:07:16.367 - "Anything" matches "tests": false
    Profile Matches - Easy - 2020-07-04 17:07:16.367 - "précédent" matches "est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.367 - "Anything" matches "est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.367 - "précédent" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.367 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.367 - "précédent" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.366 - "précédent" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.363 - "suivant" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.363 - "annuler,annulez,annulé" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.363 - "Anything" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.363 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.363 - "suivant" matches "tu est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.363 - "Anything" matches "tu est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.363 - "Anything" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.363 - "annuler,annulez,annulé" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.362 - "annuler,annulez,annulé" matches "est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.362 - "Anything" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.362 - "Anything" matches "est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.362 - "suivant" matches "tests": false
    Profile Matches - Hard - 2020-07-04 17:07:16.362 - "Anything" matches "tests": false
    Profile Matches - Easy - 2020-07-04 17:07:16.362 - "suivant" matches "est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.362 - "Anything" matches "est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.361 - "suivant" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.359 - "annuler,annulez,annulé" matches "tests": false
    Profile Matches - Hard - 2020-07-04 17:07:16.359 - "Anything" matches "tests": false
    Profile Matches - Easy - 2020-07-04 17:07:16.358 - "annuler,annulez,annulé" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.358 - "Anything" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.356 - "Anything" matches "est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.356 - "Anything" matches "tu est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.356 - "Anything" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.356 - "hey google,hé google,et google,google,ok google" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.356 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.356 - "hey google,hé google,et google,google,ok google" matches "tu est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.356 - "Anything" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.355 - "google par défaut,autovoice par défaut" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.355 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.355 - "hey google,hé google,et google,google,ok google" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.355 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.355 - "google par défaut,autovoice par défaut" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.355 - "hey google,hé google,et google,google,ok google" matches "tests": false
    Profile Matches - Hard - 2020-07-04 17:07:16.355 - "Anything" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.355 - "Anything" matches "tests": false
    Profile Matches - Easy - 2020-07-04 17:07:16.355 - "podcast,pascal" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.355 - "hey google,hé google,et google,google,ok google" matches "est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.354 - "podcast,pascal" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.354 - "Anything" matches "tests": false
    Profile Matches - Easy - 2020-07-04 17:07:16.354 - "google par défaut,autovoice par défaut" matches "est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.354 - "Anything" matches "est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.352 - "podcast,pascal" matches "tests": false
    Profile Matches - Hard - 2020-07-04 17:07:16.352 - "Anything" matches "tests": false
    Profile Matches - Easy - 2020-07-04 17:07:16.352 - "podcast,pascal" matches "est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.352 - "Anything" matches "est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.351 - "podcast,pascal" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.351 - "Anything" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.349 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.349 - "pause/play,pause,reprendre,lecture,play" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.349 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.349 - "pause/play,pause,reprendre,lecture,play" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.349 - "google par défaut,autovoice par défaut" matches "tests": false
    Profile Matches - Hard - 2020-07-04 17:07:16.349 - "Anything" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.348 - "google par défaut,autovoice par défaut" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.348 - "Anything" matches "est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.347 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.347 - "pause/play,pause,reprendre,lecture,play" matches "tests": false
    Profile Matches - Hard - 2020-07-04 17:07:16.347 - "Anything" matches "tests": false
    Profile Matches - Easy - 2020-07-04 17:07:16.347 - "pause/play,pause,reprendre,lecture,play" matches "est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.346 - "pause/play,pause,reprendre,lecture,play" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.313 - "enceinte,boom switch,connecter l'enceinte,connecte l'enceinte,déconnecter l'enceinte,déconnecte l'enceinte" matches "test": false
    Profile Matches - Hard - 2020-07-04 17:07:16.313 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.313 - "enceinte,boom switch,connecter l'enceinte,connecte l'enceinte,déconnecter l'enceinte,déconnecte l'enceinte" matches "tu est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.313 - "Anything" matches "tu est": false
    Profile Matches - Easy - 2020-07-04 17:07:16.312 - "enceinte,boom switch,connecter l'enceinte,connecte l'enceinte,déconnecter l'enceinte,déconnecte l'enceinte" matches "tests": false
    Profile Matches - Hard - 2020-07-04 17:07:16.312 - "Anything" matches "tests": false
    Profile Matches - Easy - 2020-07-04 17:07:16.312 - "enceinte,boom switch,connecter l'enceinte,connecte l'enceinte,déconnecter l'enceinte,déconnecte l'enceinte" matches "est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.312 - "Anything" matches "est": false
    Profile Matches - Hard - 2020-07-04 17:07:16.311 - "Anything" matches "test": false
    Profile Matches - Easy - 2020-07-04 17:07:16.308 - "enceinte,boom switch,connecter l'enceinte,connecte l'enceinte,déconnecter l'enceinte,déconnecte l'enceinte" matches "test": false
    Hotword - 2020-07-04 17:07:16.280 - resumed
    Trigger Words - 2020-07-04 17:07:16.258 - Added trigger words:
    test
    tests
    est
    Test
    tu est
    Trigger Words - 2020-07-04 17:07:16.258 - Current trigger words:
    test
    tests
    est
    Test
    tu est
    Recognition - 2020-07-04 17:07:16.237 - Got commands: Received possible commands:
    test
    tests
    est
    test
    tu est

    Hotword - 2020-07-04 17:07:13.806 - paused
     
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,472
    Likes Received:
    796
    Hi. Sorry for the delay. Are you still having this issue?
     
  4. Fred Eric

    Fred Eric New Member

    Joined:
    Feb 20, 2020
    Messages:
    10
    Likes Received:
    0
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,472
    Likes Received:
    796
  6. Fred Eric

    Fred Eric New Member

    Joined:
    Feb 20, 2020
    Messages:
    10
    Likes Received:
    0
    How can I test if Get Voice has the same issue since it always display a dialog waiting user voice ? As I mentioned earlier, there is no issue when dialog is displayed but I can not use it when the screen is OFF or locked. Is there an option to hide Get Voice dialog that I don’t know ?
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,472
    Likes Received:
    796
    The Get Voice action now has an option to hide the dialog :)
     
  8. Fred Eric

    Fred Eric New Member

    Joined:
    Feb 20, 2020
    Messages:
    10
    Likes Received:
    0
    I installed this tasker version. I made more tests. All when screen is ON, unlocked, directly speaking to my phone.

    1. With Get Voice action, hidden dialog, setting Tasker or Google as default assistant. It works.
    2. With AutoVoice recognize action, default action settings but hidden dialog ON, setting AV as default assistant. No bip sound notifies it is listening. It fails.
    [​IMG]
    What is GEL ?
    3. With AutoVoice recognize action, default action settings but hidden dialog ON, setting Google as default assistant. Yes, bip sound notifies it is listening. It works.
    4. Using AV recognized event in a profile, setting AV as default assistant. Same result as in test 2. It fails.

    No issue when recognized event is triggered by googleassistant as avsource (using routine) but of course, I can not use this when screen is OFF or Locked.

    I hope this new tests will help to understand why Tasker can listening while AV can not depending on the default assistant.
     
    Last edited: Jul 13, 2020
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,472
    Likes Received:
    796
    So, just to clarify, it works if Google is the assistant but it doesn't work if AutoVoice is the assistant?
     
  10. Fred Eric

    Fred Eric New Member

    Joined:
    Feb 20, 2020
    Messages:
    10
    Likes Received:
    0
    Yes but you can not rely on GA with recognized event on profile because AV needs to be the default assistant here. It works in this specific case using recognize action. Note that Tasker with get voice works even if it is the default assistant. But my post is clear enough about all the result, I think.
     
  11. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,472
    Likes Received:
    796
    As a workaround, while I try to fix it, could you please use the Get Voice action followed by the AutoVoice Test Command action to send the voice command to AutoVoice?
     
  12. Fred Eric

    Fred Eric New Member

    Joined:
    Feb 20, 2020
    Messages:
    10
    Likes Received:
    0
    I will try
     

Share This Page