AutoInput TimeOut in real situation vs success on Tasker preview mode

Discussion in 'AutoApps' started by Gien29, Apr 2, 2019.

  1. Gien29

    Gien29 New Member

    Joined:
    Apr 2, 2019
    Messages:
    5
    Likes Received:
    0
    Hey guys,
    I'm such a newbie on Tasker / Autoinput, anyway I have a weird situation on my S8+ / Android Pie
    I have two Tasker tasks that require AutoInput simple actions and they work perfectly on Tasker preview mode.
    But once I get in the real situation (when the device is connected to my bluetooth car audio system), they never get trough. I have AutoIput timeout error feedback, and the next tasks never goes on.
    Thank you for your feedback and help.
    ps : I uploaded my backup xml, the task is named "Waze Off"
     

    Attached Files:

  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi there. Is your screen on and unlocked in the "real situation"?
     
  3. Gien29

    Gien29 New Member

    Joined:
    Apr 2, 2019
    Messages:
    5
    Likes Received:
    0
    Yes, screen is unlocked
     
  4. 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
     
  5. Gien29

    Gien29 New Member

    Joined:
    Apr 2, 2019
    Messages:
    5
    Likes Received:
    0
    Thank you,
    Here it is :
    Code (Text):
    Profil: Rlink (13)

    Etat: Bluetooth connecté [ Nom:R-Link Adresse:50:65:83:85:CF:58 ]

    Entrée: Waze (14)

    A1: AutoInput Screen Off/On [ Configuration:Screen Off Or On: Turn On Délai (Secondes):2 Continuer après une erreur de la tâche:Activé ]

    A2: AutoInput Unlock Screen [ Configuration:Unlocking Screen.

    Android 7 and above:

    This will only unlock your screen if you're using a non-secure lock screen or if Smart Lock (Trusted Places, Trusted Devices, etc) is currently active.


    Android 6 and below:

    it's highly recommended that you use the Tasker 'System Lock' action at the end of this task. If you don't, your screen's lock will be permanently off and your system might even become unstable.

    This action WILL NOT work with a secure screen lock even if you are using Smart Lock. It will only work if you have screen lock security set to none or swipe. Délai (Secondes):2 Continuer après une erreur de la tâche:Activé ]

    A3: Attendre [ MS:0 Secondes:2 Minutes:0 Heures:0 Jours:0 ]

    A4: Charger une appli [ App:Waze Donnée: Exclure des applis récentes:Désactivé Toujours démarrer une nouvelle copie:Désactivé Continuer après une erreur de la tâche:Activé ]

    Sortie: Kill All (10)

    A1: AutoInput Global Action [ Configuration:Action: Recent Apps Délai (Secondes):20 ]

    A2: AutoInput Action [ Configuration:Type: Id

    Value: com.sec.android.app.launcher:id/clear_all_button

    Action : Click Délai (Secondes):20 ]
    Thank you
    Regards
     
    Last edited by a moderator: Apr 10, 2019
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Thanks. Do you know which of those actions fails to perform?
     
  7. Gien29

    Gien29 New Member

    Joined:
    Apr 2, 2019
    Messages:
    5
    Likes Received:
    0
    Yes, issue is the last part :

    A1: AutoInput Global Action [ Configuration:Action: Recent Apps Délai (Secondes):20 ]

    A2: AutoInput Action [ Configuration:Type: Id

    Value: com.sec.android.app.launcher:id/clear_all_button

    Action : Click Délai (Secondes):20 ]
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Maybe add a small wait between those actions? Sometimes AutoInput clicks stuff too fast for the UI to handle...
     
  9. Gien29

    Gien29 New Member

    Joined:
    Apr 2, 2019
    Messages:
    5
    Likes Received:
    0
    OK thanks, I'll try this
     

Share This Page