Task not starting in Tasker

A

AC Question

Hi, and thank you for taking your time to look at this.

I have a task in Tasker that sometimes runs as expected, sometimes just won't run, not even when manually pushing the "play" button in tasker

I am using Tasker to automate my home; Lights, stereo, door, the interaction between those and activation with cheap, physical buttons.

It all worked fine until I made an "Alarm" task. It looks as follows:

<TaskerData sr="" dvi="1" tv="4.9u4m">
<Task sr="task6">
<cdate>1486125103101</cdate>
<edate>1486637233989</edate>
<id>6</id>
<nme>Alarm</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>1010159116</code>
<Bundle sr="arg0">
<Vals sr="val">
<com.balda.notificationlistener.extra.ARRAY_PACKAGES><StringArrayList sr=""><_arrlst_com.balda.notificationlistener.extra.ARRAY_PACKAGES0>com.pushbullet.android</_arrlst_com.balda.notificationlistener.extra.ARRAY_PACKAGES0></StringArrayList></com.balda.notificationlistener.extra.ARRAY_PACKAGES>
<com.balda.notificationlistener.extra.ARRAY_PACKAGES-type>java.util.ArrayList</com.balda.notificationlistener.extra.ARRAY_PACKAGES-type>
<com.balda.notificationlistener.extra.INT_VERSION_CODE>70</com.balda.notificationlistener.extra.INT_VERSION_CODE>
<com.balda.notificationlistener.extra.INT_VERSION_CODE-type>java.lang.Integer</com.balda.notificationlistener.extra.INT_VERSION_CODE-type>
<com.balda.notificationlistener.extra.OPERATION>5</com.balda.notificationlistener.extra.OPERATION>
<com.balda.notificationlistener.extra.OPERATION-type>java.lang.Integer</com.balda.notificationlistener.extra.OPERATION-type>
<com.twofortyfouram.locale.intent.extra.BLURB>Pushbullet</com.twofortyfouram.locale.intent.extra.BLURB>
<com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
<net.dinglisch.android.tasker.RELEVANT_VARIABLES><StringArray sr=""><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0>%errmsg
Error message
Error message if an error occurs. It is filled only if Continue task after error is selected.</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1>%nlqapp()
Owner app name array
Owner app name of notification</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2>%nlqpersistent()
Notification persistent array
It can be true or false</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES3>%nlqkey()
Notification key array
Notification key</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES3><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES4>%nlqsmallicon()
Status bar icon list
Status bar icon URI list</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES4><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES5>%nlqicon()
App icons
App icons URI</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES5><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES6>%nlqcount()
Notification counter array
Number provided by the notifying app</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES6><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES7>%nlqtitle()
Notification title array
Notification title</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES7><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES8>%nlqtext()
Notification text array
Notification text</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES8><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES9>%nlqbigtext()
Notification big text array
Notification text for big view notifcation</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES9><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES10>%nlqinfotext()
Notification info text array
Notification info text</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES10><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES11>%nlqsubtext()
Notification sub text array
Notification sub text</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES11><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES12>%nlqticker()
Notification ticker array
Notification ticker</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES12><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES13>%nlqsummary()
Notification summary array
Notification summary text</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES13><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES14>%nlqbutton1()
Notification button 1 array
Notification button 1 name</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES14><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES15>%nlqbutton2()
Notification button 2 array
Notification button 2 name</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES15><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES16>%nlqbutton3()
Notification button 3 array
Notification button 3 name</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES16><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES17>%nlqline()
Notification line array
Notification line text for inbox style</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES17></StringArray></net.dinglisch.android.tasker.RELEVANT_VARIABLES>
<net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>[Ljava.lang.String;</net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>
<net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
<net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">com.balda.notificationlistener</Str>
<Str sr="arg2" ve="3">com.balda.notificationlistener.ui.QueryEventTask</Str>
<Int sr="arg3" val="30"/>
</Action>
<Action sr="act1" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%ALARM</Str>
<Str sr="arg1" ve="3">%nlqtext(1)</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>2124797556</code>
<Bundle sr="arg0">
<Vals sr="val">
<com.balda.notificationlistener.extra.CRITERIA>1</com.balda.notificationlistener.extra.CRITERIA>
<com.balda.notificationlistener.extra.CRITERIA-type>java.lang.Integer</com.balda.notificationlistener.extra.CRITERIA-type>
<com.balda.notificationlistener.extra.DELETE_ALL>true</com.balda.notificationlistener.extra.DELETE_ALL>
<com.balda.notificationlistener.extra.DELETE_ALL-type>java.lang.Boolean</com.balda.notificationlistener.extra.DELETE_ALL-type>
<com.balda.notificationlistener.extra.INT_VERSION_CODE>70</com.balda.notificationlistener.extra.INT_VERSION_CODE>
<com.balda.notificationlistener.extra.INT_VERSION_CODE-type>java.lang.Integer</com.balda.notificationlistener.extra.INT_VERSION_CODE-type>
<com.balda.notificationlistener.extra.KEY></com.balda.notificationlistener.extra.KEY>
<com.balda.notificationlistener.extra.KEY-type>java.lang.String</com.balda.notificationlistener.extra.KEY-type>
<com.balda.notificationlistener.extra.OPERATION>2</com.balda.notificationlistener.extra.OPERATION>
<com.balda.notificationlistener.extra.OPERATION-type>java.lang.Integer</com.balda.notificationlistener.extra.OPERATION-type>
<com.twofortyfouram.locale.intent.extra.BLURB>Cancel all</com.twofortyfouram.locale.intent.extra.BLURB>
<com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>com.balda.notificationlistener.extra.KEY</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>java.lang.String</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>
<net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
<net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">com.balda.notificationlistener</Str>
<Str sr="arg2" ve="3">com.balda.notificationlistener.ui.EditNotifCanc</Str>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act3" ve="7">
<code>35</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="10"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%TIME</lhs>
<op>0</op>
<rhs>%ALARM</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act4" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">Alle</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">BluOS</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Int sr="arg5" val="0"/>
</Action>
</Task>
</TaskerData>

It works like this: When I send a push message with a time via Pushbullet from an other phone, this will be put in variable %ALARM and remove the notification afterwards. Now the task will wait until this time. Then it will run two other tasks, one that will turn on all the light, and one that will turn on the stereo and play music.

I activate this task with notification listener, which seams to work fine.

Now, sometimes the task runs, and sometimes not. When it does not run, when I then try to play the task by going to the phone, opening Tasker and pressing the play button on the screen, it won't even run.

I then have to deactivate and reactivate Tasker in order for it to run again.

I really hope that somebody out there can tell me what to do, because I am at a total loss as to where to start.

Thanks again for your time!
Hans Frederik
 

Forum statistics

Threads
943,148
Messages
6,917,519
Members
3,158,847
Latest member
fallingOutOfLoveWfithTech