Tasker arbeitet nur manuell

borussemd

borussemd

Ehrenmitglied
7.832
Servus allerseits,

ich verzweifel langsam und erbitte eure Hilfe:
Ich habe mir Notification Counts für WhatsApp, Tapatalk und EMail erstellt, nach Jagwars Anleitung:
Notification counts from any app in Kustom with Tasker - jagwar's blog
Gestern funktionierte alles problemlos. Ich nutze die Counter in einem KLWP Projekt.
Seit heute Morgen kann ich machen was ich will, die Tasks funktionieren nicht mehr automatisch. Mein OPO war nur am Ladegerät über Nacht, sonst wurde nichts verändert.

Ich habe inzwischen Tasker als Geräteadministrator gesetzt, als Dienst läuft Tasker ebenfalls. Wenn ich die Tasks manuell in Tasker ausführe funktionieren sie problemlos. Nur automatisch werden die Counter nicht mehr angesprochen. Kann mir irgendwer sagen, wo da ein Fehler liegen soll???

Ich habe Tasker auch schon im "Foreground" und "Background" getestet...Ich werde hier noch wahnsinnig, weil es bis gestern Abend lief.

Der ursprüngliche Beitrag von 11:49 Uhr wurde um 12:25 Uhr ergänzt:

EDIT:

Ich kriegs am Kopf!
Hab den "Fehler" gefunden:
Das OPO schaltet Nachts auf Vibration und nur wichtige Unterbrechungen. Wenn ich wieder in den Normalmodus wechsel werden auch die Benachrichtigungen abgerufen.
Das kanns doch echt nicht sein. Die Counter sollen immer gezählt werden, egal ob das Gerät stumm ist, oder nicht.

Dazu jemand ne Idee?

PS: OPO läuft aktuell auf Tuga v66 (5.0.2)
 
Der Counter zählt doch nur die Notifications, wenn dein OPO keine Notifications durchlässt gibt es nichts zu zählen. Da musst du wohl schauen, ob du die Benachrichtigung, trotz "Ruhemodus" aktivieren kannst.
 
Tja. Es liegt wohl an der Art, wie die Benachrichtigungen abgefragt werden. Für Nova nutze ich zb MissedIt. Da werden die Benachrichtigungen aus der Statusbar abgefragt. Denn die Benachrichtigungen kommen ja egal ob das Gerät stumm ist oder nicht. Man wird nur nicht durch Klingeln oder Vibrieren darüber informiert. Schon seltsam, dass Tasker Benachrichtigungen nicht erkennt, wenn das Gerät nicht im Klingelmodus ist.
 
Also bei mir zählt Tasker die Notifications, auch wenn stumm, oder sonst ein Modus aktiviert ist.
Du kannst ja mal dein Profil als Description hier importieren bzw. was verwendest du zum Triggern?
 
Mein Profil:
<TaskerData sr="" dvi="1" tv="4.6u3m">
<Profile sr="prof28" ve="2">
<cdate>1430039768626</cdate>
<clp>true</clp>
<edate>1430041336699</edate>
<id>28</id>
<mid0>21</mid0>
<nme>Count WhatsApp Notification</nme>
<Event sr="con0" ve="2">
<code>461</code>
<App sr="arg0">
<appClass>com.whatsapp.Main</appClass>
<appPkg>com.whatsapp</appPkg>
<label>WhatsApp</label>
</App>
<Str sr="arg1" ve="3"/>
</Event>
</Profile>
<Profile sr="prof29" ve="2">
<cdate>1430039794545</cdate>
<clp>true</clp>
<edate>1430041342351</edate>
<id>29</id>
<mid0>22</mid0>
<nme>Count Tapatalk Notification</nme>
<Event sr="con0" ve="2">
<code>461</code>
<App sr="arg0">
<appClass>com.quoord.tapatalkpro.activity.directory.ics.IcsEntryActivity</appClass>
<appPkg>com.quoord.tapatalkpro.activity</appPkg>
<label>Tapatalk</label>
</App>
<Str sr="arg1" ve="3"/>
</Event>
</Profile>
<Profile sr="prof30" ve="2">
<cdate>1430039816313</cdate>
<clp>true</clp>
<edate>1430041347179</edate>
<id>30</id>
<mid0>23</mid0>
<nme>Count EMail Notification</nme>
<Event sr="con0" ve="2">
<code>461</code>
<App sr="arg0">
<appClass>com.android.email.activity.Welcome</appClass>
<appPkg>com.android.email</appPkg>
<label>E-Mail</label>
</App>
<Str sr="arg1" ve="3"/>
</Event>
</Profile>
<Profile sr="prof31" ve="2">
<cdate>1430039828225</cdate>
<clp>true</clp>
<edate>1430039929256</edate>
<id>31</id>
<mid0>24</mid0>
<nme>Clear WhatsApp Counter</nme>
<App sr="con0" ve="2">
<cls0>com.whatsapp.Main</cls0>
<flags>2</flags>
<label0>WhatsApp</label0>
<pkg0>com.whatsapp</pkg0>
</App>
</Profile>
<Profile sr="prof32" ve="2">
<cdate>1430039840209</cdate>
<clp>true</clp>
<edate>1430039943790</edate>
<id>32</id>
<mid0>25</mid0>
<nme>Clear Tapatalk Counter</nme>
<App sr="con0" ve="2">
<cls0>com.quoord.tapatalkpro.activity.directory.ics.IcsEntryActivity</cls0>
<flags>2</flags>
<label0>Tapatalk</label0>
<pkg0>com.quoord.tapatalkpro.activity</pkg0>
</App>
</Profile>
<Profile sr="prof33" ve="2">
<cdate>1430039850019</cdate>
<clp>true</clp>
<edate>1430039960144</edate>
<id>33</id>
<mid0>26</mid0>
<nme>Clear EMail Counter</nme>
<App sr="con0" ve="2">
<cls0>com.android.email.activity.Welcome</cls0>
<flags>2</flags>
<label0>E-Mail</label0>
<pkg0>com.android.email</pkg0>
</App>
</Profile>
<Profile sr="prof36" ve="2">
<cdate>1430055865936</cdate>
<clp>true</clp>
<edate>1430055890440</edate>
<id>36</id>
<mid0>34</mid0>
<nme>Count Gmail Notification</nme>
<Event sr="con0" ve="2">
<code>461</code>
<App sr="arg0">
<appClass>com.google.android.gm.ConversationListActivityGmail</appClass>
<appPkg>com.google.android.gm</appPkg>
<label>Gmail</label>
</App>
<Str sr="arg1" ve="3"/>
</Event>
</Profile>
<Profile sr="prof37" ve="2">
<cdate>1430055900570</cdate>
<clp>true</clp>
<edate>1430055921131</edate>
<id>37</id>
<mid0>35</mid0>
<nme>Clear Gmail Counter</nme>
<App sr="con0" ve="2">
<cls0>com.google.android.gm.ConversationListActivityGmail</cls0>
<flags>2</flags>
<label0>Gmail</label0>
<pkg0>com.google.android.gm</pkg0>
</App>
</Profile>
<Project sr="proj0" ve="2">
<cdate>1430039118335</cdate>
<name>Kustom</name>
<pids>29,32,33,36,30,31,37,28</pids>
<tids>23,25,34,24,22,26,35,21</tids>
</Project>
<Task sr="task21">
<cdate>1430039268512</cdate>
<edate>1430041858711</edate>
<id>21</id>
<nme>NewWA</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>888</code>
<Str sr="arg0" ve="3">%WACOUNT</Str>
<Int sr="arg1" val="1"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>15430</code>
<se>false</se>
<Bundle sr="arg0">
<Vals sr="val">
<com.twofortyfouram.locale.intent.extra.BLURB>Set: WhatsApp</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>org.kustom.tasker.VAR_VALUE</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>
<org.kustom.tasker.VAR_NAME>WhatsApp</org.kustom.tasker.VAR_NAME>
<org.kustom.tasker.VAR_NAME-type>java.lang.String</org.kustom.tasker.VAR_NAME-type>
<org.kustom.tasker.VAR_VALUE>%WACOUNT</org.kustom.tasker.VAR_VALUE>
<org.kustom.tasker.VAR_VALUE-type>java.lang.String</org.kustom.tasker.VAR_VALUE-type>
<org.kustom.tasker.extra.INT_VERSION_CODE>205509814</org.kustom.tasker.extra.INT_VERSION_CODE>
<org.kustom.tasker.extra.INT_VERSION_CODE-type>java.lang.Integer</org.kustom.tasker.extra.INT_VERSION_CODE-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">org.kustom.wallpaper</Str>
<Str sr="arg2" ve="3">KLWP Send Variable</Str>
<Int sr="arg3" val="0"/>
</Action>
</Task>
<Task sr="task22">
<cdate>1430039350110</cdate>
<edate>1430041865443</edate>
<id>22</id>
<nme>NewTapa</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>888</code>
<Str sr="arg0" ve="3">%TAPACOUNT</Str>
<Int sr="arg1" val="1"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>15430</code>
<Bundle sr="arg0">
<Vals sr="val">
<com.twofortyfouram.locale.intent.extra.BLURB>Set: Tapatalk</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>org.kustom.tasker.VAR_VALUE</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>
<org.kustom.tasker.VAR_NAME>Tapatalk</org.kustom.tasker.VAR_NAME>
<org.kustom.tasker.VAR_NAME-type>java.lang.String</org.kustom.tasker.VAR_NAME-type>
<org.kustom.tasker.VAR_VALUE>%TAPACOUNT</org.kustom.tasker.VAR_VALUE>
<org.kustom.tasker.VAR_VALUE-type>java.lang.String</org.kustom.tasker.VAR_VALUE-type>
<org.kustom.tasker.extra.INT_VERSION_CODE>205509814</org.kustom.tasker.extra.INT_VERSION_CODE>
<org.kustom.tasker.extra.INT_VERSION_CODE-type>java.lang.Integer</org.kustom.tasker.extra.INT_VERSION_CODE-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">org.kustom.wallpaper</Str>
<Str sr="arg2" ve="3">KLWP Send Variable</Str>
<Int sr="arg3" val="0"/>
</Action>
</Task>
<Task sr="task23">
<cdate>1430039401650</cdate>
<edate>1430041868655</edate>
<id>23</id>
<nme>NewEMail</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>888</code>
<Str sr="arg0" ve="3">%EMAILCOUNT</Str>
<Int sr="arg1" val="1"/>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>15430</code>
<Bundle sr="arg0">
<Vals sr="val">
<com.twofortyfouram.locale.intent.extra.BLURB>Set: EMail</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>org.kustom.tasker.VAR_VALUE</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>
<org.kustom.tasker.VAR_NAME>EMail</org.kustom.tasker.VAR_NAME>
<org.kustom.tasker.VAR_NAME-type>java.lang.String</org.kustom.tasker.VAR_NAME-type>
<org.kustom.tasker.VAR_VALUE>%EMAILCOUNT</org.kustom.tasker.VAR_VALUE>
<org.kustom.tasker.VAR_VALUE-type>java.lang.String</org.kustom.tasker.VAR_VALUE-type>
<org.kustom.tasker.extra.INT_VERSION_CODE>205509814</org.kustom.tasker.extra.INT_VERSION_CODE>
<org.kustom.tasker.extra.INT_VERSION_CODE-type>java.lang.Integer</org.kustom.tasker.extra.INT_VERSION_CODE-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">org.kustom.wallpaper</Str>
<Str sr="arg2" ve="3">KLWP Send Variable</Str>
<Int sr="arg3" val="0"/>
</Action>
</Task>
<Task sr="task24">
<cdate>1430039465978</cdate>
<edate>1430039523619</edate>
<id>24</id>
<nme>ClearWA</nme>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%WACOUNT</Str>
<Str sr="arg1" ve="3">0</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>15430</code>
<Bundle sr="arg0">
<Vals sr="val">
<com.twofortyfouram.locale.intent.extra.BLURB>Set: WhatsApp</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>org.kustom.tasker.VAR_VALUE</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>
<org.kustom.tasker.VAR_NAME>WhatsApp</org.kustom.tasker.VAR_NAME>
<org.kustom.tasker.VAR_NAME-type>java.lang.String</org.kustom.tasker.VAR_NAME-type>
<org.kustom.tasker.VAR_VALUE>%WACOUNT</org.kustom.tasker.VAR_VALUE>
<org.kustom.tasker.VAR_VALUE-type>java.lang.String</org.kustom.tasker.VAR_VALUE-type>
<org.kustom.tasker.extra.INT_VERSION_CODE>205509814</org.kustom.tasker.extra.INT_VERSION_CODE>
<org.kustom.tasker.extra.INT_VERSION_CODE-type>java.lang.Integer</org.kustom.tasker.extra.INT_VERSION_CODE-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">org.kustom.wallpaper</Str>
<Str sr="arg2" ve="3">KLWP Send Variable</Str>
<Int sr="arg3" val="0"/>
</Action>
</Task>
<Task sr="task25">
<cdate>1430039534423</cdate>
<edate>1430039599614</edate>
<id>25</id>
<nme>ClearTapa</nme>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%TAPACOUNT</Str>
<Str sr="arg1" ve="3">0</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>15430</code>
<Bundle sr="arg0">
<Vals sr="val">
<com.twofortyfouram.locale.intent.extra.BLURB>Set: Tapatalk</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>org.kustom.tasker.VAR_VALUE</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>
<org.kustom.tasker.VAR_NAME>Tapatalk</org.kustom.tasker.VAR_NAME>
<org.kustom.tasker.VAR_NAME-type>java.lang.String</org.kustom.tasker.VAR_NAME-type>
<org.kustom.tasker.VAR_VALUE>%TAPACOUNT</org.kustom.tasker.VAR_VALUE>
<org.kustom.tasker.V
 
Nicht als XML, das kann man so schlecht lesen.
 
Tell me how ;)
Wie ist es denn übersichtlicher? Ich bin recht frisch im Thema, Georgius.
 
Steht eh in der Mail von Lenovo. Als Description. Wie es auf deutsch genau heißt.
 
Gefunden
 

Anhänge

  • datadescr.txt
    2,5 KB · Aufrufe: 1.245
Ich helfe mal mit der Darstellung aus: (aber ich glaube, es war nur ein bestimmtes Profil gemeint)

Code:
Profile: Count WhatsApp Notification (28)
    Event: Notification [ Owner Application:WhatsApp Title:* ]
Enter: NewWA (21)


Profile: Count Tapatalk Notification (29)
    Event: Notification [ Owner Application:Tapatalk Title:* ]
Enter: NewTapa (22)


Profile: Count EMail Notification (30)
    Event: Notification [ Owner Application:E-Mail Title:* ]
Enter: NewEMail (23)


Profile: Clear WhatsApp Counter (31)
    Application: WhatsApp
Enter: ClearWA (24)


Profile: Clear Tapatalk Counter (32)
    Application: Tapatalk
Enter: ClearTapa (25)


Profile: Clear EMail Counter (33)
    Application: E-Mail
Enter: ClearEMail (26)


Profile: Count Gmail Notification (36)
    Event: Notification [ Owner Application:Gmail Title:* ]
Enter: NewGmail (34)


Profile: Clear Gmail Counter (37)
    Application: Gmail
Enter: ClearGmail (35)


Task: NewWA (21)
    A1: Variable Add [ Name:%WACOUNT Value:1 Wrap Around:0 ] 
    A2: KLWP Send Variable [ Configuration:Set: WhatsApp Package:org.kustom.wallpaper Name:KLWP Send Variable Timeout (Seconds):0 Continue Task After Error:On ] 


Task: NewTapa (22)
    A1: Variable Add [ Name:%TAPACOUNT Value:1 Wrap Around:0 ] 
    A2: KLWP Send Variable [ Configuration:Set: Tapatalk Package:org.kustom.wallpaper Name:KLWP Send Variable Timeout (Seconds):0 ] 


Task: NewEMail (23)
    A1: Variable Add [ Name:%EMAILCOUNT Value:1 Wrap Around:0 ] 
    A2: KLWP Send Variable [ Configuration:Set: EMail Package:org.kustom.wallpaper Name:KLWP Send Variable Timeout (Seconds):0 ] 


Task: ClearWA (24)
    A1: Variable Set [ Name:%WACOUNT To:0 Do Maths:Off Append:Off ] 
    A2: KLWP Send Variable [ Configuration:Set: WhatsApp Package:org.kustom.wallpaper Name:KLWP Send Variable Timeout (Seconds):0 ] 


Task: ClearTapa (25)
    A1: Variable Set [ Name:%TAPACOUNT To:0 Do Maths:Off Append:Off ] 
    A2: KLWP Send Variable [ Configuration:Set: Tapatalk Package:org.kustom.wallpaper Name:KLWP Send Variable Timeout (Seconds):0 ] 


Task: ClearEMail (26)
    A1: Variable Set [ Name:%EMAILCOUNT To:0 Do Maths:Off Append:Off ] 
    A2: KLWP Send Variable [ Configuration:Set: EMail Package:org.kustom.wallpaper Name:KLWP Send Variable Timeout (Seconds):0 ] 


Task: NewGmail (34)
    A1: Variable Add [ Name:%GMAILCOUNT Value:1 Wrap Around:0 ] 
    A2: KLWP Send Variable [ Configuration:Set: Gmail Package:org.kustom.wallpaper Name:KLWP Send Variable Timeout (Seconds):0 ] 


Task: ClearGmail (35)
    A1: Variable Set [ Name:%GMAILCOUNT To:0 Do Maths:Off Append:Off ] 
    A2: KLWP Send Variable [ Configuration:Set: Gmail Package:org.kustom.wallpaper Name:KLWP Send Variable Timeout (Seconds):0 ]
 

Ähnliche Themen

Viper73
Antworten
3
Aufrufe
253
Viper73
Viper73
P
Antworten
25
Aufrufe
1.165
Pentatulim
P
K
Antworten
9
Aufrufe
464
ka111
K
Zurück
Oben Unten