Tasker App Question - G Tablet Themes and Apps

Has anyone had luck using Tasker app on their Gtablet?
For one, I know almost nothing about programming, and I can't seem to find any decent tutorials on how to program tasks in the app.
I'm trying to make it so that my Gtablet will automatically shutdown if the screen times out for more than, for example, 30 minutes. Does anyone have some guidance or at least a place to start to teach myself how to use this program? I've gone to their wiki and other sites that show profiles and defines what each thing is, but they aren't put together all that well and they skip a lot of beginning steps that are obviously what I need to grasp how to make the most of this program.

Being edited...

johnsonjf said:
Has anyone had luck using Tasker app on their Gtablet?
For one, I know almost nothing about programming, and I can't seem to find any decent tutorials on how to program tasks in the app.
I'm trying to make it so that my Gtablet will automatically shutdown if the screen times out for more than, for example, 30 minutes. Does anyone have some guidance or at least a place to start to teach myself how to use this program? I've gone to their wiki and other sites that show profiles and defines what each thing is, but they aren't put together all that well and they skip a lot of beginning steps that are obviously what I need to grasp how to make the most of this program.
Click to expand...
Click to collapse
I use Tasker extensively on my phone, not so much on my G-Tab, but that is due to my needs, not the app. Due to limitations in Android, Tasker cannot address all situations - you can't use it as universally as you can use similar programs in Windows, for example.
For help, in addition to the home page (http://tasker.dinglisch.net/) and the Wiki (http://tasker.wikidot.com/profile-index), there is the user guide (http://tasker.dinglisch.net/userguide_summary.html) and the Google Groups link (http://groups.google.com/group/tasker?pli=1).
Simplest method for what you want to do: if you set your GTab WiFi to turn off when the screen is off and you have the QuickBoot app (which I have and like), you could set a Tasker Profile something like the following:
Context - WiFi disconnected
Tasker - wait 30 minutes
Plugin - quickboot Power off, if %WIFI ~ off
(As an alternative to step 3, if you have an app that powers off the tab, you could simply run that app as step 3).
This profile will run every time WiFi disconnects. It will wait 30 minutes and, if WiFi is still disconnected, it will power off the G-Tab.
Not perfect, of course - a better way to do it would be to do 30 1 minute waits, checking each time to see if WiFi is still off, and stopping the script if WiFi is on. This requires a variable to measure time and to turn off the GTab once 30 minutes has passed:
Context: WiFi disconnected
Tasker: Variable Set %WIFIOFF = 0
Tasker: wait 1 minute
Tasker: Stop if %WIFI ~ on
Tasker: Variable Add %WIFIOFF + 1
Tasker: Goto Action 8 if %WIFIOFF = 30
Tasker: Goto Action 3
Plugin: quickboot Power off
I could test this tonight, when I get home, if you want.
PM me if you need further help.

Related

Auto-start GPS recieve when using Google Maps...Possible?

OK..Hope this is the proper place to post this...
I am horrible at remembering to charge my phone, thus I don't keep GPS on at all time because of battery drain. However, I find it frustrating that every time I start Google maps that I have to enable the GPS. It seems to me that there should be a function built into that app which would enable the user to have it automagically enable the GPS reciever on the apps start up. To my knowledge this isn't possible but I feel it would be very useful. So, does anyone know how one would achieve this? Would it be possible to write a script that would accomplish this?
Thanks in advance for the input.
Menu button, Settings, Security & Location, set "Enable GPS satelites"
if you enable gps it wont actually turn on until you open google maps or a location based program (you will see a satellite dish at the top letting you know if it is on). the gps setting basically just tells the phone if a program requests gps location it is okay to turn the gps antenna on.
otherwise its off and battery doesn't get affected
Thanks...
Hey dk75 & averma, thanks for the posts. I should really read the fine print on some of these menu options prior to asking these questions...oops!
Hello!
My wife and me use latitude (from google) to see where we are on Google maps. Latitude works best if the GPS is on. HOWEVER, we just need to see each other on google maps when we are driving home (between 17:00 and 18:00). If i turn on the gps, latitude will eat the battery the whole DAY...) I would like to know if there is a way to schedule the activation of the gps...
pbecks1963 said:
Hello!
My wife and me use latitude (from google) to see where we are on Google maps. Latitude works best if the GPS is on. HOWEVER, we just need to see each other on google maps when we are driving home (between 17:00 and 18:00). If i turn on the gps, latitude will eat the battery the whole DAY...) I would like to know if there is a way to schedule the activation of the gps...
Click to expand...
Click to collapse
Try looking up "Locale" on the market. App isn't free, but most of the plugins for it are, and you can combine the functions of the plugins to do almost anything.
I use it for exactly what you're talking about myself.
Google Maps doesn't Auto-start GPS
Hi all,
I know this thread is pretty old but hoping for a reply all the same. I'm using the Galaxy S in the Uk with Google Maps & Navigation. I used to have the HTC HERO running maps & navigation and whenever I started either of those apps, the little atenna would appear to show that it was trying to find a gps position.
However, on my Galaxy S, whenever I start Maps or Navigation nothing happens. Even though I have "use wireless networks" and "use GPS satallites" both checked.
I cant imagine that technology would have taken a step back from such a useful feature and it is really irritating having to remember to disable/enable GPS (using SwitchPro home screen widget) before being able to use Maps or Navigation.
Anyone have any ideas how to fix this??
Install Tasker app and create a profile that enables GPS when you run Maps app.
tasker
tasker does not let you autostart gps... is there any other way. i also hate having to turn on gps and right under enable gps in blue words under settings it says< uses more battery. i can send pic
[TUT] Enable GPS automatically for Maps
[email protected] said:
tasker does not let you autostart gps... is there any other way. i also hate having to turn on gps and right under enable gps in blue words under settings it says< uses more battery. i can send pic
Click to expand...
Click to collapse
i have spent sometime now lurking behind the scenes in this group and
have read, in detail, my share of the posts. Make no mistake, the
guys here are experts and being experts their methods/explanation
often goes way over the head of the typical noob. this post is to
introduce this wonderful application of tasker to the inimitable
noob. i hope my effort would ease someone's labour.
imagine this scenario: you switch on maps on your phone and keep
wondering why it does not show your precise location and then it hits
you! you did not switch on your GPS. this post explains how to create
a profile that switches on your GPS automatically when you fire up
maps.
Just remember this: Profile is the context i.e. what you want to do.
in the present case, you want to first start maps and when maps is
started you want to switch on GPS. then when you exit maps, you want
GPS to be switched off. this is the object.
Stage 1: In profile tab click the + sign. give a name like 'MAP'.
this name will identify the profile that is currently active. after
you name it press the green tick and you are shown several options
like application, time, day etc. Now maps come under applications, so
press applications and all the appliations in your phone are
displayed. scroll down and select maps and press the tick mark. at
this stage you have told tasker that whatever you want to do revolves
around maps.
Stage 2: Now that you have hinted to tasker about the application
that is to be run, we should next state what should happen when the
appliation is started. after you press the tick mark you will be
shown a window asking for task selection. press new task and give it
a name like switch on GPS.
Stage 3: after baptising the task, you will be taken to a broad
window . press the + mark on the bottom left and the confusion
begins. a pletora of options is thrown at you (this is why tasker is
so darn powerful). this is called the 'select action category'.
digressing a little here you should know that google has changed
something with android and you cannot in the usual course toggle GPS.
so you should download an app called 'secure settings' (from google
play) and install it. once it is installed open it and it gives you an
option to install a helper. install the helper also. this activates
the GPS option.
Stage 4: once that process is completed, come back to tasker and get
yourself to the 'select action category'. here press on plugin and
then on secure settings. in the next window, touch 'edit' and then
scroll down to GPS and touch it. three options are displayed viz. on,
off and toggle. choose on and press the floppy disk icon to the
bottom left. press the tick mark and again press the tick mark. at
this stage you have succeeded in activating GPS when maps is started.
however, when you exit maps you find that GPS does not switch off by
itself.
Stage 5: to make it switch off by itself, you need to create the same
task again. just long press on the task which has already been
created (called here as switch on GPS) and you are presented with
several options. select the first one - 'add exit task' and follow
the process as in stage 4. however, instead of choosing 'on' select
'off' this time. once this is done come out and test it.
Stage 6 - and the most important - Feel happy and satisfied.
i am sure there should be some easier way to do this. however, in my
limited understanding of tasker this was how i did it. i really am
confused about the variables. i hope someone will help. when i say
confused, i should clarify that i have no inkling of what it does. :
( could someone tell me where to read up on it? i have searched on
google and i havent found any satisfactory explanation.
i will continue to post my profiles and i hope it is of help to the
group here.
J.RAM
the power of automation
capaxdoli said:
i will continue to post my profiles and i hope it is of help to the
group here.
J.RAM
Click to expand...
Click to collapse
Thank you for your post, I wouldn't be able to do it without you man!
I have a question. I'm using LBE security master which monitor my firewall, wifi, adware, etc. is there a way for tasker to check in LBE firewall and toggle my wifi/data when I want it? instead of creating a new profile for ON/OFF wifi. I just want it to look in my app and see what app has permission to what and allow/un-allow.
Thanks again!
[email protected] said:
tasker does not let you autostart gps... is there any other way. i also hate having to turn on gps and right under enable gps in blue words under settings it says< uses more battery. i can send pic
Click to expand...
Click to collapse
Yes is does autostart if you want with tasker..
Verstuurd van mijn GT-I9000 met Tapatalk
You can use the "Auto-Enable GPS for Maps" application, which switches both WiFi and GPS on when you launch Maps, Navigation, Local or Latitude, and restores them to their old state (e.g. switched off) when you quit these apps.
capaxdoli said:
i have spent sometime now lurking behind the scenes in this group and
have read, in detail, my share of the posts. Make no mistake, the
guys here are experts and being experts their methods/explanation
often goes way over the head of the typical noob. this post is to
introduce this wonderful application of tasker to the inimitable
noob. i hope my effort would ease someone's labour.
imagine this scenario: you switch on maps on your phone and keep
wondering why it does not show your precise location and then it hits
you! you did not switch on your GPS. this post explains how to create
a profile that switches on your GPS automatically when you fire up
maps.
Just remember this: Profile is the context i.e. what you want to do.
in the present case, you want to first start maps and when maps is
started you want to switch on GPS. then when you exit maps, you want
GPS to be switched off. this is the object.
Stage 1: In profile tab click the + sign. give a name like 'MAP'.
this name will identify the profile that is currently active. after
you name it press the green tick and you are shown several options
like application, time, day etc. Now maps come under applications, so
press applications and all the appliations in your phone are
displayed. scroll down and select maps and press the tick mark. at
this stage you have told tasker that whatever you want to do revolves
around maps.
Stage 2: Now that you have hinted to tasker about the application
that is to be run, we should next state what should happen when the
appliation is started. after you press the tick mark you will be
shown a window asking for task selection. press new task and give it
a name like switch on GPS.
Stage 3: after baptising the task, you will be taken to a broad
window . press the + mark on the bottom left and the confusion
begins. a pletora of options is thrown at you (this is why tasker is
so darn powerful). this is called the 'select action category'.
digressing a little here you should know that google has changed
something with android and you cannot in the usual course toggle GPS.
so you should download an app called 'secure settings' (from google
play) and install it. once it is installed open it and it gives you an
option to install a helper. install the helper also. this activates
the GPS option.
Stage 4: once that process is completed, come back to tasker and get
yourself to the 'select action category'. here press on plugin and
then on secure settings. in the next window, touch 'edit' and then
scroll down to GPS and touch it. three options are displayed viz. on,
off and toggle. choose on and press the floppy disk icon to the
bottom left. press the tick mark and again press the tick mark. at
this stage you have succeeded in activating GPS when maps is started.
however, when you exit maps you find that GPS does not switch off by
itself.
Stage 5: to make it switch off by itself, you need to create the same
task again. just long press on the task which has already been
created (called here as switch on GPS) and you are presented with
several options. select the first one - 'add exit task' and follow
the process as in stage 4. however, instead of choosing 'on' select
'off' this time. once this is done come out and test it.
Stage 6 - and the most important - Feel happy and satisfied.
i am sure there should be some easier way to do this. however, in my
limited understanding of tasker this was how i did it. i really am
confused about the variables. i hope someone will help. when i say
confused, i should clarify that i have no inkling of what it does. :
( could someone tell me where to read up on it? i have searched on
google and i havent found any satisfactory explanation.
i will continue to post my profiles and i hope it is of help to the
group here.
J.RAM
Click to expand...
Click to collapse
How to enable the location settings along with the GPS ON task?

Auto Bluetooth Connection

ADVIANCED USERS ONLY (until I include tutorial)
IMPORTANT: Check the readme file in each folder
Ok, here is some quick Tasker recipes for auto connecting Bluetooth internet. I have not included many instructions, so currently only useful for those familiar with Tasker
I will include a tutorial in the near future
https://www.mediafire.com/folder/ca10g7xz0wd50/Gear
-------------
+++++++++++++++++++++++++
Tutorial in progress
+++++++++++++++++++++++++
Aim:
To setup autoconnection of bluetooth internet connection between Samsung Galaxy Gear and Samsung phone when certain apps are opened
Devices:
Samsung Galaxy S4 (running stock Android 4.3)
Samsung Galaxy Gear (running null v10+)
Apps:
Tasker: https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm (Phone and Gear)
Bluetooth Auto Connect: https://play.google.com/store/apps/details?id=org.myklos.btautoconnect (Gear)
Bluetooth Auto Tethering: https://play.google.com/store/apps/details?id=de.refluxa.android.bat (Phone)
AutoRemote: https://play.google.com/store/apps/details?id=com.joaomgcd.autoremote (Phone and Gear)
Setup AutoRemote:
It is assumed you know how to add devices to your list (http://joaoapps.com/autoremote/)
First you'll need to set it as a bluetooth device by going into Devices in AutoRemote and long preesing, then selecting 'Set Bluetooth Device'
Setup Tasker:
Phone:
You'll need a profile that will turn on the AutoRemote Bluetooth listener when Gear is connected and turn it off when Gear is disconnected
Now we need two more proifles - one to turn off internet and one to turn it back on
Internet on
Internet off
Gear:
You'll need a profile that will turn on the AutoRemote Bluetooth listener when Gear is connected and turn it off when Gear is disconnected
Bluetooth Connected
Code:
Enter Task - AR BT Service ON
Plugin -> AutoRemote Bluetooth
Tick 'Bluetooth Service'
Code:
Exit Task - AR BT Service OFF
Plugin -> AutoRemote Bluetooth
Untick 'Bluetooth Service'
Now we need two more profiles - one to turn off internet and one to turn it back on
On app opening
Code:
Enter Task - Internet On
AutoRemote Message - Add target device name (phone) and message to trigger bluetooth tethering startup on phone
Wait 15 secs - to cover delay
Bluetooth Auto Connect - Profile Networking (PAN) profile, profile action 'Connect'
Flash - Show message on screen that internet is connected
Code:
Exit Task - Internet Off
AutoRemote Message - Add target device name (phone) and message to trigger bluetooth tethering off on phone
Bluetooth Auto Connect - Profile Networking (PAN) profile, profile action 'Disconnect'
Flash - Show message on screen that internet is disconnected
Some suggestions:
- Changing the app exit senario to a time based on so that if you change between various internet capable apps it doesnt turn everything off and then back on again
- Trigger internet off if screen off, then turn back on when screen on
- Tethering always on if power connected
- Use Tasker app factory and create shortcut on homescreen
- Increase screen timeout when connected to internet
Other notes:
- I've turned toasts off on my Gear in AutoRemote settings
- Currently unable to export profiles from Gear, so have included a backup. if restored, it'll clear all settings/profiles/tasks already setup in Tasker on Gear
Recipes:
https://www.mediafire.com/folder/ca10g7xz0wd50/Gear
Brendo said:
ADVIANCED USERS ONLY (until I include tutorial)
IMPORTANT: Check the readme file in each folder
Ok, here is some quick Tasker recipes for auto connecting Bluetooth internet. I have not included many instructions, so currently only useful for those familiar with Tasker
I will include a tutorial in the near future
https://www.mediafire.com/folder/ca10g7xz0wd50/Gear
Click to expand...
Click to collapse
thanks mate will try it out
please can you explain how i can use this i have a the files downloaded i would appreciate it extremely.
salmanaman said:
please can you explain how i can use this i have a the files downloaded i would appreciate it extremely.
Click to expand...
Click to collapse
Perhaps reading the included "README.txt" with the files ?
it doent say how to load these settings on tasker in the readme just says what apps you will need and some code
Use the import? Haven't tried it yet but would assume so
Sent from my GT-N7100 using Tapatalk
Struggling a bit with these myself.. Everything is imported, and Autoremote setup properly... I guess I just don't really understand tasker Any help would be appreciated!
For starters, you need to make sure that you can manually setup Bluetooth tethering
Install required apps
Setup AutoRemote and test that it can communicate both ways with your phone
Import Tasker profiles
Check the profiles to see if they need editing - eg. device names, Bluetooth addresses, apps
Brendo said:
For starters, you need to make sure that you can manually setup Bluetooth tethering
Install required apps
Setup AutoRemote and test that it can communicate both ways with your phone
Import Tasker profiles
Check the profiles to see if they need editing - eg. device names, Bluetooth addresses, apps
Click to expand...
Click to collapse
Yeah I'm in the UK, bluetooth tethering is all good.
So so far I have done:
- set up autoremote on Gear and Phone
- Imported tasker profiles to the phone
- changed the name of the Gear in the Gear connected profile
- Gear internet on/off seem to be setup ok
The Gear connected/disconnected tasks have an exclamation next to them though. Specifically the "Autoremote bluetooth on/off" tasks which don't seem to exist. (are these supposed to be on the Gear?)
The other issue is I can't find a way to restore the userbackup.xml on the Gear :/
I'm guessing my issues are mainly down to not figuring out how to restore the Gear backup #ashamed
Cheers Brendo
---------- Post added at 01:02 PM ---------- Previous post was at 12:59 PM ----------
Scratch that, I'm an idiot. I've restored the tasker backup on the phone, gimme a while to figure it out and I'll update it if I get stuck again
---------- Post added at 01:20 PM ---------- Previous post was at 01:03 PM ----------
Added the two missing tasks \o/ Everything seems setup...
Lets see if this runs...
Brendo said:
For starters, you need to make sure that you can manually setup Bluetooth tethering
Install required apps
Setup AutoRemote and test that it can communicate both ways with your phone
Import Tasker profiles
Check the profiles to see if they need editing - eg. device names, Bluetooth addresses, apps
Click to expand...
Click to collapse
So I have everything set up now I guess. The only issue is the message sent from the Gear to the Note 2 to enable bluetooth tethering.
The gear recognises the phone (and vice versa, they show the ip addressed next to device name), the message just doesn't seem to work :/
Sent from my GT-N7100 using Tapatalk
Finally... Done lol. I didn't start the autoremote listener manually. Doh!
Apologies to all for taking over thisd thread. And apologies to Brendo for being a bit of a noob.
Thanks for adding the profiles
Thank you heaps for this Brendo.
I don't use the internet to browse or facebook on the Gear, the only thing I use it for regularly is to sync my calendar (which updates my Simple Calendar widget).
I just used Tasker on both phone and Gear, BT Auto Tether on the phone, and BT Auto Connect on the Gear.
Used both of the last 2 as plugins in Tasker. Set the phone to turn on BT Tether and Gear to turn on BT connect every hour for 5 minutes.
I just tested it and it works great. I made a test event in my Google calendar and it updated on my Gear homescreen just after the hour without me having to do anything.
5 mins is probably overkill, I think the sync usually takes bout 1 or 2 minutes.
Only problem I had was I had to create the tasks for the Gear on the phone and export them as the Gear screen is too small and you can't select the option to repeat a task. (It shows the start time and end time, but not the repeat option which is in between those 2 fields.
I never used Tasker before, but worth the $3 to have my calendar auto update on the Gear.
Cheers,
Rich
le3ky said:
Finally... Done lol. I didn't start the autoremote listener manually. Doh!
Apologies to all for taking over thisd thread. And apologies to Brendo for being a bit of a noob.
Thanks for adding the profiles
Click to expand...
Click to collapse
Sorry, I was too busy to get on and reply. Good to hear you worked it out. The Bluetooth listener is probably the most common thing to miss (it's new, and not sure documentation mentions it?). Anyway one of the profiles should have triggered the listener so that it isn't on all the time
richlum said:
Thank you heaps for this Brendo.
Only problem I had was I had to create the tasks for the Gear on the phone and export them as the Gear screen is too small and you can't select the option to repeat a task. (It shows the start time and end time, but not the repeat option which is in between those 2 fields.
I never used Tasker before, but worth the $3 to have my calendar auto update on the Gear.
Cheers,
Rich
Click to expand...
Click to collapse
All good. Yes, creating task on watch is tricky due to size and parts missing. Tasker is defs worth the money. It's an awesome bit of software and I 'use' it all the time (don't actually do anything once it is set up )
Brendo said:
Sorry, I was too busy to get on and reply. Good to hear you worked it out. The Bluetooth listener is probably the most common thing to miss (it's new, and not sure documentation mentions it?). Anyway one of the profiles should have triggered the listener so that it isn't on all the time
Click to expand...
Click to collapse
No problem, I eventually changed the bluetooth on, on the phone to be any BT device. Even though I clicked the search to add the Gear it just didn't seem to recognise it :/
Wonder if you might also sanity check something for me, attempting to turn on internet every half hour for 3 mins..
1. Clone the 'Internet off' task, rename 'Internet off - 3 mins'.
2. add a new step before #1, 'wait 3 mins'
3. New Profile > Time >
4. Untick From/To so both say midnight
5. Set repeat to be every 30 mins
6. Add the 'Internet on' task to the profile.
7. Add the 'Internet off - 3 mins' to the profile.
So in this new profile, both tasks have a green tick (no exit scenario). The first one should kick off every 30 mins, as should the second, however the second won't actually do anything for 3 minutes... After 3 minutes is up it should then disconnect..
That look ok? :/
le3ky,
if that doesn't work for you, the way I got BT tethering to turn on for 5 minutes every hour is I set a BT tether on for the phone and BT connect for the Gear every hour starting at 7:00 and finishing at 00:00.
I also set a BT Tether off for the phone and BT disconnect on the Gear every hour starting at 7:05 and ending at 00:05.
It works perfectly to sync my calendar every hour.
You could adjust the times to 3 min and 30 min intervals
I've posted up most of the steps. It still assumes you have an idea about how to use Tasker and AutoRemote
There are some settings you may need to setup such as allowing Tasker external access, device admin rights, etc
Brendo said:
I've posted up most of the steps. It still assumes you have an idea about how to use Tasker and AutoRemote
There are some settings you may need to setup such as allowing Tasker external access, device admin rights, etc
Click to expand...
Click to collapse
Well done Brendo
ok well here i go. i have always seen the value in Tasker but havent used it yet. i like to think i can follow directions and i think as much as i turn on Tether this will be very useful. will report how it works for me as a noob with this.
thanks
fletch33 said:
ok well here i go. i have always seen the value in Tasker but havent used it yet. i like to think i can follow directions and i think as much as i turn on Tether this will be very useful. will report how it works for me as a noob with this.
thanks
Click to expand...
Click to collapse
Be careful! Very easy to become addicted!
Question: Does the listener only need to be activate on the gear ? Or only on the phone ? Or both ?
EDIT: Appears it needs to be enabled on the receiving device, so in our case the phone.. if only it wasn't such a battery hog !

tasker

Edited original post as now getting. a collection of tasker tasks i have going on and easier to keep them in the first post but Will help below if anybody wants to copy them, also if anyone else wants to post there's that will be good.
1st) have tasker to toggle settings like wifi brightness etc when i get to work. Reverts settings back when i get home. Produces notifications on watch.
2nd) sends a message to my wife when i say launch task 1 that tells her im on my way home.
3) launches a autowear location menu on the watch. In the menu i can select wether i want high accuracy or low and wether i want location services on or off atall.
4) when i charge my phone between 2230hrs and 0625hrs the watch is switched to screen off, Bluetooth off and phone set to vibrate. When its unplugged or after 0625 the watch is switched to always on and phone is muted.
5) mobile data on and off options via autowear.
6) detects when i have lost connection to the watch and immediately turns on GPS to record the location. Then notifies me on my phone with a map view. I fix generators for a living so i need to take my watch of sometimes or when i have a shower in the gym etc. If for whatever reason i forget it which is unlikely i will know where i last had it.
7) every morning when i take my phone and watch off charge it selects a different watchface every morning at random from a predefined list. (needs watchmaker to be installed)
8) using autowear so that when i start My Tracks on the watch it automatically starts my gps task for me.
9) little on screen widget that i can control my Xbox/sky/tv changing channels, volume, play and pause, go to Fifa 15, record that, turn everything off. Accomplished using autowear, autoremote, autoinput, and a redundant tablet.
I have only just began with tasker so my methods won't be the most efficient but they work. If anyone has better ways as i mainly using auto input then please get in touch.
Could you describe which apps you used to pull this off? Thank you
Yeah sure, was a app called Tasker that i used on my phone to create it all and then a tasker plugin called tasker wear i think.
I have since been tinkering with it.
The updated version now has the following options;
1) text the wife I'm on my way home.
2) turns Wi-Fi of, auto brightness on, sync off
3) opposite of 2.
4) closes and returns back to watch face.
With option 2 and 3 i get a notification of what has beebeen switched on/ off.
With option 1 it also activates option 3 ready for when i get home.
Also if i forget to do the above especially switch evereverything on it detects when I'm nearly home and does it for me.
check AutoWear tasker plugin from joao, you can do anything with it in combination with the other Autoapps.
TheKaser said:
check AutoWear tasker plugin from joao, you can do anything with it in combination with the other Autoapps.
Click to expand...
Click to collapse
I'll have a look at that thanks, currently going to create a task that switches between gps and battery saving location as you can't turn location of anymore. So will have it switch to gps when needed and back to battery saving when not.
Also going to see if i can switch to cinema mode when charging and lost connection to the phone together and to revert back to previous or new watch face when undocked and regains connection to phone.
Hi Phil, would love to hear how you get on with that.
Hi rusty,
Just finished putting something together.
I have tasker detect when it's on charge and if between 2230 and 0625, and if so it switches the watch screen to off, and Bluetooth of.
using a profile manger, that detects that the watch it's no longer connected so switches notifications on the phone back on.
The opposite is when it's unplugged it switches Bluetooth back on, turns the watch screen to always on and the profile manager then detects the watch so turns the phone to mute but watch still vibrates.
I can now sleep at night with no lights keeping me awake and the only thing i have to do is plug my phone in.
Just to note it was pretty simple to set up with tasker and autoinput.
TheKaser said:
check AutoWear tasker plugin from joao, you can do anything with it in combination with the other Autoapps.
Click to expand...
Click to collapse
Hi kaser, as you recommended autowear do you have any experience with it as i can't get my head round it and there isn't much on YouTube or Google to help out.
phil gpx said:
Hi kaser, as you recommended autowear do you have any experience with it as i can't get my head round it and there isn't much on YouTube or Google to help out.
Click to expand...
Click to collapse
Hi, sorry for the late reply, I was on holidays.
I do have some experience. You need to download AutoApps from Google Play and suscribe to the alpha testing. Then you can download AutoWear. For this you also need to joing the Google+ community where the developer is always nice and reactive when posting bugs, questions or guidelines. Posting at the community is the best thing you can do since AutoWear is still in Alpha and it improves every day and it is not too straight forward to understand, especially how it communicates with AutoVoice and how commands and parameters are passed to Tasker.
By the way, I have a similar profile telling my girlfriend when I get to work, when I leave work and when I have parked at home coming from work, which automatically trigger depending on my location and connection to my car's bluetooth or work's WiFi. You don't really need your watch for that
Cheers for replying.
I have already downloaded it and played around but can't get my head around the processes of the app.
I followed the guide for the voice screen but cant get new screens up or start tasks etc.
I'm usually pretty good at working things out but cant with autowear.
what is it you are trying to do? Do you have the latest version of tasker?
Yeah i have the updated tasker but just can't work out how to get from the voice screen too say a "4 menu screen" that has tasks i have set up. Not sure what i want to accomplish with tasker next but i know if i can understand autowear it would help.
Have you done anything with autowear.
I have done the above tasks in the first post with autoinput and taskerwear but that is just a series of notifications that you can select to start tasks.
my main use for autowear is to send whatsapp messages from scratch (whatsapp currently only allows to reply to messages).
To achieve this I open an AutoWear Voice Screen by shaking the watch, and say "write to XXXX and say YYYY". This triggers an AutoVoice profile configured to react to "write to (?<contact>.+) and say (?<message>.+) (using Regex)
Inside the task, I do an WhatsTasker plugin contact search of the variable %contact generated by the regex command. Once found, I text the %message to this contact using whatstasker.
The best thing to do is to read the variable descriptions in the task. For example, you create your profile of AutoVoice Recognized. Inside it, before clicking configuration, you can see all the local variables available and their description. These are usable within the task. Same thing goes for any autowear task, they are usable after calling the task.
For example, in my task, after finding the contact, I have an AutoWear confirmation screen with the picture of my contact, his name, and the message I dictated. And following that I have an if %awmessage (the output of this confirmation screen) is different to cancel, then send the message.
Hope this helps a bit!
Thanks buddy, i will try and emulate this tonight once the kids are in bed. Whatsapp was one of the things i have been thinking of doing, just wish there was a way of bringing up a previous conversation without waiting for a new message.
well maybe you can capture the messages as they come, along with the sender's name, and save them in a temp file. Then create an autowear screen that shows the content of this file when requested... but I guess it would be very difficult to make it work perfectly (especially with groups).
I have managed to create and implement a mobile data on and off switch into my interactive notification popup for system settings using tasker, taskerwear and autoinput.
I now have the ability to switch wifi, mobile data, gps on and off as well as high and low accuracy location services and change profiles from one notifaction popping up.
left watch behind
Currently trying to set up a tasker profile that when i get disconnected from my watch will activate gps, stores the location, notifies you where it is and shows you on the map.
Hopefully will never need it but you never know. I.e you leave it in the gym, at work etc
Is there already something that does something similar as struggling at the moment but will crack on if there isn't.
Any one let me know about how to get nearby cell tower ID in a single variable.
Otherwise, how to convert the context in profile as a task.
Ty
Sent from my Micromax A58 using XDA Free mobile app
I'm sorrlearning tasker but i think if you create a new profile that activates when you connect to that cell tower. Then create a task and set variable %whateveryouwantto to %CellID.
You should only have to do that profile once and the variable will be set and you can use it in your profiles and tasks.
On another note i got my lost watch profile working like a charm.
Great Job
TheKaser said:
my main use for autowear is to send whatsapp messages from scratch (whatsapp currently only allows to reply to messages).
To achieve this I open an AutoWear Voice Screen by shaking the watch, and say "write to XXXX and say YYYY". This triggers an AutoVoice profile configured to react to "write to (?<contact>.+) and say (?<message>.+) (using Regex)
Inside the task, I do an WhatsTasker plugin contact search of the variable %contact generated by the regex command. Once found, I text the %message to this contact using whatstasker.
The best thing to do is to read the variable descriptions in the task. For example, you create your profile of AutoVoice Recognized. Inside it, before clicking configuration, you can see all the local variables available and their description. These are usable within the task. Same thing goes for any autowear task, they are usable after calling the task.
For example, in my task, after finding the contact, I have an AutoWear confirmation screen with the picture of my contact, his name, and the message I dictated. And following that I have an if %awmessage (the output of this confirmation screen) is different to cancel, then send the message.
Hope this helps a bit!
Click to expand...
Click to collapse
It sounds great :good:
May you please share your work with screenshots or something else so I can make it work for me?
Thanks in advance and best regards

Bluetooth status dependent tasks?

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.

[HELP] Task stuck in a loop performing action on app open

Hey everybody and thanks for taking the time to read this.
I'll explain my problem as clearly as possible:
I created a task with the purpose of opening an app (vpn hosts) and clicking on a button (with autoinput) when I launch twitch or YouTube.
What I was trying to accomplish is that whenever I open said apps my vpn app opens up, activates and then I would like the phone to go back to the original app.
Here comes the problem: I get stuck in a loop cause whenever I go back from vpn hosts to twitch (using autoinput) tasker detects that a profile condition is met and runs again the task.
Is there a way I can force tasker to run those tasks one time and one only?
Hopefully I explained my problem clearly enough to be understood, thanks in advance
Set a cool down period in the profile settings. This will prevent the profile from running again for your specified period.
Less clean, you could also set a variable in the enter task and disable the profile if the variable is set.
Else, use a condition of "not" the vpn app as a trigger condition in the profile.

Categories

Resources