All Projects → mezz64 → pyEight

mezz64 / pyEight

Licence: MIT license
Python library to interface with the Eight Sleep API

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pyEight

Lumos
😴 Smart Lighting for Better Sleep
Stars: ✭ 98 (+237.93%)
Mutual labels:  sleep, sleep-tracker
Snooze
Teensy Low Power Library
Stars: ✭ 120 (+313.79%)
Mutual labels:  sleep
nightnight
nightnight is a simple program that puts your website to sleep, encouraging users to sleep to promote their health and well being.
Stars: ✭ 57 (+96.55%)
Mutual labels:  sleep
sleepover
💤 Sleep, snooze & step methods
Stars: ✭ 13 (-55.17%)
Mutual labels:  sleep
automatic-mouse-mover
a minimalistic go library/app to keep your mac active and alive
Stars: ✭ 136 (+368.97%)
Mutual labels:  sleep
HA-SleepAsAndroid
Sleep As Android integration for Home Assistant
Stars: ✭ 91 (+213.79%)
Mutual labels:  sleep-tracker
geniza
hobby implementation of dat in rust
Stars: ✭ 32 (+10.34%)
Mutual labels:  sleep
fixsleep
A page helping people to sleep better
Stars: ✭ 33 (+13.79%)
Mutual labels:  sleep
nodejs-system-sleep
Sleep function for Node.js All platforms.
Stars: ✭ 47 (+62.07%)
Mutual labels:  sleep
Arduino Deep Sleep
An example of proper and most advanced way to put ANY AVR Arduino boards in to sleep
Stars: ✭ 31 (+6.9%)
Mutual labels:  sleep
waiter
Delayed iteration for polling and retries.
Stars: ✭ 17 (-41.38%)
Mutual labels:  sleep
nap
A tiny, statically linked program that calls the "sleep" system call
Stars: ✭ 21 (-27.59%)
Mutual labels:  sleep
ALT
Non-contact real-time heartbeats and respiration monitoring using Artificial Light Texture (ALT).
Stars: ✭ 41 (+41.38%)
Mutual labels:  sleep
chai
Don't let your Mac fall asleep, like a sir
Stars: ✭ 54 (+86.21%)
Mutual labels:  sleep
raid-sleep
Power down RAID disks after a specified timeout
Stars: ✭ 32 (+10.34%)
Mutual labels:  sleep
AggressorScripts
A collection of Cobalt Strike aggressor scripts
Stars: ✭ 18 (-37.93%)
Mutual labels:  sleep
Sleep-as-Android-Garmin-Addon
Code for both Android part and Garmin part of the Sleep as Android Garmin smartwatch integration
Stars: ✭ 41 (+41.38%)
Mutual labels:  sleep
OC-Little-Translated
ACPI Hotpatches and Guides for the OpenCore Bootmanager. Enhance and fine-tune your system by adding devices and enabling additional features not covered in the OpenCore Install Guide.
Stars: ✭ 129 (+344.83%)
Mutual labels:  sleep
plees-tracker
Plees Tracker is a simple sleep tracker for your Android phone.
Stars: ✭ 78 (+168.97%)
Mutual labels:  sleep

PyPI

Introduction

Python library to interface with the Eight Sleep API

API is currently undocumented. Usage is derived by capturing api calls made by the Eight Sleep android app.

Code is licensed under the MIT license.

Thanks

Special thanks to github user @alyc100 for making his SmartThings Eight Sleep code available.

Requirements

  • python >= 3.9
  • aiohttp >= 2.0
  • asyncio

Installation

pip install pyeight

Usage

Full usage example can be found in the HomeAssistant implementation of this library.

Basic Usage

from pyeight.eight import EightSleep

eight = EightSleep(user, pass, timezone, None)

await eight.start()

# Update mattress data, 1min interval recommended
await eight.update_device_data()

# Update user data, 5min interval recommended
await eight.update_user_data()

Properties

Library properties are well defined in both eight.py and user.py.

TODO

  • Improve dynamic presence detection through statistical analysis
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].