Re: Starting DriveBit with Tasker

393 views
Skip to first unread message

Pent

unread,
May 13, 2013, 6:10:06 AM5/13/13
to Tasker
> I can get it so it launches DriveBit, but can't figure out how to Start the
> program.

You need root to simulate a press of the start button. If you don't
have root, your
best bet is to contact the DriveBit developers and ask them to add a
plugin
component to let you do things with it automatically.

http://tasker.dinglisch.net/plugins.html

> I set it up to Kill the App DriveBit when not connected to 'Mazda' but that
> doesn't work - maybe because I'm not rooted?

Again, root might help, but cleaner would be if they had a plugin
which would
let other apps automate start and stop their app.

Some apps will exit when they're not in foreground. You could try the
App / Go Home
action to return to the home screen.

Pent

Sally Carr

unread,
May 13, 2013, 4:28:40 PM5/13/13
to tas...@googlegroups.com
Ok, Pent. Thanks for your reply.  You've saved me from banging my head against the wall. :)

Sally Carr

unread,
May 14, 2013, 11:52:44 AM5/14/13
to tas...@googlegroups.com
Kevin, you ROCK!!!!  That did it!!  Thanks so much!  With all the fiddling around I did with Tasker, I don't know how I could have missed this.  Once you explained it, it seemed so easy.

Thanks again!!

On Monday, May 13, 2013 8:15:51 PM UTC-4, Kevin Manning wrote:
Hi Sally, I acquired Drivebit yesterday and it took me all day to figure out how to get tasker to run it.    Here is a quick run through:
Open Tasker and go to the Profile tab
Hit the plus at the bottom of the screen and select state
in the state category select NET, then bluetooth connected
I named it drivebit, hit the gear at the top of the lefthand corner and then enter in a new task for that profile, click the check mark
add app, select load app, the select the drivebit app
Hit the gear at the top of screen then hit the plus button at the bottom to select another task
select plugin and choose drivebit
click the edit configuration and select open on the drivebit app

That should open and start the app when you connect
Next start a new profile name it kill drive bit
select state and choose net, then bluetooth connected
check the box inverted box
hit the gear in the top left hand corner and enter a task for the profile
add app, select load app, the select the drivebit app
Hit the gear at the top of screen then hit the plus button at the bottom to select another task
select plugin and choose drivebit
click the edit configuration and select close on the drivebit app
that will shut it off when the phone disconnects from blue tooth.   

I hope this works for you.

Kev


On Sunday, May 12, 2013 1:20:20 PM UTC-5, Sally Carr wrote:
I am using an unrooted Droid Razr (Android 4.1.2) and the latest version of Tasker.

I purchased Tasker to start DriveBit when I get in my car.  DriveBit is a program that logs time spent in your car and uploads it to your FitBit account.  Without Tasker, I would launch the program, press the Start button, then press the Stop button when you arrive. 

I'd like to use Tasker so, when my phone connects via Bluetooth to 'Mazda' it launches DriveBit and then Starts the program.  When I disconnect from 'Mazda' it Stops Fitbit.

I can get it so it launches DriveBit, but can't figure out how to Start the program.  When connected to 'Mazda' the program launches and the Start button appears on the scree, but I must still manually press it. 

I set it up to Kill the App DriveBit when not connected to 'Mazda' but that doesn't work - maybe because I'm not rooted?

Any help or suggestions would be much appreciated. 

Thank you.

Kevin Manning

unread,
May 14, 2013, 12:54:12 PM5/14/13
to tas...@googlegroups.com
You are welcome, and no its not so obvious. Im new to tasker so I had to mess around with it until I got it right last night. Now my Fitbit flex wont count my 6hrs of drive time that I had yesterday as a very very long walk......

Sally Carr

unread,
May 14, 2013, 8:09:24 PM5/14/13
to tas...@googlegroups.com
Thanks.  Let me also add the developer has added step by step directions on how to do this at http://www.fitbit.com/forums/topic/4KTZ2J9SQ4PMH 

It really works great.  I purchased Tasker to do this and am really impressed with the program - all all of your support and help.  Thanks!

On Tuesday, May 14, 2013 12:11:59 PM UTC-4, gianluca gelmetti wrote:
Hi Kevin and Sally, 
the best solution for Drivebit and similar tasks is to add an "exit task" to the first Profile, so when bluetooth connect drivebit start and when disconnected drivebit is stopped, 
you can do it by longpressing the first task in the right and add an "exit Task" as explained by Kevin,
this is the correct way to launch different task on status changes.
Regards

Gianluca

Jason Cooper

unread,
Mar 9, 2016, 3:11:57 PM3/9/16
to Tasker
I know I'm 2 years late, but... Do you know how to accomplish this without using bluetooth, which my car does not have?

easiuser

unread,
Mar 9, 2016, 3:37:32 PM3/9/16
to Tasker
You will need something to trigger the fact that you are in the car.

My solution:
Plug an old phone that stays in airplane mode and blujetooth on in your glove box.
It will stay charged unless I don't drive for several days in a row.
Plus it can always be used to make an emergency call.
There are also some Low Power Bluetooth devices on the market that could also be used.

Other solutions can be used alone or in combination if you are consistent where you place your phone while in the car.
-Phone docked (with compatible dock)
-NFC tag in car that you tap when you enter. Or placed on car dock.
-Small magnet placed by where you set your phone in the car.  Monitor  %MFIELD variable
-Orientation of phone while in car

Also you could use the AutoLocation plugin.  It has logic built in to detect driving/walking

Jason Cooper

unread,
Mar 9, 2016, 5:52:29 PM3/9/16
to tas...@googlegroups.com
I am a little unclear how to use plugins. How do I go about setting up the AutoLocation plugin?

Best Regards,
Jason Cooper
Jason.Sco...@gmail.com
C: 301.537.9543

--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/ZgeurcUrKcM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

easiuser

unread,
Mar 9, 2016, 6:04:41 PM3/9/16
to Tasker, Jason.Sco...@gmail.com
I don't use AutoLocation myself but have used others.  Here is a description of AutoLocation http://joaoapps.com/autolocation/what-it-is/

Go to the play store and download the plugin. 
After installation it will show up as an event, state or action when you create a profile or task.  You will then need to configure it.  There are a lot of tutorials for various plugins out there, just do a google search.
Reply all
Reply to author
Forward
0 new messages