1. dhendriksen's Avatar
    I'm wanting to do a couple of things with Tasker, but not fully grasping how to use it. Hoping I can get some guidance.

    I have an app on my phone. I want to set it up so that when I launch that app, if I'm not connected to a specific WiFi network, then it automatically establishes a VPN connection via OpenVPN. I have the OpenVPN plugin...I just don't know how to set the logic to check when that app launches, if it's connected to that WiFi network and if not...establish the connection.

    I also want to have it sent an HTTP request to a certain web address based on my location. So...when EXITS GEOFENCE send command HTTP://IPADDRESS:PORT/COMMAND. And the same thing about when I re-enter the GEOFENCE.
    02-16-2015 10:56 PM
  2. Rukbat's Avatar
    https://groups.google.com/forum/#!to...er/ScdArOrUwBE has code to determine the SSID of a wifi connection, so use IF and if the variable mathces your specific SSID, do the rest of the VPN stuff.

    As for the HTTP request, you can do a POST or a GET in Tasker natively - Net HTTP Post or Net HTTP Get.
    02-16-2015 11:09 PM
  3. dhendriksen's Avatar
    https://groups.google.com/forum/#!to...er/ScdArOrUwBE has code to determine the SSID of a wifi connection, so use IF and if the variable mathces your specific SSID, do the rest of the VPN stuff.

    As for the HTTP request, you can do a POST or a GET in Tasker natively - Net HTTP Post or Net HTTP Get.
    Rukbat, on the HTTP request....I'd like to think I can figure that part out. Can you share with me how I have it fire the HTTP POST based on EXITING or ENTERING a specific area? Like 1/2 mile radius around my home, for example?
    02-16-2015 11:12 PM
  4. dhendriksen's Avatar
    The learning curve on this app is pretty steep! I purchased the AUTOLOCATION plugin, and setup a GeoFence. I just can't figure out how to have it execute commands based on me ENTERING or EXITING the GeoFence.

    Hmmm...
    02-16-2015 11:20 PM
  5. llamalab's Avatar
    Try Automate, you may find it easier to learn:
    http://forums.androidcentral.com/and...tic-tasks.html

    The learning curve on this app is pretty steep! I purchased the AUTOLOCATION plugin, and setup a GeoFence. I just can't figure out how to have it execute commands based on me ENTERING or EXITING the GeoFence.

    Hmmm...
    03-05-2015 08:56 PM

Similar Threads

  1. need help life or death
    By Lloyd Dillon in forum Android Apps
    Replies: 9
    Last Post: 02-20-2015, 10:31 AM
  2. Can I use an HTC Droid DNA with my T-Mobile sim card?
    By agiantwaffle in forum General Help and How To
    Replies: 2
    Last Post: 02-17-2015, 11:46 AM
  3. Need help with first purchase from Gear App store...
    By Primetimeplaya in forum Samsung Galaxy Note 4
    Replies: 0
    Last Post: 02-16-2015, 08:36 PM
  4. Replies: 1
    Last Post: 02-16-2015, 07:28 PM
  5. Root my s4 newbie help.
    By valleyboy22 in forum Samsung Galaxy S4 Rooting, ROMs & Hacks
    Replies: 1
    Last Post: 02-16-2015, 06:29 PM
LINK TO POST COPIED TO CLIPBOARD