RyanClark123 3e147aa914 Added reauth flow, much better error handling on setup
### Feature
* Now supports reauthentication if credentials have expired/no longer work
* Better error handling when configuring integration, will notify user of incorrect credentials

### Fix
* Removed Owlet specific constants, now using homeassistant generic constants
* On initialisation the integration would crash when trying to update the auth token, the integration would then have to be deleted and setup again
2023-05-12 17:02:04 +01:00
2023-05-04 16:32:12 +01:00
2023-05-04 16:32:12 +01:00

Owlet Custom Integration

GitHub Release GitHub Activity

License

hacs Project Maintenance

A custom component for the Owlet smart sock, currently this only supports the owlet smart sock 3.

If you have a smart sock 2 and would like to contribute then please do so.

Installation

  1. Use HACS, in HACS > Integrations > Explore & Add Repositories search for "Owlet". After adding this https://github.com/RyanClark123/owlet as a custom repository.
  2. Restart Home Assistant.
  3. Add Integration or in the HA UI go to "Settings" -> "Devices & Services" then click "+" and search for "Owlet Smart Sock".

Usage

The Owlet integration offers integration with the Owlet Smart Sock cloud service. This provides sensors such as heart rate, oxygen saturation, charge percentage.

This integration provides the following entities:

  • Binary sensors - charging status, high heart rate alert, low heart rate alert, high oxygen alert, low oxygen alert, low battery alert, lost power alert, sock diconnected alert, and sock status.
  • Sensors - battery level, oxygen saturation, oxygen saturation 10 minute average, heart rate, battery time remaining, signal strength, and skin temperature.

Options

  • Seconds between polling - Number of seconds between each call for data from the owlet cloud service, default is 10 seconds.

Languages
Python 100%