Skip to content

wuhan005/mebeats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

💓 mebeats Go Go Report Card

小米手环实时心率数据采集 - Your Soul, Your Beats!

  • cmd/mebeats-client: the mebeats client. It collects the heart rate data from Mi Band and reports to server.
  • cmd/mebeats-server: the mebeats sever. It receives the heart rate data and generate the badge.

Requirement

  • MiBand (2, 3, 4, 5, 6)
  • macOS 11.3.1 or higher

Run server

git clone [email protected]:wuhan005/mebeats.git

cd mebeats/cmd/mebeats-server

go build . && ./mebeats-server --key=<your_secret_key>

Server runs on 0.0.0.0:2830.

Run client

git clone [email protected]:wuhan005/mebeats.git

cd mebeats/cmd/mebeats-client

go build . && ./mebeats-client --addr=<mi_band_addr> --auth-key=<mi_band_auth_key> --server-addr=<mebeats_server_addr> --server-key=<your_secret_key>

License

MIT

About

💓 小米手环实时心率数据采集 - Your Soul, Your Beats!

Resources

License

Stars

Watchers

Forks

Languages