AutoRemote Autoremote and queue

Discussion in 'AutoApps' started by jpthefree, Mar 2, 2018.

  1. jpthefree

    jpthefree New Member

    Joined:
    Mar 2, 2018
    Messages:
    4
    Likes Received:
    0
    Hello everybody,

    I am trying to use Autoremote to make two phones talk to each other (Honor6X and DoogeeX20).

    Everything works well as long as they are both connected.

    Problem:
    1. I disconnect Honor
    2. I send three messages from Doogee to Honor
    3. When I reconnect Honor, all three messages are received sequentially one after the other.

    Question:
    I only want the last message. Is there any way to do that ? (wipe all queue except last message)

    My scripts:

    On Honor:
    To Doogee (111)
    A1: Ajouter à une variable [ Nom:%Count Valeur:1 Boucler:0 ]
    A2: Affecter une variable [ Nom:%Cmd A:Message %Count Recurse Variables: Désactivé Faire des Maths: Désactivé Ajouter: Désactivé ]
    A3: AutoRemoteLite Message [ Configuration:Recipient: Doogee X20Message: %Cmd Délai (Secondes):10 ]
    A4: Flash [ Texte:Sent:%Cmd Long: Désactivé ]

    On Doogee:
    Profil: From Honor (29)
    Etat: AutoRemoteLite [ Configuration:All Messages ]Entrée: Anon (64)
    A1: Flash [ Texte:Received:%armessage Long: Désactivé ]
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    6,668
    Likes Received:
    590
    Unfortunately there's no way to do that right now, sorry!
     
  3. jpthefree

    jpthefree New Member

    Joined:
    Mar 2, 2018
    Messages:
    4
    Likes Received:
    0
    Thanks for the fast reply. I am sorry to hear that.

    So what do you mean by "... An example would be if your tablet lets your phone know what it’s doing, but your phone has been off, so there are several such messages queued up, and you only want the last" ?

    ...in "Beginner’s guide to Tasker, part 6: AutoRemote"
     
    Last edited: Mar 2, 2018
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    6,668
    Likes Received:
    590
    Sorry, what guide is that exactly?
     
  5. jpthefree

    jpthefree New Member

    Joined:
    Mar 2, 2018
    Messages:
    4
    Likes Received:
    0
    Last edited: Mar 2, 2018
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    6,668
    Likes Received:
    590
    Ah yes, that should do it :) Sorry
     
  7. jpthefree

    jpthefree New Member

    Joined:
    Mar 2, 2018
    Messages:
    4
    Likes Received:
    0
    Thank you joaomgcd for all your answers.
    I have just found that setting TTL to zero solves my problem. All queue is discarded during deconnection.:)

    I need talking between my two devices only when they are both connected (not only one)
    My request in my first post may have seemed trivial for you but it surely was not for me.:(
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    6,668
    Likes Received:
    590
    Glad I could help and that everything's working! :)
     
: Autoremote, queue

Share This Page