1. Are you ready for the Galaxy S20? Here is everything we know so far!

Tasker Profile runs but then stops after 10 minutes or so.

Discussion in 'Android Apps & Games' started by Midjet, Jun 19, 2017.

  1. Midjet

    Midjet Lurker
    Thread Starter

    I have setup a few simple profiles to turn BT, Data and GPS off when I arrive home and when phone connects to my Home Wifi.
    I am wondering if it is the phone that's the problem as the same profile seems to work fine and remains active on my wifes phone Samsung Galaxy Note 4.
    My phone is Redmi Note 4, the profile will run if I put BT data on etc and then connect to home wifi, but then it stops running so if I leave home the other profiles won't kick in or if I manually turn wifi off.
    My profiles are as follows

    Profile: Home BT And Data Off (4)
    State: Wifi Connected [ SSID:Midjet 2.4/Midjet 5 MAC:* IP:* Active:Yes ]
    Enter: Anon (5)
    <BT off>
    A1: Bluetooth [ Set:Off ]
    <Data off>
    A2: Mobile Data [ Set:Off ]
    A3: Secure Settings [ Configuration:GPS Disabled Timeout (Seconds):0 ]


    Profile: Not HOME DATA ON (12)
    State: Not Wifi Connected [ SSID:Midjet 2.4/Midjet 5 MAC:* IP:* Active:Yes ]
    Enter: Data on (3)
    A1: Mobile Data [ Set:On ]


    Profile: Not Home BT on (14)
    State: Not Wifi Connected [ SSID:Midjet 2.4/Midjet 5 MAC:* IP:* Active:Yes ]
    Enter: BT On (2)
    A1: Bluetooth [ Set:On ]

    In a nutshell if I open tasker and run the Home profile it will do as it is designed but it doesn't remain active so when I leave home the others don't kick in.
    It actually remained live for about 25 minutes and actually switched to away from home when i took the dogs out for a walk but was no longer running by the time i got home

    Any help would be much appreciated
     


    #1 Midjet, Jun 19, 2017
    Last edited: Jun 19, 2017

    1. Download the Forums for Android™ app!


      Download

       
  2. In
    Settings | Preferences | Monitor
    if
    Run in Foreground
    is on ... turn it off.

    What version of Android is each phone using? Is either phone root-ed? More recent versions of Android do not allow Mobile data manipulation unless you are root-ed.

    ... Thom
     
  3. Midjet

    Midjet Lurker
    Thread Starter

    Hi Thom
    I've tried it with Run in Foreground off and on, no obvious difference.
    It's android Marshmallow MIUI 8.2.5.0 It is rooted and runn PHH's superuser
    As stated above the tasks all work when the thing is running, it's just keeping it running that's the problem.
    I have actually found a work around though now and I guess this will be the best I can hope for, I will add it below in case anyone else has the same problem
    • First Open the App which You want to lock
    • Then Press The Home Button
    • Open the Recent App ie. The task manager From left Hand side Capactive Button
    • Then Swipe the App Downward which you want to lock
    Don’t Swipe in Upward Otherwise It will Kill The app So Swipe It Downward
    1. If you are Using MIUI 7 Then The app Will lock Indicating by lock sign on the app
    2. If you are Using MIUI 8 Then Two Option will Appear Out Of which Choose Lock
    If you Kill all app at a time the app which you have lock will not be kill. It will Remain In the task manager

    UPDATE
    While the above works, it then blocked the smooth running of OK Google as it was in locked mode.
    Fortunately, for me, Xiaomi also have another built in option called App Lock, found in Settings right at the bottom of the list , above the About phone tab. I just locked Tasker there and so far Tasker remains active AND OK Google works so I can hands free phone home.
     
    #3 Midjet, Jun 19, 2017
    Last edited: Jun 19, 2017
  4. It is good that you found a work around.

    I am not root-ed.

    Since it is a root-ed environment it is really hard to predict how something that operates in one device will operate in another device (even if they are the same model running the same version of Android).

    ... Thom
     
  5. Midjet

    Midjet Lurker
    Thread Starter

    Thanks any way Thom
     
    buathonghadchaiyapom likes this.

Tasker

Tasker Forum

net.dinglisch.android.taskerm

⚙No repetitive tasks for you, let your Android device handle it!⚙
Total Automation, From Settings to SMS. Here are only some
of the things you could do with Tasker. Its real power is the flexibility to combine contexts and tasks however you wish: https://tasker.joaoapps.com/exampleuses.htmlAutomations
Make your phone a true smart
phone! Why remember to change the volume every day when you leave home when your phone can do it for you? Automate stuff based on the app you're in
, the time of day
, your location
, your Wi-Fi network
, Received SMS or Calls
, the currently playing song
and many other (130+) states and events! Check out how easy it is to create an automation: https://www.youtube.com/watch?v=s6EAbLW5WSkActions
350+ actions allow you to truly customize your phone like never before! Send SMS, create notifications, change almost any system setting like Wifi Tether, Dark Mode, Always On Display, change any volume, control Do Not Disturb, open apps, file manipulation, control music playback, get your location... you get the idea. If you can think of it, Tasker can probably do it for you! Note: root is NOT (I repeat NOT) required for majority of the functions.
However, a few of the actions (like the Airplane Mode action and the Mobile Data action on some devices) require root. Regarding those few actions that do require root, this is because of Android security policies that developers cannot work around. ☑ Other Triggers
Manually trigger your actions via launcher shortcuts, quick setting tiles, widgets, long-pressing volume buttons, media buttons (like the ones on your BT headsets or headphones), Bixby button, Navigation Bar, Notificaitons and more! ☑ Join - Remote Tasker
Adding Join (https://play.google.com/store/apps/details?id=com.joaomgcd.join) to the mix will even allow you to trigger tasks from another Android device or PC! ☑ Scenes
Design your own UI and use it to display any info you want or trigger any task! ☑ App Creation
Create your own standalone apps to share or sell with the Tasker App Factory (https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory)! ☑ Developer Friendly
A lot of 3rd party developers already allow you to perform actions in their apps and listen to their events/states through Tasker! Check out a list of plugins https://tasker.joaoapps.com/pluginlist.html. You can also call most of the Web APIs from Tasker with the powerful HTTP Auth and HTTP Request actions! Check out an example https://youtu.be/yAt2D1XmgUI. ☑ 7 day trial - one time payment to unlock
Get it here: https://tasker.joaoapps.com/download.htmlUseful Links
Starter Guides: https://tasker.joaoapps.com/guides.html Pre-made projects: https://forum.joaoapps.com/index.php?resources/ Official Support Forumhttps://groups.google.com/forum/#!forum/tasker Community full of people willing to help: https://www.reddit.com/r/tasker/ It's not possible to fix problems reported via Play Store Comments so please use the "Report Issue To Developer" option in the app > Menu to do so. Note
: Tasker uses the BIND_DEVICE_ADMIN permission in order to provide the System Lock functionality

READ MORE
February 15, 2020
Last Updated
4.4
Rating
1M+
Installs
Loading...
Similar Threads - Tasker Profile runs
  1. delaneybob
    Replies:
    3
    Views:
    1,680
  2. Betacord360
    Replies:
    3
    Views:
    724
  3. minimum nebula
    Replies:
    0
    Views:
    1,503
  4. Supernova nsp
    Replies:
    1
    Views:
    435
  5. chbash
    Replies:
    1
    Views:
    2,489
  6. EZ214
    Replies:
    2
    Views:
    1,176
  7. Ryde32
    Replies:
    2
    Views:
    773
  8. John Klug
    Replies:
    2
    Views:
    1,250
  9. netsense
    Replies:
    0
    Views:
    791
  10. kumaranil13k
    Replies:
    4
    Views:
    1,068

Share This Page

Loading...