https://github.com/jeeftor/pysleepme
Python Sleep Me API for Home Assistant
https://github.com/jeeftor/pysleepme
Last synced: 4 months ago
JSON representation
Python Sleep Me API for Home Assistant
- Host: GitHub
- URL: https://github.com/jeeftor/pysleepme
- Owner: jeeftor
- License: mit
- Created: 2022-09-13T17:28:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-03-05T14:19:51.000Z (over 3 years ago)
- Last Synced: 2025-04-08T18:17:40.094Z (about 1 year ago)
- Language: Python
- Size: 85 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# PySleepMe (Works but no longer maintained)
I got rid of my Dock Pro - so I don't really care aobut this project so much :)
[](https://pypi.org/project/pysleepme/)
[](https://pypi.org/project/pysleepme/)
[](https://github.com/jeeftor/pysleepme/actions/workflows/dev.yml)
[](https://codecov.io/github/jeeftor/pysleepme)
Python [Sleep Me API](https://docs.developer.sleep.me/api/) Wrapper for Home Assistant Use
* Documentation:
* GitHub:
* PyPI:
* Free software: MIT
# TODO
- [ ] - Have them actually ship my order
- [x] - Code API to query devices
- [ ] - Code API Calls for specific device
- [ ] - Add control logic
## Background
The SleepMe API documentation is available [here](https://docs.developer.sleep.me/api/). This library uses [openapi-python-client](https://www.google.com/search?client=safari&rls=en&q=openapi-python-client&ie=UTF-8&oe=UTF-8) with a slightly modified version of the API (there is an issue with one of the endpoint names) to create an OpenAPI 3.0 client.
This library then wraps those features for easier usage.
## Quickstart
First you must get an API Token this is done somewhere: