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 icon of index x and display text abc in maximum y groups of eighteen characters (firmware 1.0.1.7+)
  • S(x) = sleep for x milliseconds
  • G(x) = set daily fitness goal to x steps
  • HR() = measures and records current heart rate
  • LW(x) = turns the lift wrist gesture off (x = 0) or on (x = 1)

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

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

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


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(*)