Hi all ![]()
I’ve built a new free Edge driver: Band Buttons SD ![]()
It creates a virtual device with 10 buttons that are pressed by a simple HTTP GET from your local network – so you can trigger SmartThings routines straight from your wrist (tested on Xiaomi Smart Band 8), or from Tasker, a browser, or anything that can call a URL.
![]()
![]()
Each button is a regular SmartThings button – use it in Routines to toggle the A/C, lights, scenes, etc.
What you need
- SmartThings hub (Edge)
- Android phone
- Notify for Xiaomi app with a PRO license (button actions are listed as a PRO feature; one-time ~$4)
- Mi Fitness stays installed and running (it relays the band presses)
Setup
- Install Band Buttons SD from my channel:
SmartThings. Add a little smartness to your things. - SmartThings app → Add device → Scan nearby → a device called Band Buttons appears.
- The device page shows a URL like
http://<hub-ip>:<port>/press?b=– copy it. - Install Notify for Xiaomi and connect it to your band (easiest: sign in with your Xiaomi account).
- In Notify → Button → for each slot (1–10) → HTTP request:
- Url: the copied URL + the button number (1–10)
- Method: GET
- Event name: the label you want to see on the band (e.g. “A/C”)
- Notify → Button →
: turn on Notify music button and Vibrate alert. - Create a Routine: Band Buttons → Button 1 pressed → …
Usage
Open the music screen on the band →
/
to pick a button →
to run it. The band vibrates to confirm ![]()
Notes
- Local only – the phone must be on your home WiFi.
- Edge LAN drivers can’t bind a fixed port, so after a hub reboot / driver update the port changes – just copy the new URL from the device page into Notify.
- With Notify music button on, the band’s music screen is used for the buttons instead of music control (turn it off when you want music).
- Optional: set a Secret key in the device settings and add
&k=<key>to the URL.
iPhone users
Controlling from the band isn’t possible on iOS – Apple doesn’t let apps intercept band buttons. Good alternatives: a small Zigbee keychain button paired directly to the hub, or an NFC tag + Shortcuts.
Troubleshooting
- Band shows “Just a sec” or Notify won’t sync → toggle Bluetooth off/on.
- Still stuck → factory reset the band (a reboot wasn’t enough for me) and pair again: Mi Fitness first, then Notify.
Source & docs: SmartThings/drivers/band-buttons-sd at main · dotanshai/SmartThings · GitHub
The driver is free as always
If you find it useful, you can buy me a coffee
https://buymeacoffee.com/dotan_shai
Feedback and questions welcome! ![]()
