Skip to content

A project connecting Notify for Mi Band and Beat Saber HRCounter

Notifications You must be signed in to change notification settings

Comahar/Mi-HRMonitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Mi-HRMonitor

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.

Usage

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)

Setup

Notify

  • Enable Notify>Tools>Tasker Integration
Tools Tasker Integration
image image

Tasker

  • 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 your http:\\SERVER_IP:PORT(default port is 7575) in the url section

Server

  • Run the server opening a cmd or creating a .bat file and writing python3 hrserver.py
  • Allow firewall asd

HRCounter

  • 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

Notes

  • 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.

About

A project connecting Notify for Mi Band and Beat Saber HRCounter

Resources

Stars

Watchers

Forks

Languages