Oura Ring integration doesn’t update sleep and readiness data after wake-up

Hi everyone,

I’m using the Oura Ring integration in Home Assistant (installed manually via YAML), but I can’t get the data to refresh automatically after I wake up.

My goals are:

  1. To detect when I wake up (using the Oura sleep data) and trigger an automation or TTS announcement.
  2. To have the sleep and readiness scores update right after waking up.

Currently, I noticed that even if I manually open the Oura mobile app to sync with the ring, Home Assistant still doesn’t refresh the new data until much later (sometimes not at all).

Here’s my current YAML config:

default_config:
sensor:

  • platform: oura
    access_token: O***********************
    scan_interval: 30
    sensors:
    heart_rate:
    name: Fréquence Cardiaque
    max_backfill: 0
    monitored_dates: today
    readiness:
    name: Préparation
    max_backfill: 0
    monitored_dates: today
    sleep_score:
    name: Sommeil
    max_backfill: 0
    monitored_dates: today

From what I understand, it looks like the integration only polls data once a day or when Oura’s API updates.

Is there any way to force a refresh of Oura data right after wake-up (for example using a Node-RED flow, a service call, or a REST API trigger)?
Or a way to detect the end of sleep in real time?

The goal is to have a personnal message from my speaker saying every morning that activate when I wake up saying “Hi, you slept well with a score of XX”

Thanks a lot for your help! :pray:

I was unable to get the old Oura integration work last week due to the new API auth requirements.

I then built a new integration: Oura Ring v2 Custom Integration - Track Your Sleep, Readiness & Activity in Home Assistant💍 - Share your Projects! / Custom Integrations - Home Assistant Community

By default, this will sync with the Oura servers every 5 minutes.