Difference between revisions of "Triggers"
Line 141: | Line 141: | ||
[[Silent Mode Enabled/Disabled]] | [[Silent Mode Enabled/Disabled]] | ||
− | [[Sim Card Change]] | + | [[Trigger: Sim Card Change|Sim Card Change]] |
− | [[SMS Received]] | + | [[Trigger: SMS Received|SMS Received]] |
− | [[Stopwatch]] | + | [[Trigger: Stopwatch|Stopwatch]] |
− | [[Sunset/Sunrise]] | + | [[Trigger: Sunset/Sunrise|Sunset/Sunrise]] |
− | [[Swipe Screen]] | + | [[Trigger: Swipe Screen|Swipe Screen]] |
− | [[Tasker/Locale Plugin]] | + | [[Trigger: Tasker/Locale Plugin|Tasker/Locale Plugin]] |
− | [[USB Device Connect/Disconnect]] | + | [[Trigger: USB Device Connect/Disconnect|USB Device Connect/Disconnect]] |
− | [[Volume Button Long Press]] | + | [[Trigger: Volume Button Long Press|Volume Button Long Press]] |
− | [[Volume Button Press]] | + | [[Trigger: Volume Button Press|Volume Button Press]] |
− | [[VPN State]] | + | [[Trigger: VPN State|VPN State]] |
− | [[Weather]] | + | [[Trigger: Weather|Weather]] |
− | [[Webhook (URL)]] | + | [[Trigger: Webhook (URL)|Webhook (URL)]] |
− | [[Widget Button]] | + | [[Trigger: Widget Button|Widget Button]] |
− | [[Wifi SSID Transition]] | + | [[Trigger: Wifi SSID Transition|Wifi SSID Transition]] |
[[Trigger: Wifi State Change|Wifi State Change]] | [[Trigger: Wifi State Change|Wifi State Change]] |
Revision as of 13:26, 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.