If your devices uses Android 4.* please install Automated Device. The code has been rewritten
Rules Engine is a complete rules engine to customize your device behaviour automatically. The idea is simple and powerfull:
The device broadcast automatically events about many thinks
Hardware events like Bluetooth, wifi, battery level, cpu state, position events, time events, calendar events, phone ring state, screen state
And much more...
And the device can perform automatically many actions without user intervention:
Set hardware state, wifi, bluetooth, speaker, launch or kill a program, apply a predefined profile, send a SMS/Email, ringtones....
And much more...
With Rules Engine you can create many rules. Each one is composed of:
Conditions. Simple or complex conditions using AND/OR clauses. For example, if weekday is monday, between 7:00 and 9:00 and my current position is my office and battery level is higher than 20% then send an email .....
Actions. Actions to be executed when the rule passes from unmatched to matched and actions to be executed when the rule passes from matched to unmatched. User can set their order, delays, etc
Profiles: These are set of actions that the user can select / unselect quickly from the main page.
Quick timed switchers: For example, set Bluetooth on, but put off again after 90 minutes
New actions and conditions are being added each day.
Weekday and time
Flight mode state
Data connections enabled / disabled
AC power / Battery
Location. To be inside or outside of some place (defined by point and radius)
To match or unmatch other rule
Some program is running or not
Battery level (min, max)
Bluetooth connected to an specified device
Phone status (ringing, in call...)
Calendar events. To be in a caleendar event that contains some word, like 'meeting"
Autorotation screen On/Off
Mobile network type in use (GPRS, HSDPA, CDMA, LTE, etc)
Data connection On/Off
Headphone plugged or not
Car mode activated / deactivated
Dim screen activated / deactivated
Wifi hotspot activated / deactivated
To receive a SMS comming from some phone number or with its text containing some word or phase
Proximity sensor level
Some phone number is calling you (ringin), or is in call with you, or just called you
Current actions (Each one can be applied once or periodically while the rule is matched):
Set wifi state
Set speaker state
Set bluetooth state
Set flightmode state
Set connections enabled / disabled
Launch a program
Kill a program
Apply a profile (Set of rules)
Set autorotation screen state
Set screen bright state (mode and level)
Set auto sync accounts state (gmail, facebook, etc)
Play a song.
Send Email. You can include many variables, like free memory and disk, last caller, battery statistics, sensors values (pressure, light, temperature, etc)
Set car mode
Set ringtone (as user mp3 or android ringtone)
Set sceen off timeout
Set dim screen
Activate or deactivate Wifi hotspot
Play a system notification
Vibrate some milliseconds
Show popup message with free text and variables
Show a tob bar notification with free text and variables
Enable / Disable rules.
Sent variables (temperature, position, etc) to a web server as HTTP parameters
Open system dialogs, like 3G/2G, Tethering, etc
Tags: rules engine , automateit play mp3 , rule engine , motor engine fondo de pantalla , turn off vibration when wifi deactivated or activated , automateit play mp3 song play sound action , ejemplo rule engine , rule engines , profile scheduler tono de llamada sonar una vez