Sensor trigger (Pro version only)

Sensor trigger allows you to use the built-in sensors that your device has and define rules based on specific sensor states. This trigger can be used with its basic presets or can be tweaked by using more advanced customization.

The trigger can be selected like any other trigger on the selection trigger list.

Basic customization

After selecting the “Sensor Trigger” it can be customized using the following screen:

Sensor – selection list of all sensors available on your device (name and type of each sensor). Please note that several users have reported that when using the Proximity Sensor, it might have a significant impact on your battery consumption)

Sensor State – selection list of presets available for each sensor or advanced customization state (Will be further explained). The following image shows a list of sensor state presets for the Accelerometer sensor.

Sensitivity – Since the exact values of each sensor can change by slight deviation, you can define how sensitive to these changes you want your trigger to be.

Sampling Rate – This field is used to define the rate in which the sensor will be sampled. In most cases “Normal” should be sufficient (other rates are Fast, Faster, Fastest). The exact rate depends on the specific sensor but approximate rates are as follows:

  • Normal – ~4 Hz (4 samples in one second)
  • Fast – ~9 Hz
  • Faster – ~16 Hz
  • Fastest – ~22Hz

Time required to set trigger – number of seconds required to set off the trigger. To better explain what it means, let’s assume we have selected the “Face Down” preset as shown in the image above, and set the “Time required to set trigger” to 1 second – in this case, only when the device is lying face down for at least 1 second, the trigger will launch.

Advanced customization

There are two advanced customization modes that can be used when using the “Sensor Trigger”, record sensor state or manual sensor state.

Record State – Almost all sensors have a special “Sensor State” called “[Custom] Record State”. When this state is selected the edit screen shows a record button between the sensor state selection list and the sensitivity bar:

When this button is pressed, AutomateIt will record the current state of the selected sensor and will display detailed info on the recorded values:

In the image above the device was lying facing up on a table, but you can use this feature to record all kinds of sensor states that are not defined as presets.

Manual Sensor State – An even more advanced customization method.  On this option instead of a record button, you’ll be required to enter specific values that define a sensor state. In the following example we are using the proximity sensor and its value is the distance in centimeters from the sensor (some sensors only have a near/far indication):

To further understand what the exact values of each sensor mean, refer to the following guide.