yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Muzikant:
I can give you two examples that will utilize this new trigger.

First example:

Define a set of two rules - one that executes every hour and turns on mobile data (to allow sync of mail and other things). You can use the "Rule Active Hours" feature so it will only be active between 7:00 AM and 11:00 PM. The second rule also executes every hour but starts at 7:05 AM. Having these two rules will minimize the data usage and will probably save you a lot of battery.

Second Example:

Again, a set of two rules - the first executes every hour and turns on Wifi. The second triggers when Wifi is turned on and turns it off with a delay of 1 minute, unless any network is connected. This will be used as a "Wifi detector" and will not constantly scan for Wifi networks available.
[Android Apps and Games] cyborgas:
Thanks Muzikant, i use this in my daily basis. I did not knew you were here in XDA.

Thanks again...
[Android Apps and Games] Aganar:
Hey there Muzikant,

The rules seem to work when the GPS location works, but when it defaults to Wifi location, the program seems to think I'm several miles east of where I actually am. Any idea why that would be? I'm attaching a log for you to take a look at.

The other thing I don't understand is, even if my location was right first and then it was borked, why didn't the wifi turn off when it thought I was somewhere else?
[Android Apps and Games] kinnerful:
Hi Muzikant,

Is it possible to use AutomateIt as a timer? I tried manual trigger+delayed execution, but it didn't work.
[Android Apps and Games] ColonyDude:
I can not get the WIFI to stay on. It always turns off after 1 minute.

I have the triggers set to:

Wifi adapter status set to Wi-Fi Enabled

Network [<Any Network>] is Disconnected. - I think this is my issue.

Thanks
[Android Apps and Games] c00ller:
ColonyDude, not sure why your triggers are set up like that, but have you tried changing your WiFi sleep policy? Go to Settings > Wireless & networks > Wi-Fi Settings > Press menu > Advanced > set Wi-Fi sleep policy to Never
[Android Apps and Games] ColonyDude:
I was trying to implement Muzikant's 2nd example in post 782.
[Android Apps and Games] c00ller:
Ah, I thought that was a compound trigger of some sort... I think you meant your first action is Wi-Fi status set to enabled (and the first trigger is some defined time), and your second trigger is Network disconnected.
[Android Apps and Games] ColonyDude:
Let's see if I can say this better then.

Turning on WIFI is easy.

I can not get the WIFI to stay on. It always turns off after 1 minute.

Compound trigger:

Wifi adapter status set to Wi-Fi Enabled

Network [<Any Network>] is Disconnected. - I think this is my issue.

Action:

Set Wi-Fi adapter status to Wi-Fi Disabled

Delayed Execution 1.0 Minutes

I have noticed that is is staying on at home while at work it would disconnect.

I guess that my work wifi is giving me issues. It says connected and works but something must be amiss.
[Android Apps and Games] thanhvx:
Hi i have a need to Only accept calls from a restricted list of people (closed friends, family) after office hours or on weekends. Can AutomateIt support the purpose? Does any additional app i need to install?

Many thanks
[Android Apps and Games] movrshakr:
"Network [<Any Network>] is Disconnected. - I think this is my issue."

Does that mean --only if the wifi network is disconnected, or ANY network (cell also)?

It is clear that the delayed execution is ALWAYS triggering--as your wifi only stays on one min. So, either there is a bug or your compound trigger is always evaluating to true.
[Android Apps and Games] Muzikant:
You can't block calls with AutomateIt, but you can set it to silent and only for specific contacts set it to normal sound.
[Android Apps and Games] thanhvx:
Thanks for reply.

Can i request for the block call features?

The thing is with block call, the caller will only receive "busy" signal. I dont want people think that i dont want to pick up thier calls.

Thank you!
[Android Apps and Games] mulletcutter:
Theres a reason there on the blocked call..so we don't talk to them.
[Android Apps and Games] mulletcutter:
mine does not kill apps? i try to kill pandora when i unplug audio jack...it says it does but still running. free version
[Android Apps and Games] Muzikant:
Pandora runs as a background service which by design restarts itself whenever it gets killed (By any task killer or the Android OS) so it can't be really killed with AutomateIt
[Android Apps and Games] mulletcutter:
OK, maybe the widget doesn't catch up with it then.
[Android Apps and Games] thanhvx:
Agreed but i still see 'missed calls' it is really anoying. I rather dont know they called.
[Android Apps and Games] mulletcutter:
DL call control.
[Android Apps and Games] bloodbath:
First let me say, I love this app! It's truly some of the best money I ever spent for an app.

I do have a question. I want to set up a rule so that whenever external power is disconnected and WiFi is off, my mobile data connection turns on for 5 minutes (to check emails, etc), then turns off for another 15 minutes. The cycle needs to repeat all day, but can remain off during the late evening.

So this is what I have at the moment (based on another post - not sure I did it right):

Rule1: Composite AND rule - WiFi Disabled, External Power Disconnected, Recurring Event (15 Minutes)

Trigger: Mobile Data Enabled

Active Period: Every Day from 06:00 - 00:00 (Next Day)

Rule2: Composite AND rule - WiFi Disabled, External Power Disconnected, Recurring Event (15 Minutes)

Trigger: Mobile Data Disabled

Active Period: Every Day from 06:05 - 00:05 (Next Day)

Does this seem correct or am I missing something? Thanks in advance for any and all help.
[Android Apps and Games] Muzikant:
This is one way to go (I assume you meant for "Action: Mobile Data Disabled/Enabled").

Maybe a better way would be to have the following set of rules:

1. "Recurring Event (15 Minutes) Trigger" to enable mobile data (Active between 06:00 and 00:00)

2. "Recurring Event (15 Minutes) Trigger" to disable mobile data - run with 5 minutes delay execution (Active between 06:00 and 00:00)

3. composite AND trigger with "WiFi Disabled and External Power Disconnected" to enable rules (1) and (2)

4. composite AND trigger with "WiFi Enabled and External Power Connected" to disable rules (1) and (2)
[Android Apps and Games] bloodbath:
You are correct, I did mean "Action". Sorry about that.

I didn't think about this approach, but will definitely give it a try. I was trying to minimize the number of rules I needed to create, and thus, didn't expand upon other options like yours. I'll let you how it turns out.

Thanks again for the help.
[Android Apps and Games] maxesxp:
But with the above methods wouldn't data turn off randomly while ur using it?
[Android Apps and Games] bloodbath:
Yeah, it seems that way. Perhaps another trigger could be added for the screen state?

My goal is to save battery power by switching mobile data off for 15 minute chunks of time, but then having it switching back on for 5 minutes (to check mail, Google+ statuses, etc) before repeating the 15 minute cycle. I believe this is how Juice Defender saves battery power.

Of course, I want the rules disabled when I'm using mobile data directly for viewing the internet, etc. (that's why I think adding a screen state trigger might help). I also want the rules disabled for times I am connected to a power source since I have previously created rules set up to exclusively use WiFi when externally powering the phone.

Not sure if there is a better way to do this or not, but I figured I'd try.
[Android Apps and Games] bloodbath:
I added a few more rules to the ones that were suggested. Here they are:

1. Google Play or Dolphin Browser enabled to enable mobile data

2. No WiFi AND Google Play or Dolphin Browser disabled to run rules (3) and (4)

I'm not sure the second rule is needed, but wasn't sure if rules (3) and (4) would activate again on their own. So is the 2nd rule overkill?
[Android Apps and Games] oldwolf613:
I am also enjoying how to automate stuff on my Razr Maxx, but got a bit of a surprise:

I am using the latest Automate It Pro, & tried in vain to make rule for locking my screen when I place my Razr Maxx face down. I do have the native security lock screen activated; via a pattern that works just fine when I start/reboot my device.

I'm running the Eclipse 1.3 rom &

I've used the following settings & get no response:

Trigger- Sensor 3axis accelerator facedown w/a 5% deviation & 5second timeframe.

The action is Enable screenlock. I doesn't work.

However, the device shutoff works just fine w/the facedown scenario described above.

Please help this AIP noobie.

oldwolf
[Android Apps and Games] alexbk66:
I execute "Screen Off and Lock" application as the action, works ok, though would be nice if I could lock the screen without installing additional app. As an added bonus, it's got a widget so you can lock the screen with your finger, instead of pressing on/off button.

However if AutomateIt could lock the screen by itself, I could add AutomatIt "execute action" shortcut to lock the screen too.
[Android Apps and Games] oldwolf613:
Alex, ok, which device are you using. Can't get my Razr Maxx to respond to the rule that I includedin my OP.

Anybody have any ideas? The widget sounds promising, but obvious. I'd like to lock my screen subtly, by placing it face down.

tia, seeker
[Android Apps and Games] vossy99:
Is there compatability issues with Automateit Pro & GPS on ICS?

I have a trigger to enable the GPS when an app launches, but it no longer enables the GPS since upgrading to ICS. I used to work fine on GB.

The rest of the actions seem to be working properly, just the GPS with issues. Test rules won't disable it either.

Running ICS 4.0.3

Was on GB 2.3.5

Both rooted.
[Android Apps and Games] eyezikkim:
great app/idea. thanks dev! somebody should start a thread of their trigger/action ideas. would be helpful to users and app would also gain more interest
[Android Apps and Games] whoelsec:
I just bought the AutomateIt Pro for my new Galaxy Nexus. Seems like a great app!

I wanted to set a customized auto brightness profile for the display. I do have a few questions regarding light sensor trigger:

1. I saw at Android developer reference page for Sensor Manager, there are 8 preset values for light sensor-

-LIGHT_NO_MOON (0.001 lux)

-LIGHT_FULL_MOON (0.25 lux)

-LIGHT_CLOUDY (100 lux)

-LIGHT_SUNRISE (400 lux)

-LIGHT_OVERCAST (10000 lux)

-LIGHT_SHADE (20000 lux)

-LIGHT_SUNLIGHT (110000 lux)

-LIGHT_SUNLIGHT_MAX (120000 lux)

But in your app, there are only 4 sensor state: Cloudy, Dark, Full moon and Sunrise. What is the luminance value for "Dark"? And why the other 4 sensor states weren't included?

2. Can you please explain more on how it would work?

For example, I set it to the following (using custom manual state):

When Ambient light level is 1 lux, set screen brightness to 10%

When Ambient light level is 50 lux, set screen brightness to 20%

When Ambient light level is 1000 lux, set screen brightness to 40%

When Ambient light level is 100000 lux, set screen brightness to 90%

Let's say, for instance, initial brightness level is 90%. How would it react if the ambient light level detected by the sensor has been changed to

(a)1200 lux? (my guess: no change to brightness)

(b)3 lux ? (my guess: brightness changed to 20%)

Please let me know if my guesses are correct or not. :)

3. Screen Brightness action, is the lowest value 10%? I dragged the level to its lowest and save it, turns out to be 10%, can it go any lower than that?

Thanks in advance :)
[Android Apps and Games] c00ller:
When trying to create some rules I can't help but imagine how much more efficient and powerful this would be with some "While" operators, especially for sensor triggers. Defining the complimentary "not" case for the "if" trigger is always a hassle and usually non-ideal (for example, trying to define the trigger, "while accelerometer state is NOT face-up").

Also, I'm trying to set up a rule with a time-interval as the trigger and checking the accelerometer state as the action. The problem is checking the accelerometer state is also a trigger, so the action for the time-interval trigger would have to be for enabling the accelerometer rule, but I only want the accelerometer to assess the state very briefly at those time time intervals. I am kind of confused as to how I should approach this.
[Android Apps and Games] Muzikant:
1. It's true that there are 8 presets defined in the Android infrastructure but I found that most sensors have a limitation on the range of values they can measure. for that reason AutomateIt checks the range of your device' light sensor and only shows the available presets.

2. For each trigger you define the value and the sensitivity. The defined sensitivity is used to check whether the measured value is in range of the defined value. for instance, Let's assume that the sensor maximum measured value is 1000 lux, you define a trigger with 100 lux and sensitivity of 10% - the trigger will launch whenever the measured value is between 0 and 200 (the sensitivity is calculated based on the maximum value that can be measured by the device).

3. The lowest value that can be set for screen brightness is 10% since setting this to lower values results in a black screen.
[Android Apps and Games] whoelsec:
Cool! Thanks for clearing things up!

So, how do I find out the maximum value that the Galaxy Nexus light sensor can detect? Without the maximum value I will not be able to know the value that is equal to percentage of sensitivity I selected.

And, reason that I was asking why the brightness cannot go below 10% is I tested it in my room at night when I switched off all lights (in other words an almost complete dark room), 10% is still brighter than the brightness level set by the built-in auto brightness. So probably it is useful to be able to set values lower than 10%. 10% brightness in a complete dark room is still too bright for an AMOLED display.

Btw, is there any action to disable auto-sync for all accounts?

Thanks again. :)
[Android Apps and Games] alexbk66:
I'm using HTC Incredible S.

So you mean that you can't execute any action for "Face Down" Trigger? I use the same trigger, except time is 1 second.
[Android Apps and Games] firox:
I absolutely love this app. Especially the GSM cell readout is marvellous!

And there is almost no battery drainage cause by this app, in effect I use it to preserve battery (I made some rules like turning off mobile data when turning off the screen - got the idea from JuiceDefender;-) )
[Android Apps and Games] movrshakr:
I still think we need a place to post our really neat rules so others can see them. Having the rule ideas scattered throughout this support thread, scattered amongst so many other issues, is just not optimum.
[Android Apps and Games] DrDerico:
Very usefull app! Thanks
[Android Apps and Games] dismaljester:
Been getting a license validation error all day. Had the app and been using it fine for months. I figure it's something with Google play but wanted to make people here aware.

--

Sent from my phone
[Android Apps and Games] Muzikant:
You don't really need to know the maximum value of the sensor. Since the measurement itself is not always accurate you can just play with the sensitivity until you get the result you are looking for. The default sensitivity value should probably fit most of the time but if you see that it triggers too much, lower the sensitivity and if it rarely triggers, increase the sensitivity.

I'll take a look at the brightness issue.

There is a way to disable sync (Enable/Disable Sync Action) but it's only supported for devices running Android 2.2 and for most rooted devices (Specifically, for Galaxy Nexus it probably won't work). You could also try the "Set Mobile Data State Action".
[Android Apps and Games] Muzikant:
You can add rules to the following post on my blog:

AutomateIt Useful Rules
[Android Apps and Games] belwh1sper:
thanks, bought the pro version couple month ago. very useful app. mast have on android phone!
[Android Apps and Games] terewong:
How to activate the "manual trigger" ?
[Android Apps and Games] c00ller:
I think it is only activated by making a widget for that rule and tapping on it.
[Android Apps and Games] oldwolf613:
Anybody able to tell me how to structure a rule to turn off the screen when placing my Razr facedown? In the past I had the device faceup & the rule spontaneously enabled!

I tried diff parameters for sensitivity levels, & length of time before screen shut-off; w/out consistent results. tia, oldwolf
[Android Apps and Games] Muzikant:
You can launch rules with "Manual Trigger" by creating a widget or long-press the rule in the rules list and select "Perform Action".
[Android Apps and Games] terewong:
I made a rule to launch a notification after 59 min upon a dedicated SMS message. If I make a widget to perform action, the timer feature cannot be perform, the notification appears immediately

Any hint to make the manual trigger works? Thanks~~
[Android Apps and Games] test123456789012:
ICS & AutomateIT

Hej there,

I was a happy user of AutoimateIt Pro (purchased) [AIP] under GB but on ICS (SGS i9000: Slim Rom 2.9 / 4.0.3) many things don't seem to work anymore.

I liked to use AIP to (de)activate certain things when coming/leaving home and arriving at work, for instance, using cell IDs. Frankly, that's the main purpose of your app for me.

For example would I want to deactivate GPS when arriving at home, therefor activate Wi-Fi, reacitvate autosync and deactivate vibrate as sound profile.

The ability to let the screen go to sleep after a changed period of time and setting the brightness level to a certain level is venial for me.

What currently works is: (de)activate BT, Wi-Fi and mobiel data; changing display timeout and brightness.

What doesn't work: (de)activate GPS, (de)activate autosync, (de)activate GPS when app is starting.

Thought it would be helpful to get some information on the functionality of your app on ICS.

I understand that this has to do with google changing APIs in ICS. But why is your app still listed as compatible with my device as seen on the screenshot below?

Is there currently happening any development regarding ICS and AIP?

IMHO there should be. ICS is by far superior to GB!

Don't get me wrong, I really like your app! I just wanted to let you know, what isn't perfect with it.

I tried other apps as well, like tasker and and easy profiles but I like your app best and I would wish to see it improved and as good as it was on GB. :)

regards, jeµs
[Android Apps and Games] slonn:
I also experienced massive issues with this app when getting ICS on my Nexus S. Loads of rules would no longer work. I wrote it this thread but never got any replies. Only solution I found was to delete and re-create all the rules there were created on GB.
[Android Apps and Games] test123456789012:
Recreating the rules does not work for me as the rule mentioned was created completely anew.
[Android Apps and Games] Muzikant:
This is how the manual trigger is supposed to work. Once you click the widget it executes the action regardless of the delayed execution timer.
[Android Apps and Games] Muzikant:
ICS Support was already implemented for AutomateIt (I'm running it on my Galaxy Nexus) but there are some features that can't be supported, and they are exactly those two features that you say that doesn't work - Enable/Disable GPS/Sync. These actions are supported on Android 2.2 or most rooted devices. Unfortunately, since Goggle changed some internals they can no longer be implemented.

This has nothing to do with the fact the the Android Market shows that the app is compatible with your device. The market shows on which devices the app can be installed (and indeed you can install it on your device).

The same issue was already discussed on page 68 of this thread - click here
[Android Apps and Games] terewong:
Any way to execute with delay ? since I have included it in the rule, and expecting manual trigger will perform the rule action with time delay requirement
[Android Apps and Games] test123456789012:
Thank you for clearing things up for me! Too bad, those features aren't working anymore..

Anyway, thanks for your great app and your support!

Gesendet von meinem GT-I9000 mit Tapatalk
[Android Apps and Games] Muzikant:
Maybe this is not exactly the same result but you can use the following rules:

Manual Trigger - Enable Rule #2

Recurring Event Trigger (set to 59 minutes) - Do your action AND disable rule #2

The result of these two rules would be that the action of rule #2 will execute twice - first time immediately and the second time after 59 minutes.
[Android Apps and Games] JVogler:
Is anyone successfully using the 'location' trigger?

I've tried everything, always have GPS on, and have never had a location trigger actually trigger. I set corresponding locations with locale, and they always fire off, but locale doesn't offer near the actions that AutomateIt does. Would love to get this working. I've turned the sampling rate down to 1 minute, and been at location for 2 hours and it never triggers??

Would like to hear the settings of anyone who has their locations trigger.

Thanks

Josh
[Android Apps and Games] Pkt_Lnt:
Working on it, struggling with it too.

I have one for wifi on at home, and one for data on when not home. I have these enable when the screen comes on, and turn on gps and then do the location check. The wifi / data ones are disabled with a delay when the screen turns off, with a disable if screen comes back on.

I have one for lock screen disable when home and one for enabled when not home. The lock screen enable / disable are just on location triggers.

My success is very low on them, and I keep tweaking settings.

I have plenty of other triggers that work great, based on apps starting or calls, it is just the location settings. I have read the hints on Muzicant's page many times, still not working well for me. Part of my problem is weak cell signal where I live I think.
[Android Apps and Games] Muzikant:
I recommend reading carefully the location trigger user guide:

http://muzikant-android.blogspot.com/2011/03/automateit-location-trigger-tips-and.html

Most of the times, after setting a location trigger, If you look at the rule log you can easily understand what causes the trigger to launch (or not) as can be seen on the following image:

When using coarse location you should especially pay attention to the location accuracy as it tend to be very inaccurate in areas where there is low cellular reception (It could be inaccurate up to several kilometers/miles). In case you are using GPS location notice that it will not work inside buildings and in some areas.

Once you understand the way AutomateIt determines if you are inside the desired area (as can be seen on the following image - click on the link at the end of this paragraph) and read the rule log, it should be quite easy to configure the location trigger correctly.

How AutomateIt determines whether you are inside the desired region ?
[Android Apps and Games] test123456789012:
deactivate screen lock

Hi there,

I decided that I can live with missing gps and sync actions under ICS and am now again playing around with AutomateIt Pro. :)

I would like to install a trigger that disables the lock screen when I arrive at home. That works but if I, say, reboot the phone at home, the trigger executes directly after boot so I don't have time to enter the sim passcode. Somehow screenlock and the passcode screen seem to be connected. So I placed a delay to the rule of 20 seconds. For now it works but it seems to be that AIP executes the rule as soon as it is loaded (lockscreen closes). The countdown appears in the notfication area nonetheless. So the rule is executed as soon as the trigger is detected but not after those 20 seconds I set.

Does anyone have thought on this or maybe another method of delaying the execution propperly?

Thanks, test