Tasker Integration
Details on how BlueBubbles integrates with Tasker
Tasker integration requires BlueBubbles App v1.12.0 or greater!
Fetching the Server URL
To fetch the server URL in Tasker, follow the below process:
Create the
Send IntenttaskSet the
actionascom.bluebubbles.external.GET_SERVER_URLSet one
extraaspassword:<your server password>. This is required so that apps cannot abuse this ability without your consent.Set the
packageascom.bluebubbles.messaging.Ensure the
targetis set asBroadcast Receiver.
Create the
Intent ReceivedeventSet the
actionasnet.dinglisch.android.taskerm.BB_SERVER_URLCreate your own task to perform once this is received. The server URL can be accessed via the
%urlvariable.
Listening for Server Events
To listen for server events (new message, chat read status change, etc), follow the below process:
Enable the option within BlueBubbles app settings > Tasker Integration
Create the
Intent ReceivedintentSet the
actionasnet.dinglisch.android.taskerm.BB_EVENTCreate your own task to perform once this is received.
The intent sends a few pieces of data:
The server URL, which can be accessed via the
%urlvariableThe type of event, which can be accessed via the
%eventvariableThe event data, which can be accessed via the
%datavariable
The event type is defined by the server event types, which can be found here.
The event data is a JSON string. You can use Tasker's built-in JSON parser to convert this to a real JSON object and access the individual data inside.
Last updated
Was this helpful?