Details on how BlueBubbles integrates with Tasker
Tasker integration requires BlueBubbles App v1.12.0 or greater!
If you make any cool integrations, feel free to share in our Discord!
To fetch the server URL in Tasker, follow the below process:
Create the Send Intent
task
Set the action
as com.bluebubbles.external.GET_SERVER_URL
Set one extra
as password:<your server password>
. This is required so that apps cannot abuse this ability without your consent.
Set the package
as com.bluebubbles.messaging
.
Ensure the target
is set as Broadcast Receiver
.
Create the Intent Received
event
Set the action
as net.dinglisch.android.taskerm.BB_SERVER_URL
Create your own task to perform once this is received. The server URL can be accessed via the %url
variable.
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 Received
intent
Set the action
as net.dinglisch.android.taskerm.BB_EVENT
Create 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 %url
variable
The type of event, which can be accessed via the %event
variable
The event data, which can be accessed via the %data
variable
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.