Custom Notification Patterns

Mi Band Tools offers powerful feature for advanced or curious users that allows you to use commands to customize notifications or to send commands into the bracelet.

This feature is available on every notification configuration detail as Advanced - Custom Pattern. Separate each command by commadot or simply by new line character.

The available commands varies based on the bracelet version you're using, see below.

Mi Band 2 (OLED):

  • V(*) = vibration without OLED
  • V(x) = vibrate with icon of index x (icon indexes 1-34)
  • V(-) = stop ongoing call vibration (only usable for index 1)
  • VC(x, y, z) = vibrate x times for y milliseconds with z delays in between
  • DHR(x, y) = display number x in groups of three digits with y delay between them (second argument is optional)
  • VT(x, y, abc) = vibrate with (splitting) icon of index x and display text abc in maximum y groups of eighteen characters (firmware 1.0.1.7+), splitting icon is icon visible while splitting multiple text groups and helps to eliminate previously visible text, note that vibration is always there while displaying each text split part (this is fixed in the firmware and can not be changed)
  • S(x) = sleep for x milliseconds
  • G(x) = set daily fitness goal to x steps
  • HR() = measures and records current heart rate
  • HRM(x, y) = change heart rate monitoring mode to disable (x = 0), enable in interval mode (x = 1) or enable in continuous mode (x = 2); second (y) parameter is optional and can be used to set non-continuous monitoring interval in seconds (must be >= 15)
  • LW(x) = turns the lift wrist gesture off (x = 0) or on (x = 1)
  • VM(x) = change vibration notification mode to disable (x = 0), enable (x = 1) or enable in top priority mode (x = 2)

Mi Band 1S (Pulse):

  • V(*) = vibration without LEDs
  • V(**) = vibration with default LEDs
  • V(+) = start infinite vibration
  • V(-) = stop infinite vibration
  • S(x) = sleep for x milliseconds
  • G(x) = set daily fitness goal to x steps
  • HR() = measures and records current heart rate
  • HRM(x, y) = change heart rate monitoring mode to disable (x = 0), enable in interval mode (x = 1) or enable in continuous mode (x = 2); second (y) parameter is optional and can be used to set non-continuous monitoring interval in seconds (must be >= 15)
  • VM(x) = change vibration notification mode to disable (x = 0), enable (x = 1) or enable in top priority mode (x = 2)

Mi Band 1A (White):

  • V(*) = vibration without LEDs
  • V(**) = vibration with default LEDs
  • V(+) = start infinite vibration
  • V(-) = stop infinite vibration
  • S(x) = sleep for x milliseconds
  • G(x) = set daily fitness goal to x steps
  • VM(x) = change vibration notification mode to disable (x = 0), enable (x = 1) or enable in top priority mode (x = 2)

Mi Band 1.0 (Color):

  • V(*) = vibration without LEDs
  • V(**) = vibration with default LEDs
  • V(+) = start infinite vibration
  • V(-) = stop infinite vibration
  • S(x) = sleep for x milliseconds
  • C(R, G, B) = blink with R, G, B color for default duration (no sleep added)
  • CS(R, G, B) = stop previous blink and set goal checking color
  • G(x) = set daily fitness goal to x steps
  • VM(x) = change vibration notification mode to disable (x = 0), enable (x = 1) or enable in top priority mode (x = 2)


Examples:

  • vibrate without display, wait a while and then quickly vibrate and swap between icons of index 3, 4 and 5 (Mi Band 2 OLED):
    • V(*), S(2000), V(3), V(4), V(5)
  • blink in red, then in green, then in blue and vibrate shortly at the end (Mi Band 1.0 Color):
    • C(255, 0, 0), S(1000), C(0, 255, 0), S(1000), C(0, 0, 255), S(1000), V(*)