Difference between revisions of "Trigger: Device Boot"

m
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre style="background-color: #EEEEEE; color: Black; border-radius: 10px; padding: 10px;">
+
<pre class="header-style">
This trigger will fire when the device has completed booting.
+
This trigger will fire whenever the device completes booting.
 +
</pre>
  
Note that this may occur some time after the device appears to be booted as it typically takes some time to initialise various apps including MacroDroid.</pre>
+
''' Options '''
<br>
 
'''Example Usage'''<br/>
 
  
<pre style="background-color: #AC2424; color: white; border-radius: 10px; padding: 10px;">
+
This trigger has no configurable options. It simply fires once when the device finishes booting.
Triggers
 
  
 +
''' Examples '''
  
</pre><br>
+
Example 1: Start favorite app after boot
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
 
Actions
 
  
 +
  <pre class="trigger-style">Triggers
  
</pre><br>
+
Device Boot</pre>
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
+
  <pre class="action-style">Actions
Constraints
 
  
 +
Wait Before Next: 30 seconds
 +
Launch Application: Email</pre>
  
</pre><br>
+
Example 2: Restore settings after reboot
<pre style="background-color: teal; color: white; border-radius: 10px; padding: 10px;">
 
Local variables
 
  
 +
  <pre class="trigger-style">Triggers
  
</pre><br>
+
Device Boot</pre>
 +
  <pre class="action-style">Actions
 +
 
 +
Wait: 15 seconds
 +
WiFi On
 +
Bluetooth On
 +
Set Volume: Ringer 70%</pre>
 +
 
 +
''' Notes '''
 +
 
 +
* This trigger can only fire once the device has been unlocked. On devices with secure lock screens, the trigger will not fire until after the first unlock.
 +
* The trigger may occur sometime after the device appears fully booted, as MacroDroid and other applications require time to initialize.
 +
* Adding a Wait action at the start of your macro actions is recommended to ensure all system services are fully loaded.
 +
* This trigger does not require any special permissions.
 +
* The trigger fires once per boot cycle - it will not fire again until the device is restarted.
 +
 
 +
''' See Also '''
 +
 
 +
* [[Trigger:_MacroDroid_Initialised|MacroDroid Initialised Trigger]]

Latest revision as of 22:43, 5 January 2026

This trigger will fire whenever the device completes booting.

Options

This trigger has no configurable options. It simply fires once when the device finishes booting.

Examples

Example 1: Start favorite app after boot

Triggers

Device Boot
Actions

Wait Before Next: 30 seconds
Launch Application: Email

Example 2: Restore settings after reboot

Triggers

Device Boot
Actions

Wait: 15 seconds
WiFi On
Bluetooth On
Set Volume: Ringer 70%

Notes

  • This trigger can only fire once the device has been unlocked. On devices with secure lock screens, the trigger will not fire until after the first unlock.
  • The trigger may occur sometime after the device appears fully booted, as MacroDroid and other applications require time to initialize.
  • Adding a Wait action at the start of your macro actions is recommended to ensure all system services are fully loaded.
  • This trigger does not require any special permissions.
  • The trigger fires once per boot cycle - it will not fire again until the device is restarted.

See Also