AutoRemote Message not sending when executed as task

Discussion in 'AutoApps' started by VaSe7u, Dec 31, 2015.

  1. VaSe7u

    VaSe7u New Member

    Joined:
    Dec 31, 2015
    Messages:
    9
    Likes Received:
    0
    When I try sending messages with AutoRemote through Tasker task, it doesn't work. But it works when I try to send messages from the AutoRemote app.
    tasker.png ar.png

    This is part of the log Tasker/log.txt:
    31-12-2015 E: 03.04.07#E: q0: id: 64 n: Launch eid: 1 gid: 1 p: 10 a: 0 qt: 0 A1: AutoRemoteLite Message [ Configuration:Recipient: EventGhost Message: Program=:=Arduino=:=arduino Package:com.joaomgcd.autoremote.lite Name:AutoRemoteLite Message Timeout (Seconds):200 Continue Task After Error:On ] 31-12-2015 E: 03.04.07#E: check work thread, timeToLeave: false 31-12-2015 E: 03.04.07#E: workthread null 31-12-2015 E: 03.04.07#E: started new thread 31-12-2015 E: 03.04.07#E: run 31-12-2015 MacroEdit: 03.04.07#MacroEdit: new task ID 64 exeID: 1 flags: 16 31-12-2015 E: 03.04.07#E: onstart done: 1 31-12-2015 E: 03.04.07#E: execute task: Launch 31-12-2015 MacroEdit: 03.04.07#MacroEdit: action started exe ID 1 action no 0 code 23671

    Does anyone know what the problem may be?
     

    Attached Files:

  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,476
    Likes Received:
    797
    Can you please try this:
    - clear logs in AutoRemote
    - enable system logs
    -do command
    -export logs and paste them here

    Thanks!
     
  3. VaSe7u

    VaSe7u New Member

    Joined:
    Dec 31, 2015
    Messages:
    9
    Likes Received:
    0
    This is the log:
    07-01-2016 M: 16.18.44#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.18.44#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.18.45#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.18.45#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.18.47#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.18.47#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.18.49#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.18.49#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 MacroEdit: 16.18.50#MacroEdit: do service action 1 / 10
    07-01-2016 WakeLockManager: 16.18.50#WakeLockManager: acquired partial lock for E flags: 1 autorelease: true warn: false
    07-01-2016 E: 16.18.50#E: ++++ on start, ID: 2
    07-01-2016 E: 16.18.50#E: handleNewTask: fromUI: true
    07-01-2016 E: 16.18.50#E: got task Launch pID: -1 exeID 2 Pri: 10 Run Both Together, Stay Awake
    07-01-2016 WakeLockManager: 16.18.50#WakeLockManager: acquired partial lock for M flags: 1 autorelease: true warn: true
    07-01-2016 WakeLockManager: 16.18.50#WakeLockManager: setClearAlarm: not setting, last set 16 ago
    07-01-2016 E: 16.18.50#E: q0: id: 64 n: Launch eid: 2 gid: 2 p: 10 a: 0 qt: 0
    A1: AutoRemoteLite Message [ Configuration:Recipient: EventGhost
    Message: Program=:=Arduino=:=arduino Package:com.joaomgcd.autoremote.lite Name:AutoRemoteLite Message Timeout (Seconds):200 Continue Task After Error:On ]

    07-01-2016 E: 16.18.50#E: check work thread, timeToLeave: false
    07-01-2016 E: 16.18.50#E: ui sync stoplock
    07-01-2016 E: 16.18.50#E: ui insync stoplock
    07-01-2016 E: 16.18.50#E: tstate: TERMINATED
    07-01-2016 E: 16.18.50#E: ui postsync stoplock
    07-01-2016 E: 16.18.50#E: started new thread
    07-01-2016 E: 16.18.50#E: run
    07-01-2016 MacroEdit: 16.18.50#MacroEdit: new task ID 64 exeID: 2 flags: 16
    07-01-2016 E: 16.18.50#E: onstart done: 2
    07-01-2016 E: 16.18.50#E: execute task: Launch
    07-01-2016 MacroEdit: 16.18.50#MacroEdit: action started exe ID 2 action no 0 code 23671
    07-01-2016 M: 16.18.50#M: process inbox, size 0 startID: 696 ecode 9996
    07-01-2016 : 16.18.50#: eventType / 9996 (java.lang.Integer)
    07-01-2016 : 16.18.50#: eventAct / net.dinglisch.android.tasker.VSETUM (java.lang.String)
    07-01-2016 : 16.18.50#: eventExt (Bundle)
    07-01-2016 : 16.18.50#: vname / %TRUN (java.lang.String)
    07-01-2016 E: 16.18.50#E: exe: Launch / AutoRemoteLite Message [ Configuration:Recipient: EventGhost
    Message: Program=:=Arduino=:=arduino Package:com.joaomgcd.autoremote.lite Name:AutoRemoteLite Message Timeout (Seconds):200 Continue Task After Error:On ]
    07-01-2016 M: 16.18.50#M: checkMatchStates: handleChanges: true handle:
    07-01-2016 E: 16.18.50#E: condition matched
    07-01-2016 M: 16.18.50#M: checkMatchStates done
    07-01-2016 E: 16.18.50#E: switch on ac 23671
    07-01-2016 M: 16.18.50#M: occurred event count: 1
    07-01-2016 E: 16.18.50#E: result: ok (ignore wait)
    07-01-2016 M: 16.18.50#M: handleSystemEvent: no profiles
    07-01-2016 M: 16.18.50#M: handleStart: finished handling ID 696
    07-01-2016 MacroEdit: 16.18.50#MacroEdit: action finished exeID 2 action no 0 code 23671 status: OK next 1
    07-01-2016 WakeLockManager: 16.18.50#WakeLockManager: release: M
    07-01-2016 E: 16.18.50#E: remove finished task from q: Launch
    07-01-2016 WakeLockManager: 16.18.50#WakeLockManager: start clear timer, previously indefinite
    07-01-2016 WakeLockManager: 16.18.50#WakeLockManager: setClearAlarm: not setting, last set 49 ago
    07-01-2016 MacroEdit: 16.18.50#MacroEdit: task finished, exeID 2 flags: 144
    07-01-2016 MacroEdit: 16.18.50#MacroEdit: remove exe listener
    07-01-2016 WakeLockManager: 16.18.50#WakeLockManager: acquired partial lock for M flags: 1 autorelease: true warn: true
    07-01-2016 WakeLockManager: 16.18.50#WakeLockManager: setClearAlarm: not setting, last set 52 ago
    07-01-2016 E: 16.18.50#E: nothing chosen, check exit
    07-01-2016 E: 16.18.50#E: fix finished, remove wait flag
    07-01-2016 E: 16.18.50#E: exe sync stoplock
    07-01-2016 E: 16.18.50#E: exe insync stoplock
    07-01-2016 E: 16.18.50#E: stopSelf: 2 alldone: true eqtimes: 0
    07-01-2016 E: 16.18.50#E: exe postsync stoplock
    07-01-2016 E: 16.18.50#E: exe thread tidy up
    07-01-2016 E: 16.18.50#E: onUtteranceCompleted: exeThreadTidy id: null err: false
    07-01-2016 E: 16.18.50#E: run: exited
    07-01-2016 M: 16.18.50#M: process inbox, size 0 startID: 697 ecode 9996
    07-01-2016 : 16.18.50#: eventType / 9996 (java.lang.Integer)
    07-01-2016 : 16.18.50#: eventAct / net.dinglisch.android.tasker.VSETUM (java.lang.String)
    07-01-2016 : 16.18.50#: eventExt (Bundle)
    07-01-2016 : 16.18.50#: vname / %TRUN (java.lang.String)
    07-01-2016 M: 16.18.50#M: checkMatchStates: handleChanges: true handle:
    07-01-2016 M: 16.18.50#M: checkMatchStates done
    07-01-2016 M: 16.18.50#M: occurred event count: 1
    07-01-2016 M: 16.18.50#M: handleSystemEvent: no profiles
    07-01-2016 M: 16.18.50#M: handleStart: finished handling ID 697
    07-01-2016 WakeLockManager: 16.18.50#WakeLockManager: release: M
    07-01-2016 M: 16.18.50#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.18.50#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.18.52#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.18.52#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.18.53#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.18.53#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.18.55#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.18.55#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.18.56#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.18.56#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 MacroEdit: 16.18.58#MacroEdit: onpause
    07-01-2016 MacroEdit: 16.18.58#MacroEdit: onpause done
    07-01-2016 M: 16.18.58#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.18.58#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 MacroEdit: 16.18.58#MacroEdit: store non-null
    07-01-2016 M: 16.18.59#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.18.59#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.19.01#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.19.01#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.19.02#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.19.02#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.19.04#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.19.04#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.19.05#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.19.05#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.19.07#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.19.07#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.19.08#M: process inbox, size 0 startID: -1 ecode 9997
    07-01-2016 TaskerContext: 16.19.08#TaskerContext: checkMatch: null / useClass: true wantApp: true
    07-01-2016 M: 16.19.10#M: process inbox, size 0 startID: -1 ecode 9997

    Thanks.
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,476
    Likes Received:
    797
    Sorry, those are Tasker logs :) I meant AutoRemote logs. Thanks!
     
  5. VaSe7u

    VaSe7u New Member

    Joined:
    Dec 31, 2015
    Messages:
    9
    Likes Received:
    0
    The AutoRemote logs doesn't update when I try sending the message from Tasker. I have enabled system logs. It seems that Tasker isn't talking to AutoRemote.
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,476
    Likes Received:
    797
    CAn you try rebooting your device and trying again?
     
  7. VaSe7u

    VaSe7u New Member

    Joined:
    Dec 31, 2015
    Messages:
    9
    Likes Received:
    0
    I've rebooted it and reinstalled AutoRemote and Tasker.
     
  8. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,476
    Likes Received:
    797
    Do you have any other Tasker plugin installed?
     
  9. VaSe7u

    VaSe7u New Member

    Joined:
    Dec 31, 2015
    Messages:
    9
    Likes Received:
    0
    Yes, AutoVoice (it is working).
     
  10. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,476
    Likes Received:
    797
    And you don't get any errors in Tasks when you call the AutoRemote actions? Can you send messages from the AutoRemote app itself?
     
  11. VaSe7u

    VaSe7u New Member

    Joined:
    Dec 31, 2015
    Messages:
    9
    Likes Received:
    0
    Yes, i can send messages from the AutoRemote app, but when I try to do it through Tasker (there is a screenshot in the first post) it doesn't work.
     
  12. joaomgcd

    joaomgcd Administrator Staff Member

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

    VaSe7u New Member

    Joined:
    Dec 31, 2015
    Messages:
    9
    Likes Received:
    0
    New (2)
    A1: AutoRemoteLite Message [ Configuration:Recipient: EventGhost
    Message: Program=:=Arduino=:=arduino Package:com.joaomgcd.autoremote.lite Name:AutoRemoteLite Message Timeout (Seconds):200 ]
     
  14. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,476
    Likes Received:
    797
    Does the action appear with a green circle after you run that task manually?
     
  15. VaSe7u

    VaSe7u New Member

    Joined:
    Dec 31, 2015
    Messages:
    9
    Likes Received:
    0
  16. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,476
    Likes Received:
    797
    Does it turn green right away? Or does it take a while?
     
  17. VaSe7u

    VaSe7u New Member

    Joined:
    Dec 31, 2015
    Messages:
    9
    Likes Received:
    0
    It turns green instantly, or at least very fast.
     

Share This Page