Hi
I would love a profile in tasker if possible
I have a vw car with inbuilt Bluetooth
I would like my profile if possible, let me explain
When turning off the ignition on my car tasker would know that the inbuilt Bluetooth is now not working, then tasker will turn off a app on my mobile device.
Hope you can help and understand my question
Alistair
Create a Profile to track the specific BT connection. When it disconnects, set a kill app Action in the End Task (more than likely, you'll need root to kill the app). If it is too stop some app activity, you could use AutoInput to create a macro Action in the End Task.
Sent from my Note8
I have a similar profile. Used autonotification to press the switch off button for Waze
Sent from my SM-N960F using Tapatalk
Related
I am in no way attempting to take credit for this program or any profiles created unless my name is annotated next to a published link. Support these guys buy buying their app(s) as this is a tremendous backend for amazing automation for today and the future.
In an effort to help everyone new to Tasker (and its associated apps like AutoRemote) and its capabilities, I'm starting this thread to list profiles that people are actively using on their gear.
What is Tasker?
Tasker is an application for Android which performs tasks (sets of actions) based on contexts (application, time, date, location, event, gesture) in user-defined profiles or in clickable or timer home screen widgets.
What are some of the things I can use these apps for?
While the number of uses for Tasker is limitless and only supressed by your imagination, here is a list of published tasker profiles that people have created for common yet out of the box thinking type usage: Tasker Profiles
Here are only some of the things you could do with Tasker, it's real power is the flexibility to combine contexts and tasks however you wish.
passcode-lock sensitive applications (e.g. for child safety)
change phone settings by
*application: long screen timeout in a book reader
*time: screen brightness lower in the evening
*location: ringer volume high at the office, turn off ke yguard at home
wake up with a random song from your music collection
Text-to-speech; read out loud: incoming SMS/ phone number, WiFi/Bluetooth status, when it's time for an appointment, when the battery is low etc etc (Android OS 1.6+ only)
launch a music application when your music SD card is inserted, otherwise a file browser
start the day with a particular application showing
change all your home icons and wallpaper every day, or in particular locations
turn the phone upside down to return to the home screen, tilt 90 degrees to the left and back to toggle speakerphone during a call
create a Home widget to
*toggle bluetooth/wifi on/off
*launch wireless settings dialog
*show a menu of tasks to choose
*send an emergency SMS with your GPS location
remap camera etc buttons to other applications, or show a menu of applications and/or actions
zip/unzip application data on the fly when an application is launched/exits
pause music playback while in a particular application, restart on exit
change the Home icon for any application
take a time-lapse photo series (possibly 'secretly')
make a regular backup of a file on the SD card
track your phone location via SMS in case of theft
extend the use of the media button on your headset: take a picture from a distance or go to the previous media track with a long press
record call times and destinations to the SD card
show a popup when an SMS arrives from a particular phone number
setup a birthday SMS to be sent months before it happens so you don't forget
record battery levels over time to a file on SD card
make automatic recordings of what you say during phone calls to SD card
during the night, turn on airplane mode to conserve battery/reduce radiation, but turn it off every 15 minutes to check for SMS/voicemail.
setup a vacation SMS message, with different messages for different callers
launch a music application when headphones are connected
Guides and Tutorials
OG Development Site for Tasker for Android
Massive amounts of reading material/guides
Tasker 101 Help Videos - by hollywoodfrodo
Tasker Profiles
Auto Bluetooth/Internet Tether - App Trigger Method - Props to Brendo.
Auto Bluetooth/Internet Tether - Screen On/Off Trigger Method - Props to st-tps
Please drop a note in the thread or PM me with your Profiles and/or Instructions. This is thread is to bring the power of Tasker on the gear to a single place. Thread links/files/guides all welcome.
Cool
Here's one that I've been using:
http://forum.xda-developers.com/showthread.php?t=2542050
Recommended companion app: AutoRemote
What we really need is an update to Tasker to allow exporting...
I would love if this thread develops and thank you for starting it...i am trying to learn how to use tasker to get weather widgets to read weather from stock weather widget.....F0mey said you needed SQlite which i have and tasker...but im lost from there
It has taken me the better part of 4 days to get mine set up for voice automation. I know I've barely gotten started but I can now give a voice command to the gear and have it open Pandora and adjust the volumes on the phone. Then pause Pandora and readjust the volumes with another command. Think entering and exiting your car. Having this core structure in place, I think as I move to a full home automation plan, I will be able to integrate it with no problems.
Tasker, Autovoice, and Autoremote are all required. When I get a little more time, I'll try to decompress all that I learned over these 4 days to create a tutorial.
In the meantime, if you search autovoice and autoremote on Youtube, you can find some great assistance. Armando Ferreira has some great tutorials that really helped me get to where I am (and pushing me to where I want to be).
I was hoping someone can help me with what I am trying to do. First I'll explain what I want and then show screen shots of what I tried. So basically I want my weather info to be set for UCCW widgets and it seems u need tasked and sqlite to do so. And no null has sqlite support so I'll show u what I've done.
I know I'm probably totally off but can anyone tell me if I'm close or help
Sent from my SPH-L720 using xda app-developers app
Great Job with the OP #WellDone
Sent from my SM-N900P using Tapatalk
Bump. Added new Bluetooth Tether method by st-tps. Please give them props and if you have any profiles you have created please share!
Do you have to have an internet connection on you Gear for the initial Autoremote setup? I really just need the bluetooth connection to my phone to send intents to trigger tasks from there. I've googled the crap out of it but keep coming to the same posts. Thanks!
snowmangoh said:
Do you have to have an internet connection on you Gear for the initial Autoremote setup? I really just need the bluetooth connection to my phone to send intents to trigger tasks from there. I've googled the crap out of it but keep coming to the same posts. Thanks!
Click to expand...
Click to collapse
I'm having the same issue. I can get autoremote to send through BT occasionally but not consistently.
I also have trouble with autovoice offline. Sometimes it works, sometimes not.
Sent from my SPH-L720 using Tapatalk
cvondra said:
Bump. Added new Bluetooth Tether method by st-tps. Please give them props and if you have any profiles you have created please share!
Click to expand...
Click to collapse
Nice thread, everyone can take use of the Tasker Power!
And thanks for the prop
When I double tap Nova, I use AutoVoice recognised Profile on Gear to send an autoremote message to the phone.
When the phone receives the message, it opens my Spotify playlist, and starts playing,
It also uses intents within Spotify to open the now playing window
Sent from my GT-N7100 using Tapatalk
Has anyone found way to activate/deactivate motions with tasker at a given time?
I use to turn it of when i go to bed to save battery
sent from my carrier pidgeon
pzayx said:
Has anyone found way to activate/deactivate motions with tasker at a given time?
I use to turn it of when i go to bed to save battery
sent from my carrier pidgeon
Click to expand...
Click to collapse
just what motions are you doing in bed exactly???
do you "sleep" with your watch on?
Wahaha! Nothing like that mate, but do you lay completely still when you are trying to sleep? Yes i sleep with the watch on because i am using the alarm feature and it works really good
sent from my carrier pidgeon
vibrate & ring
Any of you tasker experts know how trigger an event on an incoming call on the Gear? I've tried Event --> phone ringing, and it doesn't seem to trigger anything when I get a call. I was thinking maybe there's a way to do it with Intent Received, but I don't know which intent...
I wanted the gear to play a ringtone once when I receive a call (while the gear is set to 'vibrate')
I can achieve this using Autoremote. The phone ringing event works on the phone itself, so I had Autoremote send a message "RING" to the gear, and the gear received this and played the ringtone... it wasn't really a good way to do it, and wasted battery because I had to keep the Autoremote bluetooth listener on.
lopan2000 said:
Any of you tasker experts know how trigger an event on an incoming call on the Gear? I've tried Event --> phone ringing, and it doesn't seem to trigger anything when I get a call. I was thinking maybe there's a way to do it with Intent Received, but I don't know which intent...
I wanted the gear to play a ringtone once when I receive a call (while the gear is set to 'vibrate')
I can achieve this using Autoremote. The phone ringing event works on the phone itself, so I had Autoremote send a message "RING" to the gear, and the gear received this and played the ringtone... it wasn't really a good way to do it, and wasted battery because I had to keep the Autoremote bluetooth listener on.
Click to expand...
Click to collapse
I think you may need to find out what 'app' opens. Perhaps dialer? And trigger on app start as it doesn't seem to use the actually phone capabilities of android
Sent from my GT-I9505 using XDA Premium 4 mobile app
Brendo said:
I think you may need to find out what 'app' opens. Perhaps dialer? And trigger on app start as it doesn't seem to use the actually phone capabilities of android
Sent from my GT-I9505 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I just tried dailer ... didn't work Doesn't see like there are any other apps on the tasker app list that would apply to incoming calls. That's why i was thinking there was an intent or something else that could be monitored.
I have a simple one for alerting of Whatsapp messages (got sick of watch constantly alerting on group messages). Essentially it triggers a notification, then hides it
Make sure Tasker is set to send notificiations in Gear Manager
Make sure Tasker is turned on in Accessibility services
Profile: Notification Whatsapp
Cooldown: 5mins
Event: Notification
Owner Application: WhatsApp
Task: WhatsApp Message
1. Notify
Title: Whatsapp
Text: Message Received
Icon: [Can be anything, as doesn't show up anywhere]
2. Wait
Seconds: 5
3. Notify Cancel
Title: whatsApp
Further ideas:
- Display content (requires sqlite3)
- Only display for group chats
- Repeat alerts
UPDATE:
I use WhatsTasker for more detail. https://play.google.com/store/apps/details?id=net.zhdev.whatstasker
i need a few things to be done but not sure if possible.
Ok i have tasker and autovoice and an app called samsung smart remote. What im looking to do is use autovoice to toggle my lights at home (wemo switches) i can do it from my phone but watch would be way easier. Im also looking for tasker to work with each other. Like if i want it to change channels with the smart remote app from my watch. (im aware the gear 2 can do this but i dont have the money to spend on another gear watch) Is any of this possible at all? Thanks so much in advance for the help.
You can get an ir plugin for tasker
Use AutoVoice to send command to phone via Autoremote. Then Autoremote to trigger tasker profile/task/etc
EDIT: http://forum.xda-developers.com/showthread.php?t=2438052
I think you'd have to use push button type code in app or find intents if they exists if not using ir
Basically,
I've got a Sony head unit and it comes with a App Remote which is poorly made and stays running with notification even when bluetooth is disconnected form my Sony head unit.
I want to be able to kill the app when it disconnects from the headunit bluetooth.
Hope I explained it well,
Many thanks.
Deeco7 said:
Basically,
I've got a Sony head unit and it comes with a App Remote which is poorly made and stays running with notification even when bluetooth is disconnected form my Sony head unit.
I want to be able to kill the app when it disconnects from the headunit bluetooth.
Hope I explained it well,
Many thanks.
Click to expand...
Click to collapse
use an app killing app/ram freeing app, or greenify.
Is there a specific question?
I do a similar thing with a bluetooth receiver. I use the app TaskKill. It was pulled from the Play Store, but works amazing. It needs root to function. I have a profile setup to look for the bluetooth connection, and start a couple of apps. As an exit task, I have a "Off" task setup thats called upon disconnect. This "off" task uses the TaskKill plugin to kill those same apps. You can find the apk by doing a google search for "taskkill tasker plugin apk", that reddit thread by the developer has it listed.
revrenhex said:
I do a similar thing with a bluetooth receiver. I use the app TaskKill. It was pulled from the Play Store, but works amazing. It needs root to function. I have a profile setup to look for the bluetooth connection, and start a couple of apps. As an exit task, I have a "Off" task setup thats called upon disconnect. This "off" task uses the TaskKill plugin to kill those same apps. You can find the apk by doing a google search for "taskkill tasker plugin apk", that reddit thread by the developer has it listed.
Click to expand...
Click to collapse
I tested the Built-in Tasker "Kill app" function on Chrome and it seemed to work without root or the need for plugins.
One thing I noticed when I used Bluetooth related tasks in Tasker however, is that a disconnection of even 100th of a second could cause the exit task to play out, so I think it is good to put a wait and IF to check again.
Hi everone,
I am quite new to tasker and I am trying to manage the following:
1. If my phone connects to my car via bluetooth it should enable wifi tethering
2. Once I leave the car and it disconnects it should disable tethering and enable the ordinary wifi again
However, when I leave my car it automatically disables tethering but it does not additionally enable wifi.
I have one profile (bluetooth connection to car) and one task (enable tethering).
I tried adding a decond task enabling wifi, but that will then disable tehtering and stop the first task.
I tried adding a second profile that enables wifi when not connected to car. But that then aaaalways enables wifi even if i manually disabled it.
Tasker automatically disables tethering once the original profile condition no longer applies. But how do I also make it reinstate the wifi status?
Sorry if this sounds too nooby
Could you possibly export the profile and task as an XML file and share it?
Sent from my Nexus 5X using XDA-Developers mobile app
Of course
I think you've done a full backup of your Tasker. I can't import that without overwriting all my data
Instead, export the individual profiles. Tap and hold the profile to highlight, tap the menu button, export.
Sent from my Nexus 5X using XDA-Developers mobile app
Sorry about that
Here's the profile itself.
I tried adding a wifi on/off switch but that will not reinstate the wifi state it had before the profile jumped into action.
Of course I would like tasker to reinstate the wifi status my phone had before the car connected. So off if off and on if on.
Try this
I uploaded the XML file here
https://drive.google.com/file/d/0B8uRFO5wFVFKNW42cnpNOHl0UlU/view?usp=drivesdk
Tasker will set a variable %WIFI_STATUS recording the current wifi status, then enable the hotspot. I then added an exit task which should trigger once your phone disconnects from the car's bluetooth, disconnecting the hotspot and re-enabling wifi if %WIFI_STATUS was set to "on".
Thank you
Would you mind uploading it here instead of google drive? I cannot access it there.
Sure thing. Attached.
Thank you very much!
I have not figured out how you created the second step (red arrow) yet, but I will soon, hopefully
It seems to be working except that sometimes the second step of turning off the tethering and re-enabling the wifi won't work. Maybe this was just a thing of how fast I turned the radio back off. I will try a real life test over the next few days
Most welcome!
Here's how to create an exit task (red arrow)
https://youtu.be/xbB3INzOz1M
You can find more details here.
http://www.pocketables.com/2013/05/beginners-guide-to-tasker-part-1-5-tasker-basics-new-ui.html
Pocketables' 8 part guide is excellent if you have the time you go through it.
As for wifi not always re-enabling, I would suggest increasing the wait time on the exit task from 3 seconds to 5 or even 10. Android automatically disables wifi when you activate tethering, so I figured you would need give the task enough time to be sure the tethering is fully deactivated before enabling wifi again.
I have found that the problem is in fact tether not disabling.
I am trying to write a If task. At the end of which I added a For loop checking whether or not the variables are identical and if not a Goto will jump back to the beginning... or so I hope ^^
OK, now that I have this running, the final remaining problem is the fact that tasker has to run in foreground. otherwise it will not work reliably. is there a way around this?
this issue seems to mainly concern the exit task. the starting task almosz always works but the exit task does not.
is it possible to enable tasker foreground on the starting task and then disable it in the exit task?
edit: i thought of a temporary workaround
since for some reason the starting tasks always work, I end those with opening tasker^^
since I'm driving I do not really care if it is open or not. and the exit task then closes it so it is gone by the time I use my phone again
but if you or anybody knows of a cleaner solution, I would be happy to give it a try
Why don't you want Tasker to run in the foreground? I've never had any noticeable battery drain from leaving that setting on (Preferences > Run in foreground). I've been using Tasker for years and never had to open the app in order to guarantee tasks would run.
If you're on marshmallow you may need to disable Doze for Tasker though, because that can occasionally interfere with the app too.
Are you sure the exit task isn't running at all? I'm assuming you've tested this by having Tasker do something menial at the start of the exit task such as display a notification.
Sent from my Nexus 5X using XDA-Developers mobile app
The problem with running in foreground is that you always have the two lines
"Tasker
1 profile active"
in the dropdown menu. Like a permanent norification. Unless one can disable this dropdown notification and basically just keep the icon, I do not really like it running in foreground.
P.S.: Yes, I made sure the exit task was not running.
I'm new to Tasker and trying to set up a profile that will start my radar detector app when connected to my car's BT, and one that will exit the app when BT disconnects.
I've been successful in creating the profiles that are triggered by the BT connect and disconnect. I've also created the task to start my app on the BT connect. However, I am stuck on how to exit the app when BT disconnects.
The app in question, Esccort Live, can be exited by pressing BACK and clicking on the "OK" prompt. To accomplish this, I trying to use AutoInput to do the following:
1. Press BACK
2. Look for "OK"
3. Click on "OK"
Seems simple, but I can't figure out how to do these three steps.
Also, when using a profile that is triggered by a BT connect or disconnect, is there a way to clear this state once the profile's tasks have been executed?
Any help would be most appreciated.
Jack
Some thoughts for you. You may need to put a pause (e.g. wait 1 sec) since auto input can respond faster than the screen can update. Or flash an alert between the autoinput commands. If the Escort Live app isn't in the foreground when you are trying to make an action on it, try opening recent apps using AutoInput, then reselect the app.
BTW, I'm not sure what you are asking to reset on the BT connect/disconnect. Maybe what you want is to use a variable that is set/unset on connect/disconnect and then that variable triggers your task.