Difference between revisions of "Trigger: Proximity Sensor"

m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
+
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
This trigger will fire on a change to the proximity sensor.
 
This trigger will fire on a change to the proximity sensor.
  
 
Please note that this trigger will only work when the device's screen is on unless you modify the setting via the MacroDroid trigger settings.
 
Please note that this trigger will only work when the device's screen is on unless you modify the setting via the MacroDroid trigger settings.
 
</pre>
 
</pre>
 +
'''''Supports the following events:'''''
 +
''It may not work on all devices or in certain scenarios, for example on samsung which keeps the sensor deactivated and this trigger will only work when the sensor is activated e.g. in a call.''
  
'''Example Usage'''<br/>
+
* '' Near''
 
+
* '' Far''
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
+
* '' Slow Wave''
Triggers
+
* '' Fast wave''
 
 
 
 
</pre><br>
 
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
 
 
 
 
</pre><br>
 
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
 
Constrains
 
 
 
 
 
</pre><br>
 
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 
Local variables
 
 
 
 
 
</pre><br>
 

Latest revision as of 20:00, 25 January 2024

This trigger will fire on a change to the proximity sensor.

Please note that this trigger will only work when the device's screen is on unless you modify the setting via the MacroDroid trigger settings.

Supports the following events: It may not work on all devices or in certain scenarios, for example on samsung which keeps the sensor deactivated and this trigger will only work when the sensor is activated e.g. in a call.

  • Near
  • Far
  • Slow Wave
  • Fast wave