Oura Ring v2 Custom Integration - Track Your Sleep, Readiness & Activity in Home Assistant💍

Just release v2.3.0 - Release v2.3.0 - Heart Health Scope · louispires/oura-v2-custom-component

After updating my own main instance, I noticed Oura quietly released a new Scope: Heart Health

Seems like this new scope was required for cardiovascular age sensors

You will have to enable this scope and then re-add the integration to force the new permissions.

Look at the release notes for a step-by-step guide on how to do this.

Just released - Release v2.4.0 - Enhanced Sleep & Heart Rate Metrics · louispires/oura-v2-custom-component

Thanks to the inputs of a couple of members, we resolved the historical issues and added new sensors!

1 Like

Hello!

I’m gettet this error when i’, trying to setup the Application Credential in step 2.
Can you please advise what i might be doing worng?

Installation done and Home Assistant have been restarted.
Step 1: Not sure if I’m doing something wrong here.
In step 1.4 fill in details, for application webside, i guess its my external IP and port i have to fill in? Have both client ID and client secret.

Anything in the logs perhaps?

Application name and Website really doesn’t matter.

The only thing that is required to be accurate is that callback URL.

To confirm, you have your ID and Secret, then you open HA and enter those details, does it fail when you save?

I have just added new creds, followed step 2:


I assume you got this far?

After this, you can continue with Step 3 which will then open the Oura Approver page which will then redirect to that configured Redirect URI from Step 1

Strange, restarted from beginning and now it works! And its AWESOME!!

1 Like

Just released quite a major enhancement: Release v2.5.0 - Multiple Account Support · louispires/oura-v2-custom-component

This will allow you to also add Family members rings to HA

1 Like

My Ring often measures watching a movie on the couch as sleep. As I have a lot of smart home things, I have a button when I go to bed to bring my house in the night mode. Do you know if there are APIs to tell Oura when you really go to bed? So the same which is possible in the app to adjust the time of sleep?

I have not seen anything in the documentation that would allow you to do that.

You are more than welcome to look at the documents and if you find something that I might have missed, let me know and I can definitely try add it.

https://cloud.ouraring.com/v2/docs

You are right, I cannot find anything about this in the API Specs :confused:

Is it possible to use the Oura ring as a Bluetooth tracker in Home Assistant with Bluetooth proxies? It would be nice to be able to use it for location awareness at home.

Thanks for the amazing work here! I am curious - does the API still make visible/accessible all the data if you are on the free Oura subscription (as in your aren’t on a paid plan)? I heard that Oura still captures all the data but does not make it visible unless you pay…

That is such a great idea - I spent some time today to look into this and thus far it seems to be working great!

I use agittins/bermuda: Bermuda Bluetooth/BLE Triangulation / Trilateration for HomeAssistant integration.

As you can see from the screenshot, it shows me the Area/Room and the Floor.

When I go nearby other Proxies, this does change as well.

I will monitor this for the next couple of days and report back

This is unfortunately a limitation with Oura - The only way you can still get the data is via CSV export.

This data does exist on their servers, but it isn’t accessible via API.

One can probably build something that exports the CSV daily, then imports it into HA - But I doubt that Oura would be too fond of that idea…

Please do. My concern is that the Oura ring uses a randomized or dynamic MAC address and tracking it will eventually fail.

Hey Louis, I just added your integration for my gen 4 ring. It was pretty straightforward. A couple of questions: when do you expect to have your spo2 widget available? Also, does your integration have the ability to work with more then one oura ring?

Hello,

spo2 is already available and you should see the sensor: sensor.oura_ring_spo2_average

Since V2.5.0, the integration has supported multiple accounts/rings - Simply open the Integration and click on Add Service:

Now if your ring is on a completely different account, you will need to add a 2nd Service Credential first, when you have done this and then you click on Add service, then you will be asked to select a Service Credential first:

If you have any issues or questions, please don’t hesitate to reach out again.

1 Like

Just released a minor enhancement: Release v2.5.1 - Sleep Regularity Sensor & Data Verification · louispires/oura-v2-custom-component

A new sensor was added: Sleep Regularity and you can now see on each Entity an Attribute that shows the Data Date: