yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Muzikant:
Thanks for all these great ideas. Soon enough I'll post a new "vote for feature" post with a list of the most requested features for you to vote for, since almost all features from previous post were already implemented
[Android Apps and Games] JVogler:
Anyone know where I can find group of audio files that say, "Wifi On" "Wifi Off" "Buletooth On" etc. that I can link to those events?

...and also what folder to put them in so they show up in the list of options of sound file to play for event.

Thanks.
[Android Apps and Games] c00ller:
Thanks, but I first tried just opening the csv file with Excel and I only see the first lines of the composite triggers/actions. See below:

Am I doing something wrong?

Edit: nevermind! Just needed to enable the "Wrap Text" option.
[Android Apps and Games] c00ller:
You would navigate to /sdcard/media/audio/ and put the files in either the "alarms", "notifications", or "ringtones" folder. Just create the folders if they're not there.
[Android Apps and Games] yungyeh:
Yes, two rules. And I kinda like the way it is :D. Separate rules for different actions.

Although tasker and automateIt are apps trying to achieve the same purpose, real smart phone, the idea behind the two programs are actually very different. After all, tasker tries to run tasks like you are really operating your phone, and automateIt tries to run the behavior-controlled actions automatically for you. :)
[Android Apps and Games] yungyeh:
WOW! These settings are splendid. I too thought of similar idea but couldn't make it work well. I will try to implement it.

Do you think you can attach your settings as in the automateIt backup file so we can easily improt it using restore feature? Thanks!

I also like the idea to have "NOT" operator. Hopefully, Muzikant will like the idea too and try to include in his future features list.
[Android Apps and Games] c00ller:
yungyeh I don't really have a problem with sharing my backup file, however I'm not sure if I should be concerned about having some WiFi network MAC addresses listed in some of my rules? Also, I imagine not every Android uses the same sensor hardware (in my case I use the "CM3602 PROXIMITY SENSOR").

Hopefully it is enough to use my previous post.
[Android Apps and Games] Tippfehler:
+1 for NOT

A NOT function would be very good.
[Android Apps and Games] starbase64:
+ 1
[Android Apps and Games] yungyeh:
Very appreciate your response. That's ok. I will follow your instructions and try to set it up myself.
[Android Apps and Games] djUniversal:
First I must say....WOW. I saw this early this morning because it was on the latest post list and fell in love instantly. Great work! This is exactly the mix of functionality and ease of use that really helps end users.

Secondly...

Honeycomb???!? PLEEEAAASE?
[Android Apps and Games] Muzikant:
Honeycomb support is definatly on my plan for next updates.

I can say for now that it works perfectly fine on my Samsung Galaxy Tab 10.1 (have some UI issues that will be handled) but unfortunately filtered by the market, probably by required device features. Will be resolved soon...
[Android Apps and Games] CarbonFiber51:
+1

Sent from my Desire HD
[Android Apps and Games] djUniversal:
Excellent. I can bug report for Transformer if needed!
[Android Apps and Games] JVogler:
Anyone having consistency issues? I've only set up a few things, mainly sounds on connect/disconnect of wifi, bluetooth, power , etc. They only play 80% of the time though. 1 or 2 times out of 10 I get nothing... My first Linux and Android device, so I'm not too familiar with how OS works. Possibly Android killing AutomateIt service? Any ideas?

Thanks...
[Android Apps and Games] yungyeh:
I did not have any issue like that if I set the rule correctly.

In my experience, the and/or composite trigger can be tricky sometimes, especially, when you try to combine actions which are activated by similar triggers and also involved enable/disable rules actions. i.e. A number of rules can be activated by one triggers and one of the them disable the others.

I did experience a problem similar to yours sometimes when I forgot to include all possible conditions to trigger the events. This happened when I tried to set up a rule which activates airplane mode at midnight with power disconnected and when it is activated, the screen must be off. In addition, the rule stays inactive until midnight.

The rule looks like

Triggers:

[External power is disconnected from device

OR Device disconnected from USB] AND

[Device' screen is turned off] "

Action:

"Activate Airplane Mode"

The rule seemed to run properly the first two days which actually I played my device after midnight. The device went airplane mode after I turned off my screen. Then the third day, I realized that the rule did not run at all. I must turn on and off the screen after the rule is active.:confused: The problem was simply solved by adding a time trigger at the beginning of the active period of the rule. :D

I hope this helps.:)
[Android Apps and Games] movrshakr:
Do you also have a rule to get out of airplane mode and turn things back on in the morning? If so, would you post that?
[Android Apps and Games] JVogler:
Trigger: Wifi is Connected

Action: Play a sound

Trigger: Wifi is Disconnected

Action: Play a sound

Not sure how to write them any more correctly. They are all very basics things like this I have been trying to get work correctly before I move on to anything with multiple triggers. Wondering if Atrix might read the wifi states slightly different than other Android phones?
[Android Apps and Games] yungyeh:
What I could think of is that you might have your headset plugged-in or bluetooth earphone connected, or manually turn off your phone's rightone . In the situations described above, the phone gets silent so no sound will be heard. An addition action to turn up your ringtone volume may help.
[Android Apps and Games] yungyeh:
My wife is using that phone with pro version installed. My phone does not have pro version. I will post a complete instruction once I can have her phone. :rolleyes:
[Android Apps and Games] brett.darnell:
Hi great app. Can sms forwarding be implemented?

Eg: when any sms received, forward to specific number, *** as if it were sent from original sender.***

That way if you have original sender in contacts on phone sms is forwarded to their name will come up on forwarded msg.

Thanks in advance.
[Android Apps and Games] DRACONIANDRAGON:
Please see about adding a pause trigger and action, I find myself making profiles were that would be handy
[Android Apps and Games] movrshakr:
Thank you indeed; very helpful!
[Android Apps and Games] cjm2576:
Yes. In my case it was memory management issues. Frequently on my Droid X2 the automateit service would be recycled or otherwise impaired by the OS until I rebooted the phone. Those issues have 99% gone away since I updated to Gingerbread.
[Android Apps and Games] yungyeh:
Outgoing call trigger does not work

I tried the Outgoing call trigger on my HTC Desire S and nothing happened when I called my friend. The incoming/end call state trigger works though.

I am using the latest European stock ROM (1.47)

Does anyone have the problem on the outgoing call state trigger?
[Android Apps and Games] rxrox:
widgets on Launcher Pro dock?

First off, I love Automateit Pro. I'm continually adding/changing rules everyday to customize every aspect of my phone (EVO 3d).

Is there anyway to add rule widgets to the dock on Launcher Pro? I didn't see an option to add widgets to the dock, but is it possible to create shortcuts for Automateit Pro rules instead?
[Android Apps and Games] yahya.hamid:
Can you automate it to AUTO CLEAR whenever a whatsapp notification is received? I hate the annoying message preview of whatsapp in the notification area.

EDIT: Just purchased the pro version but cant do what i wanted. Need help of the developer
[Android Apps and Games] Muzikant:
AutomateIt doesn't have an action to clear notifications from the notification bar.
[Android Apps and Games] Muzikant:
AutomateIt widgets can be added to your home screen. See user guide at the following link:

http://muzikant-android.blogspot.com/2011/02/automateit-automate-your-android.html
[Android Apps and Games] yahya.hamid:
Ah bad. I just bought it. Anyways would not it be simple. I mean we push the clear button to clear, cant there be a script to clear the notification automatically. I would appreciate if u can add this functionality.
[Android Apps and Games] yahya.hamid:
OK I have a workaround or a solution to this and that may help all others too. I need some help from the developer.

If the DEVELOPER can create or suggets how to create a trigger for a whatsapp message, then we can surely automate to open the whatsapp application for say 4 seconds which will clear the notification and then auto close it or return to homescreen.

I am sure theoratically this cna be done since someone posted a similar thing for tasker.

Can we please have a trigger for whatsapp message arriving?
[Android Apps and Games] rxrox:
Thank Muzikant. I already have a couple of widgets on my homescreen. I'm wondering if there's anyway to add them to my dock on LauncherPro. I don't think LauncherPro supports widgets on the dock, but it does support shortcuts. Is there anyway to convert widgets into shortcuts? I'm sorry if this is a dumb question.
[Android Apps and Games] alsemel:
Good afternoon. I bought your program AutomateIt Pro, and ran into a problem. Prior to that, I downloaded the free version of the program's, and the actions I can choose "on / off GPS" and it worked, the Pro version of this action I do not see. I have 2.3.4 firmware modification, the apparatus Samsung Galaxy S. I really need is action, I'm just out of it and bought the program.

I would also like a little more action, for example sending a file by e-mail.

P.S. "on / off GPS" in the pro version appeared after installing the free version. A little weird. )
[Android Apps and Games] Muzikant:
Since you are running a 2.3 device, in order to have the GPS action you need to make sure that you allow superuser permissions to AutomateIt and check the "Always allow" checkbox. If you are still having issues with it, uninstall and reinstall would probably solve it.
[Android Apps and Games] skandranon314:
Just want to tell you how much I love this app! Bought tasker long ago to go a few things, but the UI was so hard to work with I decided it wasnt worth the time. AutomateIt puts it to shame!

After 10 minutes with the free version, I bought the paid version. At $1.50 this app is a steal! Reading though this thread I can tell the dev is constantly making improvements also. Love it!
[Android Apps and Games] HammDroid:
Hey, I posted this on your dev site, but I know you are on here more, so I'm repostingit here.

Would it be possible to add an action where the camera flash would blink rapidly (maybe it could even be placed under the notifications action category), or in some pattern for about 5-10 seconds? Maybe the pattern or length of time could even be configurable.

This would make for an extremely valuable notification tool. Easier to see if you're in a loud environment, or have to keep phone volume off but don't want to miss an important call, text, or email.

And I realize there are other apps that do this, but think it would be better using your app, not to mention it could potentially give more control to users.

Thanks!
[Android Apps and Games] Muzikant:
Got it. Sounds interesting. Will see what I can do
[Android Apps and Games] yahya.hamid:
So i may take it that the developer is not interested in working on triggers foir whatsapp.

Its the largest downloaded messaging app out there.

***SIGH***
[Android Apps and Games] blackspp:
Hi Muzikant. I purchased the pro version a while back and have some questions/requests.

First of all, it suits my needs but I'd like some more (visible) control over how you evaluate conditional expressions like:

if (n=true)

if (x=true & y=false)

do abc

instead of

if (n=true & x=true & y=false)

do abc

This may help reducing battery drain.

Which is #2:

On my SGS2 (2.3.4 stock + Speedmod kernel) Automateit is good for 6 to 18% of battery consumption which is (in my opinion) way to much.

I hope this has not been discussed to dead in this thread already!

Thanks for the nice app btw.
[Android Apps and Games] turbo-omena:
I think you can implement this by making a rule that enables the other rule when n=true. I mean you can make a rule with trigger n=true which enables a rule that triggers when x=true and y=true.

Or is that out of the question? Of course you would need another rule that disables the other rule when n=false so this isn't very elegant solution.
[Android Apps and Games] blackspp:
Good solution but indeed not the most elegant.
[Android Apps and Games] c00ller:
I am also curious about the difference, if any. For the first case, if n=false, will the checks for x and y be skipped? Or, are cases 1 and 2 basically equivalent in AutomateIt?

Knowing this, we can optimize certain rules, particularly ones that use the phone's sensors, which update at very high frequencies (or would this not make a difference as well?). An explanation would be greatly appreciated.

I figured out the reason for Android battery stats reporting high battery usage for certain apps. It depends on an app's usage of sensors. For example, I use the app Screebl to keep my screen on while my phone is oriented at an angle typical of which I told it. For that, like AutomateIt, it must listen to the phone's sensor output. Before AutomateIt, Screebl would easily take up "98%" of battery usage, but I have not noticed a change in battery life, so obviously Android does not have the most accurate battery usage measuring. I had AutomateIt Pro installed for a while, but as soon as I added rules to monitor the proximity sensor, all of my "battery usage" is split between Screebl and AutomateIt. Again, no noticeable difference in battery life since creating the rule.
[Android Apps and Games] Muzikant:
This is how it works on AutomateIt - When you have a composite trigger (Both AND and OR triggers) all the triggers are constantly monitored, with two exceptions that will be described later.

Let's take a simple example with two triggers combined in a Composite AND Trigger:

Power Disconnected Trigger and Battery below 25%.

We want this trigger to launch the rule in all of the following cases:

Battery level is 12% and we just disconnected the device from a power source

Device is currently disconnected and the battery dropped to 24%

This means that we need to monitor all the combining triggers since any of them could cause the Composite Trigger to launch the rule (With Composite OR Trigger this is kinda trivial since by definition it will trigger whenever one of its triggers is active).

The two exceptions are Time Trigger and SMS-Related triggers (and this is why you can't have more than one of them in a Composite AND Trigger) - These triggers don't represent a certain state of the device and are one-time events.

Whenever you have a rule with Composite AND Trigger that contains Time Trigger or SMS-Related trigger, It will NOT monitor all of the other triggers and will only check if they are active when the Time/SMS trigger is activated.

As for the original issue of "what is the best way to define rules with sensor triggers ?" (and specifically the proximity sensor which is the most exhaustive sensor for some reason) - I'll use an example of a rule that can be defined in two ways:

Option 1

Option 2

Both options have the same final result - turns off speakerphone when the device is NEAR during a call, but Option 2 is much more "friendly" to your battery :)
[Android Apps and Games] blackspp:
Muzikant, I agree with your evaluation, with the examples you gave, but that applies when each of them triggers an action (combining or's). When all of them are of importance but only in a particular order then it would be nice to have a cascading evaluation thus only monitoring e.g certain sensors when the first evaluation is true (or false). In that case you would consume less (cpu and thus battery) power.

Which brings me to the second question I raised. Checking my battery consumption automateit pro is usually in the top 5, consuming a lot of juice. Today it topped 16% but usually it sits in the 6 to 8% range.

Now all I have is simple (composite) rules, not constantly monitoring sensors but e.g. application start. E.g. when contacts is active and sensor proximity is near the internal speaker is on. If I have my phone further away it switches to external speaker.

What would be an acceptable average power usage?
[Android Apps and Games] Muzikant:
An expected power usage is supposed to be negligible. I have almost 30 active rules and I almost never see AutomateIt on the battery stats screen. On the exceptional cases that I do see it it's no more than 1%-2%.

I have a few rules that use coarse location (sampling rate of 1 hour from 7:00 AM to 1:00 AM on next day), and I use "option 2" from my previous response for setting the speakerphone on/off during an active call.

I believe that if you see 6%, 8% or 16% this is probably caused by the sensor trigger. to verify it, try disabling that rule, charge your device to reset the battery stats and see if that makes any difference.
[Android Apps and Games] blackspp:
The only sensor trigger I have is phone far/near, see screenshots.

Tried a few things, changed the triggers and even reinstalled your app, usage is still very high. I have already removed most of my rules trying to bring down consumption but stil...

Take a look, pics shot on 3 different days. I don't call a lot, maybe 2 or 3 times a day...

Edit: if this is indeed a sonsor issue there's even more reason to evaluate conditional expressions as I suggested.

If making a call

-- then check proximity sensor if near

---- switch to internal speaker

-- else

---- switch to internal speaker

endif

No need to check the sensor all the time.

If this can be achieved already, please show me! (thanks)
[Android Apps and Games] Muzikant:
I have the following rules defined to get the same results and still save a lot of power. The first two rules are very simple and turn on/off the speaker phone according to the proximity sensor state (See attachment Activate-Deactivate Speakerphone Rules.png). Notice that both rules are disabled so we don't constantly monitor the proximity sensor.

Than I have another two rules that enables the first two rules when during a call and disables them when call ended (See attachment During Call Rules.png).

I believe that using these rules will get you the result you are looking for in terms of battery consumption.
[Android Apps and Games] blackspp:
Clear, you enable another rule at a certain condition. Yep, that would be the same. Let me experiment with that! Update: great, it works. Smart program : )

------

Could those 2 simple sensors probes account for so much usage?
[Android Apps and Games] c00ller:
Yes, they account for Android's measure of usage. I mentioned in a previous post that the same is observed with the app Screebl, which monitors the orientation of the device. From this app and AutomateIt, it seems Android's battery usage measuring scheme is heavily influenced by an app's sensor monitoring, which turns out to be not accurate at all based on personal battery life measurements and observations: mine currently say 48% Screebl, 25% AutomateIt but I have yet to observe a noticeable decrease in battery life.

A far more accurate measure of battery usage would be to use an app like Battery Monitor Widget or CurrentWidget, which logs the actual current drain from the battery in mA, which in my experience has remained constant before and after using these apps.
[Android Apps and Games] zabumba:
Hi! I made a rule to disable password protection when I'm connected to any wifi network, and another rule to enable password when disconnect the wifi. The first rule does work, but when I disconnect wifi the second rule doesn't work and the phone never enable password protection again, unless I delete the rules and reboot the phone. What could be the problem? My phone is a DHD not rooted.

Thanks and keep the good work.

EDIT: Well, no it's working fine, so I must have done something wrong the first time. Sorry.
[Android Apps and Games] blackspp:
Well, I guess changing the rules during a game is not always unfair. My usage went from 12 to 2% over a full day of use so I'm very happy with that part.

One thing though, not sure if enabling both rules during a call with one composite action works correctly. I had a few occasions where the internal speaker did not switch on while keeping the phone far. Will examine this again tomorrow when I make some calls and report back.

Edit: next day, seems to be working fine! Maybe it was just me, had a bad connection, or I was just deaf...
[Android Apps and Games] yungyeh:
boot trigger

Maybe it's due to the ROM. But the boot trigger does not seem to work on my phone every time it boots!

I recently update my stock HTC desire S ROM to virtuous Unity. I will check if the outgoing call trigger issue is still there after this ROM update on desire S.

Can any one have HTC Desire S report similar problems if you also have one?

---------

Edit:

I switched to stock rom and tested again. Now I confirmed that the outgoing call trigger as well as the boot trigger on my HTC Desire S DOES NOT WORK. Muzikant, I know that it may not be your first priority to solve the compatible issues like this. But I do urge you to put them in your to-do list for solving them. Just wanna let you know that, the virtuous unity rom is based on HTC sensation so I believe that sensation users will experience the same issues. Considering that HTC Sensation is one of the best selling smart phone in the world, your kindly help will definitely affect many people.
[Android Apps and Games] JVogler:
Just got Pro version from Market and need a little help. Im trying to set up a rule where I shake the phone to switch between auto screen orientation on/off. I dont see a specific 'shake' trigger, so what would be the manual settings for sensor to recognize as a shake?

Thanks
[Android Apps and Games] Wario21:
Hey,

The idea is very good. Just asking before I download it: I have a Xperia Play, could I set the L and R buttons as forwarding oder backwarding music at the music player?
[Android Apps and Games] Muzikant:
I sent you a private message with some instructions on how you can assist me with resolving this issue. Please check your inbox.
[Android Apps and Games] yungyeh:
Hi I got your message.

Hopefully the issue will be resolved soon. Thanks for your help.
[Android Apps and Games] averjans:
GPS and SYNC switch not working

Hello,

I bought this great app to do some automatic customized profile switching.

Realy a great app.

But when I try to switch the GPS or SYNC on/off a popup appears with "AutomateIt Pro has been granted Superuser permissions".

What am I doing wrong here.....?

I have a SGS2 with the latest Litening V6.1 ROM
[Android Apps and Games] Muzikant:
You are not doing anything wrong :)

Since Android 2.3, GPS and Sync can't be switched on/off without root permissions, so every time one of those actions is executed root permissions are granted to AutomateIt (which shows the popup by the superuser app). This popup can be removed from the settings screen of the superuser app.

I recently got a few reports that on SGS2 this doesn't work even with root permissions and I'm still looking into it (could be specific ROMs or other issues).

If you could send me an email using the "Help !" button immediately after the rule is triggered maybe I can get some more information.