• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

tasker profiles not running

cbo0485

Lurker
Hey, just made the jump to an android after being an iPhone user for years. Trying out tasker, but not sure if I'm setting it up right or not. I set up a findme profile that should turn on my music and up my volume if I receive a text with findme in it.

However it seems very sporadic. I only got it to work once, I'm not sure if the settings are ogmff or what. And in my notification area it always says no active profiles.

Also what do most people have set for your display off application checking. What is a good setting that won't drain the battery too much.

BTW, on 4.4.2 LG g3 att.
 
1. Can you export the project somewhere so someone can have a look? (If you haven't, create a project in which all the needed profiles and tasks can be kept, it's also tidier. If you don't know how to do it, disable beginner mode, long tap on Home icon - bottom left - and tap on Add)

2. The default settings are good. It depends what you want to do. Do you have more details?
 
Can't upload the file, keeps saying "Invalid File", so the xml is below.

So that's my project for number 1, it seems to work maybe every 3-4 times. Almost like it's a timing issue or something.

So what I do is, I send myself a text with the verbiage 'Findme' (no quotes), and immediately turn off my display(press lock button) so before it finished sending, my display turns off.

My Display Off monitoring is set to:

All Checks Seconds 60(default is 10 minutes, seems like a long time for events to trigger, what do most ppl set this to)

TimeoutSeconds 55

So one question I have is, when I have an event that is triggered by a text message, does tasker immediately see that text message when it arrives, and it'll trigger the events to happen. Or will it only see it every 60 seconds. So if it's polling at say the 00 seconds of every minute, so at 8:00:00, 8:01:00, 8:02:00 it is making it's checks. If that text is received at 8:00:15, does that mean the Events triggered by that text won't actually kick off until 8:01:00?


Code:
<TaskerData sr="" dvi="1" tv="4.4u3m">
    <Profile sr="prof3" ve="2">
        <cdate>1410482635802</cdate>
        <edate>1410527292489</edate>
        <id>3</id>
        <mid0>9</mid0>
        <mid1>7</mid1>
        <Event sr="con0" ve="2">
            <code>7</code>
            <pri>0</pri>
            <Int sr="arg0" val="0"/>
            <Str sr="arg1" ve="3"/>
            <Str sr="arg2" ve="3">findme</Str>
        </Event>
    </Profile>
    <Project sr="proj0" ve="2">
        <cdate>1410527103567</cdate>
        <name>Find Me Project</name>
        <pids>3</pids>
        <tids>9,7</tids>
    </Project>
    <Task sr="task7">
        <cdate>1410482665092</cdate>
        <edate>1410527525762</edate>
        <id>7</id>
        <nme>BLARE Music</nme>
        <pri>10</pri>
        <Action sr="act0" ve="6">
            <code>303</code>
            <Int sr="arg0" val="1"/>
            <Int sr="arg1" val="1"/>
            <Int sr="arg2" val="1"/>
        </Action>
        <Action sr="act1" ve="6">
            <code>445</code>
            <Str sr="arg0" ve="3">/mnt/sdcard/Music/Music Mate/Kiss/Alive Iii/10-Rock &amp; Roll All Nite.mp3</Str>
            <Int sr="arg1" val="0"/>
            <Int sr="arg2" val="1"/>
            <Int sr="arg3" val="3"/>
        </Action>
    </Task>
    <Task sr="task9">
        <cdate>1410525825300</cdate>
        <edate>1410527523646</edate>
        <id>9</id>
        <nme>Wake Up</nme>
        <Action sr="act0" ve="6">
            <code>11820</code>
            <se>false</se>
            <Bundle sr="arg0">
                <Vals sr="val">
                    <com.intangibleobject.securesettings.plugin.extra.BLURB>Screen &amp; Keyboard Lights On
20 Seconds</com.intangibleobject.securesettings.plugin.extra.BLURB>
                    <com.intangibleobject.securesettings.plugin.extra.BLURB-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.BLURB-type>
                    <com.intangibleobject.securesettings.plugin.extra.SETTING>wake_device</com.intangibleobject.securesettings.plugin.extra.SETTING>
                    <com.intangibleobject.securesettings.plugin.extra.SETTING-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.SETTING-type>
                    <com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_DURATION>20000</com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_DURATION>
                    <com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_DURATION-type>java.lang.Long</com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_DURATION-type>
                    <com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_TYPE>full</com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_TYPE>
                    <com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_TYPE-type>java.lang.String</com.intangibleobject.securesettings.plugin.extra.WAKE_LOCK_TYPE-type>
                    <com.twofortyfouram.locale.intent.extra.BLURB>Screen &amp; Keyboard Lights On
20 Seconds</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.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.intangibleobject.securesettings.plugin</Str>
            <Str sr="arg2" ve="3">Secure Settings</Str>
            <Int sr="arg3" val="5"/>
        </Action>
    </Task>
</TaskerData>
 
Sorry for being a bit late, but I finally have some time to look at this.

What surprises me is that your "Find me" profile seems to trigger 2 entry tasks rather than an entry and an exit task... Has anyone else ever seen that? can you just play with the xml to have more than one entry tasks and/or more than one exit tasks?


Anyway, in one of these tasks, you set the Alarm volume to 1 then try to play music using the media stream (meaning the media volume should be on).

Also you shouldn't need to wake up the device (what the first entry task does).

Try this instead:

Delete the "Wake up" task (also need to remove it as an entry task from the profile)

Modify the "Blare Music" task as follows
Audio > Media Volume > Level = 15
Media > Music Play > File = YourFile.mp3, Stream = Media
Task > Wait Until > 1 sec, Until %SCREEN ~ on
Media > Music Stop

I added the last 2 lines because without them there's no way to stop the music. Here, it will stop as soon as you switch the screen on.


There is no need to change anything with the display off monitor settings. The received SMS is an event, there is no monitoring or polling happening here.
 
Back
Top Bottom