This constraint allows or prevents a macro/feature from running based on the proximity sensor state.

Options

  • Near: Constraint passes only when something is close to the sensor
  • Far: Constraint passes only when the sensor is clear

Example

Example 1: Turn on the torch only when the phone is not in a pocket

Triggers

Shake Device
Actions

Torch On/Off (Turn On)
Constraints

Proximity Sensor - Far

See Also