What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

What have YOU done with Tasker?

Can anyone help me out with this alarm profile?

It works pretty good at the moment, except that as I'm testing it with a 10 second snooze the snooze is actually 20 seconds long.

If anyone can spot where I'm going wrong or any simpler methods to what I'm trying to achieve I'd be grateful.

Here's my profiles:

Profile: Alarm On (54)
Day: Mon, Tue, Wed, Thu or Fri
State: Not Calendar Entry
Enter: Alarm On (125)
A1: Notify [ Title:Alarm On
Text:Alarm is set for %ALARMTIME
Icon:<icon> Number:0 Permanent:
A2: Goto Action [ Number:5 ] If
[ %SNOOZE = 1 ]
A3: Wait Until [ MS:0 Seconds:
Minutes:0 Hours:0 Days:0 ] If
[ %TIME = %ALARMTIME ]
A4: Variable Set [ Name:%ALA
To:1 Do Maths:Off Append:Off ]
A5: Media Volume [ Level:1
Display:Off Sound:Off ]
A6: Variable Set [ Name:%ALAR
To:%VOLM Do Maths:Off Append:O
A7: Music Play [ File:music/Pri
Scream/Dirty Hits/05 - primal
scream - rocks.mp3 Start:0 Loop:O
A8: Perform Task [ Name:Alar
up Stop:Off Priority:5 ]
A9: Perform Task [ Name:Alar
Stop:Off Priority:7 ]
Exit: Anon (102)
A1: Notify Cancel [ Title:Alarm
Warn Not Exist:Off ]
Profile: Input Alarm Time (118)
Event: Button Widget Clicked
Enter: Alarm Time Input (119)
A1: Variable Query [ Name:
%ALARMTIME Label:Enter alarm ti
the
format:
HH.MM Input Type:Numeric / Deci
Default: Background Image: Label
Colour: ]
A2: Profile Status [ Name:Alar
Set:Off ]
A3: Flash [ Text:Alarm is set for
%ALARMTIME Long:Off ]
A4: Profile Status [ Name:Alar
Set:On ] If [ %PACTIVE !~ Alarm
On ]
Task: Alarm Pop-up
A1: Popup Task Names
- Task: Alarm Snooze
- Task: Alarm End
Task: Alarm Snooze
A1: Set %SNOOZE to 1
A2: Set %ALARM to 0
A3: Music stop
A4: Wait 10 seconds (snooze durati
A5: Perform task: Alarm On
Task: Alarm End
A1: Set %ALARM to 0
A2: Set %SNOOZE to 0
A3: Music Stop
A4: Profile Status "Alarm On" to OF
A5: Wait until %TIME !~ %ALARMTI
Profile Status "Alarm On" to ON
Task: Alarm Fade
A1: Wait 1 second
A2: Add 1 to %ALARMVOL
A3: Go to action 1 if %ALARMVOL <
A4: Stop if %ALARM = 0
 
Can anyone help me out with this alarm profile?

It works pretty good at the moment, except that as I'm testing it with a 10 second snooze the snooze is actually 20 seconds long.

If anyone can spot where I'm going wrong or any simpler methods to what I'm trying to achieve I'd be grateful.

Here's my profiles:

Profile: Alarm On (54)
Day: Mon, Tue, Wed, Thu or Fri
State: Not Calendar Entry
Enter: Alarm On (125)
A1: Notify [ Title:Alarm On
Text:Alarm is set for %ALARMTIME
Icon:<icon> Number:0 Permanent:
A2: Goto Action [ Number:5 ] If
[ %SNOOZE = 1 ]
A3: Wait Until [ MS:0 Seconds:
Minutes:0 Hours:0 Days:0 ] If
[ %TIME = %ALARMTIME ]
A4: Variable Set [ Name:%ALA
To:1 Do Maths:Off Append:Off ]
A5: Media Volume [ Level:1
Display:Off Sound:Off ]
A6: Variable Set [ Name:%ALAR
To:%VOLM Do Maths:Off Append:O
A7: Music Play [ File:music/Pri
Scream/Dirty Hits/05 - primal
scream - rocks.mp3 Start:0 Loop:O
A8: Perform Task [ Name:Alar
up Stop:Off Priority:5 ]
A9: Perform Task [ Name:Alar
Stop:Off Priority:7 ]
Exit: Anon (102)
A1: Notify Cancel [ Title:Alarm
Warn Not Exist:Off ]
Profile: Input Alarm Time (118)
Event: Button Widget Clicked
Enter: Alarm Time Input (119)
A1: Variable Query [ Name:
%ALARMTIME Label:Enter alarm ti
the
format:
HH.MM Input Type:Numeric / Deci
Default: Background Image: Label
Colour: ]
A2: Profile Status [ Name:Alar
Set:Off ]
A3: Flash [ Text:Alarm is set for
%ALARMTIME Long:Off ]
A4: Profile Status [ Name:Alar
Set:On ] If [ %PACTIVE !~ Alarm
On ]
Task: Alarm Pop-up
A1: Popup Task Names
- Task: Alarm Snooze
- Task: Alarm End
Task: Alarm Snooze
A1: Set %SNOOZE to 1
A2: Set %ALARM to 0
A3: Music stop
A4: Wait 10 seconds (snooze durati
A5: Perform task: Alarm On
Task: Alarm End
A1: Set %ALARM to 0
A2: Set %SNOOZE to 0
A3: Music Stop
A4: Profile Status "Alarm On" to OF
A5: Wait until %TIME !~ %ALARMTI
Profile Status "Alarm On" to ON
Task: Alarm Fade
A1: Wait 1 second
A2: Add 1 to %ALARMVOL
A3: Go to action 1 if %ALARMVOL <
A4: Stop if %ALARM = 0
 
Can anyone help me out with this alarm profile?

It works pretty good at the moment, except that as I'm testing it with a 10 second snooze the snooze is actually 20 seconds long.

If anyone can spot where I'm going wrong or any simpler methods to what I'm trying to achieve I'd be grateful.

I don't have time to look it over fully at the moment, but maybe try halving the time you're having it wait? Say from 10 seconds to 5 seconds? That might do it, if you're lucky :p
 
Can anyone help me out with this alarm profile?

It works pretty good at the moment, except that as I'm testing it with a 10 second snooze the snooze is actually 20 seconds long.

If anyone can spot where I'm going wrong or any simpler methods to what I'm trying to achieve I'd be grateful.

I don't have time to look it over fully at the moment, but maybe try halving the time you're having it wait? Say from 10 seconds to 5 seconds? That might do it, if you're lucky :p

I think it will, although I haven't tried it. I should really, just to prove it. But that's not the point really is it? 10 seconds should be 10 seconds!
 
I have a question.

I'm using the Power Plug In profile from the wiki, with modifications (no Night profile, different volumes, etc), and since 2.2 doesn't kill apps, I'm trying to get it to go back to the home screen when I unplug from the Car mode task. Car mode loads up Custom Car Home, which I can exit by hitting the Home button; going to Homescreen via Tasker doesn't work, so I've been using the Locale Execute plug-in to code the button press. However, since the Exit task covers both Car and Wall modes, I keep having Home button presses even in Wall mode, which opens up my app drawer.

So in the Car mode task, I have a Variable Set %CARMODE to 1, and in Standard Mode (which is the exit task for both Car and Wall modes), I have Execute !input keyevent 3 (which is the home button) if %CARMODE=1. However, it still keeps doing it even after Wall mode. Should I change %CARMODE=1 to 0 instead?
 
I have a question.

I'm using the Power Plug In profile from the wiki, with modifications (no Night profile, different volumes, etc), and since 2.2 doesn't kill apps, I'm trying to get it to go back to the home screen when I unplug from the Car mode task. Car mode loads up Custom Car Home, which I can exit by hitting the Home button; going to Homescreen via Tasker doesn't work, so I've been using the Locale Execute plug-in to code the button press. However, since the Exit task covers both Car and Wall modes, I keep having Home button presses even in Wall mode, which opens up my app drawer.

So in the Car mode task, I have a Variable Set %CARMODE to 1, and in Standard Mode (which is the exit task for both Car and Wall modes), I have Execute !input keyevent 3 (which is the home button) if %CARMODE=1. However, it still keeps doing it even after Wall mode. Should I change %CARMODE=1 to 0 instead?

I do something similar; start the desk clock app on my Desire when charging then return home when unplugged.
In your exit task:
app > go home > select page number.

My page number is set to 1, which is the default "middle" screen. When it was set to 0 it showed all 7 pages in it's quick select function.

Hope this helps.
 
Hi everyone, managed to get quite a lot done with tasker but having a problem with the GPS location.


I'm creating my own 'find my phone' setup, along the lines of:

- receive text
- flash some stuff and make some noise
- turn on GPS + wifi
- get location
- send text with location + other info


All the steps work apart from the location variable. Which is just shown as %LOC or a location fix from several days ago.

My question is why is my location fix not being updated into the %LOC variable?


I've been trying 2 separate approaches - neither working. I will try and detail them here, hopefully someone can point out where I'm going wrong!



Approach 1 - using a 'get location' profile

For this I have a task which when kicked off does the following:
- GPS on
- profile status > get Location > on (get Location being my location profile)
- Wait 2 minutes (to get the fix)


My 'get Location' profile is this:

Context: Location
Net and GPS selected, radius:30m
Task: Stop


So when this profile is called it should just get the location, and store it in the variable.



Approach 2 - using the Get Location task

This method uses one task which does the following:
- Set GPS on
- Misc > get location - timeout 100seconds




***********************************************

To test if either of my approaches has worked I have been copying the contents of %LOC to the clipboard (using another simple task) then pasting it into googlemaps. Sometimes It returns "%LOC" othertimes, it returns co-ordinates which are days old.

I have also been using the %LOCTMS and %TIMES built in variables to get the time of the last fix, which has always been days old.


I have tried multiple adjustments to these profiles, for example setting 'keep device awake for the task', and using 'toggle' instead of set to 'on' when using the get Location profile. None making any difference.

I have also tried setting my own variable %LOCATION to equal %LOC to see if that would work, but no :(



Please, Tasker experts, help me! :greendroid:
 
I have a question.

I'm using the Power Plug In profile from the wiki, with modifications (no Night profile, different volumes, etc), and since 2.2 doesn't kill apps, I'm trying to get it to go back to the home screen when I unplug from the Car mode task. Car mode loads up Custom Car Home, which I can exit by hitting the Home button; going to Homescreen via Tasker doesn't work, so I've been using the Locale Execute plug-in to code the button press. However, since the Exit task covers both Car and Wall modes, I keep having Home button presses even in Wall mode, which opens up my app drawer.

So in the Car mode task, I have a Variable Set %CARMODE to 1, and in Standard Mode (which is the exit task for both Car and Wall modes), I have Execute !input keyevent 3 (which is the home button) if %CARMODE=1. However, it still keeps doing it even after Wall mode. Should I change %CARMODE=1 to 0 instead?

I do something similar; start the desk clock app on my Desire when charging then return home when unplugged.
In your exit task:
app > go home > select page number.

My page number is set to 1, which is the default "middle" screen. When it was set to 0 it showed all 7 pages in it's quick select function.

Hope this helps.

You are awesome, because this completely works. Except my homescreen is apparently 3 (I'm using LPP with seven screens).
 
I posted this in another thread on this forum, but haven't heard much yet. So, try here...

I just installed liberty 1.5 rom yesterday, and now my led notification light won't change colors when told to by Tasker. They rest of this task works ok, just not the light. Any ideas?

It's nice to see different colors light up, so you know who the text is from.

My other Tasker 'tasks' work just fine.
 
Hello all,

I'm trying to get Tasker to turn on the flashlight. Where can I find that under tasks? I feel like I've looked everywhere.

Thanks!

Edit: I think I found it? Under torch. Does this option work on the droid x?

Sent from my DROIDX using DroidForums App
 
Last edited:
[/QUOTE]
You are awesome, because this completely works. Except my homescreen is apparently 3 (I'm using LPP with seven screens).[/QUOTE]

Glad it worked for you!
 
im trying to get tasker to reboot my phone at 4am. Where's the reboot option? Thanks!


Download the locale execute plugin. It says it requires other stuff but you don't need it. Add the plug in as the task step with !reboot as the command. Set your event time and done!


Sent from my droidx using droidforums app



dx. Cfu. Lib 1.5.
 
Back
Top