Whoop has finally created an api.
Cant we create a link between home automation and health monitoring?!
Bah! I really wish they would have included device battery monitoring on it. Thatâs what I needed the most to remind me when itâs getting low.
They are responsive to feedback, so maybe if we get this integrated, we could just ask them
Has anybody followed up on this?
Not yet
But iâm hopefull. Since whoop is basically a BLE HR-monitor, it could be used as presence detection as well as âwellbeing - home automationâ link.
Hey there, has anyone managed to create an integration for Whoop yet?
I am currently working on an integration.
Yet only in the early stages - Hope to have some time in the holidays
I would be willing to pay for this, send "buy a coffeeâ Link or something if you need some motivation
Iâm making the integration since there doesnât seem to be one still. Are people ok with signing up for whoop developer portal and copy pasting their oauth credentials into home assistant popup dialog? I would assume so because that is how a lot of integrations are made (e.g. Tuya cloud).
Also what sort of info do you guys want from whoop. Keep in mind that whoop api doesnât show live data and it is read only. If people could write what scenarios they would like to use whoop with HA that would be great. It would allow me to figure out what I need to expose to HA and what I do not.
An example I thought of is a bed time alarm. So every day an alarm would automatically be set for your recommended bed time based on whoop data. It can turn off lights or play a sound on your speakers.
When the body temperature is âelevatedâ set the âcomfortâ temperature setting of the AC at âsetpoint +1â for example.
Since itâs a BLE beacon basically, a link to esphome or presence detection of some sort would also be nice.
A stress alert, telling you to chill out for the rest of the afternoon, or something. If you hit your recomended strain.
Just thinking out loud.
Oauth seems fine, google integration works that way.
But the youtube music integration was also like that, and made a change to just standard credentials, if iâm not mistaken. (Login/mail & Account password.)
Oauth, would work for me, but would generate a bigger âonboarding stepâ to overcome.
Thanks a lot for looking in to it!
Available to help where i can, altough this is all quite new for me, i do have some JS an Python basic knowledge. (+ what i learned using HA offcource. )
I donât have the device yet, but would be interested in âstress alertsâ. Thatâd require semi realtime data (HR/HRV/??), but not sure if that is possible.
Iâm okay with signing up for the developer portal.
Scenarios that I see currently:
- With the recovery score, I could schedule out specific events on my calendar (high recovery = hard exercise, so-so recovery = cardio & others, bad recovery = additional nap and recovery activities)
- With the strain score, if by a certain time of the day I havenât reached a set strain score via a helper, schedule additional exercise.
- With the sleep items, basically to set my bedtime early based on sleep needed.
- If insights are available, possibly to see the insights and use selected ones as triggers
I am also interested in this! Let me know if you need a tester
I am also interested
From what I can see, the API only offers historial data.
What You Can Do:
⢠Retrieve Historical Data: Access detailed information about sleep, recovery, strain, workouts, and user profiles after the data has been collected and processed by WHOOP.
⢠Analyze Data: Use the API to analyze trends and patterns over time based on the data WHOOP provides, such as sleep quality, recovery scores, and workout strain.
⢠Integrate with Other Systems: Use the data retrieved from WHOOP to create automations, dashboards, and reports in systems like Home Assistant, but only based on the data provided by WHOOP.
What You Cannot Do:
⢠Set Alarms: You cannot set or control alarms on your WHOOP device via the API.
⢠Control the Device: There are no API endpoints for sending commands to the WHOOP device, such as starting/stopping tracking, setting notifications, or changing device settings.
⢠Real-Time Interaction: The API does not support real-time interactions or data streaming from the WHOOP device.
On a side note I use ESPresence for presence detection with my Whoop and it works great.
Battery notifications can be set with tasker if there is an notification when battery is down. I just got mine so need to figure some thing out. But an integration would be nice.
Did this get off the ground at all?
yeah pretty keen for this integration if someone has the knowhow to build it!