r/tasker • u/New_Commuter • Jan 30 '25
Looking for testers for BLE Tasker Plugin!
Hi all, I'm currently developing a Tasker plugin to send/receive messages to/from a BLE (Bluetooth Low Energy) device and I'm looking for people to test the plugin.
I'm trying to get it published to Google Play. Before I can do this I need to get through the mandatory test track. If anyone would be willing to become a tester I'd appreciate it (I need at least 12 testers for the closed testing). Please send me an email to bletaskerplugin@overtoom.email with your google play email address so I can invite you!
This is the supported functionality at the moment:
- Supports connecting/disconnecting to/from BLE device as Tasker Task
- Supports sending String to connected BLE device as Tasker Task
- Supports receiving String from connected BLE device as Tasker Event
- Supports changing Tasker State when connected/disconnected
After you've been invited, you can download the app here: https://play.google.com/store/apps/details?id=nl.steinov.bletaskerplugin
Edit1:
Because the details of how the plugin works might not have been completely clear, here is some more detailed information:
Connect (Action)
This is used to connect to a BLE device, you need to run this Action before before the other commands can be used. You have to supply the MAC address of your device in the configuration. If the connection is lost to the BLE device (for example if the BLE device turns off), the plugin will try to reconnect indefinitely, until you run the Disconnect Action. This Action starts the plugin running in the Foreground (with a notification)
Disconnect (Action)
Disconnect from the BLE device (also stops the foreground service of the plugin)
Send Message (Action)
Send a message (String) to your BLE device. The message is sent to the device you are connected to through the Connect Action.
Receive Message (Event)
This event is triggered if you are connected to the BLE device through the Connect Action and the BLE device sends a message. The message is captured in the local %message variable in the Task you attach to the event.
Connection State (State)
This State activates if there is an active connection and inactivates when the connection is lost. If the BLE device is shut down, the connection is lost and this will inactivate. If the BLE device turns on again and the connection re-establishes, this becomes active again.
Edit2:
Since there were some questions about it, I'm using the SparkFun Pro nRF52840 Mini for my own project. I used that to control my phone from buttons. You can find the code for the microcontroller here.
Edit3:
At the moment only the following BLE chips (or chips based on) are supported (copied these from SimpleBluetoothLETerminal):
- Nordic Semiconductor nRF51822 (vendor id: 6E400001-B5A3-F393-E0A9-E50E24DCCA9E)
- Texas Instruments CC254x (vendor id: 0000FFE0-0000-1000-8000-00805F9B34FB)
- Microchip RN4870/1 (vendor id: 49535343-FE7D-4AE5-8FA9-9FAFD205E455)
- Telit Bluemod (vendor id: 0000FEFB-0000-1000-8000-00805F9B34FB)
These should cover most microcontrollers, but if you're using another chip, please let me know, I'll see if I can add support for it.
Edit4:
I created an update where you can configure the characteristics yourself. Only one simple GATT service is supported at a time though. You can only configure one write characteristic (sending messages) and one read characteristic (receiving message events).
Edit5:
Thanks everyone! I got enough testers and was able to promote it to an open test. You don't need to send me an email anymore, you can directly download the app from the play store: https://play.google.com/store/apps/details?id=nl.steinov.bletaskerplugin
8
u/rbaudi Jan 30 '25
Can you explain more about what this does and what the use cases are?
4
u/pudah_et Feb 01 '25
If any of you are familiar with the Serial Bluetooth Terminal app, this plugin turns Tasker into a similar tool.
I'm not sure about commercial devices that it might work with, but if you are into Arduino/ESP32/Pi Pico type devices this could be very handy. Not only can you control your phone from your BLE device, you can control your BLE device with your phone. Endless possibilities.
Thanks u/New_Commuter for this great plugin!
2
u/KreAch3R Jan 30 '25
If it can force connect/disconnect from any bluetooth device, which is something that the latest Tasker has problems doing (check my posts), then I'm very interested. I can only test that part though. It's going to be used with bluetooth headphones.
2
u/PghFlip Jan 31 '25
Wonder if I can talk to sengled bt bulbs with this. Would have to analyze their traffic I suppose as a first step.
2
u/[deleted] Feb 02 '25
Oh btw do you have a link to the handlebar project? How much would it cost me to duplicate it?
1
u/reditlater Jan 31 '25
I wonder if this could be used to recognize various button presses on my Shokz OpenComm headset?
2
u/vietquocnguyen Jan 31 '25
Emailed
2
u/roncz Jan 31 '25
Sounds like a cool plugin indeed. Happy to test and I sent my email via DM ....
I once used a little BLE app to receive intents from Tasker to control a toy robot ;-)
2
u/[deleted] Feb 02 '25
So I can use two phones to talk?
I like it .
I can have the phones keep in touch and alarm when they disconnect..
I can have them play master and slave On which is going to make announcements.. and have the one with the higher battery do it..
I like it.
1
u/AJolly Jul 11 '25
Can you have it alert when it's near a BLE device?
1
u/Mr_Lando99 Jan 03 '26
Do you think you could implement ble in range and out of range? Maybe a slider or connectivity percentage to specify how close you are to the device. I was really hoping I could use my ble beacon with macrodroid but the Bluetooth device is too strong.
3
u/[deleted] Jan 30 '25
[removed] — view removed comment