(click on flag to translate on your language)

Tasker integration

If you don't know what is Tasker, please check it here Tasker on Play Store

There are many other Tasker compatible apps you can use too:
Automate
AutomateIt
...

Notice: Mi Band 4/5 and Amazfit Bip/Cor/GTR/GTS/... intents are the same

Doing actions on Notify app

Disable button

Action: com.mc.miband.buttonDisable

Enable button

Action: com.mc.miband.buttonEnable

Resend last notification

Action: com.mc.miband.resendLastNotificationByTasker

Dismiss last notification

Action: com.mc.miband.stopLastNotificationByTasker

Disable sleep heart monitor

Action: com.mc.miband.sleepHeartDisable

Enable sleep heart monitor

Action: com.mc.miband.sleepHeartEnable

Disable Mi Band wrist to turn on display

Action: com.mc.miband.miband2WristDisable

Enable Mi Band wrist to turn on display

Action: com.mc.miband.miband2WristEnable

Disable sleeping time settings (include weekends)

Action: com.mc.miband.sleepingTimeDisable

Enable sleeping time settings (include weekends)

Action: com.mc.miband.sleepingTimeEnable

Toggle workout pause

Action: com.mc.miband.workoutTogglePauseTasker

Connect to band (if not already connected)

Action: com.mc.miband.connectToBand

Re-connect to band (force reconnection)

Action: com.mc.miband.reconnectToBand

Set Notify silence mode

Action: com.mc.miband.setNotifyMode.disableAll

Set Notify normal mode

Action: com.mc.miband.setNotifyMode.enable

Enable Band disconnection notification on band

Action: com.mc.miband.miband2DisconnectionEnable

Disable Band disconnection notification on band

Action: com.mc.miband.miband2DisconnectionDisable

Sync data from Mi Band (since 6.10.9 app version)

Action: com.mc.miband.syncData
Please notice: if you sync data before wake up you may see wrong sleep statistics

Disable heart monitor (since 8.3.11 app version)

Action: com.mc.miband.taskerHeartDisable

Enable heart monitor (since 8.3.11 app version)

Action: com.mc.miband.taskerHeartEnable

Disable night mode Mi Band 3 (since 8.4.3 app version)

Action: com.mc.miband.taskerNightModeDisable

Enable night mode Mi Band 3 (since 8.4.3 app version)

Action: com.mc.miband.taskerNightModeEnable

Disable band DND mode (since 8.13.1 app version)

Action: com.mc.miband.taskerBandDNDDisable

Enable band DND mode (since 8.13.1 app version)

Action: com.mc.miband.taskerBandDNDEnable

Export steps/sleep/heart/weight spreadsheet data (since 8.18.11 app version)

Files will be saved on /miband/mibandnotify or /amazfit/amazfitnotify folder.
Optional parameters (extra):
start - long - timestamp (in milliseconds) since when start exporting data. Default value 00:00:00 of current day
end - long - timestamp (in milliseconds) end time of exporting data. Default value current time
Action: com.mc.miband.taskerExportAllSpreadsheetData

Enable smart alarm (since 9.2.11 app version)

Action: com.mc.miband.taskerAlarmEnable
Parameters (extra):
alarm - integer - number of alarm (valid number: 1, 2, 3, 4, 5, 6, 7, 8)

Disable smart alarm (since 9.2.11 app version)

Action: com.mc.miband.taskerAlarmDisable
Parameters (extra):
alarm - integer - number of alarm (valid number: 1, 2, 3, 4, 5, 6, 7, 8)

Change current profile (since 9.3.1 app version)

Action: com.mc.miband.taskerProfileSet
Parameters (extra):
profile - String - name of profile to activate (must be the same exact name showed on the notify main left menu)


Receiving events from Notify app

Get realtime measured heart value

After band has measure heart rate, you will receive this intent. Remember to set the heart monitor mode to "Notify app mode" on the heart monitor settings, to be able receive this event!
Action: com.mc.miband.heartRateGot
Extras: value - contains measured heart rate (integer)

Get realtime measured steps

To receive current day steps number, you will receive this intent
Action: com.mc.miband.stepsGot
Extras: value - contains steps number (integer)

Get band battery value

After the Notify app get the band battery value, you will receive this intent
Action: com.mc.miband.batteryStatGot
Extras: value - contains battery value (integer)

Receive the intent when an early bird alarms starts

When an early bird alarm starts, you will receive this intent
Action: com.mc.miband.smartAlarmRun

Receive the intent when wake me up alarm starts

When wake me up alarm starts, you will receive this intent
Action: com.mc.miband.startWakeUp

Receive the intent when band get connected

Action: com.mc.miband.connected

Receive the intent when band get disconnected

Action: com.mc.miband.disconnected

Receive the intent when you fell asleep (this event is sent from the band, if the band firmware doesn't support this feature, you will not receive any event)

Action: com.mc.miband.tasker.fellAsleep

Receive the intent when you woke up (this event is sent from the band, if the band firmware doesn't support this feature, you will not receive any event)

Action: com.mc.miband.tasker.wokeUp

Receive the intent when you reache the steps goal (this event is sent from the band, if the band firmware doesn't support this feature, you will not receive any event)

Action: com.mc.miband.tasker.stepsGoalReached

Receive the intent when you stop wearing the band (this event is sent from the band, if the band firmware doesn't support this feature, you will not receive any event)

Action: com.mc.miband.tasker.notWearing

Receive the intent when power nap alarm has been enabled (since 8.14.1 app version)

Action: com.mc.miband.tasker.powerNapOn

Receive the intent when power nap alarm has been disabled (since 8.14.1 app version)

Action: com.mc.miband.tasker.powerNapOff

Receive button events intent

Check dedicated Tasker button tutorial



Password protected Tasker intents (since 10.3.1 app version)

Add password parameter (extra) with the same string set on Notify app Tasker settings



How to receive an intent on Tasker

Check the tutorial How to receive an intent



How to send an intent on Tasker

Check the tutorial How to send an intent



How to send a custom notification from Tasker to the band

Check the tutorial How to send a notification