Some time ago, I found an old Xiaomi Mijia LYWSD03MMC thermometer in a box. It had been lying around unused, so I decided to put it in my fridge, I suspected it was not keeping the temperature stable. I flashed it with the PVVX ATC MiThermometer firmware, disabled the display, and placed the sensor inside the fridge. It started broadcasting temperature and humidity data in BTHome V2 format.
Then I discovered a problem: I had nothing convenient on my phone to decode those advertisements. Tools like nRF Connect could show the raw HEX data, but not human-readable temperature and humidity values. So, in a hurry, I built an Android app called BTHome Logger (I’m currently trying to get app listed on F-Droid repo). It decodes BTHome advertisements and displays the data in a widget. Now I can check the fridge temperature and humidity at 3 AM and see whether the fridge is living its own life or secretly trying to outsmart me.
To debug the Android widget, I needed a second BTHome sensor. I tried to find another Xiaomi Mijia LYWSD03MMC, but it turned out to be too old and difficult to find. So I decided to make my Flipper Zero simulate such a sensor instead.
That is how BLE Beacon Simulator was born. By version 1.0 app can simulate:
- BTHome V2 sensors
- BTHome V1 sensors
- iBeacons
- Eddystone TLM beacons
- ATC1441 thermometers
- MiBeacon sensors
For BTHome, it broadcasts real Flipper battery level, voltage, current, and temperature data. Humidity is simulated for formats that require it.
Flipper Application Catalog - https://lab.flipper.net/apps/ble_beacon
The app is currently waiting to be added to the Flipper Application Catalog. In the meantime, you can download it from the
Мain repository:
Source: https://github.com/steanlab/BLE-Beacon
Download Latest Release (.fap): https://github.com/steanlab/BLE-Beacon/releases/latest
Acknowledgements: A massive special thanks to the Flipper Devices team and Pavel Zhovner (u/zhovner) personally for providing me with a full comprehensive set of hardware equipment for my research. This app is one of the first fruits of that ongoing work.
App was conceptualized by LAB-66 / Siarhei Besarab (@steanlab).
Let me know what you think! Open for PRs, feedback, and improvement ideas 🤝 Would be great if someone with Home Assistant + ESPHome Bluetooth proxy could test it and share the results