[REQ] Tasker Bluetooth profile? - Nexus 5 Q&A, Help & Troubleshooting

Hey guys, trying to wrap my head around Tasker. Bought it a while back but got scared off by it :laugh:
I currently use Greenpower Premium to manage my bluetooth connection, but it's such a bulky way to do it considering I don't use any of the "battery saving" features.
What I would like is
a) Bluetooth to turn on when connected to a power source
b) Bluetooth to disconnect after 5 minutes if NOT connected to a device.
The only caveat of point B is point A takes priority, so even if not connected to a device, but connected to a power source, bluetooth stays on. It's for use in my car.
Any help for a Tasker noob? Cheers :highfive:

Audioboxer said:
Hey guys, trying to wrap my head around Tasker. Bought it a while back but got scared off by it :laugh:
I currently use Greenpower Premium to manage my bluetooth connection, but it's such a bulky way to do it considering I don't use any of the "battery saving" features.
What I would like is
a) Bluetooth to turn on when connected to a power source
b) Bluetooth to disconnect after 5 minutes if NOT connected to a device.
The only caveat of point B is point A takes priority, so even if not connected to a device, but connected to a power source, bluetooth stays on. It's for use in my car.
Any help for a Tasker noob? Cheers :highfive:
Click to expand...
Click to collapse
your A is very easy to do (as evidenced by a novice like me messing around with it until it worked), you'll just have to go into each setting for the basic profile.
B, no clue... i've never tried it, but i can't think of a reason it'd be that difficult.

If this is all you want Tasker to do try out an app called Bluetooth Auto Connect. Your Profile A should really be easy to program(porofle/state/power/any:taskaction/net/bluetooth on) while your Profile B there is actually a profile you can download from the Tasker site then import into Tasker. It's set at 15 minutes but you can change it.

Here is the way I interpreted
A) make profile under state>power>power(any or ac). The make a task setting Bluetooth on under "net." Go back to profiles and press and hold the new task you made and select add exit task. You can put set Bluetooth off when it disconnected from power source.
B) state>net>Bluetooth connected. Task set Bluetooth on or whatever, then add an exit task under task>wait>5 min then set Bluetooth off. Unlink the start task with the green arrow cause unless you want a notification saying whatever when connected, I don't see any use for an enter task.

AndrasLOHF said:
If this is all you want Tasker to do try out an app called Bluetooth Auto Connect. Your Profile A should really be easy to program(porofle/state/power/any:taskaction/net/bluetooth on) while your Profile B there is actually a profile you can download from the Tasker site then import into Tasker. It's set at 15 minutes but you can change it.
Click to expand...
Click to collapse
Thanks I'm going to do that :highfive:

Related

Keep wifi on when certain programs open

TeDeV said:
Hi, i need to keep my wi-fi and bluetooth connections open when i press the power off button on my pda which has mobile 6.0.
there is not an option in advanced config for that (it doesn't show up).
i need the bluetooth open all the time because i have it connected with a bluetooth barcode scanner, which loses synch when i close the pda.
Click to expand...
Click to collapse
This was posted in the wrong forum...not sure why it wasn't just moved, but I have the same question.
I also need something like this. At work, if I have my work IM client open, I need to be connected to my work wifi. However, anytime that my phone is idle, it will eventually sleep and my work clients will be disconnected.
Is there any program that will allow me to choose to keep wifi on if a certain program is open? Thanks.
I seem to have found basically what I was looking for in DontSleep + Wifi. Thanks.
DontSleep doesn't let you do that tho.. it just keeps the phone from going to sleep..

[Q] Is there a way to create a shortcut to my cellphone on the Xoom?

OK I know how to create a general shortcut, but what I am looking for is a way to create a shortcut to the BT connection to my cell. I have a WiFi only Xoom and when I am away from a hotspot I tether over BT to my cell. It would be great if I could make a shortcut so I would not have to go into settings>Bluetooth settings> etc. I use App Protector to password protect my settings page so what would normally take 6 clicks takes 10. A one click option sure would be nice.
Tasker. 'When Wifi not connected, connect bluetooth to device'
Thanks for the reply, but I do not want it to automatically tether. That would drastically reduce my cell phone battery life.
Why not wifi tether?
Sent from my ADR6300 using XDA Premium App
HuckFinn said:
Thanks for the reply, but I do not want it to automatically tether. That would drastically reduce my cell phone battery life.
Click to expand...
Click to collapse
I haven't messed with my tasker lately, but I think you can add a widget to activate certain profiles.
DroidHam said:
Why not wifi tether?
Sent from my ADR6300 using XDA Premium App
Click to expand...
Click to collapse
WiFi tethering would mean I have to do something with the phone to make it work. The beauty of the BT tether is that I never have to touch my phone. As long as bluetooth is on, I can simply connect from the Xoom and I am good.
Also for some reason I have had much better luck with the BT tethering. It seems the WiFi hotspot feature on my phone will shut off if there is too long of an idle time. I tried playing with the settings but still had issues where I had to restart it. BT tethering seems to be very stable.
Kcarpenter said:
I haven't messed with my tasker lately, but I think you can add a widget to activate certain profiles.
Click to expand...
Click to collapse
Thanks I will have to look into tasker. I have not used it and have heard it is pretty powerful, I will just have to consider if it is worth the $$.
HuckFinn said:
Thanks I will have to look into tasker. I have not used it and have heard it is pretty powerful, I will just have to consider if it is worth the $$.
Click to expand...
Click to collapse
I have found it to be worth the money just in battery savings on my Epic.
Have it scheduled to turn off Mobile Data, and turn on wifi from 8-11:30, Data back on at 11:30-12:30 and Wifi on 12:30-5.
For my Milestone2 I could see where this would help with battery life a bit, but since this is a WiFi only Xoom I am having a hard time figuring out what else I could automate.
Since you are a user of Tasker, could I make a profile that would do the following?
-If there is no WiFi connection AND the screen is on connect via BT to cellphoneXXX.
-Once the screen goes off disconnect BT connection.
If I could set that up then I would be ok with it automatically connecting to my cell phone. I just do not want it sucking up battery power on my cell for background syncing of email, etc. Most of the day my Xoom has a WiFi connection so it is not that big of a deal.
HuckFinn said:
For my Milestone2 I could see where this would help with battery life a bit, but since this is a WiFi only Xoom I am having a hard time figuring out what else I could automate.
Since you are a user of Tasker, could I make a profile that would do the following?
-If there is no WiFi connection AND the screen is on connect via BT to cellphoneXXX.
-Once the screen goes off disconnect BT connection.
If I could set that up then I would be ok with it automatically connecting to my cell phone. I just do not want it sucking up battery power on my cell for background syncing of email, etc. Most of the day my Xoom has a WiFi connection so it is not that big of a deal.
Click to expand...
Click to collapse
I will look when I get home, but I am 90% certain you can.

Automatically turn off wifi toggle when leaving home?

Is there a way to have your wifi automatically turn off when you leave a particular wifi area?
Try juice defender from the play store they have an option for that, but I think you have to buy the ultimate version
Tasker.
Sent from my Nexus S 4G using Tapatalk 2
+1 for tasker
+1 for Tasker
tasker.wikidot.com/turnonwifiathome
*since i only have a few posts i cannot post a link , just add an http stuff to the above url*
*more info*
Its a 10 dollar app last i checked & its worth every penny.
I personally use Tasker to
Silence my phone during work hours
Turn up the Media volume when connected to Bluetooth then turn it down when i disconnect.
When connected to Bluetooth and not WiFi it will reply to All incoming SMS's telling the person I'm currently driving.
That's only scratching the surface of what Tasker can do.
Timeriffic
Timeriffic, it's free

[TASKER] Share your best Tasker profiles!

So we need a Tasker thread for Verizon Galaxy Note 4, with out Root.
Always fun to see others ideas on Tasker Profiles, here are mine.
Please share your Tasker Profiles.
WIFI Starter
WIFI Stopper
These both work with 5 tasks, and use cell tower to check for WIFI then start or stop. Found this on WIKI.
Auto Off Unpaired Bluetooth
This will turn off Bluetooth if I just kill the headset. Found this on WIKI.
Headset Plugged Any
I use headset plug in my car, sure Bluetooth is nice, maybe i'm old but I still get better flow just plugging in.
On any headset plugged it checks to see if am by or connected to any of my WIFI points first.
Then if not it sets; open music player (player set to resume play), mute sounds so they don't bug me while i'm listening to my music, Display to 30 second time out, and Media volume to level 14
The media volume is great because Samsung or Google Kit Kat has a pop-up that tells you you are setting sound high, and it can hurt your ears. With this setting that pop-up never goes off.
On headset remove the exit task reverts all. I made this myself.
Received Text While Driving
Checks i'm not near or connected to any of my WIFI points, checks for headset plugged in, any text received, and moving over 5 MPH. If all met send reply text "(AUTO) I'm currently driving. Will respond to you when I can safely."
Found on WIKI and made some adjustments myself.
WIFI Connected Home Unlock (needs Local Password Lock Plug-in)
On connect to my home WIFI checks MAC #, then using plug-in sets lock to 3 hours. On exit it sets lock back to 30 seconds. I made this myself.
WIFI all Beep On Connect
Set to make a low quick beep when connected to one of my WIFI's. Set to make high quick beep on disconnect. I made this myself.
http://tasker.wikidot.com/profile-index
I like this thread idea! I haven't put tasker on my new phone yet, but on my last one I had the following profiles:
Auto silence/vibrate all ring tones when I connect to my work wifi
Auto max all volumes when I connect to my home wifi
Auto dim screen to lowest brightness setting at 2am (so I don't blind myself when I look at my phone in the middle of the night or morning)
I had just gotten started, but I really liked the home automation possibilities. I want to create one that checks when I join my home wireless network to see if it's between 4p-6p on Monday - Friday, and if so, open my garage door and unlock my back door
Sent from my SM-N910V using XDA Free mobile app
I just use one profile, a must have for me. When I get in my car and the Bluetooth is connected, I have Tasker turn WiFi off and start spotify. It turns WiFi back on and kills spotify when the car is turned off.
Sent from my SM-N910V using Xparent Blue Tapatalk 2
The only one I have running right now uses Tasker, IFTTT, and PebbleTasker to control my WeMo light switches from my Pebble Watch. There is a IFTTT channel to use a text message to turn on and off your Wemos so i have a taker task to text the special command to the IFTTT phone number. Then all i had to do was link that task to Pebble tasker and now I can hit a button on my watch and turn on my lights.
On my S4 and S5 I had another profile that would turn off lock screen security when my Pebble was attached to bluetooth. Unfortunately, without root I am unable to replicate that on my N4. I also had one using my bank's text banking to receive my balances via text from the Tasker on my Pebble.
heystek said:
...
On my S4 and S5 I had another profile that would turn off lock screen security when my Pebble was attached to bluetooth. Unfortunately, without root I am unable to replicate that on my N4.
...
Click to expand...
Click to collapse
Was able to do this with Tasker + Secure Settings
Locks when watch isn't connected (Lock Device + Set Password)
Unlock when watch is connected (Clear password)
I had to turn off/on Bluetooth after setting it up for it to recognize my watch.
LakersEB said:
Was able to do this with Tasker + Secure Settings
Locks when watch isn't connected (Lock Device + Set Password)
Unlock when watch is connected (Clear password)
I had to turn off/on Bluetooth after setting it up for it to recognize my watch.
Click to expand...
Click to collapse
That is awesome news. I will have to try that. The novelty of the fingerprint reader is starting to wear off so I would love to go back to watch unlock.
Edit: Got it to work with a PIN. Just couldn't make the fingerprint or pattern lock due to lack of root.
I tried using LED Controller, but it's causing me all kind of bad settings, will have to uninstall it
The tasker profile I like and use is to enable GPS and turn GPS off when launching Google Maps... I also have one that enables NFC and turns NFC off upon launching and closing Google Wallet
---------- Post added at 02:55 PM ---------- Previous post was at 02:31 PM ----------
rusty.gh said:
So we need a Tasker thread for Verizon Galaxy Note 4, with out Root.
Always fun to see others ideas on Tasker Profiles, here are mine.
Please share your Tasker Profiles.
WIFI Starter
WIFI Stopper
These both work with 5 tasks, and use cell tower to check for WIFI then start or stop. Found this on WIKI.
Auto Off Unpaired Bluetooth
This will turn off Bluetooth if I just kill the headset. Found this on WIKI.
Headset Plugged Any
I use headset plug in my car, sure Bluetooth is nice, maybe i'm old but I still get better flow just plugging in.
On any headset plugged it checks to see if am by or connected to any of my WIFI points first.
Then if not it sets; open music player (player set to resume play), mute sounds so they don't bug me while i'm listening to my music, Display to 30 second time out, and Media volume to level 14
The media volume is great because Samsung or Google Kit Kat has a pop-up that tells you you are setting sound high, and it can hurt your ears. With this setting that pop-up never goes off.
On headset remove the exit task reverts all. I made this myself.
Received Text While Driving
Checks i'm not near or connected to any of my WIFI points, checks for headset plugged in, any text received, and moving over 5 MPH. If all met send reply text "(AUTO) I'm currently driving. Will respond to you when I can safely."
Found on WIKI and made some adjustments myself.
WIFI Connected Home Unlock (needs Local Password Lock Plug-in)
On connect to my home WIFI checks MAC #, then using plug-in sets lock to 3 hours. On exit it sets lock back to 30 seconds. I made this myself.
WIFI all Beep On Connect
Set to make a low quick beep when connected to one of my WIFI's. Set to make high quick beep on disconnect. I made this myself.
http://tasker.wikidot.com/profile-index
Click to expand...
Click to collapse
How did you get the Wifi Starter Stopper to work because it sure as hell is not working for me....The task is green, its just not turning the Wifi On...If I turn the Wifi on itself manually, then it switches to the Wifi Stopper task, seems to me it doesnt work. Any help would be great...Do we keep the * around the SSID of the Wifi broadcast?
bdorr1105 said:
The tasker profile I like and use is to enable GPS and turn GPS off when launching Google Maps... I also have one that enables NFC and turns NFC off upon launching and closing Google Wallet
---------- Post added at 02:55 PM ---------- Previous post was at 02:31 PM ----------
How did you get the Wifi Starter Stopper to work because it sure as hell is not working for me....The task is green, its just not turning the Wifi On...If I turn the Wifi on itself manually, then it switches to the Wifi Stopper task, seems to me it doesnt work. Any help would be great...Do we keep the * around the SSID of the Wifi broadcast?
Click to expand...
Click to collapse
First grab this on the wiki, it includes 5 tasks and 2 profiles. In the wifi starter profile have it search for cell tower, as I add new locations I cut all i have in there, do a new search, then add the others back.
then in the task wifi checks params under varable set add your wifi name, yes leave the astrix and add a forward slash between multiple wifi locations. *bobwifi*/*tomwifi*/*frankwifi*
then here is the trick, once back on wifi checks params and then click play once to get things going, then back out of tasker and move in and out of your location.
NFC on on wallet app is awesome idea, thanks man!
I ended up doing this, NFC on/open Wallet. No exit task as I like to go back to see my purchase. Having it auto-open is great though, as I used to turn on NFC then find wallet and open.
rusty.gh said:
First grab this on the wiki, it includes 5 tasks and 2 profiles. In the wifi starter profile have it search for cell tower, as I add new locations I cut all i have in there, do a new search, then add the others back.
then in the task wifi checks params under varable set add your wifi name, yes leave the astrix and add a forward slash between multiple wifi locations. *bobwifi*/*tomwifi*/*frankwifi*
then here is the trick, once back on wifi checks params and then click play once to get things going, then back out of tasker and move in and out of your location.
NFC on on wallet app is awesome idea, thanks man!
I ended up doing this, NFC on/open Wallet. No exit task as I like to go back to see my purchase. Having it auto-open is great though, as I used to turn on NFC then find wallet and open.
Click to expand...
Click to collapse
Thanks for the information I am using one that is working pretty well that was also on wiki.
The problem I was having is how long it took, but it would not connect unless I went into the task and hit play button to run the task... Under profile it would be green but it would not connect... It only connected from manual input
Edit - I never left my location though I just turned off wifi to see if it would turn my wifi back on... It's a complex task I am not sure how to adjust the time for it to happen faster
bdorr1105 said:
Thanks for the information I am using one that is working pretty well that was also on wiki.
The problem I was having is how long it took, but it would not connect unless I went into the task and hit play button to run the task... Under profile it would be green but it would not connect... It only connected from manual input
Edit - I never left my location though I just turned off wifi to see if it would turn my wifi back on... It's a complex task I am not sure how to adjust the time for it to happen faster
Click to expand...
Click to collapse
gotcha! if you decide to try again you will want to change the time on -tasks / WIFI Start /Wait- to something smaller, default is 2 minutes, I set mine down to 1 minute.
GPS when using Google maps
any idea how to do this? I have no tasker knowledge.
I was hoping to find some profiles I could install.
Any help would be great. I found some but they dont turn off GPS after finished using the app.
Thank you.
kinglifer said:
any idea how to do this? I have no tasker knowledge.
I was hoping to find some profiles I could install.
Any help would be great. I found some but they dont turn off GPS after finished using the app.
Thank you.
Click to expand...
Click to collapse
GPS switching by program requires a rooted phone.
Sent from my SM-N910V using Tapatalk
kinglifer said:
any idea how to do this? I have no tasker knowledge.
I was hoping to find some profiles I could install.
Any help would be great. I found some but they dont turn off GPS after finished using the app.
Thank you.
Click to expand...
Click to collapse
Sorry further review is showing that you need root.
However, there is no need to, you should simply turn GPS on and leave it. Android works fine with this and when not in use it does not run, it is not always checking GPS unless you have some app asking for GPS location running.
LakersEB said:
Was able to do this with Tasker + Secure Settings
Locks when watch isn't connected (Lock Device + Set Password)
Unlock when watch is connected (Clear password)
I had to turn off/on Bluetooth after setting it up for it to recognize my watch.
Click to expand...
Click to collapse
I have this setup so that it works with bluetooth in my car, my Bluebuds headphone, or my home theater receiver. So basically if I'm at home, in the car, or listening to music/podcasts at work I don't have to deal with the PIN but when I'm out and about my phone is secure.
Could anyone help me with making two profiles please? I use SwiftKey, and when it's active. Toggle pie off. And when keyboards not active it turns back on.
And if I send my self a message it turns mute mode off. (with a certain phrase) I got it to work with default message but don't know how to make it work with chompsms :/ I've asked around but no response really. Thanks for your time.
Sent from my GT-I9100 using XDA Free mobile app
Run shell
Lately I remarked that the following functions don't work anymore in Tasker:
1) Mobile data on/off svc data enable / disable
2) Battery Saver*settings put global low_power 1 / 0
3) Airplane*settings put global aiplane_mode_on 1 / 0
4) 2G*settings put global preferred _network_mode1 1
5)*3G*settings put global preferred _network_mode1 0
6)*4G*settings put global preferred _network_mode1 10
7) WIFI*on/off svc wifi enable / disable
Any idea why or how can I replace them?
Thanks.

App to change bluetooth connection automatically?

I've a WATCH and an CAR with bluetooth which both need access to my PHONE.
It seems I can only use phone connectivity with one at a time.
I need an app that will automatically switch from WATCH to CAR when I get into the car, but then switch back to watch when I leave it.
Free app preferred obviously but don't mind paying.
Any suggestions?
applehater00 said:
I've a WATCH and an CAR with bluetooth which both need access to my PHONE.
It seems I can only use phone connectivity with one at a time.
I need an app that will automatically switch from WATCH to CAR when I get into the car, but then switch back to watch when I leave it.
Free app preferred obviously but don't mind paying.
Any suggestions?
Click to expand...
Click to collapse
Possible Solutions:
Try the app Bluetooth Auto Connect (Prioritize your devices and select profiles for each)
Tasker is another option, you can use it to make an if;then option. Example: If not at location X,Y,Z attempt to connect to car bluetooth.

Categories

Resources