[Q] Tasker Bluetooth help - General Questions and Answers

Hello! I did a search, and I can't seem to find exactly what I'm looking for, so I thought I would try asking. I apologize if I just missed a post somewhere already addressing this!
I have a profile to turn my Bluetooth on/off based on whether or not it's plugged in. Specifically, it only activates when it has AC power (not USB) because I only really use that type of connection in the car, where I want my bluetooth to turn on automatically so it connects to my car's bluetooth system as soon as I plug it in. That part works perfectly. The problem I'm having is that my phone charger doesn't sit tight in the outlet in the car, so a good bump will jar it just enough to turn it off. Which, in turn, cuts off my bluetooth and creates havic if I'm on a call and driving at the same time. I'd really like to be able to add some kind of exception, that if I'm on a current call, bluetooth won't shut off until the call ends. If there isn't a call, I'd like it to continue to shut off as soon as it's unplugged. This way, if my power cord gets bumped, it won't effect the current call, at least. I've searched through profiles, here and on Google, and while I find a lot of on/off profiles, I haven't been able to find or figure out how to make one with this kind of specific exception. Any ideas?
Thanks for any help you guys can give me!

see http://tasker.wikidot.com/bluetooth-auto-turn-off
This profile should only turn BT off, if there is no current BT connection.
Note: I'm trying to implement the same functionality as you, and I used the script mentioned above. For me it isn't working perfectly, but that is maybe because of some other tasker profiles.

Related

[Q] Tasker bluetooth profile help

I finally talked my wife into an Android phone when it was time to upgrade from her outdated flip phone. She hasn't gotten completly used to it and only uses the basic phone/internet/app funcitons at the moment. For her birthday I am getting her a car stereo that has bluetooth built in. I want to set up a bluetooth task/widget that will:
Turn on bluetooth
check for car connection
if present:
turn on vlingo,
give menu of media apps to chose from.
turn up bluetooth/media volume
if not present turn off bluetooth:
If disconnected from car bluetooth for more than 5 min (walk away from car).
Turn off all the above.
Is this possible? I know it is a lot to ask, but I really want to make this easy for her for her birthday so she will actually use it
I am new to Tasker so I may ask follow up questions.
Thanks in advance,
shadow.

2 new issues with my Charge

So I just ran into these problems today and I wanted to find out if anyone else is experiencing them.
#1 My Charge's bluetooth will not stay connected to my Kia Soul's built bluetooth for phone calls, it would connect for literally 3 mins then just disconnect, almost like the phone was transmitting a bluetooth signal to pair with.
#2 I was using a cord to plug in my phone to my radio's auxiliary plug to test the phone as a replacement to my Ipod. However, every time I turned the part plugged into the phone using the headphone plug, or moved the cord or the phone, the phone would stop playing music and sometimes randomly skip to the next song. This is no longer an issue, just me not pushing the cord in far enough.
Im running the custom ROM so I am going to try this with stock, but neither things seems like itd be a ROM issue to me.
1) Does it disconnect during calls? It should go to sleep after a while, but if receiving a call it should reconnect if bluetooth is still turned on on the phone. This is Bluetooth 2.1 + EDR power saving working correctly unless it happens DURING calls, but it should sleep when idle.
2) I have had similar issues with cables no fitting properly, high end cabls likfe griffin/monster/etc have given me less issues, also make sure if you're usinga case that it is seated fully, some cases will keep it from being seated, on a headset with controls it uses a third ring for the mic and controls, and poor fitment can cause a stereo cable to short out on the third pin causing those issues.
I don't use BT, so I'm not much help with #1. For #2 though, I have read from several different users that the WM8994 chip/codec that this phone uses + voodoo sound is one of the best sound audio devices available, and provides a much nicer sound than any iPhone/iPod can. Now if only I could get my kernel config fixed.
warriorprophet said:
1) Does it disconnect during calls? It should go to sleep after a while, but if receiving a call it should reconnect if bluetooth is still turned on on the phone. This is Bluetooth 2.1 + EDR power saving working correctly unless it happens DURING calls, but it should sleep when idle.
Click to expand...
Click to collapse
It does not do it during calls, however, it does not reconnect when a call comes in either, I have to reconnect manually.
If this is how its designed, its actually a HUGE pain in the butt, I am an advertising salesman for a newspaper so I spend half my week driving and part of the reason I bought the Kia was for the bluetooth.
ShotgunSam said:
It does not do it during calls, however, it does not reconnect when a call comes in either, I have to reconnect manually.
If this is how its designed, its actually a HUGE pain in the butt, I am an advertising salesman for a newspaper so I spend half my week driving and part of the reason I bought the Kia was for the bluetooth.
Click to expand...
Click to collapse
Check the ford sync thread for your bt issue
I actually was trying to find it earlier (I did not use search though) seemed it got buried somewhere, but I will look through it.
I have the same problem in my week old Kia Forte. From what I've read it's not the cars. It happens on several types of cars with several types of phones. It has to do with the down loading of the phone books. If you have a lot of contacts on your phone the BT messes up. I read that if you turn off your phone and then turn it back on it will reconnect and stay that way.
So far that DOES work. I do that almost every time I get in.
But that's the bad thing, you have to do that a lot. My suggestion is clean up your contacts. If you have old ones that you don't really use or call dump them.
ShotgunSam said:
I actually was trying to find it earlier (I did not use search though) seemed it got buried somewhere, but I will look through it.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1092436
Hughes4123 said:
I have the same problem in my week old Kia Forte. From what I've read it's not the cars. It happens on several types of cars with several types of phones. It has to do with the down loading of the phone books. If you have a lot of contacts on your phone the BT messes up. I read that if you turn off your phone and then turn it back on it will reconnect and stay that way.
So far that DOES work. I do that almost every time I get in.
But that's the bad thing, you have to do that a lot. My suggestion is clean up your contacts. If you have old ones that you don't really use or call dump them.
Click to expand...
Click to collapse
I think I might have fixed my problem because I had my phone set to show contacts that did not have phone #s, just email addresses (I have a lot of those from work), anyways I had the hide those and it may have cleared up my problem, probably confused it trying to download contacts with no phone #

Inconsistent Bluetooth autoconnect since ICS

This is driving me batty. Ever since I upgraded to ICS, my phone will not consistently reconnect to my Soundfly View that I use in my car.
Sometimes it connects automatically, sometimes not. I did completely remove the pairing from both devices and repaired, but to no difference.
Most maddeningly, today, it wasn't connected, so I woke the phone (by pressing power) and unlocked it, then it connected. Almost like it was "asleep" or something???
Anybody else have this issue? Is there any fix?
I don't have a suggestion for you, just saying that my experience has been the opposite. I use two completely different stereo bluetooth headset devices to listen to music all day at work (neither one of them has a long enough battery life to last throughout the day so I have to switch)
I use a sony mw600 and a samsung hs3000. I'm sure they are different than your car thing, but I'm sure they do the same thing. Ie, phone and media sounds go through the headset instead of the phone.
Autoconnect has always worked well. For what it's worth I use poweramp as a media player and in the settings there is an option for a persistent service to always start auto playing when the phone pairs to either device, and to stop playing upon a device disconnect. All I have to do is turn on the power, or turn off the power, the service automates the rest.
So if your intended point of the car thingamabob is to get songs to play from the phone through your car speakers, and to use the car speakers to talk on a phone call, maybe consider a media player that has a similar option to what I'm talking about. I'm sure poweramp is not the only one that does.
Thanks for the reply (and sorry for the late reply...busy, and been experimenting).
I've been using the app A2DP Volume which sort of does what you suggest, to launch any app upon BT connect. It's been working fairly well...but I still have this problem.
After some experimentation, I really believe the phone is going into some kind of deep sleep if I haven't used it in a while (even though it is on). My clues: one, this Bluetooth issue, where it will not connect. However, I've gotten to the point of just hitting the power button (even through the case) when it does not connect, and it will then immediately connect and play just fine. Also, I've noticed that in the mornings I have started to hit the power and swipe, and it doesn't show that I have any new email. So I hit power and put it away, and it will ding in a few minutes with my new mail. So at some point in the evenings, it quits checking email.
Is that plausible? I've looked everywhere for some kind of setting, but don't see any.
Well, I blew that theory...
Left work yesterday, it connected fine, first time. Stopped to get gas, got back in, didn't connect, until I pressed power. So, it could not be a sleep problem, over just a few minutes.
I don't get it. So many use BT in their car, but it's always been a pain for me.

[Q] Does anyone know how to make tasker auto toggle bluetooth?

I only use bluetooth in the car. I use it for calls and music. I have 2 cars that I need it to work for. I would imagine bluetooth wastes battery while on and not connected. I have searched for solutions. Most apps that do this in the market get bad reviews. I found a tasker profile that will turn off bluetooth after 3 minutes if it is not connected. However, when I get back in the car, I would have to remember to toggle it back on. Thanks in advance.
well you need a specific trigger that tells tasker to turn on BT.
for example, if you plug your phone into a charger every time youre in the car, tasker can detect that its charging and turn on BT while in a charging STATE.
Or, since you are most likely not connected to WiFi while in the car, set tasker to enable BT while NOT connected to Wifi.
I guess you could go so far as a location based trigger... but that uses GPS which in turn uses more battery....
Tasker is a powerful and flexible app.. I'm sure you can figure something out.
joshpdavis80 said:
I only use bluetooth in the car. I use it for calls and music. I have 2 cars that I need it to work for. I would imagine bluetooth wastes battery while on and not connected. I have searched for solutions. Most apps that do this in the market get bad reviews. I found a tasker profile that will turn off bluetooth after 3 minutes if it is not connected. However, when I get back in the car, I would have to remember to toggle it back on. Thanks in advance.
Click to expand...
Click to collapse
I achieve this with the tasker plug-in AutoLocation. I have a GeoFence for my house, when I leave it triggers the Activity monitor. When the monitor detects driving Bluetooth turns on. I usually have bluetooth within 30 seconds of leaving.
Does this consume battery. Yes. In my case the hit has been very minimal.
You could also use NFC tags. I considered that but use AutoLocation for other tasks so it made sense for me.
You could use an NFC tag. That's what i used to to. Now a days I just leave BT on all the time and let my car autoconnect to my phone and have that trigger all my car stuff.
joshpdavis80 said:
I only use bluetooth in the car. I use it for calls and music. I have 2 cars that I need it to work for. I would imagine bluetooth wastes battery while on and not connected. I have searched for solutions. Most apps that do this in the market get bad reviews. I found a tasker profile that will turn off bluetooth after 3 minutes if it is not connected. However, when I get back in the car, I would have to remember to toggle it back on. Thanks in advance.
Click to expand...
Click to collapse
There is a tasker plugin in Play Store called AutoActivity, it detects when your in car, bike or on foot,

[Tasker] Bluetooth activation with USB Power trigger

Hope this is the right location for this question.
Using Tasker 4.8, LG G3 D851, 5.0.1 OS
I want to turn on the Bluetooth when I get in my car and turn if off when I exit my car. I only use Bluetooth for phone communication in the car. I have searched and found many way to turn off BT but not to turn it on. So I figured I needed a trigger to activate BT.
Looking around for a trigger I realized that I always plug in my USB charging cable while in the car. So I wrote a small profile to turn on BT when power is available and turn off BT when power is lost. Using my PC as a test bed it worked.
Off to the car to test and it did not work. Back into the house for the wall charger and it did not work. Back to the PC and it worked.
I changed the profile from Power USB to Power Any and it worked on all three sources. However, in the car and the wall charger it sometimes fails to activate the BT. But I know it works because I have seen it work.
Question... Is there something I am missing in the profile that will allow consistent results?
Here is my profile
Name: Power Any
Source: Power Any
1st Task: BT On
a: Bluetooth Set On
2nd Task: BT Off
a: Bluetooth Set Off
That's it. Like I said it works. Turns on my BT when I plug in and turns if off when I unplug. However, it is not consistent except when using the PC USB port.
Thanks for any help and Mods, if this is in the wrong place, my apologies.
Brian D
Well, I believe I solved the problem. It was Tasker that was causing the resets. Could have been the profile as well. Either way, the solution was to reboot my phone after making changes to Tasker Profile. Seems as though Tasker does not clear out its buffers as I thought it would.
Ended up making a new profile that now works 100% to initiate Bluetooth when external power is applied to the phone. It will also turn off Bluetooth 1 min. after I remove external power.
Hi Brian, I have a similar situation and was wondering if your profile is still working.

Categories

Resources