Comments (5)
Please check the latest released version (v1.3.3) which contains some connection stability improvements as well.
from vrcosc-bluetoothheartrate.
Updated to v1.3.3
it read the first value, then keeps reconnecting and doesn't read any value anymore (shows up as 0)
2023-10-07 01:37:28 [verbose]: ----------------------------------------------------------
2023-10-07 01:37:28 [verbose]: terminal Log for luvini (LogLevel: Verbose)
2023-10-07 01:37:28 [verbose]: Running VRCOSC 2023.928.1.0 on .NET 6.0.22
2023-10-07 01:37:28 [verbose]: Environment: Windows (Microsoft Windows NT 10.0.22621.0), 12 cores
2023-10-07 01:37:28 [verbose]: ----------------------------------------------------------
2023-10-07 01:37:28 [verbose]: [Bluetooth Heartrate]: Starting
2023-10-07 01:37:28 [verbose]: [Bluetooth Heartrate]: Device MAC setting is not set, module will log discovered devices
2023-10-07 01:37:28 [verbose]: [Bluetooth Heartrate]: Scanning for devices
2023-10-07 01:37:28 [verbose]: [Bluetooth Heartrate]: Started
2023-10-07 01:37:29 [verbose]: [Bluetooth Heartrate]: Discovered device: ck_100157d7a4 (MAC: E9:2B:89:18:4A:88:00:00)
2023-10-07 01:37:29 [verbose]: [Bluetooth Heartrate]: Discovered device: ck_100157d7a4 (MAC: E9:2B:89:18:4A:88:00:00)
2023-10-07 01:37:31 [verbose]: [Bluetooth Heartrate]: Discovered device: Amazfit Bip Watch (MAC: 63:33:19:6C:24:CA:00:00)
2023-10-07 01:37:31 [verbose]: [Bluetooth Heartrate]: Discovered device: Amazfit Bip Watch (MAC: 63:33:19:6C:24:CA:00:00)
2023-10-07 01:37:38 [verbose]: [Bluetooth Heartrate]: Discovered device: Meta Quest 2 (MAC: 60:44:F2:1A:FE:59:00:00)
2023-10-07 01:37:38 [verbose]: [Bluetooth Heartrate]: Discovered device: Meta Quest 2 (MAC: 60:44:F2:1A:FE:59:00:00)
2023-10-07 01:37:45 [verbose]: [Bluetooth Heartrate]: Discovered device: Unknown (MAC: 2A:6F:42:5A:F5:70:00:00)
2023-10-07 01:37:50 [verbose]: [Bluetooth Heartrate]: Stopping
2023-10-07 01:37:50 [verbose]: [Bluetooth Heartrate]: Stopped scanning for devices (device found)
2023-10-07 01:37:50 [verbose]: [Bluetooth Heartrate]: Stopped
2023-10-07 01:37:58 [verbose]: [Bluetooth Heartrate]: Starting
2023-10-07 01:37:58 [verbose]: [Bluetooth Heartrate]: Scanning for devices
2023-10-07 01:37:58 [verbose]: [Bluetooth Heartrate]: Started
2023-10-07 01:38:03 [verbose]: [Bluetooth Heartrate]: Found device named Amazfit Bip Watch for MAC 63:33:19:6C:24:CA:00:00
2023-10-07 01:38:09 [verbose]: [Bluetooth Heartrate]: Found heartrate service
2023-10-07 01:38:09 [verbose]: [Bluetooth Heartrate]: Found heartrate measurement characteristic
2023-10-07 01:38:09 [verbose]: [Bluetooth Heartrate]: Registered heartrate characteristic value change handler
2023-10-07 01:38:09 [verbose]: [Bluetooth Heartrate]: Writing client characteristic configuration descriptor
2023-10-07 01:38:10 [verbose]: [Bluetooth Heartrate]: Connection successful
2023-10-07 01:38:10 [verbose]: [Bluetooth Heartrate]: Stopped scanning for devices (device found)
2023-10-07 01:38:38 [verbose]: [Bluetooth Heartrate]: Current device disconected
2023-10-07 01:38:38 [verbose]: [Bluetooth Heartrate]: Attempting reconnection...
2023-10-07 01:38:40 [verbose]: [Bluetooth Heartrate]: Scanning for devices
2023-10-07 01:38:49 [verbose]: [Bluetooth Heartrate]: Found device named Amazfit Bip Watch for MAC 63:33:19:6C:24:CA:00:00
2023-10-07 01:38:52 [verbose]: [Bluetooth Heartrate]: Found heartrate service
2023-10-07 01:38:52 [verbose]: [Bluetooth Heartrate]: Found heartrate measurement characteristic
2023-10-07 01:38:52 [verbose]: [Bluetooth Heartrate]: Registered heartrate characteristic value change handler
2023-10-07 01:38:52 [verbose]: [Bluetooth Heartrate]: Writing client characteristic configuration descriptor
2023-10-07 01:38:53 [verbose]: [Bluetooth Heartrate]: Connection successful
2023-10-07 01:38:53 [verbose]: [Bluetooth Heartrate]: Stopped scanning for devices (device found)
2023-10-07 01:39:20 [verbose]: [Bluetooth Heartrate]: Current device disconected
2023-10-07 01:39:20 [verbose]: [Bluetooth Heartrate]: Attempting reconnection...
2023-10-07 01:39:22 [verbose]: [Bluetooth Heartrate]: Scanning for devices
2023-10-07 01:39:23 [verbose]: [Bluetooth Heartrate]: Found device named Amazfit Bip Watch for MAC 63:33:19:6C:24:CA:00:00
2023-10-07 01:39:29 [verbose]: [Bluetooth Heartrate]: Found heartrate service
2023-10-07 01:39:29 [verbose]: [Bluetooth Heartrate]: Found heartrate measurement characteristic
2023-10-07 01:39:29 [verbose]: [Bluetooth Heartrate]: Registered heartrate characteristic value change handler
2023-10-07 01:39:29 [verbose]: [Bluetooth Heartrate]: Writing client characteristic configuration descriptor
2023-10-07 01:39:31 [verbose]: [Bluetooth Heartrate]: Connection successful
2023-10-07 01:39:31 [verbose]: [Bluetooth Heartrate]: Stopped scanning for devices (device found)
2023-10-07 01:39:58 [verbose]: [Bluetooth Heartrate]: Current device disconected
2023-10-07 01:39:58 [verbose]: [Bluetooth Heartrate]: Attempting reconnection...
2023-10-07 01:40:00 [verbose]: [Bluetooth Heartrate]: Scanning for devices
2023-10-07 01:40:02 [verbose]: [Bluetooth Heartrate]: Found device named Amazfit Bip Watch for MAC 63:33:19:6C:24:CA:00:00
2023-10-07 01:40:05 [verbose]: [Bluetooth Heartrate]: Found heartrate service
2023-10-07 01:40:05 [verbose]: [Bluetooth Heartrate]: Found heartrate measurement characteristic
2023-10-07 01:40:05 [verbose]: [Bluetooth Heartrate]: Registered heartrate characteristic value change handler
2023-10-07 01:40:05 [verbose]: [Bluetooth Heartrate]: Writing client characteristic configuration descriptor
2023-10-07 01:40:06 [verbose]: [Bluetooth Heartrate]: Stopping
2023-10-07 01:40:06 [verbose]: [Bluetooth Heartrate]: Stopped scanning for devices (device found)
2023-10-07 01:40:15 [verbose]: [Bluetooth Heartrate]: Stopped
2023-10-07 01:40:33 [verbose]: [Bluetooth Heartrate]: Starting
2023-10-07 01:40:33 [verbose]: [Bluetooth Heartrate]: Scanning for devices
2023-10-07 01:40:33 [verbose]: [Bluetooth Heartrate]: Started
2023-10-07 01:40:34 [verbose]: [Bluetooth Heartrate]: Found device named Amazfit Bip Watch for MAC 63:33:19:6C:24:CA:00:00
2023-10-07 01:40:39 [verbose]: [Bluetooth Heartrate]: Found heartrate service
2023-10-07 01:40:39 [verbose]: [Bluetooth Heartrate]: Found heartrate measurement characteristic
2023-10-07 01:40:39 [verbose]: [Bluetooth Heartrate]: Registered heartrate characteristic value change handler
2023-10-07 01:40:39 [verbose]: [Bluetooth Heartrate]: Writing client characteristic configuration descriptor
2023-10-07 01:40:40 [verbose]: [Bluetooth Heartrate]: Connection successful
2023-10-07 01:40:40 [verbose]: [Bluetooth Heartrate]: Stopped scanning for devices (device found)
2023-10-07 01:41:07 [verbose]: [Bluetooth Heartrate]: Current device disconected
2023-10-07 01:41:07 [verbose]: [Bluetooth Heartrate]: Attempting reconnection...
2023-10-07 01:41:09 [verbose]: [Bluetooth Heartrate]: Scanning for devices
2023-10-07 01:41:11 [verbose]: [Bluetooth Heartrate]: Found device named Amazfit Bip Watch for MAC 63:33:19:6C:24:CA:00:00
2023-10-07 01:41:16 [verbose]: [Bluetooth Heartrate]: Found heartrate service
2023-10-07 01:41:16 [verbose]: [Bluetooth Heartrate]: Found heartrate measurement characteristic
2023-10-07 01:41:16 [verbose]: [Bluetooth Heartrate]: Registered heartrate characteristic value change handler
2023-10-07 01:41:16 [verbose]: [Bluetooth Heartrate]: Writing client characteristic configuration descriptor
2023-10-07 01:41:17 [verbose]: [Bluetooth Heartrate]: Connection successful
2023-10-07 01:41:17 [verbose]: [Bluetooth Heartrate]: Stopped scanning for devices (device found)
2023-10-07 01:41:44 [verbose]: [Bluetooth Heartrate]: Current device disconected
2023-10-07 01:41:44 [verbose]: [Bluetooth Heartrate]: Attempting reconnection...
2023-10-07 01:41:46 [verbose]: [Bluetooth Heartrate]: Scanning for devices
2023-10-07 01:41:49 [verbose]: [Bluetooth Heartrate]: Found device named Amazfit Bip Watch for MAC 63:33:19:6C:24:CA:00:00
2023-10-07 01:41:54 [verbose]: [Bluetooth Heartrate]: Found heartrate service
2023-10-07 01:41:54 [verbose]: [Bluetooth Heartrate]: Found heartrate measurement characteristic
2023-10-07 01:41:54 [verbose]: [Bluetooth Heartrate]: Registered heartrate characteristic value change handler
2023-10-07 01:41:54 [verbose]: [Bluetooth Heartrate]: Writing client characteristic configuration descriptor
2023-10-07 01:41:56 [verbose]: [Bluetooth Heartrate]: Connection successful
2023-10-07 01:41:56 [verbose]: [Bluetooth Heartrate]: Stopped scanning for devices (device found)
2023-10-07 01:42:23 [verbose]: [Bluetooth Heartrate]: Current device disconected
2023-10-07 01:42:23 [verbose]: [Bluetooth Heartrate]: Attempting reconnection...
2023-10-07 01:42:25 [verbose]: [Bluetooth Heartrate]: Scanning for devices
2023-10-07 01:42:27 [verbose]: [Bluetooth Heartrate]: Found device named Amazfit Bip Watch for MAC 63:33:19:6C:24:CA:00:00
2023-10-07 01:42:30 [verbose]: [Bluetooth Heartrate]: Found heartrate service
2023-10-07 01:42:30 [verbose]: [Bluetooth Heartrate]: Found heartrate measurement characteristic
2023-10-07 01:42:30 [verbose]: [Bluetooth Heartrate]: Registered heartrate characteristic value change handler
2023-10-07 01:42:30 [verbose]: [Bluetooth Heartrate]: Writing client characteristic configuration descriptor
2023-10-07 01:42:32 [verbose]: [Bluetooth Heartrate]: Connection successful
2023-10-07 01:42:32 [verbose]: [Bluetooth Heartrate]: Stopped scanning for devices (device found)
from vrcosc-bluetoothheartrate.
from vrcosc-bluetoothheartrate.
upgraded from a bluetooth 4.0 adapter to 5.3 and it still keeps disconnecting
from vrcosc-bluetoothheartrate.
It is possible it needs some proprietary information to stay connected, this other project for example sends an auth key:
vrc-osc-miband-hrm
but i wasn't able to get that one to work at all, even tough i got the correct auth key
I tried using Pulsoid and it seems to work with no problems if i have the Zepp life (oficial app for the watch) installed on the phone as well
Tested with a different phone without the Zepp life app and it kept reconnecting
It seems the watch will send the heartrate values when it gets connected and stop a few seconds after
You could either send the auth key to keep it connected, or just silently reconnect while keeping the last heartrate value in cache
if you want to use the auth key, this is how they get it: huami-token
from vrcosc-bluetoothheartrate.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vrcosc-bluetoothheartrate.