Trigger: MacroDroid Mode Change
The MacroDroid Mode Change trigger fires when entering or exiting a specific MacroDroid mode. MacroDroid Modes allow you to organize and control the behavior of your macros by grouping them into different operational states. You can manage modes through the MacroDroid app's configuration panel to create, edit, delete, or activate different modes.
Options
- Enter Mode - The trigger fires when the specified mode becomes active
- Exit Mode - The trigger fires when the specified mode is deactivated
- Any Change - The trigger fires whenever any mode transition occurs (entering or exiting any mode)
Mode Selection
After selecting Enter Mode or Exit Mode, you can choose which specific mode to monitor:
- [String Variable] - Use a string variable to dynamically specify the mode name. This allows the mode name to be determined at runtime based on the variable's value.
- Specific Mode - Select from the list of configured MacroDroid modes (e.g., "Standard", "Work", "Home", etc.)
Examples
Example 1: Switch to silent mode when entering Work mode
Triggers MacroDroid Mode Change: Enter Mode (Work)
Actions Set Ringer Mode: Vibrate Only
Example 2: Log whenever any mode change occurs
Triggers MacroDroid Mode Change: Any Change
Actions Log Event: Mode changed to [mode]
Notes
- The trigger fires immediately when a mode transition occurs
- When using the "Any Change" option, no specific mode selection is required
- The mode name can be specified using a string variable for dynamic mode matching
- Modes can be set using the "Set MacroDroid Mode" action
- When importing macros, if a referenced mode does not exist, it will be automatically created
See Also