Difference between revisions of "Constraint: MacroDroid Mode"

(Created page with "This constraint can be used to allow a trigger to fire only when in a specific MacroDroid mode.")
 
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
This constraint can be used to allow a trigger to fire only when in a specific MacroDroid mode.
+
<pre class="header-style">This constraint allows or prevents a macro/feature from running based on the current MacroDroid mode.</pre>
 +
 
 +
''' Options '''
 +
 
 +
* '''Mode''' - Select the mode to check
 +
* '''Enter Mode/Exit Mode/Any Change''' - Optionally check for a specific mode transition
 +
 
 +
''' Example '''
 +
 
 +
''Example 1: Enable Wi-Fi only when the Work mode is active''
 +
  <pre class="trigger-style">Triggers
 +
 
 +
Screen On/Off - Screen On</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Wifi Configure (Enable)</pre>
 +
  <pre class="constraint-style">Constraints
 +
 
 +
MacroDroid Mode - Work</pre>
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger: MacroDroid Mode Change|MacroDroid Mode Change Trigger]]

Latest revision as of 13:14, 9 January 2026

This constraint allows or prevents a macro/feature from running based on the current MacroDroid mode.

Options

  • Mode - Select the mode to check
  • Enter Mode/Exit Mode/Any Change - Optionally check for a specific mode transition

Example

Example 1: Enable Wi-Fi only when the Work mode is active

Triggers

Screen On/Off - Screen On
Actions

Wifi Configure (Enable)
Constraints

MacroDroid Mode - Work

See Also