Display the height of the last jump, maximum jump height of our session and number of jumps on your Xiaomi Mi Band 8. Based on the data measured on your android phone by the surfr app. Vibrate the band on every jump.
![](https://private-user-images.githubusercontent.com/48691511/330551808-5381f8fb-cd3b-446e-83bf-4c552832b196.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjg0OTAsIm5iZiI6MTczOTEyODE5MCwicGF0aCI6Ii80ODY5MTUxMS8zMzA1NTE4MDgtNTM4MWY4ZmItY2QzYi00NDZlLTgzYmYtNGM1NTI4MzJiMTk2LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE5MDk1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQxZjdlZDY1MDA1YTdmYTU4YWM3OGUwZjkwNGQyODk5MjIyOWJlMDE5MDUzYjZjNjUzYzUyNjRlNzE3YmQyMGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.P4IPiUNxexlTzb1ppy4rd15huVUmb28JNeIX9UrQgLw)
![](https://private-user-images.githubusercontent.com/48691511/330551802-c54e208a-3d89-4ddd-a3cd-0ba4d73ec89c.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMjg0OTAsIm5iZiI6MTczOTEyODE5MCwicGF0aCI6Ii80ODY5MTUxMS8zMzA1NTE4MDItYzU0ZTIwOGEtM2Q4OS00ZGRkLWEzY2QtMGJhNGQ3M2VjODljLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDE5MDk1MFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU5YzU4MmFkMDA1ODI1MjUyNTY3NTMzOTY3Zjk3YTU0ZjNhMjg5NGNmNmZjZWRkYzMyZThjYWI4OTA2MzNlOTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.itCZW2k8rdy7k2zvAZZ6LevhXkaMvCdVBmJSj-bY2EU)
This tutorial is only working with the Xiaomi MI Band 8. Not with the Xiaomi Mi Band 8 Active or other Smartbands. However it should be possible to use other bands. For the watches supported by https://github.com/m0tral/EasyFace it should be simple. Just ask me in the issues. It is also possible to customize the watch face.
- The Mi Band 8 is setup with the official Mi Fitness app to receive the auth key: https://play.google.com/store/apps/details?id=com.xiaomi.wearable&hl=de&gl=US
- The Band uses a special watchface to display the jump data: https://github.com/Chriz76/Xiaomi-Mi-Band-8-Surfr-Watchface-Notifications/blob/main/watch-face.zip
- The watchface is installed via the app "Mi Band 8 Watch Faces" on the Band: https://play.google.com/store/apps/details?id=asn.ark.miband8&hl=de&gl=US&pli=1
- The surfr app runs in wetsuit mode and automatically creates an android broadcast on every jump: https://play.google.com/store/apps/details?id=com.kiter&hl=de&gl=US
- The Automate app intercepts surfr's broadcasts, converts them to a special format, increases the jump count, the max jump height and sends all data to the gadgetbridge app and also tells gadgetbridge to vibrate the band: https://play.google.com/store/apps/details?id=com.llamalab.automate&hl=de&gl=US
- Automate uses the two flows:
- Gadgetbridge is connected to the Mi Band 8 and sends the jump data to the Band and tells it to vibrate: https://freeyourgadget.codeberg.page/fdroid/repo/nodomain.freeyourgadget.gadgetbridge.nightly_nopebble_0.80.0-9ba96231c.apk
- The Band vibrates and displays the jump data
Warning: This may break your Band. So do it on your own risk.
- Install the Mi Fitness app, setup your band and connect it to the Mi Fitness app.
- Install gadgetbridge. You have to use one of the latest nightly builds (see the link above) because only those builds contain the necesarry interfaces.
- Shutdown the Mi Fitness app and connect your Band to Gadgetbridge following this guide: https://gadgetbridge.org/basics/pairing/huami-xiaomi-server/
- Test in the gadgetbrige debug menu that you can make the band vibrate.
- Allow Debug Commands in the Intent Api gagetbridge settings.
- Install the Automate app.
- Download the two Automate flows and import them to Automate.
- Start the vibrate flow in Automate. Your Band should vibrate.
- Edit the Surf Check flow in Automate to link the vibrate call to the vibrate flow.
- Start the Surf Check flow.
- Start the surfr app in wetsuite mode.
- Simulate a jump by bringing your phone down to the ground, then shaking it a bit left and right and fast pull your arm up and then slowly down.
- You might have to try it several times but then the surfr app should detect a jump and display a notification.
- Switch to Automate and you should see in the log of the Surf Check flow that it detected the notification.
- Install the "Mi Band 8 Watch Faces" app.
- Download the watch-face.zip and use the "Mi Band 8 Watch Faces" app to install it on the band.
- Reconnect gadgetbridge to your Band.
- Simulate another jump. The data should now be displayed on your band.