Friday, March 25, 2011

AutomateIt - Useful rules

Visit our new website at http://www.automateitapp.com

Since AutomateIt was published, I'm getting a lot of ideas and requests for some new features, triggers and actions, but along with those, I'm also getting some really interesting ideas of things that can already be performed with the application and I thought it would be a good  idea to share it so you can get the most out of this application.
I'll start with a list of the rules I have defined for my personal use:
  • Bluetooth State Trigger (ON) - Play Sound Action
  • Bluetooth State Trigger (OFF) - Play Sound Action
  • Power Connected Trigger - Set Bluetooth State Action (ON) - used to activate Bluetooth when connecting to charger in my car
  • Power Connected Trigger - Set Screen Timeout (Never)
  • Power Disconnected Trigger - Set Bluetooth State Action (OFF), with delayed execution of 10 seconds to allow the Bluetooth adapter to properly disconnect from paired device
  • Power Disconnected Trigger - Set Screen Timeout (15 seconds)
  • SMS With Text Trigger (Unmute) - Set Sound Mode Action (Normal)
  • Battery Level Trigger (Below 40%) - Notification Action (Low Battery)
  • Bluetooth Device Connected (Car) - Set Volume For Single Stream Action (Voice Call Stream to 100%)
  • Bluetooth Device Connected (Car) - Set Screen Brightness Action (100%)
  • Bluetooth Device Disconnected (Car) - Set Screen Brightness Action (Automatic)
  • Call State Trigger (Incoming from specific contact) - Play Sound Action
  • Time Trigger (Every day at 1:00) - Set Wifi State Action (Disabled)
  • Time Trigger (Every day at 6:30) - Set Wifi State Action (Enabled)
  • USB Connected State Trigger (Connected) - Set Wifi State Action (Enabled)
  • Location Trigger (Exiting region of 200m from home) - Set Wifi State Action (Disabled) - "Disable Wifi When not Home"
  • Time Trigger (every weekday at 7:00) - Enable/Disable Rule Action (Enable "Disable Wifi When not Home" rule)
  • Wifi State Trigger (Disabled) - Enable/Disable Rule Action (Disable "Disable Wifi When not Home" rule)
  • Location Trigger (Entering region of 1500m from home) - Set Wifi State Action (Enabled) - "Enable Wifi When Home"
  • Time Trigger (every weekday at 18:00) - Enable/Disable Rule Action (Enable "Enable Wifi When Home" rule)
  • Wifi State Trigger (Enabled) - Enable/Disable Rule Action (Disable "Enable Wifi When Home" rule)
  • Time Trigger (Every day at 23:00) - Set Sound Mode (Silent). See an Enhanced version of this rule at the "pro rules section" below (Silent at night when device is not used).
  • Time Trigger (Every day at 6:30) - Set Sound Mode (Normal)
  • Outgoing Call Trigger (All contacts) - Vibrate (0.3 seconds)
Some other useful rules that could be defined are:
  • Headset Plugged State Trigger (Plugged) - Start Application Action (some music app)
  • Headset Plugged State Trigger (Plugged) - Set Volume For Single Stream Action (Music Stream to 50%)
  • Headset Plugged State Trigger (Unplugged) - Kill Application Action (some music app)
  • Wifi Network Connection State (Connected) - Play Sound Action
  • Turn on/off GPS when Maps application activated/deactivated
AutomateIt Pro Rules
Since there are several features that are only available on the Pro version, the following rules can only be defined using these advanced features:
  • Car or power connected rule
    • Composite OR Trigger
      • Bluetooth Device Connected Trigger (Car)
      • Bluetooth Device Connected Trigger (Other car)
      • Power Connected Trigger
    • Composite Action
      • Disable screen lock
      • Set Screen Brightness Action (60%)
      • Set Screen Timeout Action (Never)
      • Play Sound Action
  • Car or power disconnected rule
    • Composite OR Trigger
      • Bluetooth Device Disconnected Trigger (Car)
      • Bluetooth Device Disconnected Trigger (Other car)
      • Power Disconnected Trigger
    • Composite Action
      • Enable screen lock
      • Set Screen Brightness Action (Automatic)
      • Set Screen Timeout (30 seconds)
      • Set Bluetooth State Action (Off)
      • Play Sound Action
    • Using delayed execution of 10 seconds
  • Power on (not USB) connected rule
    • Composite AND Trigger
      • Power Connected Trigger
      • USB Connection State Trigger (Disconnected)
    • Set Bluetooth State Action (On)
  • Turn on wifi when home rule
    • Location Trigger (Entering region of 1500m from home)
    • Set Wifi State Action (Enabled)
    • Using Active Rule Period set to weekdays between 17:00 and 21:00
  • Turn on wifi when home rule
    • Location Trigger (Exiting region of 1500m from home)
    • Set Wifi State Action (Disabled)
    • Using Active Rule Period set to weekdays between 7:00 and 10:00
  • Low Battery rule
    • Composite AND Trigger
      • Battery Level Trigger (Below 30%)
      • Power Disconnected Trigger
    • Composite Action
      • Notification Action (Low Battery)
      • Enable/Disable GPS Action (Disable)
      • Enable/Disable Sync Action (Disable)
      • Set Wifi State State Action (Disabled)
      • Set Bluetooth State Action (Off)
  • Activate speaker during active call when device is away
    • Composite AND Trigger
      • Composite OR Trigger
        • Call State Trigger (Incoming from All Contacts)
        • Outgoing Call Trigger (All Contacts)
      • Bluetooth Device Disconnected Trigger (Any Device)
      • Sensor Trigger (Proximity Sensor in FAR state for 1.0 second)
    • Set Speakerphone State Action (Turn on)
    • Note: Several users have reported that when using the Proximity Sensor, it might have a significant impact on your battery consumption (If you experience similar results, try setting it up as described on this post on XDA-Developers.com)
  • Deactivate speaker during active call when device is near
    • Composite AND Trigger
      • Composite OR Trigger
        • Call State Trigger (Incoming from All Contacts)
        • Outgoing Call Trigger (All Contacts)
      • Sensor Trigger (Proximity Sensor in NEAR state for 0.5 second)
    • Set Speakerphone State Action (Turn off)
    • Note: Several users have reported that when using the Proximity Sensor, it might have a significant impact on your battery consumption ((If you experience similar results, try setting it up as described on this post on XDA-Developers.com))
  • Silent at night when device is not used
    • Composite OR Trigger
      • Composite AND Trigger
        • Time Trigger (Every day at 23:01)
        • Screen is off
      • Screen is off
    • Set Sound Mode (Silent)
    • Using Active Rule Period set to every day between 23:00 and 6:00 (Next Day)
    • Using delayed execution of 15 minutes
      • Cancel delayed execution by Screen On Trigger
  • Silent during meetings
    • Calendar Trigger (Start, All Busy events)
    • Set Sound Mode Action (Silent)
    • Using Active Rule Period set to weekdays between 7:00 and 18:00
  • Normal sound when not in meeting
    • Calendar Trigger (End, All Busy events)
    • Set Sound Mode Action (Normal)
    • Using Active Rule Period set to weekdays between 7:00 and 18:00
If you have some other rule that you think could be very useful to others, please share it by adding a comment to this post.