{"id":20560682,"url":"https://github.com/mezz64/pyeight","last_synced_at":"2025-04-04T21:09:40.101Z","repository":{"id":19144655,"uuid":"86280576","full_name":"mezz64/pyEight","owner":"mezz64","description":"Python library to interface with the Eight Sleep API","archived":false,"fork":false,"pushed_at":"2024-03-20T16:59:53.000Z","size":80,"stargazers_count":60,"open_issues_count":11,"forks_count":14,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-28T20:08:37.931Z","etag":null,"topics":["eight","eightsleep","hacktoberfest","python","sleep","sleep-tracker"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mezz64.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-27T02:05:20.000Z","updated_at":"2025-02-12T06:09:07.000Z","dependencies_parsed_at":"2024-06-19T01:41:15.635Z","dependency_job_id":"ca47dacd-70c8-4360-89f6-77b13176e15e","html_url":"https://github.com/mezz64/pyEight","commit_stats":{"total_commits":54,"total_committers":6,"mean_commits":9.0,"dds":0.537037037037037,"last_synced_commit":"bb7b350e03f5c379fcfa0ef78f03156ca6f29551"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezz64%2FpyEight","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezz64%2FpyEight/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezz64%2FpyEight/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mezz64%2FpyEight/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mezz64","download_url":"https://codeload.github.com/mezz64/pyEight/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247249532,"owners_count":20908212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eight","eightsleep","hacktoberfest","python","sleep","sleep-tracker"],"created_at":"2024-11-16T03:55:24.983Z","updated_at":"2025-04-04T21:09:40.071Z","avatar_url":"https://github.com/mezz64.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PyPI](https://img.shields.io/pypi/v/pyEight.svg)](https://pypi.python.org/pypi/pyEight)\n\n# Introduction\nPython library to interface with the Eight Sleep API\n\nAPI is currently undocumented.  Usage is derived by capturing api calls made by the Eight Sleep android app.\n\nCode is licensed under the MIT license.\n\n## Thanks\n\nSpecial thanks to github user @alyc100 for making his SmartThings Eight Sleep code available.\n\n# Requirements\n\n* python \u003e= 3.9\n* aiohttp \u003e= 2.0\n* asyncio\n\n# Installation\n\n```pip install pyeight```\n\n# Usage\n\nFull usage example can be found in the HomeAssistant implementation of this library.\n\nBasic Usage\n```python\nfrom pyeight.eight import EightSleep\n\neight = EightSleep(user, pass, timezone, None)\n\nawait eight.start()\n\n# Update mattress data, 1min interval recommended\nawait eight.update_device_data()\n\n# Update user data, 5min interval recommended\nawait eight.update_user_data()\n\n```\n\n# Properties\n\nLibrary properties are well defined in both ```eight.py``` and ```user.py```.\n\n# TODO\n\n* Improve dynamic presence detection through statistical analysis\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmezz64%2Fpyeight","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmezz64%2Fpyeight","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmezz64%2Fpyeight/lists"}