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

Tasker NFC question

Discussion in 'Android Apps & Games' started by bobbo21, Jul 13, 2013.

  1. bobbo21

    bobbo21 Lurker
    Thread Starter


    I just got some NFC tags and started making profiles for tasker using them. I want a profile for my car that turns on gps and starts up waze. The profile is simple enough...I attached an nfc tag to my car dock, so the triggers are the scanning of the nfc tag and that the power is plugged in.

    The problem I'm having is setting up an exit task. When the power is unplugged (when I'm leaving the car), I want waze to close and gps off. I can do that just fine, but if I plug my phone in at home, the profile becomes active again. I'm assuming that the phone is retaining the last NFC id that it read.

    I know I can solve this easily using another tag, but I'd like to use only 1 if possible to keep this profile simple. Is there anyway to clear the last read NFC data from the phone? I'm using a rooted galaxy s3 on android 4.1.2. I don't use any bluetooth devices in my car, so I can't use that as a more reliable trigger.


    1. Download the Forums for Android™ app!


  2. userloser

    userloser Newbie

    make reading the tag a toggle, and swipe it twice - when you get into the car, and when you get out of it.
  3. XplosiV

    XplosiV Master X is Watching You

    In Tasker add a trigger for cell near (imo more reliable than location when set up)

    Profile car

    State > phone > cell near /press scan and walk around your house to scan for cell towers, you may need to do this several times.

    Once you have the tower data, tick invert and you should be done. As soon as your out of range of any listed towers the profile should activate.

    You can achieve the same thing using Wfi connected (inverted) so as soon as your out of range of your home wifi, it'll trigger
  4. I would recommend having the profile that starts with the NFC tag add a Variable of your choosing lets say:

    %incar = yes

    so the context of that profile would look for two things

    When you unplug from power have that variable cleare

    Profile: NFC Set Var
    Context: NFC tag
    Action: set variable %incar = yes

    Profile: on Power
    Context: Plugged in & %incar = yes
    Action: clear variable %incar
    start waze

    This way when its plugged in it looks for the %incar variable to be YES, then it runs the waze and clears the variable so when you unplug the variable is null. If you plug in at home it looks for the variable to be YES before launching waze, this condition would fail and the action would stop.

    Not sure if this makes sense, at work trying not to get busted not doing work.


Tasker Forum


⚙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

February 15, 2020
Last Updated

Share This Page