Difference between revisions of "Trigger: Bluetooth Event"

m
 
(29 intermediate revisions by 3 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 Bluetooth state changes.
+
This trigger will fire when the Bluetooth state changes. The following options are available:
  
You can configure it to fire when Bluetooth is enabled or disabled, or when connected to/disconnected from a specific device.
+
* Bluetooth Enabled
This trigger can be configured to fire when you come in range of, or go out of range of a Bluetooth beacon.
+
* Bluetooth Disabled
 +
* Bluetooth Connected
 +
* Bluetooth Disconnected
 
</pre>
 
</pre>
'''Example Usage'''<br/>
+
 
When Bluetooth is enabled connect to a Bluetooth device (e.g. Headphones).
+
'''Magic Text'''<br/>
<pre style="background-color: red; color: white; border-radius: 10px; padding: 10px;">
+
When this trigger is used, you can access magic text via the [...] button where available.<br/>[https://macrodroidforum.com/wiki/index.php/Magic_text#Bluethooth_.28Device_connected_or_device_disconnected.29 Magic text]
 +
 
 +
'''Example Usage:'''<br/>
 +
When connected to a specific Bluetooth Speaker automatically set the volume to 50%.
 +
 
 +
<pre class="trigger-style">
 
Triggers
 
Triggers
  
Bluetooth is enabled
+
Bluetooth Device Connected (Anker Speaker)
</pre><br>
+
</pre>
<pre style="background-color: #1665B0; color: white; border-radius: 10px; padding: 10px;">
+
<pre class="action-style">
 
Actions
 
Actions
  
Connect to a Bluetooth device (Headphones).
+
Media volume = 50%
</pre><br>
+
</pre>
<pre style="background-color: green; color: white; border-radius: 10px; padding: 10px;">
 
Constrains
 
 
 
 
 
</pre><br>
 

Latest revision as of 21:51, 10 June 2024

This trigger will fire when the Bluetooth state changes. The following options are available:

* Bluetooth Enabled
* Bluetooth Disabled
* Bluetooth Connected
* Bluetooth Disconnected

Magic Text
When this trigger is used, you can access magic text via the [...] button where available.
Magic text

Example Usage:
When connected to a specific Bluetooth Speaker automatically set the volume to 50%.

Triggers

Bluetooth Device Connected (Anker Speaker)
Actions

Media volume = 50%