Async client for the Sure Petcare (SureHub) cloud API
Project description
Sure Petcare for Home Assistant
A custom Home Assistant integration for Sure Petcare (SureHub) connected pet devices — cat/pet flaps, feeders, water stations and the hub — with a focus on full device coverage and automation-friendly features the built-in integration doesn't offer.
Unofficial & unaffiliated. This project is not affiliated with, endorsed by, or supported by Sure Petcare / SureHub. It talks to the same cloud API the official apps use. The API is undocumented and may change at any time.
Status
🚧 Early development. The integration is being built and is not yet ready for production use. User documentation lives in the project wiki.
Why another integration?
The built-in Home Assistant integration covers presence, locks and battery, but leaves a lot on the table. This project aims to expose the complete device range and turn the data into things you can actually automate around:
- Feeder food weight & consumption, water-station drinking data
- Curfew as editable schedule entities, full lock-mode control
- Per-pet indoor/outdoor permissions
- Long-term statistics (food eaten, water drunk, time outside)
- First-class events & device triggers with rich, actionable notifications (including your pet's photo)
- An Emergency Unlock safety feature (see below)
See the project wiki for the full feature catalog and guides.
Supported devices
| Device | Support |
|---|---|
| Hub | ✅ |
| Cat Flap Connect | ✅ |
| Pet Flap Connect | ✅ |
| Feeder Connect | ✅ |
| Feeder Lite | ✅ |
| Felaqua Connect (water station) | ✅ |
| Repeater | ✅ (signal/diagnostics) |
| Programmer | ✅ (signal/diagnostics) |
Emergency Unlock 🚨
A safety feature that force-opens every flap during an emergency — clearing manual locks, curfew, and per-pet indoor-only restrictions in one action — so pets can get out. Designed to be tied to a smoke / CO / security-alarm trigger, with the previous state restored automatically afterward.
⚠️ This is cloud-dependent and not instant. If your internet or the SureHub cloud is down, it will not fire. Treat it as a best-effort assist, not your pets' only escape route in a fire. Pair it with a local measure (a cracked window, the flap's physical unlock or fail-safe setting).
Installation
Installation details will be finalized when the first release is published.
Planned: install via HACS as a custom repository, then add the integration from Settings → Devices & Services.
Configuration
The integration is configured entirely through the UI (config flow):
- Settings → Devices & Services → Add Integration → Sure Petcare
- Enter your Sure Petcare email and password.
Your credentials are stored securely by Home Assistant and used to keep the connection alive automatically — you won't be asked to sign in again unless you change your Sure Petcare password.
Documentation
User documentation — installation, configuration, supported entities, the Emergency Unlock guide and FAQ — lives in the project wiki.
Disclaimer
This is a hobby project provided "as is", without warranty of any kind. It relies on an undocumented cloud API; functionality may break if that API changes. Use at your own risk, and never rely on it as a sole safety mechanism for your pets.
Contributing
Issues and pull requests are welcome. Please open an issue to discuss significant changes before submitting a PR.
Credits & acknowledgements
This project stands on the shoulders of the wider Sure Petcare community. Huge thanks to:
- Sure Petcare / SureHub — for the devices and the cloud service this integration talks to.
- benleb/surepy & benleb/sureha — the original Python client and Home Assistant work that mapped much of the API.
- Home Assistant core
surepetcare— the built-in integration and its contributors. - FredrikM97/py-surepetcare & FredrikM97/hass-surepetcare — a modern client and integration whose design patterns informed this one.
- Sickboy78/ioBroker.sureflap — a feature-complete ioBroker adapter and an excellent behavioural reference.
- fabieu/surehub-api — additional API documentation.
License
Released under the MIT License.
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.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysurehub-0.1.0.tar.gz.
File metadata
- Download URL: pysurehub-0.1.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
99a44c6410d72cba15d3898c946ed627a0680cf2f0dd6a9414457f64b5b4bb67
|
|
| MD5 |
b806a5a2f24c7aef54e83ab8747ae4fa
|
|
| BLAKE2b-256 |
71e46980191a75f316ac7d7996700159d12fbecb344ac7a77fba8df47752d086
|
Provenance
The following attestation bundles were made for pysurehub-0.1.0.tar.gz:
Publisher:
publish-pypi.yml on woorari/SurePet_SmartHome
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysurehub-0.1.0.tar.gz -
Subject digest:
99a44c6410d72cba15d3898c946ed627a0680cf2f0dd6a9414457f64b5b4bb67 - Sigstore transparency entry: 1682205606
- Sigstore integration time:
-
Permalink:
woorari/SurePet_SmartHome@d9f549f94dbdd1c74e7d5e7c59d2b3d69cb089ea -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/woorari
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@d9f549f94dbdd1c74e7d5e7c59d2b3d69cb089ea -
Trigger Event:
release
-
Statement type:
File details
Details for the file pysurehub-0.1.0-py3-none-any.whl.
File metadata
- Download URL: pysurehub-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2a0cf01e8b28d23f15a08478b7226e24f2ed8d6e46f6e185a77a7ea06f11f14
|
|
| MD5 |
1fdb330ec0347a976dd31fbc414d0b51
|
|
| BLAKE2b-256 |
133a2c188fc002087bbfe3242c22d12580256bf60cffdd41ab075e803589c726
|
Provenance
The following attestation bundles were made for pysurehub-0.1.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on woorari/SurePet_SmartHome
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysurehub-0.1.0-py3-none-any.whl -
Subject digest:
d2a0cf01e8b28d23f15a08478b7226e24f2ed8d6e46f6e185a77a7ea06f11f14 - Sigstore transparency entry: 1682205611
- Sigstore integration time:
-
Permalink:
woorari/SurePet_SmartHome@d9f549f94dbdd1c74e7d5e7c59d2b3d69cb089ea -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/woorari
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@d9f549f94dbdd1c74e7d5e7c59d2b3d69cb089ea -
Trigger Event:
release
-
Statement type: