[DEV] I built an open-source app that turns your smartband's media controls into Smart Home/Webhook triggers (Band Trigger v1.5.1)
Hey everyone,
I wanted to share a project I've been working on. I needed a way to trigger my Home Assistant routines and webhooks directly from my wrist, but my smartband only supported basic media controls. So, I built an app called Band Trigger.
Basically, it uses Android's media session to "hijack" the play/pause/next buttons on your watch. When your music is paused, the app takes over. Instead of playing a song, pressing the button on your watch sends an HTTP GET request in the background.
I just released version 1.5.1 and added a bunch of quality-of-life stuff based on early feedback:
- Folders & Custom Layout: You can now group your triggers into folders and drag/drop them however you like on the phone. The cool part is that the watch UI will perfectly mirror the exact order you set up in the app.
- Watch Navigation: Folders show up as
[ 📁 Folder Name ]on the watch. If you go into a folder, there is an[ 🏠 Exit Folder ]option at the very bottom of the list to easily back out. - Real-time feedback: The "track title" on your watch screen dynamically changes to
[ ON ]or[ OFF ]so you know if your webhook actually fired. - Extra modules: I also threw in a feature to use your watch to silently snap a photo from your phone's camera or start/stop a background audio recording.
A quick tip for the setup: There's an option in the app called "Hijack Band Focus" that asks for notification access. I highly recommend turning this on. It automatically forces the app to take over your watch's media screen the second your regular Spotify/YouTube audio pauses, so you never have to pull your phone out to reopen the app manually.
I originally developed and tested this on my own Galaxy Fit 3. However, since it relies on standard Android media protocols (AVRCP), it should theoretically work on pretty much any smartband or smartwatch (Mi Band, Amazfit, Garmin, WearOS, etc.).
I would love for you guys to test it out and let me know how it handles on your specific devices. It is completely free and open-source.
- GitHub Repo:https://github.com/dafaol/Band-Trigger
- Download APK:https://github.com/Dafaol/Band-Trigger/releases/tag/1.5.1
Let me know what you think, or if you run into any bugs!