Library to interact with the flaps & doors from Sure Petcare.
Project description
Library & CLI to interact with the Sure Petcare API. surepy lets you monitor and control the Pet Door/Cat Flap Connect 🚪 and the Pet Feeder Connect 🍽 by Sure Petcare.
surepy can...
🔑 get an api token with your account credentials
🚪 lock/unlock a door or flap
🐾 get the location of pets & devices
🐈 get the state and more attributes of pets & devices
🕰️ get historic data & events of pets & devices
📬 get a list of (past) notifications
Getting Started
Currently surepy is only distributed via pypi.org. Maybe there will be a little Docker Image eventually.
Install via pypi.org
python3 -m pip install --upgrade surepy
# or
pip install --upgrade surepy
Usage
needs a little more documentation maybe...
CLI
the cli probably has some bugs, be careful 🐾
surepy --help
Library
see (the not yet written) docs
Used by
- Sure Petcare integration in Home Assistant
Feel free to add you project!
Acknowledgments
- Thanks to all the people who provided information about devices I do not own myself, thanks!
- Thanks to @rcastberg for hist previous work on the Sure Petcare API (github.com/rcastberg/sure_petcare)
- Thanks to @wei for the header image generator (github.com/wei/socialify)
Meta
Ben Lebherz: cat lover 🐾 developer & maintainer - @benleb | @ben_leb
This project is licensed under the MIT License - see the LICENSE file for details
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.