https://github.com/sonic853/pulsoid-to-vrchat-osc
https://github.com/sonic853/pulsoid-to-vrchat-osc
miband
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sonic853/pulsoid-to-vrchat-osc
- Owner: Sonic853
- License: mit
- Created: 2022-02-26T20:16:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-04T05:36:11.000Z (over 1 year ago)
- Last Synced: 2025-01-17T01:11:19.534Z (over 1 year ago)
- Topics: miband
- Language: JavaScript
- Homepage:
- Size: 44.9 KB
- Stars: 16
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pulsoid to VRChat OSC
[中文文档](README_zh.md)

minasaki
## What's this?
This is a software that allows you to use a heart rate bracelet to send heart rate to VRChat OSC via Pulsoid.
## Supported devices?
Check This: https://www.blog.pulsoid.net/monitors
In theory, it can support Mi Band 3/4/5/6
## how to use?
1. Open Mi Sports, select the heart rate bracelet you want to use, and turn on the Bluetooth broadcast and exercise heart rate broadcast

2. Install Pulsoid on your mobile phone and register an account
3. Connect the heart rate bracelet to be used

4. run.bat
5. The program will automatically open the browser and require you to log in for verification. After logging in, click the "Copy to clipboard" button to copy the token

6. past Token

## Addresses ?
| Addresss | Value Type | Description |
| ----------------------------------- | ---------- | ---------------------------- |
| /avatar/parameters/HeartRateInt | Int | Int [0, 255] |
| /avatar/parameters/HeartRate3 | Int | See HeartRateInt |
| /avatar/parameters/HeartRateFloat | Float | Float ([0, 255] -> [-1, 1]) |
| /avatar/parameters/HeartRate | Float | See HeartRateFloat |
| /avatar/parameters/HeartRateFloat01 | Float | Float ([0, 255] -> [0, 1]) |
| /avatar/parameters/HeartRate2 | Float | See HeartRateFloat01 |
| /avatar/parameters/HeartBeatToggle | Bool | Reverses with each heartbeat |
## Example Avatars
[Vard](https://twitter.com/VardFree) made this Avatar, you can use his Avatar to test: [Example_Avatar.unitypackage](https://github.com/vard88508/vrc-osc-miband-hrm/releases) (This Avatar uses RED_SIM's [Simple counter shader](https://patreon.com/posts/simple-counter-62864361) to display numbers)
The value used by this Avatar is `Heartrate`, which is of type Float and ranges from -1(0bpm) to 1(255bpm).
## The following code is referenced:
[Mi Band/Amazfit OSC heart rate monitor for VRChat](https://github.com/vard88508/vrc-osc-miband-hrm)
[Mi Band Heartrate](https://github.com/mkc1370/miband-heartrate-osc)