Interact with your Mi Band 4 right in browser using Web Bluetooth API! Based on the protocol uncovered in this repo.
- Get device info.
- Get status (steps, etc.) (realtime too)
- Get/set current time.
- Send Notifications/Calls.
- Set music and receive music events.
- Heart rate measurement (realtime/onetime).
- Setting alarms.
- Fetch Activity Data.
- Update Watchface.
- Update Firmware (unsafe).
You can obtain Auth Key using the method mentioned here: https://github.com/argrento/huami-token.
This is hosted on Deno Deploy here.
Check LICENSE for more info.
Copyright 2021 @ DjDeveloperr