Line 63: Line 63:
 
[[Empty Trigger]]
 
[[Empty Trigger]]
  
[[Failed Login Attempt]]
+
[[Trigger: Failed Login Attempt|Failed Login Attempt]]
  
[[Fingerprint Gesture]]
+
[[Trigger: Fingerprint Gesture|Fingerprint Gesture]]
  
[[Flip Device]]
+
[[Trigger: Flip Device|Flip Device]]
  
[[Floating Buttn]]
+
[[Trigger: Floating Button|Floating Button]]
  
[[Geofence Trigger]]
+
[[Trigger: Geofence Trigger|Geofence Trigger]]
  
[[GPS Enabled/Disabled]]
+
[[Trigger: GPS Enabled/Disabled|GPS Enabled/Disabled]]
  
[[Headphones Insert/Removed]]
+
[[Trigger: Headphones Insert/Removed|Headphones Insert/Removed]]
  
[[Home Button Long Press]]
+
[[Trigger: Home Button Long Press|Home Button Long Press]]
  
[[Hotspot Enabled/Disabled]]
+
[[Trigger: Hotspot Enabled/Disabled|Hotspot Enabled/Disabled]]
  
[[Intent Received]]
+
[[Trigger: Intent Received|Intent Received]]
  
[[IP address Change]]
+
[[Trigger: IP address Change|IP address Change]]
  
[[Light Sensor]]
+
[[Trigger: Light Sensor|Light Sensor]]
  
[[Location Trigger]]
+
[[Trigger: Location Trigger|Location Trigger]]
  
[[Logcat Message]]
+
[[Trigger: Logcat Message|Logcat Message]]
  
[[MacroDroid Drawer Open/Close]]
+
[[Trigger: MacroDroid Drawer Open/Close|MacroDroid Drawer Open/Close]]
  
 
[[Trigger: MacroDroid Initialised|MacroDroid Initialised]]
 
[[Trigger: MacroDroid Initialised|MacroDroid Initialised]]
  
[[MacroDroid Mode Change]]
+
[[Trigger: MacroDroid Mode Change|MacroDroid Mode Change]]
  
[[MacroDroid Variable Change]]
+
[[Trigger: MacroDroid Variable Change|MacroDroid Variable Change]]
  
[[Media Button Pressed]]
+
[[Trigger: Media Button Pressed|Media Button Pressed]]
  
[[Media Button V2 Beta]]
+
[[Trigger: Media Button V2 Beta|Media Button V2 Beta]]
  
[[Mobile Service Status]]
+
[[Trigger: Mobile Service Status|Mobile Service Status]]
  
[[Music/Sound playing]]
+
[[Trigger: Music/Sound playing|Music/Sound playing]]
  
[[NFC Tag]]
+
[[Trigger: NFC Tag|NFC Tag]]
  
[[Notification]]
+
[[Trigger: Notification|Notification]]
  
[[Notification Bar Button]]
+
[[Trigger: Notification Bar Button|Notification Bar Button]]
  
[[Trigger: Power Button Toggle|Power Button Toggle]]
+
[[Trigger: Power Button Toggle|Power Button Toggle|Power Button Toggle|Power Button Toggle]]
  
[[Power Connected/Disconnected]]
+
[[Trigger: Power Connected/Disconnected|Power Connected/Disconnected]]
  
[[Priority Mode/Do Not Disturb]]
+
[[Trigger: Priority Mode/Do Not Disturb|Priority Mode/Do Not Disturb]]
  
[[Proximity Sensor]]
+
[[Trigger: Proximity Sensor|Proximity Sensor]]
  
[[Quick Settings tile]]
+
[[Trigger: Quick Settings tile|Quick Settings tile]]
  
[[Recent Apps Opened]]
+
[[Trigger: Recent Apps Opened|Recent Apps Opened]]
  
 
[[Trigger: Regular Interval|Regular Interval]]
 
[[Trigger: Regular Interval|Regular Interval]]

Revision as of 13:34, 5 February 2021

A trigger is an instantaneous event that your device can detect to make a macro run. A macro must have at least one trigger to be valid.

It is possible to add multiple triggers to a single macro and in this case any single trigger firing will cause the macro to be invoked. It is not possible to combine triggers with AND logic because in MacroDroid a trigger is an instantaneous event, so it is not possible (or highly improbable) to get a state where two instantaneous events happen at exactly the same time.

As an alternative to combining triggers with an AND statement it is generally possible to add constraint logic to individual triggers such that they can be limited to run when only some other state is also true.

List of Triggers

Activity Recognition

Airplane mode changed

Android Wear

App Install/Remove/Update

Application Launches/Closed

Auto Rotate changed

Autosync changed

Battery Level

Battery Saver State

Battery Temperature

Bluetooth Beacon (experimental)

Bluetooth Event

Calendar Event

Call Active

Call Ended

Call Incoming

Call Missed

Call Outgoing

Cell Tower Change

Clipboard Change

Data Connectivity Change

Day of Week/Month

Day/Time Trigger

Daydream On/Off

Device Boot

Device Docked/Undocked

Dial Phone Number

Empty Trigger

Failed Login Attempt

Fingerprint Gesture

Flip Device

Floating Button

Geofence Trigger

GPS Enabled/Disabled

Headphones Insert/Removed

Home Button Long Press

Hotspot Enabled/Disabled

Intent Received

IP address Change

Light Sensor

Location Trigger

Logcat Message

MacroDroid Drawer Open/Close

MacroDroid Initialised

MacroDroid Mode Change

MacroDroid Variable Change

Media Button Pressed

Media Button V2 Beta

Mobile Service Status

Music/Sound playing

NFC Tag

Notification

Notification Bar Button

Power Button Toggle|Power Button Toggle|Power Button Toggle

Power Connected/Disconnected

Priority Mode/Do Not Disturb

Proximity Sensor

Quick Settings tile

Recent Apps Opened

Regular Interval

Roaming Started/Stopped

Screen On/Off

Screen Orientation

Screen Unlocked

Shake Device

Trigger: Shortcut Launched

Silent Mode Enabled/Disabled

Sim Card Change

SMS Received

Stopwatch

Sunset/Sunrise

Swipe Screen

Tasker/Locale Plugin

USB Device Connect/Disconnect

Volume Button Long Press

Volume Button Press

VPN State

Weather

Webhook (URL)

Widget Button

Wifi SSID Transition

Wifi State Change