[Edge] Band Buttons SD – control SmartThings from your Xiaomi Smart Band ⌚

Hi all :waving_hand:

I’ve built a new free Edge driver: Band Buttons SD :tada:
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.

:snowflake::light_bulb::clapper_board: Each button is a regular SmartThings button – use it in Routines to toggle the A/C, lights, scenes, etc.

:white_check_mark: 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)

:hammer_and_wrench: Setup

  1. Install Band Buttons SD from my channel:
    SmartThings. Add a little smartness to your things.
  2. SmartThings app → Add device → Scan nearby → a device called Band Buttons appears.
  3. The device page shows a URL like http://<hub-ip>:<port>/press?b= – copy it.
  4. Install Notify for Xiaomi and connect it to your band (easiest: sign in with your Xiaomi account).
  5. 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”)
  6. Notify → Button → :gear:: turn on Notify music button and Vibrate alert.
  7. Create a Routine: Band Buttons → Button 1 pressed → …

:mobile_phone: Usage
Open the music screen on the band → :last_track_button:/:next_track_button: to pick a button → :play_button: to run it. The band vibrates to confirm :vibration_mode:

:warning: 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.

:green_apple: 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.

:wrench: 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.

:laptop: Source & docs: SmartThings/drivers/band-buttons-sd at main · dotanshai/SmartThings · GitHub

The driver is free as always :folded_hands: If you find it useful, you can buy me a coffee :hot_beverage: https://buymeacoffee.com/dotan_shai

Feedback and questions welcome! :speech_balloon: