Whoop! heart rate monitoring - integration

I managed to create a super simple integration which get’s the sleep and recovery score.

Would anyone interested in the integration, so I would share it to GitHub.

What data would be interesting for you besides the sleep and recovery scores?

1 Like

I would be interested. I still need to actually play with the API, but i think it might be possible to get your current sleep state and anticipated wake up time so I can create an automation that says “if it is around 1 hour before my anticipated wake time and I am sleeping lightly, turn on my bedroom lamp over a period of 10 minutes.”

I made my own Integration for Whoop API and HA. With the help of AI.

You can do Simple or Detailed Views:

You can see the code here. This is my first contribution, feel free to modify as you wish.

2 Likes

Just wondering if someone is updating this? Should be an integration we can find via HACS?

I have created an alternative integration that doesn’t require a separately deployed service. You sign in to Whoop while setting up the integration in Home Assistant and it’s installable with HACS via custom repositories for now.

You still have to create an “App” in the Whoop developer portal to be able the configure the integration though. The README walks you through it.

Check it out if you’d like, some testers would be nice :slight_smile:

5 Likes

You should add some pictures to your GitHub — helps people see the idea right away

Working for me! Nice work! Thanks!

Found this yesterday and installed it. What is the best way to give feedback?

Just as I was building a fitness monitoring page. EDIT: Fantastic, very easy to follow instructions all up and working now. Been waiting for over a year to be able to integrate whoop into HA properly, rather than using limited sensors available through the companion app and health connect. I am very thankful @prankstr. Salubrious work.

Failed to unload warning? Seemed to occur after adding sensors.
HA Restart resolved.

Logger: homeassistant.config_entries
Source: config_entries.py:963
First occurred: 21:53:34 (1 occurrence)
Last logged: 21:53:34

Error unloading entry Andrew’s WHOOP for whoop
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 963, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/config/custom_components/whoop/init.py”, line 173, in async_unload_entry
unload_ok = await hass.config_entries.async_forward_entry_unload(entry, PLATFORMS)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/src/homeassistant/homeassistant/config_entries.py”, line 2665, in async_forward_entry_unload
if domain not in self.hass.config.components:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: ‘list’

Will update dashboard with new Whoop data.

If anyone is interested in a Whoop Gauge.

If Anyone is interested in any of the cards to display your whoop data hit me up.

2 Likes