This is a connector server and automation between Notify for Mi Band and HRCounter. It uses Tasker on the phone and python for the server.
In daily usage you only need to:
- Run the server
- Open Tasker to make sure the profile is running
- Start a workout in the Notify app (not neccesary but increases HR update rate)
- Enable
Notify>Tools>Tasker Integration
Tools | Tasker Integration |
---|---|
- Open this link on your phone.
- Press import
- Press yes Import Data to Tasker
- Press yes to enable the project
- Select the project from bottom of the screen
- Press
Profiles>HR Received>Wifi Connected
enter your wifi name in the SSID section- This prevents your phone connecting to random devices if you aren't connected your home network
- Back to project then
Tasks>HRtoweb>HTTP Request
enter yourhttp:\\SERVER_IP:PORT
(default port is 7575) in the url section
- Run the server opening a cmd or creating a
.bat
file and writingpython3 hrserver.py
- Allow firewall asd
- Install HRCounter and open the game after installing
- Open the file
Beat Saber\UserData\HRCounter.json
- Set
"DataSource":
to"WebRequest"
- Set
"FeedLink":
to"http://localhost:7575"
- If the server is running on another computer write it's ip instead of
localhost
- If the server is running on another computer write it's ip instead of
- Probably there is a better way to do this but I like my way because if it breaks I can't get mad at someone and probably can fix it by myself.
- Feel free to contanct, open an issue or submit PRs.