Constraint: Proximity Sensor

Revision as of 13:41, 9 January 2026 by MacroDroidDev (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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