Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

Support heart rate trackers natively #1538

Open Frooxius opened 6 months ago

Frooxius commented 6 months ago

Is your feature request related to a problem? Please describe.

Using heart rate trackers is a pretty popular way on Resonite to enhance avatars and provide additional information, but this currently requires custom solutions with websockets.

Describe the solution you'd like

Provide native support for common heart rate tracking solutions and unified way to feed the data in. This would also ensure that the data is synchronized using data streams, which will provide very efficient networking.

Using a unified solution will also allow for avatar and other systems to incorporate this information in a consistent manner - similarly how avatars can be pre-setup with eye or face tracking, they could be setup to react to heart rate tracking when available.

Describe alternatives you've considered

Keeping this user implemented feature, but this is simple enough to add official support.

Additional Context

We'd likely support common Bluetooth heart rate tracking devices as well as any headsets which support this (e.g. the HP Reverb Omnicept).

Requesters

No response

FlameSoulis commented 6 months ago

Just make sure this is optional. While I am using a bridge right now, I do also want the service to retain the device's access, since btle doesn't offer multiple connections.

Frooxius commented 6 months ago

Yes, I plan to add a toggle for this in the new settings

jae1911 commented 6 months ago

Would it also be possible to have a WebSocket input (with a standard data formatting being documented on the Wiki) for that?

Given I have an Apple Watch, I use Health Data Server which sends the data via HTTP to something on my computer that then sends it back as a WebSocket.

Doing that would also provide some degree of compatibility with watches/trackers with which BLE cannot be used directly to pull data.

troyBORG commented 5 months ago

Can you see if its possible to support Bluetooth Low Energy (BLE) heart rate sensors also?

ProbablePrime commented 5 months ago

We'd likely support common Bluetooth heart rate tracking devices as well as any headsets which support this (e.g. the HP Reverb Omnicept).

Yes, Froox said that.

We'd likely support common Bluetooth heart rate tracking devices as well as any headsets which support this (e.g. the HP Reverb Omnicept).