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:
- To detect when I wake up (using the Oura sleep data) and trigger an automation or TTS announcement.
- 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! ![]()