[APP] Tasker: Share your setup - Nexus One Themes and Apps

Read about what Tasker is here or at the Lifehacker article. Download on Android Market or direct purchase from dev.
I'm pretty sure the possibilities are endless with this app, so please share what you've done with it here. Here's one of mine (more will follow):
Car Mode
This setup will use a toggle widget to:
Turn off Wi-Fi
Turn on GPS
Send an SMS that is triggered off a missed call event that lets the caller know you're in the car and can't talk
You can easily launch an app (for instance Navigation), I just haven't shown that here
Step #1 Create a new task called "ToggleTask" that looks like this (this is the task the Widget you create will call):
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Step #2 Create a new task called "Driving" that looks like this:
Step #3 Create a new task called "Stop Driving" that looks like this:
Step #4 Create a new task called "CarSMS" that looks like this:
Step #5 Create 3 profiles like the bottom 3 seen here:
Final Step Add the widget to your home screen, select "ToggleTask" and click "Add Widget". Note: initially the Widget label will say ToggleTask. If this bothers use rename ToggleTask to StartDriving everywhere it occurs
Now, when you get in the car, click the widget. When you get to your destination, click it again.
To launch an app, simply edit the "Driving" task to do so.

i was not even aware of this app, it looks AWESOME! I'm very interested in seeing how other people are using this application

using this would it be possible to create a shortcut directly to the alarm settings? I still haven't figured out how to do that on froyo since the option dissappeared in bettercut.

AMAZING!
Just downloaded.

bender2115 said:
using this would it be possible to create a shortcut directly to the alarm settings? I still haven't figured out how to do that on froyo since the option dissappeared in bettercut.
Click to expand...
Click to collapse
I'm not seeing that, but if I understand your question, you can add the Analog Clock widget to the screen and clicking that will take you into the alarm settings

thanks, but I don't really want a widget, I just want a shortcut.

Looks like timerrific and locale had a baby that kicked its parents ass.

saw something about this earlier on twitter a few days back while i was at work, this thread made me actually try it. just need to play around with it more when its not 5am. only thing i dislike thus far is the app handles media itself instead of passing the "play" and such on to the default music app. need to figure out how to get "play" and "stop" to pass to the music app from the "data" field and i'll be happy

I can't seem to get the SMS functionality to work. Everything works perfectly in the OP's example except send SMS. I'm wondering if there is something in settings that needs tweeked?

psylink said:
saw something about this earlier on twitter a few days back while i was at work, this thread made me actually try it. just need to play around with it more when its not 5am. only thing i dislike thus far is the app handles media itself instead of passing the "play" and such on to the default music app. need to figure out how to get "play" and "stop" to pass to the music app from the "data" field and i'll be happy
Click to expand...
Click to collapse
Have you tried using Media->Android media->Toggle Pause?
I imagine you could use Headphone Plugged:App->Music,Toggle Pause to ensure it worked every time. Or you could assign a variable if you wanted it to be more sophisticated. Here's a quick example:
Not Music=Variable Set %MUSIC, 0
Headset Plugged=Load App:Music(If Music = 0)
Headset Plugged=Go Home(If Music = 0)
Headset Plugged=Variable Set %MUSIC, 1
Headset Plugged EXIT=Android Media Pause
Variable Set %MUSIC, 1=Android Media Toggle
Works like a charm on my droid.

ya, so my alarm now says "wake the frack up you lazy bastard" on work days if i sleep past a certain time. 15min before i *have* to be out the door, phone says "isnt it time to leave for work" then turns gps on. when i leave and plug in the heaphone jack music starts (stops when unplugged), turns wifi off when 30M from home, arrive at work stops music, turns phone on silent. gps turns off until i leave work, and then it sends a SMS to my gf i'm on the way home when so far from work. dev will be getting some monies on my payday
now i wont have to play with the phone so much while driving
thanks for the toggle pause, didnt even notice all that last night and that did the trick

I've been using Tasker since the early betas for months now.
The three things that I always run:
WORK (Location 1km around Work)
- Turn Wifi Off
SLEEP (Hours 22:00-07:00)
- Turn AutoSync Off (this stops emails, but allows calls and SMS during the night)
LOW BATTERY (Battery 0-20%)
- Turn off AutoBrightness
- Set Brightness to 10%
- Set Screen Timeout to 30s
- Turn AutoSync Off

artesea said:
I've been using Tasker since the early betas for months now.
The three things that I always run:
WORK (Location 1km around Work)
- Turn Wifi Off
SLEEP (Hours 22:00-07:00)
- Turn AutoSync Off (this stops emails, but allows calls and SMS during the night)
LOW BATTERY (Battery 0-20%)
- Turn off AutoBrightness
- Set Brightness to 10%
- Set Screen Timeout to 30s
- Turn AutoSync Off
Click to expand...
Click to collapse
Hey I was wondering if you could let me know how you setup your variables. i'm not understanding how to do this. I was trying to setup sleep profile to turn off auto sync and i don't know what to put for variables %Time-?????????

Previously with Timeriffic (which is fantastic, btw) if I wanted a night profile, I had to guess about what times I would be going to bed. Since I use the desktop dock, Tasker allows me to setup a new event based upon docking my phone, so I've been using this for the "Docked" event:
Enter Task (go to bed):
Turn Wifi Off
Lower Ring volume
Lower Notification volume
Turn off vibrate
Exit Task (when I wake up and pull the phone off the dock:
Load App: Weather Bug Elite (to check the forecast)
artesea said:
LOW BATTERY (Battery 0-20%)
- Turn off AutoBrightness
- Set Brightness to 10%
- Set Screen Timeout to 30s
- Turn AutoSync Off
Click to expand...
Click to collapse
I think I'm gonna implement this one too..

mrmarshall428 said:
Hey I was wondering if you could let me know how you setup your variables. i'm not understanding how to do this. I was trying to setup sleep profile to turn off auto sync and i don't know what to put for variables %Time-?????????
Click to expand...
Click to collapse
Tasker can be tricky to get used to, but once mastered has amazing power.
To create my Sleep profile here are the step:
Press New, you will get a "First Context" popup, select "Time".
Here you should have From and To ticked. Make sure that From is when you want Sync Off (22:00) and To when it comes back on (07:00). Press Done.
This will now take you to a Task Edit screen.
You don't need to press New, but doing so allows you to name this bit.
Press the "+" button, in the "Select Action Category" select Net, and then Auto-Sync.
Here leave it as "Set: Off" and press Done
Press the Done button along the bottom.
You will now be back in the main Tasker screen. If you want to rename "From 22:00 to 07:00" tap on it, and select Name and give it something like "Sleep".
Press Apply and you are ready to go.

xManMythLegend said:
Looks like timerrific and locale had a baby that kicked its parents ass.
Click to expand...
Click to collapse
Tasker says to Momma Timmerific and Daddy Locale: "who's your daddy now BIOTCH??!!"
The_Adjudicator said:
I can't seem to get the SMS functionality to work. Everything works perfectly in the OP's example except send SMS. I'm wondering if there is something in settings that needs tweeked?
Click to expand...
Click to collapse
Here's what I did, this might help you.
Let's create a task that send a SMS to the number "466453", which is GOOGLE 411. I have this set daily to check the weather for me.
From your Tasker home screen, create New.
Select First Context : Time.
Select your From time. Make sure it has a checkmark, and un-check To. Click Done.
I have mine set for 10:00am.
Press the + icon (bottom left corner).
Select Action Category : Phone.
Select Phone Action : Send SMS.
Fill in the contact number (466453) and the message (weather xxxxx), where xxxxx is your local zipcode.
Tap Done.
Tap Done again.
----- ----- ----- ----- -----
You can test it by changing the Time to a few minutes ahead. Then edit it after you confirm it works.
I have several of these. One for the weather that repeats every 6 hours, another to check my bank balances, and one that texts my wife, "I Love You"

crachel said:
Enter Task (go to bed):
Turn Wifi Off
Lower Ring volume
Lower Notification volume
Turn off vibrate
Exit Task (when I wake up and pull the phone off the dock:
Load App: Weather Bug Elite (to check the forecast)
Click to expand...
Click to collapse
Would both of these "Enter" and "exit" be as one task??

I see tasks created.....what i'm wondering is.
Do we create a task to revert the phone to a previous state??

Mikey1022 said:
I see tasks created.....what i'm wondering is.
Do we create a task to revert the phone to a previous state??
Click to expand...
Click to collapse
No, Tasker will automatically revert back. For instance, when I lower phone & notification volume and disable vibrate on a phone "Docked" event, Tasker automatically reverts back when I un-dock the phone. I don't have to tell it to put the volume back up and turn on vibrate.
When you click a task in the Profile view, you will get an option to "Add Exit Task", that would be used for doing something unique all together (like launching an app).. you don't have to use it to revert state
Edit:http://tasker.dinglisch.net/userguide/userguide_settings.html

I'm using it to enable wifi on places where I know there's wifi and some power management stuff.. the usual.
There is one task I'm working on that's kinda awesome, but I can't get it to function properly. When I wake up, Tasker polls weatheronline.com for the current weather and the forecast for the day, and reads it out to me. The trouble is in the fact that I can't get it to read me the conditions for the day, it reads me the url for the conditions icon instead.
Attached is the xml of the task, maybe somebody smarter can get it to work?
(note: You'll have to register at worldweatheronline.com for a free key and paste it in the HTTP get action)

Related

[GUIDE] Tasker

So as some of you may know there is an app for android called Tasker and it is by far the most powerful app out to date.
"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.
This simple concept profoundly extends your control of your Android device and it's capabilities, without the need for 'root' or a special home screen"
As powerful and amazing as this app is, it's pretty hard to use unless your very tech savvy and I have been searching the Net for some how-to guides but their doesn't seem to be much out there. So I wanted to create this thread and have people post their own little tips/mods that they have set-up with Tasker so that newbies such as my-self can have a place to go if they need help getting Tasker to perform certain functions.
I just download the app last night and haven't had much time to mess with it yet, but once I get the hang of it I will start posting what I'm doing.
Anybody that uses Tasker please feel free to add on to the thread and lets make this the ultimate "How-to" guide for people trying to unlock the full potential of this amazing app.
How long did it take you to develop this app?
Sent from my PC36100 using XDA App
firemedic1343 said:
How long did it take you to develop this app?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
@OP, one that I made that I find useful scans the SD card for new media whenever it's mounted.
PROFILE:
Event - Card Mounted (Priority: Normal, Card Title: <blank>, Frequency: 1)
Task - Media -> Scan Card
Task - Alert -> Flash (Text: Scanning for new media..., Long: <unchecked>, If: <unchecked>)
This one turns off the lockscreen when using Music or Pandora (you have to make two separate profiles!)
PROFILE:
Application - Music/Pandora
Task - Display -> Keyguard (Set: Off, If: <unchecked>)
I also spent a lot of time developing a task that would turn airplane mode on for 45 minutes, turn it off for 15 minutes, then turn it back on and repeat until stopped. Everything works except Tasker stops all timers when the phone sleeps, so unless I want to put a partial wake-lock on it (which would defeat the whole battery-saving purpose of the profile in the first place), it doesn't work
Gregalous said:
@OP, one that I made that I find useful scans the SD card for new media whenever it's mounted.
PROFILE:
Event - Card Mounted (Priority: Normal, Card Title: <blank>, Frequency: 1)
Task - Media -> Scan Card
Task - Alert -> Flash (Text: Scanning for new media..., Long: <unchecked>, If: <unchecked>)
This one turns off the lockscreen when using Music or Pandora (you have to make two separate profiles!)
PROFILE:
Application - Music/Pandora
Task - Display -> Keyguard (Set: Off, If: <unchecked>)
I also spent a lot of time developing a task that would turn airplane mode on for 45 minutes, turn it off for 15 minutes, then turn it back on and repeat until stopped. Everything works except Tasker stops all timers when the phone sleeps, so unless I want to put a partial wake-lock on it (which would defeat the whole battery-saving purpose of the profile in the first place), it doesn't work
Click to expand...
Click to collapse
Both setups seem very useful, ima check them out. Thanks for the input!
About the one you can't get to work. I'm pretty sure I actually saw something similar to it the other day on another website, not 100% sure though. I think it was a profile that allowed you to basically turn off all of you're data and have it come back on for a short period of time to gather texts and stuff...
Ima going to look for it for you to see if i can find it...
In the mean time I found a few useful profiles here http://lifehacker.com/5606284/three-handy-tasker-profiles-from-our-readers
I would post them but theres actually quite a bit if you look in the comments and the post itself.
Once I think of something "original" i'll post it
You also might want to check the official Tasker pages. There is also a Wiki with step-throughs (link on left side of main page).
http://tasker.dinglisch.net/
This is the only app I have been able to find that will let you remotely turn the GPS on. IMO that alone was worth the money, now I don't have to waste time writing an app for it.
I've been working on something to activate the GPS and send the phone's location, available wifi networks, etc, over a text message. Haven't figure out how to make it update the GPS location or turn on 3G yet though. Anyone know anything about android bridge scripts and if they would be able to do this?
Vegasden said:
You also might want to check the official Tasker pages. There is also a Wiki with step-throughs (link on left side of main page).
http://tasker.dinglisch.net/
Click to expand...
Click to collapse
Wow. thanks a lot for the link. i have been looking for some sort of wiki or help for tasker for a while now but apparently I wasn't looking in rite places.
Thanks again.
Also, Mobile Defense, if installed in system apps allows you to remotely turn on gps and track your phone, however, they have temporarily closed down the beta. I've always had it on my android phones and it's pretty amazing. Much better than lookout for tracking your device.
tasker is a great app. i use it on a dialy basis. save so much battery life
SiL3nTKiLL said:
tasker is a great app. i use it on a dialy basis. save so much battery life
Click to expand...
Click to collapse
What works for you? Some example scripts please please. thanks.
Here is more info on tasker setup.
I tried some of these and they worked great.
http://lifehacker.com/5601133/push-...d-to-awesome-heights-with-these-tasker-setups
http://lifehacker.com/5599116/how-to-turn-your-android-phone-into-a-fully+automated-superphone
maps to start gps and gps logger
hi everyone,
i'd like to start maps, and have:
- Gps turned on
and
-an app called GpsLogger to start.
The problem i get is that, once Gps is turned on and GpsLogger is opened, if i get back to Maps by long-pressing the home button the whole automation starts again, leading me to GpsLogger again..
Could anyone help please?
Thanks!
I downloaded Tasker the other day to accomplish one thing only. I wanted my wife to be able to get through to me whenever she called me. I work shift work so my phone is set to Silent at odd times when I am resting, so the various dings and rings don't interrupt my sleep. Fearful of her not being able to get a hold of me in an emergency, I set this up:
Profile: Priority Call (named by me)
Context: Incoming Call - Very simply, I used the magnifying glass to select her contact from my phone, and it input her name in the box.
Task: Silent Mode - Mode set to OFF
This profile checks all incoming calls and then turns Silent Mode OFF and allows the call to ring through. When the call is done, the phone returns to Silent Mode. NOTE: I also had to set up a separate task to turn the phone to silent in the first place. For some reason, Tasker would not recognize the phone as being in "Silent Mode" if I used the volume down button to put it in silent mode. So I just added a shortcut to the Tasker task of putting the phone to silent on my homescreen. Now when I go to bed, I hit the shortcut and I am able to be undisturbed until I wake again, unless my wife calls. I could see this being very useful for people with teenagers that are out or babysitters with children.
This task can also be useful if you sleep at defined hours, because you can set the phone to automatically turn to silent at X hour, and turn silent mode off at X hour. Just some ideas.
I am now searching for ways to completely automate the phone by making it turn on my GPS and Bluetooth when I am away from home, as well as turn these off and turn my wifi on when I am at home. Several attempts with no knowledge of this app have been unsuccessful so far. More to follow.
Robert
OnDutyTactical said:
I downloaded Tasker the other day to accomplish one thing only. I wanted my wife to be able to get through to me whenever she called me. I work shift work so my phone is set to Silent at odd times when I am resting, so the various dings and rings don't interrupt my sleep. Fearful of her not being able to get a hold of me in an emergency, I set this up:
Profile: Priority Call (named by me)
Context: Incoming Call - Very simply, I used the magnifying glass to select her contact from my phone, and it input her name in the box.
Task: Silent Mode - Mode set to OFF
This profile checks all incoming calls and then turns Silent Mode OFF and allows the call to ring through. When the call is done, the phone returns to Silent Mode. NOTE: I also had to set up a separate task to turn the phone to silent in the first place. For some reason, Tasker would not recognize the phone as being in "Silent Mode" if I used the volume down button to put it in silent mode. So I just added a shortcut to the Tasker task of putting the phone to silent on my homescreen. Now when I go to bed, I hit the shortcut and I am able to be undisturbed until I wake again, unless my wife calls. I could see this being very useful for people with teenagers that are out or babysitters with children.
This task can also be useful if you sleep at defined hours, because you can set the phone to automatically turn to silent at X hour, and turn silent mode off at X hour. Just some ideas.
I am now searching for ways to completely automate the phone by making it turn on my GPS and Bluetooth when I am away from home, as well as turn these off and turn my wifi on when I am at home. Several attempts with no knowledge of this app have been unsuccessful so far. More to follow.
Robert
Click to expand...
Click to collapse
Here you go...
These two pages on the Tasker Wiki will show you how to do a lot of what you want, and even find stuff you didn't know you needed.
http://tasker.wikidot.com/profile-index
http://tasker.wikidot.com/step-throughs

Controlling all the EVO's LEDs (in Tasker)

So, I found this thread http://forum.xda-developers.com/showthread.php?t=752377&highlight=wimax+led that discusses how to control the EVO's Wimax LED, and I've found another thread that explained how to use Tasker to trigger the Capacitive buttons (http://forum.xda-developers.com/showpost.php?p=8554277&postcount=12).
Using this information, I was able to set:
Missed text: Blinking turquoise
Missed Call: Solid Red
Missed Calendar Event: Solid Yellow
Which got me to thinking what else can I control this way? Here is the list of values I found for controlling all the EVO's LEDs (thanks to the posters of the above threads for the starting info):
First here are all the values that I was able to confirm.
Wimax LED
Current "brightness" modes it supports:
0 = OFF
1 = Two quick turquoise flashes
2 = One quick turquoise flash
3 = One slow turquoise flash
4 = One slow turquoise flash then one slow red flash
5 = One slow yellow flash
129 = Solid red on
130 = Solid turquoise on
131 = Solid yellow on
Location: /sys/class/leds/wimax/brightness
Amber LED
Current "brightness" modes it supports:
0 = OFF
1 = ON
Location: /sys/class/leds/amber/brightness
Current "Blink" modes it supports:
0 = Solid
1 = Fast Blink
Location: /sys/class/leds/amber/blink
Green LED
Current "brightness" modes it supports:
0 = OFF
1 = ON
Location: /sys/class/leds/green/brightness
Current "Blink" modes it supports:
0 = Solid
1 = Fast Blink
Location: /sys/class/leds/green/blink
(note you can have amber on with blinking green and vice-versa).
Flashlight
Current "brightness" modes it supports:
0 = OFF
1 = Top LED
2 = Bottom LED
3 = Both LEDs
125 = Low Power
126 = Mid Power 1
127 = Mid Power 2 (same as 3)
128 = High Power
129 = High Power Single Flash
Location: /sys/class/leds/flashlight/brightness
Screen
Current "brightness" modes it supports:
0 - 255 brightness levels
Location: /sys/class/leds/lcd-backlight/brightness
Capacitive Buttons
0 = OFF
1 = ON
Location: /sys/class/leds/button-backlight/brightness
If you have "Tasker" installed and have root access, install "Locale Execute Plugin" from the Market.
In Tasker, create your event, and select "Plugin" as the Task, then choose the "Execute" plugin.
Enter the following command in the textbox (substituting the value and device you want to trigger)
@! echo 255 > sys/devices/platform/leds-gpio/leds/button-backlight/brightness
Important: You must "Test" the task once or twice and wait for the Superuser permissions to trigger, otherwise the task will not execute. You will need to do this for each task you create using this plugin.
One thing to note, using the commands above trigger a single event. If the system triggers an event that uses the LED you are using (e.g. charging the device) it will override your setting. However, you can also override the system trigger (trigger after charger is plugged in).
Setting this up correctly in Tasker, will allow you to do cool things like automatically turning off all LEDs when you start a Video, set your own alerts or trigger the flash if someone picks up your phone (to scare them), etc.
Feel free to add your own suggestions, or add anything I missed.
wow nice post!
Great job at defining the controls.
I found this post useful to me in turning on and off the button leds with one tap. - lol ( self promotion - since they are related )
http://forum.xda-developers.com/showthread.php?t=816128
Very nice and informative work, but for $16+ (Tasker $6.26, Locale $9.99 (required for the plug-in, according to info in the Market)) I guess I'll stand over this one.
arcadia2uk said:
Very nice and informative work, but for $16+ (Tasker $6.26, Locale $9.99 (required for the plug-in)) I guess I'll stand over this one.
Click to expand...
Click to collapse
You do not need to buy Locale to run these commands. You only need the Locale Execute Plugin, which is free in the Market. Most, but not all, Locale plugins are compatible with Tasker.
Also, you can download a beta copy of Tasker to try out for free. Go to this address and download the Market version:
http://tasker.dinglisch.net/beta
I believe you can use it for 7 days before it asks for the order validation.
Oh and great post.
Sent from my PC36100 using XDA
and if you buy Tasker from the developer's site directly, you save a little more.
Tasker is incredible. Pent (the developer) built a similar app for the old Palm OS that I couldn't live without.
If you take the time to really learn how to use it, it becomes indispensable. Unfortunately, I have not really had that time yet, so I've just been dabbling.
Combing it with the "execute" plugin, gives you some amazing power.
arcadia2uk said:
Very nice and informative work, but for $16+ (Tasker $6.26, Locale $9.99 (required for the plug-in)) I guess I'll stand over this one.
Click to expand...
Click to collapse
the locale plug-in is free and tasker can use it.. thus you dont need locale.. tasker is amazing..
when i test the blinking ones, they dont seem to stop blinking... seriously, there is not an exit task for received text message and the wimax led wont stop blinking
you have to send another trigger set to 0.
What I did at first was had the screen on trigger reset the LED, but I noticed a slight delay on my device.
Instead I set the new trigger to a "New Window" Now, anything I tap on the device will disable the LED. It's been working great.
FYI - for the Flash trigger I mentioned, I set the screen brightness to a change from 0-4 and if I place my phone face down on my desk - then if anyone picks it up it will trigger the flash. Now all I need is a camera sound file .
is this right? because i can't get the amber light to stay on and the green light to flash..
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I get an FC if I try two commands in the same window. Just create two Execute Tasks.
Also, keep in mind that the system uses the left LED
flashing green - notification alert
flashing red - overheat
So, you may lose control of these if something else comes up.
sw99 said:
I get an FC if I try two commands in the same window. Just create to Execute Tasks.
Also, keep in mind that the system uses the left LED
flashing green - notification alert
flashing red - overheat
So, you may lose control of these if something else comes up.
Click to expand...
Click to collapse
I also get a fc..
i tried to set the event "missed call" to make the wimax led stay red, but the left led would just flash green, not sure what i did wrong
Here are my steps..
create new profile and select "missed call" as event
set priority to highest and long press and select any caller
add task, select plugin, select execute and write this in the text box
hit test til i see allow super user, hit allow, hit test till the led comes on (red), hit ok
create another profile to reset the led to off.. select event, system (or ui; dont remember), new window
add task, select plugin, select execute, and write this in the text box
hit test til i hit allow for superuser, then hit test till the led goes off, press ok, then hit done
these are the two profiles..
now I call myself from another phone, let it ring and only the left led flashes green, once i have missed the call..
sw99 said:
Important: You must "Test" the task once or twice and wait for the Superuser permissions to trigger, otherwise the task will not execute. You will need to do this for each task you create using this plugin.
One thing to note, using the commands above trigger a single event. If the system triggers an event that uses the LED you are using (e.g. charging the device) it will override your setting. However, you can also override the system trigger (trigger after charger is plugged in).
Setting this up correctly in Tasker, will allow you to do cool things like automatically turning off all LEDs when you start a Video, set your own alerts or trigger the flash if someone picks up your phone (to scare them), etc.
Feel free to add your own suggestions, or add anything I missed.
Click to expand...
Click to collapse
Anyway you may be able to post your profile settings so one can see how you setup Tasker to work as you did? I'm having some trouble on figuring out what events to trigger the button to flash and what to trigger to turn off the flashing. Thanks man Great work btw though!
Igzekyativ said:
I also get a fc..
i tried to set the event "missed call" to make the wimax led stay red, but the left led would just flash green, not sure what i did wrong
now I call myself from another phone, let it ring and only the left led flashes green, once i have missed the call..
Click to expand...
Click to collapse
I believe you have to set it to State- Missed Call, not Event- Missed Call. It's confusing, but Tasker treats Events and States differently. Events are single points in time, whereas States are ongoing (so you can have exit tasks). Here's my Profile, just import it and it should work.
Wow this is awesome! Great post, now my day will consist of messing with the phone!!!
Mine works fine as an event, but I couldn't get it to work as a state - the notification bar showed the state, but nothing triggered.
In any case, here are my profiles for messages, calls and calendar events.
Also, I left the "Caller" field empty and left priority at Normal.
antiphon said:
I believe you have to set it to State- Missed Call, not Event- Missed Call. It's confusing, but Tasker treats Events and States differently. Events are single points in time, whereas States are ongoing (so you can have exit tasks). Here's my Profile, just import it and it should work.
Click to expand...
Click to collapse
Where on the SD do you put the .xml to import it... I hit import a profile and I get a box that says "File Select" with a cancel button, but nowhere/way to select a file..
/tasker/profiles
sw99 said:
/tasker/profiles
Click to expand...
Click to collapse
thank you.
I'm having a hell of a time getting the capacitive leds to flash with a new sms... would one of you tasker pro's create a profile to flash the capactive leds when I have a new text?
That would be very cool of you.
Thanks.
they don't flash. you can only turn them on and off. I would not suggest trying to flash them using a loop in tasker - using software to flash the lights rather than hardware will be a much larger battery drain
Also, I don't know about you, but I cannot tell if they are lit unless I am in a fairly dark area.

Tasker Profiles

What's your favorite Tasker profile?
Mine are
1. wifi auto off and on depending on which cell tower I'm connected to.
2.automatic screen shade depending on light sensor % bye bye screen filter.
3. media selection popup upon headphone plug in.
4.pocket mode phone screen off and vibrate on when phone put in to pocket headphone jack first.
Feel free to share ideas I just started using it my self and don't know much.
Here is a good read :
http://forum.xda-developers.com/showthread.php?t=1110775
Link to my tasker profiles: https://docs.google.com/folder/d/0B_iZBWQpaR0RLWM1SzItYVZPYWc/edit?usp=sharing
To import add profiles to sdcard/tasker/profiles
Then in tasker long press profiles tab and then import.
Sent from my SAMSUNG-SGH-I997 using xda app-developers app
Kind of hard to believe no one has any tasker profiles or ideas
Sent from my SAMSUNG-SGH-I997 using xda app-developers app
1. Silence notifications while I'm sleeping
2. Max volume & brightness when in car dock
3. Auto volume setting when plugging in headphones
It's always interesting to see what others are doing.
1. wifi auto off and on depending on which cell tower I'm connected to.
Click to expand...
Click to collapse
I have that, except, it only disconnects if %WIFI !~ connect*.... prevents dropouts due to intermittent tower signal when I’m connected.
Some other stuff I have:
Battery low warnings: vibrate/notify at 40%, audible/nofify at 30%, 20%, 10% (if silent is off).
Sync newsrob news reader at 3AM every morning (while I’m sleeping). Turns wifi on beforehand and off afterwards. This takes awhile... better to take care of it while I’m sleeping.
Turn on Display Rotation for Apps that needs it (my webbrowser, youtube, etc). On exit task Display rotation is turned off (saves battery to keep it off).
At 10:50AM every morning it pops up a message asking if I want to reboot. If I do not respond, nothing happens. I think it’s good to reboot every once in awhile for general principle and this is a time when I’m likely to have my phone on my desk at work, but not using it. Also reminds me it’s almost lunch time. Also if I tap the widget it sends another text and updates the value on the widget based on response.
At 11:00 AM every morning, it sends a text message to AT&T asking for my data usage for the month. Upon receipt of the message, it is parsed and the result is posted to a widget label on my home screen so I know how much I’ve used this month. Note that 11:00AM central time is a good check, other times of day the info you receive from AT&T may not be up to date.
When data is on I place a permanent notification to remind me that it is on. Notification goes away when data is turned off.
When screen goess off and not back on within a short period, I turn data off (to save data and battery) and turn display rotate off.
Battery % display widget in my dock – update every 5 minutes while screen is on. Color changes depending on level (green 75 – 100%, blue 50-75%, yellow 25-50%, red 0-25%. This also uses Zoom widgets (works nice with Tasker)
Screen Brightness level display in my dock. Tap to pull up menu to change brightness level and adjust mode between manual and auto (auto is also based on Tasker sensing light level). If brightness level is set above 40%, the displayed brightness number turns red and I get a perfmanent notification (so I don’t leave it on high). This also uses Zoom widgets.
Flaghlight widget. Tap to start flashlight. Then it asks me every 30 seconds if I want to leave flashlight on... if no response then it turns flashlight off (prevents forgetting and leaving it on).
Keyguard management. Turns on after a time delay whenever screen goes off away from home. Turns off keyguard whenever I enter key pattern (so I’m either at home in which case it’ll stay on after the first time I enter key pattern, or I’m on the road in which case it’ll turn back off when my screen goes off). Zoom widget has one letter H or A indicating whether my phone thinks I’m home or away (based on cell towers). Zoom widget has another letter H or A indicating how my keyguard is managed currently (home behavior or away behavior). Both letters change together, unless I tap the 2nd A while away to toggle it to H.. That indicates I have disabled keyguard on the road. A red permanent notification also appears. This is an original approach that I conceived/built although I drew ideas from the wiki
Profile which senses when I have a meeting on my calendar and automatically adjust my phone to “vibrate” mode so there will be no noises coming from my phone during meetings. By the way, I also forward all my incoming work emails to my Gmail account, which promptly stuffs them in a special folder. That way 1- I can quickly check incoming work emails from gmail 2 – all outlook meeting invites coming into my work email appear on my gmail calendar which is reflect in my phone calendar and triggers the profile. I actually don’t have a good working pre-meeting 10-minute reminder yet. Gmail’s doesn’t seem to work for me. Maybe I will do that in Tasker when I get a chance. This is a copy of someone else’s idea.
Every night before I go to sleep I press a button tell Tasker I’m going to sleep and in the morning when I get up I press another widget to tel Tasker I’m up. The sleep button sets Display Rotation off, sets wifi off, sets silent mode on, checks if I’m on charger and reminds me to put phone on charger. The awake button sets wifi on, sets silent mode off, syncs my google accounts (synker).
The wakeup task also sends a text message to google asking for weather in my hometown. Upon receipt of response, it populates a zoom widget on my homescreen with the weather/forecast. Also tapping that widget updates the forecast (via text). This is an original that I conceived/built.
For the weather widget and at&t data widget that both receive text messages... upon receipt of appropriate text message I use auto-shortcut to take me to the associated message. That way after I press a single back key, the incoming message notification is cleared. I could press back using built-in Tasker functions which would make it fully automatic, but that requires leaving USB debugging on, which makes me uneasy.
I have an “app” built in tasker that generates a transparent scene over everything else displaying battery level and temperature. Useful in the single situation that you are using navigation in the car and possibly charging.. keeping a close eye on battery level and temperature. This is an original that I conceived/built.
I also have a floating compass that floats over everything else. Useful with Navfree, whose display doesn’t give any clue which direction is north while navigating (the top of the map points in the direction you are traveling which may not be north). Requires SL4a and Python. This is an original that I conceived/built, with help from others on the Tasker google groups to figure out how to get the compass direction in Tasker
I have widgets to remember a parking space and launch Locus Pro to navigate back. Copied from somehwere.
I have profile to take/email photograph from front camera when someone enters the wrong unlock code. Copied from Android forums.
I have a profile to give a small tone whenever a call terminates. That is very helpful if you spend a lot of time on weak connections. You can keep talking after a call is dropped if you dont realize it. And knowing there will be a tone at end of call keeps you from asking "are you still there" during longer than normal pauses in the conversation. Copied from Android Forums. Very useful to me.
I have a widget that tells how many Tasker tasks are currently running. Tapping on it lists the tasks. Usually it doesn’t stay above zero for long. It allows me to recognize if a task has gone haywire. It complements nicely the display of active profiles which are listed in the pulldown notification. This is an original that I conceived/built.
electricpete1 said:
It's always interesting to see what others are doing.
I have that, except, it only disconnects if %WIFI !~ connect*.... prevents dropouts due to intermittent tower signal when I’m connected.
Some other stuff I have:
Battery low warnings: vibrate/notify at 40%, audible/nofify at 30%, 20%, 10% (if silent is off).
Sync newsrob news reader at 3AM every morning (while I’m sleeping). Turns wifi on beforehand and off afterwards. This takes awhile... better to take care of it while I’m sleeping.
Turn on Display Rotation for Apps that needs it (my webbrowser, youtube, etc). On exit task Display rotation is turned off (saves battery to keep it off).
At 10:50AM every morning it pops up a message asking if I want to reboot. If I do not respond, nothing happens. I think it’s good to reboot every once in awhile for general principle and this is a time when I’m likely to have my phone on my desk at work, but not using it. Also reminds me it’s almost lunch time. Also if I tap the widget it sends another text and updates the value on the widget based on response.
At 11:00 AM every morning, it sends a text message to AT&T asking for my data usage for the month. Upon receipt of the message, it is parsed and the result is posted to a widget label on my home screen so I know how much I’ve used this month. Note that 11:00AM central time is a good check, other times of day the info you receive from AT&T may not be up to date.
When data is on I place a permanent notification to remind me that it is on. Notification goes away when data is turned off.
When screen goess off and not back on within a short period, I turn data off (to save data and battery) and turn display rotate off.
Battery % display widget in my dock – update every 5 minutes while screen is on. Color changes depending on level (green 75 – 100%, blue 50-75%, yellow 25-50%, red 0-25%. This also uses Zoom widgets (works nice with Tasker)
Screen Brightness level display in my dock. Tap to pull up menu to change brightness level and adjust mode between manual and auto (auto is also based on Tasker sensing light level). If brightness level is set above 40%, the displayed brightness number turns red and I get a perfmanent notification (so I don’t leave it on high). This also uses Zoom widgets.
Flaghlight widget. Tap to start flashlight. Then it asks me every 30 seconds if I want to leave flashlight on... if no response then it turns flashlight off (prevents forgetting and leaving it on).
Keyguard management. Turns on after a time delay whenever screen goes off away from home. Turns off keyguard whenever I enter key pattern (so I’m either at home in which case it’ll stay on after the first time I enter key pattern, or I’m on the road in which case it’ll turn back off when my screen goes off). Zoom widget has one letter H or A indicating whether my phone thinks I’m home or away (based on cell towers). Zoom widget has another letter H or A indicating how my keyguard is managed currently (home behavior or away behavior). Both letters change together, unless I tap the 2nd A while away to toggle it to H.. That indicates I have disabled keyguard on the road. A red permanent notification also appears. This is an original approach that I conceived/built although I drew ideas from the wiki
Profile which senses when I have a meeting on my calendar and automatically adjust my phone to “vibrate” mode so there will be no noises coming from my phone during meetings. By the way, I also forward all my incoming work emails to my Gmail account, which promptly stuffs them in a special folder. That way 1- I can quickly check incoming work emails from gmail 2 – all outlook meeting invites coming into my work email appear on my gmail calendar which is reflect in my phone calendar and triggers the profile. I actually don’t have a good working pre-meeting 10-minute reminder yet. Gmail’s doesn’t seem to work for me. Maybe I will do that in Tasker when I get a chance. This is a copy of someone else’s idea.
Every night before I go to sleep I press a button tell Tasker I’m going to sleep and in the morning when I get up I press another widget to tel Tasker I’m up. The sleep button sets Display Rotation off, sets wifi off, sets silent mode on, checks if I’m on charger and reminds me to put phone on charger. The awake button sets wifi on, sets silent mode off, syncs my google accounts (synker).
The wakeup task also sends a text message to google asking for weather in my hometown. Upon receipt of response, it populates a zoom widget on my homescreen with the weather/forecast. Also tapping that widget updates the forecast (via text). This is an original that I conceived/built.
For the weather widget and at&t data widget that both receive text messages... upon receipt of appropriate text message I use auto-shortcut to take me to the associated message. That way after I press a single back key, the incoming message notification is cleared. I could press back using built-in Tasker functions which would make it fully automatic, but that requires leaving USB debugging on, which makes me uneasy.
I have an “app” built in tasker that generates a transparent scene over everything else displaying battery level and temperature. Useful in the single situation that you are using navigation in the car and possibly charging.. keeping a close eye on battery level and temperature. This is an original that I conceived/built.
I also have a floating compass that floats over everything else. Useful with Navfree, whose display doesn’t give any clue which direction is north while navigating (the top of the map points in the direction you are traveling which may not be north). Requires SL4a and Python. This is an original that I conceived/built, with help from others on the Tasker google groups to figure out how to get the compass direction in Tasker
I have widgets to remember a parking space and launch Locus Pro to navigate back. Copied from somehwere.
I have profile to take/email photograph from front camera when someone enters the wrong unlock code. Copied from Android forums.
I have a profile to give a small tone whenever a call terminates. That is very helpful if you spend a lot of time on weak connections. You can keep talking after a call is dropped if you dont realize it. And knowing there will be a tone at end of call keeps you from asking "are you still there" during longer than normal pauses in the conversation. Copied from Android Forums. Very useful to me.
I have a widget that tells how many Tasker tasks are currently running. Tapping on it lists the tasks. Usually it doesn’t stay above zero for long. It allows me to recognize if a task has gone haywire. It complements nicely the display of active profiles which are listed in the pulldown notification. This is an original that I conceived/built.
Click to expand...
Click to collapse
All I can say is wow
Would you mind exporting your profiles for download
Sent from my SGH-I997 using xda app-developers app
Thanks. Exporting can be a little tricky for a variety of reasons. We have choice of two formats: human-readible text (which can't import into tasker) and tasker-readable xml (which resembles gibberish to humans). And what I've described encompasses a large number of profiles, tasks, and scenes. Could export a project tab on a few if you'd like. Sometimes importing a project tab causes bizarre conflict of same-named scenes ... at least I've had that experience.
So, if you could identify one or two that you're interested in, I can work on exporting/presenting those.
Meantime, some stuff I've already organized (?) for presentation:
1 - A rambling youtube video. First five minutes is sort of beginners guide to tasker using screen-off / data off profile as example. Next 4 minutes is rambling wander through some of my profiles. Last minute for some reason I decided to show off my holo launcher dock widgets. I did not yet have my tasker/zoom-based widgets for battery% and screen brightness in place yet at the time I made that video.
http://www.youtube.com/watch?v=il5EAKkMgGI
2 - Floating battery monitor (% and temp) - intended to float over top of navigation program while navigating/charging
http://forum.xda-developers.com/showthread.php?t=1890710
By the way I have a new version of that, just haven't posted it there yet. Maybe a good job for someday.
Some general philsophy about Tasker fwiw: A lot of the things I do with tasker can be done with other programs/widgets. But I tend to think it's more efficient to minimize the number of programs in the category of widgets (which is continuously running process) and things that monitor for chage in state. They all use resources. Tasker uses resources as well but if we only use Tasker and Zoom for these types of things I think it's better. And sot of fun (that's probably the real reason). I'd have to say not more efficient in terms of time. For anyone considering buying Tasker I would mention it's not likely you're just going to grab a bunch of profiles and have them easily imported/running. There are often tweaks needed based on phone type and interaction among the various profiles.
Great video
Sent from my SGH-I997 using xda app-developers app
Notification/Ringer Volumes
I just recently picked up a Verizon S4, and I'm trying to figure out how to make tasker "link" my notification volume with my ringer volume, so they will both change using the rocker. Any help?
---------- Post added at 07:42 PM ---------- Previous post was at 07:30 PM ----------
Xxw0lfxX said:
I just recently picked up a Verizon S4, and I'm trying to figure out how to make tasker "link" my notification volume with my ringer volume, so they will both change using the rocker. Any help?
Click to expand...
Click to collapse
Sorry, I wrote this question in the wrong device thread. I didn't notice that when replying from my mobile browser
Sent from my Verizon Wireless Galaxy S4 using Tapatalk 4 beta.
1) I have created a profile that whenever i am sleeping phone goes in smart slient mode, if some vip numbers call my phone is back in ringer mode.
2) during some duration of the day my phone speaks the name of the caller instead of ringing. if not a known caller than it rings.
3) integrated it with LMT launcher and made a profile like double swipe up and all volumes are at max. double swipe down all are at minimum.
4) wave your phone and it takes a screenshot. ( you can change the context to any thing.)
5) if i missed a particular number 5 times in continuity than send him a custom message.
6) Phone says "missed call" at regular interval e.g 30 min
7) Phone says "battery full" when charged, battery low alert when below 20%.
8) Phone says "AC/USB Charging" when plugged in AC and USB respectively. and at removal is says AC|USB removed.
That sounds like a pretty neat setup you have there
Sent from my Verizon Wireless Galaxy S4 using Tapatalk 4 beta.
Inspirational quotes on home screen
I made a tasker profile to show inspirational quotes every hour on home screen.
For this I made a text file containing more than 100 quotes, each seperated by "/" for seperating and identifying an individual quote.
Then picking up any quote randomly and pushing it to "Minimalistic Text" tasker plugin.
For displaying on screen I used "Minimalistic Text".
Profile:
Profile: Insp Quotes
State: Battery Level [ From:20 To:100 ]
Time: From 06:35 Till 22:35
Enter: Insp Quotes // This is the task
Task: Insp Quotes
A1: Perform Task [ Name:Inspiration Stopff Priority:5 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: ]
A2: Wait [ MS:0 Seconds:0 Minutes:0 Hours:1 Days:0 ]
A3: Goto [ Type:Action Number Number:1 Label: ]
Task: Inspiration
A1: Read File [ File:/sdcard/Download/insp.txt To Var:%Insptext ]
A2: Variable Split [ Name:%Insptext Splitter:/ Delete Baseff ]
A3: Variable Set [ Name:%Insprandom To:%Insptext(#) Do Mathsff Appendff ]
A4: Variable Randomize [ Name:%Insptextno Min:1 Max:%Insprandom ]
A5: Variable Set [ Name:%Inspsugg To:%Insptext(%Insptextno) Do Mathsff Appendff ]
A6: Minimalistic Text [ Configuration:insp = %Inspsugg Package:de.devmil.minimaltext Name:Minimalistic Text ]
I hope you will like the idea
Thanks
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
rahul70236 said:
1) I have created a profile that whenever i am sleeping phone goes in smart slient mode, if some vip numbers call my phone is back in ringer mode.
2) during some duration of the day my phone speaks the name of the caller instead of ringing. if not a known caller than it rings.
3) integrated it with LMT launcher and made a profile like double swipe up and all volumes are at max. double swipe down all are at minimum.
4) wave your phone and it takes a screenshot. ( you can change the context to any thing.)
5) if i missed a particular number 5 times in continuity than send him a custom message.
6) Phone says "missed call" at regular interval e.g 30 min
7) Phone says "battery full" when charged, battery low alert when below 20%.
8) Phone says "AC/USB Charging" when plugged in AC and USB respectively. and at removal is says AC|USB removed.
Click to expand...
Click to collapse
Hey,
Some of your profiles soun pretty awesome, is asking too much, for you to export them and share?
Thank you
need some help seeting up car profiles pls!
Hello, need some help setting up the following actions in Tasker. I use a tablet (Android 4.0.4) only for in car use and have some problems setting tasker profiles. It should be something like this:
For state power on (charging any) do the following tasks:
1. Disable keyguard
2. Issue a play command to the media app, only if music is not playing already (will come back why I need this latter on) - now I'm using Media Utilities plugin with Smart play (which should do that but it doesn't ... sometimes it sends the play even if the music is already playing, or will send the play command to the built-in media player instead to JetAudio which is the default set media player in android and in media utilities)
3. Turn GPS on, using now secure settings plugin - works great
4. Turn Bluetooth on - works
For State Power off (not charging any) do the following:
1. Turn keyguard on (enable)
2. Wait 12 seconds
3. IF keyguard on >>>
3.1 Stop media (using tasker built in media actions)
3.2 Disable GPS (secure settings plugin)
3.3 Disable bluetooth
3.4 System Lock
4 END IF
Everything works just great UNTIL ... I go in the car, turn the ignition ON ... the power ON profile starts than when I crank the engine, the car cuts the power to any accesories including car phone charger. The power off profile starts and waits 12 seconds before stoping music, gps, etc.
Than the car starts (before those 12 seconds run up) and the phone charger receives power, and the power on profile comes back. I have a higher priority for the power on profile so, the power off profile is aborted and the power on starts again ... but here the problems start: Either the music is stopped (because another play is issued from the power on profile, and the media app thinks it's pause even with smart play command from media utilities) or the default android player is started and the jet audio it's stopped because the play command is send to the build in media player app.
what I would like is
- a shure tested way for tasker to check if any media it's being played, and if it is, abort the play command (tried %MTRACK with flash but could not set it up to work, got the same problems as above)
- some other ideas how to hack, workaround, create a better flow in my profiles to avoid interruptions in those 10-15 seconds while the tablet's charger is cut off by the car, when the car;s engine starts up.
thank you

[APP][2.2+] Call Filter Alarm - Choose who can wake you!

Call Filter Alarm - Choose who can wake you!
Do you use your smartphone as alarm? Do you want only certain people to contact you while sleeping?
If you simply leave your smartphone turned on, you risk that anybody can wake you up, or... you use Call Filter Alarm!
Using this innovative app, you can define all the alarms you need with the possibility to specify, for every single alarm, who can call you, shutting up all other calls / sms notifications and intelligently manage wifi activation / deactivation, data usage, offline mode.
How it works:
- Define the alarm
- Choose who can call you (if needed)
- Before going to sleep, enable sleep mode
Your phone will ring only for who you decided. Other calls / sms will happen in silent mode and you will be able to see them as lost when you will wake up.
I think it may be useful for who, for example, works the night shift or is often away from home and wants to be able to receive, while sleeping, only calls from his dear ones.
In addition to the particular call and sms filters feature, using Call Filter Alarm you can:
- Intelligently manage wifi activation / deactivation, data usage, offline mode, silent mode with a single button: the sleep mode
- Personalize sleep mode as you want
- Set tone, volume and vibration for allowed call and allowed sms
- Set volume, volume increment, snooze, tone (music or ringtone), vibration for every single alarm in addition to application level
- Daily alarm repetition
- Incremental alarm volume
- Multilanguage (English and Italian now available)
It's simple, immediate and extremely effective.
Call Filter Alarm is available in english and italian, has been downloaded 4400+ times and its current average rating is 4.7/5 (92 ratings)
Want to stay updated with the development ? Follow on G+
For more informations and download:
Call Filter Alarm - Play Store
Please feel free to check it out and let me know if you have suggestions, comments or simply if you like it!
Thank you!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
suggestion
can u make an automatic option like
enable automatic sleep mode from set hour to set hour (or wake up time)?
...bc there are times a sleep before to remember to activate the sleep option !
Finally someone has made an app for this!
I've been using tasker for this function, but I can't get that to function 100% perfectly.
I have some suggestions that would make the program perfect in my opinion:
- Tasker integration would be nice. Right now my 'sleep mode' is activated automatically when the phone is charging, if it's dark in the room and if it's after 10pm. It is deactivated when i press the 'stop alarm' button when my alarm goes off. It would be great if tasker could enable and disable your app's sleep mode as well.
- An option that when contacts on the white list call you during sleep mode, your phone does not ring, but your phone automatically sends a custom text saying something like: 'this person is now asleep and his phone is muted, you can wake him up in case of an emergency by texting the word 'alarm''.
When a whitelisted person sends you a text saying 'alarm', it triggers the alarm from the app. This way, a whitelisted person won't wake you up by accident.
Keep up the great work!
Pathbreaking, innovative and an awesome app!
Nice work bro, I too had been using tasker earlier, but you really made me overwhelmed by making this app,
P.S : Hope to see more greater app like this!
If I use an external app for my alarms (Sleep as Android) can I use this in conjunction with my other app?
This is awesome <3
painy said:
- An option that when contacts on the white list call you during sleep mode, your phone does not ring, but your phone automatically sends a custom text saying something like: 'this person is now asleep and his phone is muted, you can wake him up in case of an emergency by texting the word 'alarm''.
When a whitelisted person sends you a text saying 'alarm', it triggers the alarm from the app. This way, a whitelisted person won't wake you up by accident.
Keep up the great work!
Click to expand...
Click to collapse
+1
I came to this thread to suggest a similar thing, but painy beat me to it.
It would really be awesome if one could preset an SMS being sent to the caller, with custom text.
My solution for emergencies would be for the app to allow the call to be heard if it reoccurs within some preset time. An option for an automated SMS like
"Your call has been silenced because... In case of emergency, call again within ... minutes and the call will be allowed to go through."
would be great.
Moreover, instead of whitelisting, being able to blacklist callers seems to make more sense, as people unknown to you are not likely to disturb you during sleep for trivial matters, in contrast to your closest ones.
Seems like a great app, although usage for some days will verify it's reliability. Keep up the good work!
MAdbUSU said:
can u make an automatic option like
enable automatic sleep mode from set hour to set hour (or wake up time)?
...bc there are times a sleep before to remember to activate the sleep option !
Click to expand...
Click to collapse
Hi! Surely the automatic activation would be a useful thing and it would be much appreciated. The problem, however, is that the only source of "support" of Call Filter Alarm is advertising and not passing through the screen to activate the sleep mode, this source would be less.
I'm still considering the publication of a pro version (paid and ad free) which may contain, among other innovations of this type (eg widget), what you have requested.
Thanks for your suggestion!
Piz Android
painy said:
Finally someone has made an app for this!
I've been using tasker for this function, but I can't get that to function 100% perfectly.
I have some suggestions that would make the program perfect in my opinion:
- Tasker integration would be nice. Right now my 'sleep mode' is activated automatically when the phone is charging, if it's dark in the room and if it's after 10pm. It is deactivated when i press the 'stop alarm' button when my alarm goes off. It would be great if tasker could enable and disable your app's sleep mode as well.
Click to expand...
Click to collapse
I don't know Tasker... I'll take a look!
painy said:
- An option that when contacts on the white list call you during sleep mode, your phone does not ring, but your phone automatically sends a custom text saying something like: 'this person is now asleep and his phone is muted, you can wake him up in case of an emergency by texting the word 'alarm''.
When a whitelisted person sends you a text saying 'alarm', it triggers the alarm from the app. This way, a whitelisted person won't wake you up by accident.
Click to expand...
Click to collapse
Wow! This is a very good suggestion! Ok, this will be the next feature I'll work on! :good:
painy said:
Keep up the great work!
Click to expand...
Click to collapse
Sure!
Piz Android
Theawesomeguy4 said:
Pathbreaking, innovative and an awesome app!
Nice work bro, I too had been using tasker earlier, but you really made me overwhelmed by making this app,
P.S : Hope to see more greater app like this!
Click to expand...
Click to collapse
Thanks man! Posts like yours are a great incentive!
another suggestion
painy said:
Finally someone has made an app for this!
- An option that when contacts on the white list call you during sleep mode, your phone does not ring, but your phone automatically sends a custom text saying something like: 'this person is now asleep and his phone is muted, you can wake him up in case of an emergency by texting the word 'alarm''.
When a whitelisted person sends you a text saying 'alarm', it triggers the alarm from the app. This way, a whitelisted person won't wake you up by accident.
Keep up the great work!
Click to expand...
Click to collapse
not sure if sms back will be so great if some1 want to mess around call u like 100 times / night your phone will send back 100sms to him....and most off all i don' t wanna let ppl knows i sleep .
my suggestion it's if some1 who's not in your white list and he really want to talk with you he will try to call like 2-3 times repeatably only after second call, the call to pass thru and your phone should ring normally.
keep in mind it's just suggestions.
Btw, in some next future updates, can you modify and repolish the ui of it?
Use without alarm?
Is it possible to use this app without using the alarm? I have a standalone alarm clock I like to use, but would still like to use the features of this app. Thanks!
painy said:
Finally someone has made an app for this!
- An option that when contacts on the white list call you during sleep mode, your phone does not ring, but your phone automatically sends a custom text saying something like: 'this person is now asleep and his phone is muted, you can wake him up in case of an emergency by texting the word 'alarm''.
When a whitelisted person sends you a text saying 'alarm', it triggers the alarm from the app. This way, a whitelisted person won't wake you up by accident.
Keep up the great work!
Click to expand...
Click to collapse
Metallaxis said:
+1
I came to this thread to suggest a similar thing, but painy beat me to it.
It would really be awesome if one could preset an SMS being sent to the caller, with custom text.
My solution for emergencies would be for the app to allow the call to be heard if it reoccurs within some preset time. An option for an automated SMS like
"Your call has been silenced because... In case of emergency, call again within ... minutes and the call will be allowed to go through."
would be great.
Moreover, instead of whitelisting, being able to blacklist callers seems to make more sense, as people unknown to you are not likely to disturb you during sleep for trivial matters, in contrast to your closest ones.
Seems like a great app, although usage for some days will verify it's reliability. Keep up the good work!
Click to expand...
Click to collapse
MAdbUSU said:
not sure if sms back will be so great if some1 want to mess around call u like 100 times / night your phone will send back 100sms to him....and most off all i don' t wanna let ppl knows i sleep .
my suggestion it's if some1 who's not in your white list and he really want to talk with you he will try to call like 2-3 times repeatably only after second call, the call to pass thru and your phone should ring normally.
keep in mind it's just suggestions.
Click to expand...
Click to collapse
This feaure could become very interesting. Will think on your suggestions and let you know updating the thread.
I suggest you to follow the G+ page, so you can stay updated with the development.
Thanks!
Piz Android
Great work
Sent from my Nexus 4 using Tapatalk 4
Theawesomeguy4 said:
Btw, in some next future updates, can you modify and repolish the ui of it?
Click to expand...
Click to collapse
Are you referring to the holo theme (the app in general) or to a particular view? How do you think it could be better?
Thanks
Anakha56 said:
If I use an external app for my alarms (Sleep as Android) can I use this in conjunction with my other app?
Click to expand...
Click to collapse
Now you can't. I'll think about it... You'd like to use the mixed tones of sleep as android instead of Call Filter Alarm's tones, right?
Nice App Thanks
App is pretty cool. But, was wondering, can you add a Do Not Disturb Mode, which is not connected to the alarm, and add a widget to turn it on and off.
I know there are many DND type programs, but few of them work correctly, if any. Yours does everything I need, except I don't need the alarm, so just being able to white list people to call me, would be great. Right now, I enabled an alarm that has no ringer or vibrate. When I want to DND, I have to open the app, enable the alarm, and the sleep mode. Now, that is not all that difficult or time consuming, and is definitely what I will do. But, if you can add a DND type function, and a widget, this would be ideal for me, and I think for many others.
Thanks
wiredwrx said:
App is pretty cool. But, was wondering, can you add a Do Not Disturb Mode, which is not connected to the alarm, and add a widget to turn it on and off.
I know there are many DND type programs, but few of them work correctly, if any. Yours does everything I need, except I don't need the alarm, so just being able to white list people to call me, would be great. Right now, I enabled an alarm that has no ringer or vibrate. When I want to DND, I have to open the app, enable the alarm, and the sleep mode. Now, that is not all that difficult or time consuming, and is definitely what I will do. But, if you can add a DND type function, and a widget, this would be ideal for me, and I think for many others.
Thanks
Click to expand...
Click to collapse
+1
I don't like the fact that it's tied to an alarm. Maybe I'm in a meeting and I just want urgent calls to get through. I found another good program exactly for letting white listed calls through, the rest remain silent. https://play.google.com/store/apps/details?id=com.farproc.auto.ring
---------- Post added at 01:59 AM ---------- Previous post was at 01:56 AM ----------
pizandroid said:
Now you can't. I'll think about it... You'd like to use the mixed tones of sleep as android instead of Call Filter Alarm's tones, right?
Click to expand...
Click to collapse
I think he just wants to use your app without an alarm, just for filtering calls, and sleep as android as default alarm.

Tasker Project to control Philips Hue bulbs using Ok Google commands (no root)

Tasker Project to control Philips Hue bulbs using Ok Google commands (no root)​
I've created a Tasker Project that works in conjuction with Ok Google and a few Tasker plugins to give you voice control over your Philips Hue lights, as well as some instructions for setting it up. Hope you enjoy! Apologies for the lack of links, I'm more a lurker than a poster.
(Not sure if this is the right forum for this, but mods please move it if not.)
For those who are starting from scratch wanting to do this, I'll give a short guide to how to get this up and running. If you are experienced, the gist of it is to install all the plugins, import the XML file, and configure AutoHue within the tasks.
Step 1: Prereqs
The first thing you'll need to do (after buying and setting up your Hue bulbs) is install the prerequisites:
Tasker:
($2.99)
play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
AutoVoice:
play.google.com/store/apps/details?id=com.joaomgcd.autovoice
AutoVoice Pro Unlock:
($1.57, yes you need pro)
play.google.com/store/apps/details?id=com.joaomgcd.autovoice.unlock
AutoHue:
($1.29)
play.google.com/store/apps/details?id=com.cuberob.autohue
Philips Hue:
(not required, but you'll need it if you haven't already set up your bulbs. good for testing anyway):
play.google.com/store/apps/details?id=com.philips.lighting.hue
​
Step 2: Configure AutoVoice
You'll then need to make sure you have Ok Google enabled and allow AutoVoice to intercept commands. Lifehacker has a good article on how to do this which I used, so I'll just tell you to use steps 0 and 1 from that:
lifehacker.com/how-to-create-custom-voice-commands-with-tasker-and-aut-1282209195
I also recommend in the AutoVoice app, under Google Now Integration, to check the "Only Voice" box so if you type a search for anything it doesn't accidentally trigger a profile.
Keep in mind I'm running this on a stock, rooted Nexus 6 with always listening Google Now enabled. YMMV if you have other means to trigger the voice commands. You may want to set up some dummy tasks to test your voice triggering.
Step 3: Configure Tasker
At this point you can follow the Lifehacker guide to set up some profiles, but I've provided my Tasker Project via an XML file for your convenience.
XDA doesn't accept .xml files, so I changed it to .txt
Just rename it back to .xml (it's plaintext, so by all means inspect it). You should never blindly import a stranger's Tasker profiles.
Once you're satisfied, just download and import it into Tasker (there are guides out there for this).
Step 4: Configure Tasker Profiles for your Bulbs
One at a time open the "Set Lights", "Turn off the lights", "Mood Lighting", and "Movie Mode" actions and do the following for each of the "AutoHue" Actions in each task (There are 3 in "Set Lights", 1 in the rest):
==> Select the Action
==> Tap the pencil in the rop right
==> Tap the magnifying glass and search/pair with your Hue bridge
==> Tap the button under "Light" and select the bulbs you want to be controlled
==> Tap the Check Mark in the top right
(That step seems like a lot of work, but trust me when I say it pales in comparison to setting up all of these individually)
Step 5: Test!
Once you've completed that, open a few of the tasks and press the Play button in the bottom corner to make sure they are configured right (your lights should respond accordingly). Then once you know Tasker is working right, you can try using Ok Google to trigger it. If everything was configured properly, then you're all good to go!
List of available commands I have already set up with descriptions:
These can be disabled individually by either turning the Profile switch to Off or completely deleting the Profile and Task from Tasker.
==> "Turn on the lights"
- turns on all lights to maximum brightness​==> "Turn off the lights"
- turns off all lights​==> "Dim the lights"
- dims the lights to 20%​==> "Movie Mode"
- turns off all lights except one (mine's set for the one being in the kitchen; This needs to be set up like the "Set Lights" task above.)​==> "Set the Mood"
- dims the lights and sets them red (for when you've got "company"). This needs to be set up like the "Set Lights" task above.​==> "Wake Up"
- When phone alarm goes off, slowly increases the lights from off to full with blue hue to help you wake up, then waits 10 minutes and sets the color to white​==> Increase by % (increments of 10%; range: 10%-90%)
- e.g. "increase the lights 30%"​==> Decrease by % (increments of 10%; range: 10%-90%)
- e.g. "decrease the lights 30%"​==> Set to % (increments of 10%; range: 10%-100%)
- e.g. "set the lights to 30%"​
Note: I have it configured so setting the brightness also adjusts the warmth of the light, so a dimmer light is an oranger hue (easier on the eyes in the dark; similar to f.lux.) This can be disabled by changing references to the %Sat variable under the AutoHue actions in the "Set Lights" task to 0.
Things I'll probably add in soon:
Another variable for hue to add the ability to change the color of the lights with voice commands
Individual Room Lighting Control
A Few Notes:
Let me just say that I, personally, have not developed any of the tools required to make this happen, so if you liked what I've put together here throw your money at them, not me. (You'll need to in order to make it work, anyway.)
If you have the Xposed Module installed, you can also set up AutoVoice to work from Android Wear devices (pretty cool!)
This seems pretty cool actually. need to give this a shot. the more things i can combine with Hue the better!
been playing with hue and tasker since i got it. will check yours out!
Thanks Mate!
Well tried it the moment I read this thread. Worked great! Thanks for sharing.
"Okay Google, Turn on the lights"
:highfive:
Very nice! Thank you for that. I created my own commands, resembling the scenes I have set up. For this, you have to directly connect to your bridge, create a new user and read out the color settings of your lamps with your desired scene. Whoever wants to try it:
1. Find out you Hue bridge's IP.
2. Connect to it via Browser:
Code:
http://HUE_IP/debug/clip.html
3. In the URL field within the page, enter:
Code:
http://HUE_IP/api
4. For message body, enter:
Code:
{"devicetype":"test user","username":"newdeveloper"}
This will create a user named "newdeveloper". You can choose whatever name you like.
5. Push "POST". In "Command Response", you will see something like "Error: Link button not pressed." You'll have to press the button on your bridge, then hit "POST" again. It should say "success" now.
6. Now, enter the following in the URL field:
Code:
http://HUE_IP/api/newdeveloper
Afterwards, hit "GET". You will see a list of your lights, their state and some further information.
7. Now, with your phone, start a scene that you'd like to set via your voice. Afterwards, hit "GET" again. You'll see that the state of the corresponding lights changed (except you already set the scene before).
8. Now you've got something like this:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And there are all the values you need!
9. Now go to Tasker. Hit the + Button, choose Event, then Plugin, Autovoice, Recognized.
10. Hit the Pencil next to "Configuration". Choose "Speak Filter", speak your desired command. Then hit the checkmark on the top.
11. Now select "New Task", enter a name if you like, then hit the checkmark. + Button, Plugin, Autohue, Pencil next to Configuration.
12. Now you can choose your Lights which you want to turn on and to be set. Under Command, select "Custom JSON String". In my case, it looks like this:
So, I tell the lamp to turn on ("on":true), and to set to the color I read out before ("xy":[0.5438,0.4048]).
You can also use the "bri", "hue" and "sat" variables if you like, but I prefer xy, its easier for me
EDIT: This only sets the color. You need the "bri" variable for brightness!
13. Test Command and profit! This was for a single light now. If you have different lights with different settings, just add another task for that event
I hope that this is helpful for some of.. hue
For the "wake up " setting, do I need to say "Ok Google Wake up" to enable it or does it run automatically and check for an alarm. I use the Gentle Alarm clock app if that matters.
I'm also wondering if you have anything for dimming the lights slowly? I put a hue bulb in my sons room and I'm trying to set something up for it dims slowly over 15-20mins while I read to him before he goes to bed, then turns off completely and also make sure it doesn't turn on AT all throughout the night by accident.
turokk said:
For the "wake up " setting, do I need to say "Ok Google Wake up" to enable it or does it run automatically and check for an alarm. I use the Gentle Alarm clock app if that matters.
Click to expand...
Click to collapse
It just runs automatically when an alarm is detected. I've only ever tested it with the default Google alarm, but it should theoretically work with any app, as long as that's what Tasker is detecting.
shadow321337 said:
It just runs automatically when an alarm is detected. I've only ever tested it with the default Google alarm, but it should theoretically work with any app, as long as that's what Tasker is detecting.
Click to expand...
Click to collapse
It worked perfectly with Gentle Alarm, so happy it worked.
Hey Shadow,
I have a question about the "wake up" task. Can you add more than one Variable Add? Right now it has the following after step 2 (Auto Hue)
3 Variable Add - Name %Brightness Value 5
4 Wait 485 msec
5 Goto ... etc
I'd like to do the following and tried it and it didn't work.
3 Variable Add - Name %Brightness Value 2
4 Wait 6 Minutes
5 Variable Add - Name %Brightness Value 6
6 Wait 4 minutes
7 Goto - Type Action Number Number 2
8 Wait - 10 minutes
The brightness doesn't seem to change at all form 2 to 6 value when I add an extra Variable Add. I then did a "Perform Action for step 5 and then it did a loop, where it went from Brightness 2 to Brightness 6.. but then the color was different and not blue.. so I assume the Perform Action is doing a specific call to another task with a different color.
At worst case I'll revert back to the original and just change the Variable Add brightness to 2 and leave it for 10mins then let the script run through.
turokk said:
Hey Shadow,
I have a question about the "wake up" task. Can you add more than one Variable Add? Right now it has the following after step 2 (Auto Hue)
3 Variable Add - Name %Brightness Value 5
4 Wait 485 msec
5 Goto ... etc
I'd like to do the following and tried it and it didn't work.
3 Variable Add - Name %Brightness Value 2
4 Wait 6 Minutes
5 Variable Add - Name %Brightness Value 6
6 Wait 4 minutes
7 Goto - Type Action Number Number 2
8 Wait - 10 minutes
The brightness doesn't seem to change at all form 2 to 6 value when I add an extra Variable Add. I then did a "Perform Action for step 5 and then it did a loop, where it went from Brightness 2 to Brightness 6.. but then the color was different and not blue.. so I assume the Perform Action is doing a specific call to another task with a different color.
At worst case I'll revert back to the original and just change the Variable Add brightness to 2 and leave it for 10mins then let the script run through.
Click to expand...
Click to collapse
Sorry about the late response. Real life is distracting sometimes.
What are you trying to achieve by adding an extra variable add? What you're doing should be logically making it change, but not to an extent that you'd see a practical change in lighting. If you're just looking to make it increase faster, you can increase the amount the Brightness variable is increased by, or shorten the time span between the loop iterations. Also keep in mind adding 2 or adding 6 to %Brightness isn't going to be increasing the value by that much. The value goes from 0 to 255, so adding 2 is only adding 0.78% to the total brightness level.
I try to import your profile it told me I can't because it's contain more then one profile. Any way around it. I'm new to tasker
cbetso said:
I try to import your profile it told me I can't because it's contain more then one profile. Any way around it. I'm new to tasker
Click to expand...
Click to collapse
Make sure Beginner Mode is disabled in Tasker, and then on the main screen hold-tap on the house icon in the lower left and select Import from there. It sounds like you're trying to import just a Profile, but this is a Project, which is a combination of Profiles, Tasks, and Variables.
shadow321337 said:
Make sure Beginner Mode is disabled in Tasker, and then on the main screen hold-tap on the house icon in the lower left and select Import from there. It sounds like you're trying to import just a Profile, but this is a Project, which is a combination of Profiles, Tasks, and Variables.
Click to expand...
Click to collapse
Thanks that work
I can't get it to dim or brighten
cbetso said:
I can't get it to dim or brighten
Click to expand...
Click to collapse
Does it work running the Tasker commands from within Tasker? Or does it just not work via voice?
It don't work with in tasker or by voice
cbetso said:
It don't work with in tasker or by voice
Click to expand...
Click to collapse
Make sure you follow the steps properly and remember that the commands are pre-set to be telling the lights what to do based on MY setup. Yours WILL vary and you'll have to change some things around to make it work perfectly for you. I've detailed how to do that in Step 4.
shadow321337 said:
Make sure you follow the steps properly and remember that the commands are pre-set to be telling the lights what to do based on MY setup. Yours WILL vary and you'll have to change some things around to make it work perfectly for you. I've detailed how to do that in Step 4.
Click to expand...
Click to collapse
I can't find "set lights" under profiles. It showed up for me once under "tasks" but then I messed stuff up so I deleted the project.
When I re-added it, nothing showed up under tasks.
Help? Thanks for your hard work! I can't wait to enjoy this.
EDIT: Fixed it! Was using the wrong voice commands
benblb said:
I can't find "set lights" under profiles. It showed up for me once under "tasks" but then I messed stuff up so I deleted the project.
When I re-added it, nothing showed up under tasks.
Help? Thanks for your hard work! I can't wait to enjoy this.
Click to expand...
Click to collapse
That's really strange. You deleted the entire project and re-imported it? I'm not sure if that's a bug with Tasker or something, but it should allow you to re-import everything. There are like 35 tasks in the project, "Set Lights" being one. It should be under tasks, not profiles. You might try renaming the xml file to see if it will re-import with a different name and get everything. Or try adding and removing it a few times with the different options of "Delete Contents" or "Keep Contents" and see if one of them works. Beyond that or completely resetting Tasker I'm not too sure how to get it back if re-importing doesn't get it.
shadow321337 said:
That's really strange. You deleted the entire project and re-imported it? I'm not sure if that's a bug with Tasker or something, but it should allow you to re-import everything. There are like 35 tasks in the project, "Set Lights" being one. It should be under tasks, not profiles. You might try renaming the xml file to see if it will re-import with a different name and get everything. Or try adding and removing it a few times with the different options of "Delete Contents" or "Keep Contents" and see if one of them works. Beyond that or completely resetting Tasker I'm not too sure how to get it back if re-importing doesn't get it.
Click to expand...
Click to collapse
I got around this by choosing a random profile like "turn on the lights" and expanding it. Then I pressed and held the task, and replaced it with "set lights". I activated the AutoHue parts, and then switched it back.
In addition, I was using incorrect voice commands. All better now!
Do you know how to disable to toast that pops up telling me that a possible command has been detected? It now shows up no matter what I search by voice.
Thanks for such a fast reply!

Categories

Resources