1. AC Question's Avatar
    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>&lt;StringArrayList sr=""&gt;&lt;_arrlst_com.balda.notificationlistener.extra.ARRAY_PACKAGES0&gt;com.pushbullet.android&lt;/_arrlst_com.balda.notificationlistener.extra.ARRAY_PACKAGES0&gt;&lt;/StringArrayList&gt;</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>&lt;StringArray sr=""&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0&gt;%errmsg
    Error message
    Error message if an error occurs. It is filled only if Continue task after error is selected.&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1&gt;%nlqapp()
    Owner app name array
    Owner app name of notification&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2&gt;%nlqpersistent()
    Notification persistent array
    It can be true or false&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES2&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES3&gt;%nlqkey()
    Notification key array
    Notification key&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES3&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES4&gt;%nlqsmallicon()
    Status bar icon list
    Status bar icon URI list&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES4&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES5&gt;%nlqicon()
    App icons
    App icons URI&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES5&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES6&gt;%nlqcount()
    Notification counter array
    Number provided by the notifying app&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES6&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES7&gt;%nlqtitle()
    Notification title array
    Notification title&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES7&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES8&gt;%nlqtext()
    Notification text array
    Notification text&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES8&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES9&gt;%nlqbigtext()
    Notification big text array
    Notification text for big view notifcation&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES9&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES10&gt;%nlqinfotext()
    Notification info text array
    Notification info text&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES10&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES11&gt;%nlqsubtext()
    Notification sub text array
    Notification sub text&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES11&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES12&gt;%nlqticker()
    Notification ticker array
    Notification ticker&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES12&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES13&gt;%nlqsummary()
    Notification summary array
    Notification summary text&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES13&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES14&gt;%nlqbutton1()
    Notification button 1 array
    Notification button 1 name&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES14&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES15&gt;%nlqbutton2()
    Notification button 2 array
    Notification button 2 name&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES15&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES16&gt;%nlqbutton3()
    Notification button 3 array
    Notification button 3 name&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES16&gt;&lt;_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES17&gt;%nlqline()
    Notification line array
    Notification line text for inbox style&lt;/_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES17&gt;&lt;/StringArray&gt;</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
    02-09-2017 04:56 AM

Similar Threads

  1. Replies: 1
    Last Post: 04-09-2017, 02:50 AM
  2. Replies: 6
    Last Post: 02-10-2017, 12:34 PM
  3. Data not working
    By Max Plzak in forum Ask a Question
    Replies: 1
    Last Post: 02-09-2017, 02:36 PM
  4. What to do for insufficient storage space in Lenovo A319?
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 02-09-2017, 05:24 AM
  5. Replies: 1
    Last Post: 02-09-2017, 05:12 AM
LINK TO POST COPIED TO CLIPBOARD