Releases: RobertD502/petkitaio
0.1.12
If you enjoy this library, consider donating by clicking on one the supported methods above.
Changes
Added self.use_ble_relay to PetKitClient
: Set this attribute to False
in order to prevent the library from using a PetKit BLE relay, if one is available. Useful for those with a Pura MAX and water fountain as the usage of the relay via this library and the PetKit mobile app at the same time can cause the Pura MAX to lock up requiring for it to be manually rebooted to function again.
0.1.11.3
0.1.11.2
If you enjoy this library, consider donating by clicking on one the supported methods above.
Changes
- Update API endpoints to reflect changes made by PetKit
- Parse all group IDs (PetKit Family groups) and use IDs to obtain all devices associated with account
- Store last BLE poll for water fountains on a per-device basis instead of universally
- Raise exception if control of water fountain is attempted when no valid PetKit BLE relay is present
0.1.10
If you enjoy this library, consider donating by clicking on one the supported methods above.
Changes
Added optional timezone argument to PetKitClient
: On some systems, tzlocal fails to find a timezone if the system's timezone is not in the list of timezones provided by the tzlocal library. The optional timezone argument now allows users to specify the timezone to use and bypasses tzlocal. If no timezone is provided, tzlocal is used to fetch the system's timezone.
0.1.9
0.1.8
If you enjoy this library, consider donating by clicking on one the supported methods above.
Breaking Change
region
requirement added: PetKit has started to determine the base_url based on the country an account is from (a new base URL has been added for EU users). As a result, the china_account
and asia_account
parameters have been deprecated. Instead the PetKit client now has a region
parameter. Please see the documentation for all available regions and example usage.