This object is in archive! 

Auto pause while connected to my car via Bluetooth

frank shared this idea 6 years ago
Declined

I very much enjoy your great app. But as nothing is perfect, there is one feature I am missing.

If the distance between several Geocache is too fare for walking, I took only that one that are reachable by foot and change the parking place of my car several times to get in reach of the next group of Geocache.

While doing so¸ I am only interested in tracking the total walking distance and without the driving phases.

Therefore I have to pause the track and restart it at the next parking place. Unfortunately I sometimes forget to pause the track and even more worse forget to restart it.

To prevent this, I would like to have a tracking-feature that will pause the tracking automatically, if my phone is connected via Bluetooth to my car und will restart it, if the connection is interrupted.

I hope, that this feature will be implemented to improve your great app.

Replies (6)

photo
1

Good day frank,

quite complicated and specific use case. I'm sorry, but this idea is out of the scope of Locus Map app.

Anyway, do you know application called "Tasker" or any similar that allows automatizing some tasks (I personally use MacroDroid)? I believe we may create a task in this application that may do this for you.

Locus support few basic intents for some time: https://github.com/asamm/locus-api/wiki/Public-Intents . Also since next version will be supported new improved system of communication over so called Broadcast: https://github.com/asamm/locus-api/wiki/Action-tasks-(Broadcasts)

Anyway this is more complicated task, so I may suggest this only to advanced Android users.

Thanks for understanding.

photo
1

It's a pity. Same problem I have. Such a feature would be great. It's on my personal wish list since a very long time.

But there should be more possible, e.g. I'd like that a dashboard is switched automatically too....

photo
1

Let's give it a try.

Application Macrodroid , five actions is for Free, so no worry and try it.

Start it and tap on "Macros" > add "+" Macro, where

Macro for connected BT

Trigger: Connectivity > Bluetooth Event > Device Connected > choose your device

Action: Connectivity > Send Intent > and setup it as on screenshot below to pause running track recording

d2bea49697054090013e2a64fe126630


Macro for disconnect from BT

All settings will be same, just set trigger to Device disconnect and extra parameter "tasks" in intent set to { track_record: { action: "start" } }

Just tested and works without a problem. Let me know.

Menion

photo
1

Sounds good :) I use tasker but that would be not any problem. I didn't know that I can use such an API of locus. Great. Thanks I'll have a look at this!

photo
1

You may use the exactly same feature with Tasker as well. What I wrote below is a completely new system, read here: http://help.locusmap.eu/topic/auto-pause-while-connected-to-my-car-via-bluetooth#comment-56860

If you do not use Locus Beta versions, you for now have to use parameters from first link. What I wrote below will work in next update of Locus Map app.

Let me know if there will be any problem.

The new system is really flexible and I plan to add additional parameters how to control app over Tasker or similar apps. All based on users feedback ;).

Menion

EDIT: how to use Beta version

photo
1

AWESOME :) That's great!!! Didn't yet know it.

I'm not in a hurry. I'll wait for next stable version. Many thanks!

photo
2

Hello

I can provide a tasker profile that pause and restart the locus track with the same behaviour of macrodroid proposed by menion.

With tasker we can be more specific and choose which BT device triggers this function and set up a feedback for the user: on every pause and start the phone can say and display something so in case something goes wrong you can turn it on/off manually.

I'll try it on next days on beta, tell me if you have other ideas or needs.

photo
1

Great - you are welcome to post your solution with tasker.

I'll wait till it's final - I need a stable locus the next time.

photo
1

How much Akku needs Tasker or MarcoDroid ?

photo
1

"How much Akku needs Tasker or MarcoDroid ?"

AKKU ????

photo
1

I think every app that works in the background and monitors actions consumes battery. Is only the question if she needs a lot.

photo
1

Tasker is not hungry for energy as you can see in the image.

I also think that if you need it while using a car you can also charge your device

photo
1

Hello,

attached to this post there is the first attempt to create the requested script in tasker.

Just create a recording profile named geo in locus and than import the xml in tasker.

In the tasker profile now you can set up your BT device: open the profile, touch the "BT connesso mydevice", now you have 2 option, deleting the "mydevice" in name settings tasker will trigger locus with every BT device that connect to the phone, best is to delete "mydevice" than with BT active on the phone choose your special BT device that will trigger locus with the magnifier icon.

Now turn off your car and the BT device.

Start geo rec profile on locus, happy geocaching.

When you go back to the car and you start it cìthe BT device will wake up, the phone will connect to BT, and tasker will pause the locus track.

Now move to your second cache site. Turn off your car, the BT disconnects, and tasker will toggle the recording in locus. And so on ...

And after 100 caches of which 50 dnf you'll have enough. Stop the track. All done

Replies have been locked on this page!