BLEtoMQTT
Download BLEtoMQTT
Download APK
Version 1.03.01
Build 5
Android 7.0 (SDK 24)
4.9 MB
Direct download links are sourced directly from F-Droid .
About BLEtoMQTT
BLEtoMQTT is an Android foreground service that creates a two‑way bridge between Bluetooth Low Energy (BLE) devices and an MQTT broker. By reading a user‑provided setup.json file, the app knows which BLE MAC addresses to scan for and the MQTT connection parameters, then automatically discovers each device's services and characteristics and maps them to MQTT topics.
Writable characteristics are subscribed to the MQTT broker, allowing remote commands to be sent to the BLE devices. The author uses the app to link custom ESP32 hardware to a Home Assistant server over a Zerotier VPN, and the source repository includes an example configuration for monitoring and controlling a boat.
Key Features
- Runs as an Android foreground service for continuous operation
- Bidirectional communication between BLE devices and an MQTT broker
- Uses a setup.json file to define MQTT parameters and target BLE MAC addresses
- Automatically discovers BLE services and characteristics and creates corresponding MQTT topics
- Automatically subscribes writable characteristics to the MQTT broker
Who Is BLEtoMQTT For?
The app is relevant for developers and hobbyists who need to integrate BLE hardware—such as ESP32 devices—into MQTT‑based home automation or IoT systems, especially those using platforms like Home Assistant.
Pros and Cons
Pros
- Provides automatic mapping of BLE characteristics to MQTT topics
- Supports bidirectional data flow, enabling both monitoring and control
- Operates as a foreground service, reducing the chance of being killed by the system
- Includes example configuration and detailed setup instructions in the source repository
Cons
- Requires manual creation and maintenance of a setup.json configuration file
- Limited to BLE devices whose MAC addresses are specified in the configuration
Frequently Asked Questions
What is the primary function of BLEtoMQTT?
BLEtoMQTT creates a bidirectional bridge that connects Bluetooth Low Energy devices to an MQTT broker, allowing data to flow both ways.
How does the app know which BLE devices to work with?
The app reads a setup.json file where the user lists the MAC addresses of the BLE devices to scan for.
Can BLEtoMQTT be used with Home Assistant?
Yes, the author uses the app to connect ESP32 devices to a Home Assistant server via a Zerotier VPN.
What happens to writable BLE characteristics?
Writable characteristics are automatically subscribed to the MQTT broker, enabling remote commands to be sent from MQTT to the BLE device.
Is there an example configuration available?
The source repository provides an example setup.json and a prebuilt APK that demonstrate how to monitor and control a boat.
Version History
-
Download APKVersion 1.03.01
-
Download APKVersion 1.02.01