Difference between revisions of "Trigger: Failed Login Attempt"
| Line 1: | Line 1: | ||
<pre class="header-style"> | <pre class="header-style"> | ||
| − | This trigger will fire whenever an incorrect passcode (not fingerprint) is entered on the lock screen. Note that this trigger will only fire when a legal login attempt is made (for example a 3 digit | + | This trigger will fire whenever an incorrect passcode (not fingerprint) is entered on the lock screen. Note that this trigger will only fire when a legal login attempt is made (for example a 3 digit PIN is not allowed so will not cause this trigger to fire). |
</pre> | </pre> | ||
| − | + | ''' Options ''' | |
| − | ''''' | + | * '''Number of Failures''' - Select how many failed login attempts should occur before the trigger fires (1-10). |
| − | + | * '''Time Period''' - When the failure count is greater than 1, specify the time period within which the failures must occur: | |
| + | ** 1 minute | ||
| + | ** 2 minutes | ||
| + | ** 5 minutes | ||
| + | ** 10 minutes | ||
| + | ** 30 minutes | ||
| + | ** 1 hour | ||
| + | |||
| + | ''' Examples ''' | ||
| + | |||
| + | Example 1: Take photo after any failed login | ||
| + | |||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Failed Login Attempt [Any failed login]</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Take Photo: Front Camera | ||
| + | Save to: /sdcard/MacroDroid/FailedLogins/</pre> | ||
| + | |||
| + | Example 2: Send alert after multiple failed attempts | ||
| + | |||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Failed Login Attempt [3 failures in 5 minutes]</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Take Photo: Front Camera | ||
| + | Send SMS: To owner, "Multiple failed login attempts detected on your device" | ||
| + | Share last photo: (To email address of your choice)</pre> | ||
| + | |||
| + | Example 3: Lock device after repeated failures | ||
| + | |||
| + | <pre class="trigger-style">Triggers | ||
| + | |||
| + | Failed Login Attempt [5 failures in 10 minutes]</pre> | ||
| + | <pre class="action-style">Actions | ||
| + | |||
| + | Play Sound: Alarm | ||
| + | Notification: Security Alert - Device may be compromised</pre> | ||
| + | |||
| + | ''' Notes ''' | ||
| + | |||
| + | * This trigger requires Device Administrator permissions to function. MacroDroid must be enabled as a Device Administrator in your device settings. | ||
| + | * Once Device Administrator is enabled, MacroDroid cannot be uninstalled through normal methods. To uninstall: | ||
| + | ** Disable Device Administrator in Settings > Security > Device Administrators | ||
| + | ** Or use the uninstall option in MacroDroid's drawer menu | ||
| + | * This trigger only responds to incorrect passcode entries, NOT fingerprint authentication failures. | ||
| + | * The trigger specifically responds to "legal" login attempts - incomplete entries (like a 3-digit PIN when 4 digits are required) will not trigger. | ||
| + | * Time periods available: 60 seconds (1 min), 120 seconds (2 min), 300 seconds (5 min), 600 seconds (10 min), 1800 seconds (30 min), 3600 seconds (1 hour). | ||
| + | |||
| + | ''' Permissions Required ''' | ||
| + | |||
| + | * Device Administrator | ||
| + | |||
| + | ''' See Also ''' | ||
| + | |||
| + | * [[Action:_Take_Picture|Take Picture Action]] | ||
| + | * [[Constraint:_Device_Locked/Unlocked|Device Locked/Unlocked Constraint]] | ||
Latest revision as of 22:56, 5 January 2026
This trigger will fire whenever an incorrect passcode (not fingerprint) is entered on the lock screen. Note that this trigger will only fire when a legal login attempt is made (for example a 3 digit PIN is not allowed so will not cause this trigger to fire).
Options
- Number of Failures - Select how many failed login attempts should occur before the trigger fires (1-10).
- Time Period - When the failure count is greater than 1, specify the time period within which the failures must occur:
- 1 minute
- 2 minutes
- 5 minutes
- 10 minutes
- 30 minutes
- 1 hour
Examples
Example 1: Take photo after any failed login
Triggers Failed Login Attempt [Any failed login]
Actions Take Photo: Front Camera Save to: /sdcard/MacroDroid/FailedLogins/
Example 2: Send alert after multiple failed attempts
Triggers Failed Login Attempt [3 failures in 5 minutes]
Actions Take Photo: Front Camera Send SMS: To owner, "Multiple failed login attempts detected on your device" Share last photo: (To email address of your choice)
Example 3: Lock device after repeated failures
Triggers Failed Login Attempt [5 failures in 10 minutes]
Actions Play Sound: Alarm Notification: Security Alert - Device may be compromised
Notes
- This trigger requires Device Administrator permissions to function. MacroDroid must be enabled as a Device Administrator in your device settings.
- Once Device Administrator is enabled, MacroDroid cannot be uninstalled through normal methods. To uninstall:
- Disable Device Administrator in Settings > Security > Device Administrators
- Or use the uninstall option in MacroDroid's drawer menu
- This trigger only responds to incorrect passcode entries, NOT fingerprint authentication failures.
- The trigger specifically responds to "legal" login attempts - incomplete entries (like a 3-digit PIN when 4 digits are required) will not trigger.
- Time periods available: 60 seconds (1 min), 120 seconds (2 min), 300 seconds (5 min), 600 seconds (10 min), 1800 seconds (30 min), 3600 seconds (1 hour).
Permissions Required
- Device Administrator
See Also