Internet context, like do task if internet connected or disconnected

Discussion in 'App/Feature Suggestion' started by soumyaranjanmahunt, Jan 5, 2019.

  1. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    120
    Likes Received:
    4
    While right now checking if internet is available possible in tasker, i would like to see internet context to do tasks when connected to internet or disconnected to internet.

    For example if i am connected in wifi but internet not available, then turn off wifi.

    Sent from my ONEPLUS A5000 using Tapatalk
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Check for internet access every X minutes and in that task set %IsThereInternet to 1 or 0 depending on what it is.
    Then create a profile with the Variable Value state based on that variable :)
     
    soumyaranjanmahunt likes this.
  3. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    120
    Likes Received:
    4
    I know that method but my question is
    Isn't it going to consume more battery, and it won't be that instantaneous either.
    Can it be done so that it triggers when system detects no internet connection?? Because i have seen an xposed mod do this, or is it just a xposed mod thing.??

    Sent from my ONEPLUS A5000 using Tapatalk
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    As far as I know there's no way of detecting that unless you check every once in a while.
     
  5. Marco h.

    Marco h. New Member

    Joined:
    Feb 3, 2019
    Messages:
    4
    Likes Received:
    0
    Please tell me how to make tasker call me if my wifi has no Internet.
    But limit the call for 5 times.
    Thank you
     
  6. Marco h.

    Marco h. New Member

    Joined:
    Feb 3, 2019
    Messages:
    4
    Likes Received:
    0
    Please in detail, because i still don't know how to use tasker.
    Thank you.
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Profile Condition:
    Time -> Every 5 minutes

    Task:
    1. AutoTools Connectivity Check internet
    2. If %atinternet matches false call your phone number :)
     
    soumyaranjanmahunt likes this.
  8. Marco h.

    Marco h. New Member

    Joined:
    Feb 3, 2019
    Messages:
    4
    Likes Received:
    0
    It works!!!
    Thank you!!!
     
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
  10. Marco h.

    Marco h. New Member

    Joined:
    Feb 3, 2019
    Messages:
    4
    Likes Received:
    0
    How to ping a dyn service example "123.mine.nu"?
     
  11. klimbo

    klimbo New Member

    Joined:
    Feb 11, 2019
    Messages:
    2
    Likes Received:
    0
    very interesting question
     
    Last edited: Feb 12, 2019
  12. soumyaranjanmahunt

    soumyaranjanmahunt Member

    Joined:
    Oct 8, 2018
    Messages:
    120
    Likes Received:
    4
    I am using xposed edge right now and sending intent on internet connect/disconnect.
     

Share This Page