Easily view and manage all your videos and images of your beloved pets right from the Media tab in Home Assistant.
Note
The media accessible on Home Assistant are ONLY those of the current day. It is not possible to download previous days.
- πΌοΈ Picture feature is supported for all devices with camera, does not require an active subscription to Care+
- ποΈ Video feature is supported for all devices with camera, REQUIRE an active subscription to Care+
- πΉ Real-time video stream is not supported yet.
Add feeding Schedule card for feeders :
Add this card to your HA with HACS : https://github.com/cristianchelu/dispenser-schedule-card (thanks to @cristianchelu)
On config card paste this :
type: custom:dispenser-schedule-card
entity: sensor.MY_FEEDER_NAME_raw_distribution_data
editable: never
alternate_unit:
unit_of_measurement: g
conversion_factor: 10
approximate: true
Note
Not all feeders support this feature, if you don't have the sensor raw_distribution_data
, your feeder is not supported.
Via HACS (recommended), click here :
Or follow these steps:
- Open HACS (Home Assistant Community Store)
- Click on the three dots in the top right corner
- Click on
Custom repositories
- In the Repository field, enter https://github.com/Jezza34000/homeassistant_petkit/
- In the Category field, select
Integration
- Click on
Add
- Search for
Petkit Smart Devices
in the list of integrations - Install the integration
- Restart Home Assistant
- Go to
settings
->integrations
->add integration
-> search forPetkit Smart Devices
- Follow the instructions to configure the integration
Important
To use both the official Petkit app AND Home Assistant simultaneously, you need two accounts:
- Use your PRIMARY account with the official Petkit app to retain full control over device management.
- Use your SECONDARY account for Home Assistant integration.
Add the secondary account to your primary account's family in the Petkit app.
How to create a family and add a member:
- Open the Petkit app and log in with your primary account.
- At the top of the screen, click on Family Management, then select Create a Family and follow the prompts.
- Once the family is created, click on the Add Family Member button.
- Add your secondary Petkit account.
- Finally, log into the Home Assistant integration using your secondary account.
Basic configuration :
- Polling interval : The interval in seconds to poll the Petkit API. (default: 60)
- Smart poll : Enable adaptative scan to reduce polling interval when device is active or an event is detected. (default: true)
Advanced configuration (media options) :
- Media path : The path to store media files. (default: /media)
Important
It's recommended to use an external storage to store media files. As the device can generate a lot of media files, it can fill up your Home Assistant storage quickly. Specially if you have "Fetch video" option enabled.
- Media refresh interval : The interval in minutes to refresh media list. (default: 5)
- Fetch image : Enable image fetching for feeders/litter with camera. (default: true)
- Fetch video : Enable video fetching for feeders/litter with camera. (default: false)
- Event type for download : The type of event to download media. (default: Eat, Feed, Toileting)
- Delete media after (days) : The number of days to keep media files. (default: 3) Set to 0 to keep all files.
Advanced configuration (bluetooth relay options) :
- Enable bluetooth relay : Enable bluetooth relay for fountain with bluetooth, you need a relay device. (default: true)
- Bluetooth refresh interval : The interval in minutes to scan bluetooth devices. (default: 30)
This integration is available in the following languages:
- English
- Polish (thanks to @Chriserus)
- Spanish (thanks to @joasara)
- French
- German
- Italian
- Chinese (thanks to @pujiaxun)
Some translations was generated by IA and may not be accurate, if you see any mistake, open a pull request with the correction.
If you want to contribute to this please read the Contribution guidelines
KISS : Keep It Simple, Stupid. Less is More
This repository is based on the client library for the Petkit API, which can be found here : Jezza34000/py-petkit-api
Thanks to :
- @ludeeus for the integration_blueprint template.
- @RobertD502 for the great reverse engineering done in this repository which helped a lot home-assistant-petkit