Changes

Added SMS received
Line 48: Line 48:  
[bluetooth_device_name] = Headphones 1 Pro
 
[bluetooth_device_name] = Headphones 1 Pro
    +
</pre><br>
 +
 +
=== SMS received ===
 +
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 +
This magic text appears when using any variation of "SMS received".
 +
 +
[sms_name] - Sender name.
 +
 +
[sms_message] - SMS content.
 +
 +
[sms_number] - SMS sender number.
 +
 +
For example, if you receive an SMS from "Macrodroid user"
 +
the message "Hello, have a nice day"
 +
comes from the phone number +1 12345678
 +
 +
the magic text would return this:
 +
 +
[sms_name] = Macrodroid user
 +
 +
[sms_message] = Hello, have a nice day
 +
 +
[sms_number] =+1 12345678
 
</pre><br>
 
</pre><br>
   Line 53: Line 76:  
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
<pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">
 
[spotify_track_id] - Returns the Track ID of the song.
 
[spotify_track_id] - Returns the Track ID of the song.
[spotify_artist] - Returns the artist of the song.
+
 
[spotify_album] - Returns the album of the song.
+
[spotify_artist] - Returns the artist of the song, "Started music" is not supported
[spotify_track] - Returns the name of the song.
+
 
 +
[spotify_album] - Returns the album of the song, "Started music" is not supported
 +
 
 +
[spotify_track] - Returns the name of the song, "Started music" is not supported
 +
 
 
[spotify_length_s] - Returns the length of the song in seconds.
 
[spotify_length_s] - Returns the length of the song in seconds.
 +
 
[spotify_is_playing]- Returns a boolean state (true or false).
 
[spotify_is_playing]- Returns a boolean state (true or false).
 
</pre><br>
 
</pre><br>
editors
1,599

edits