Skip to content

Releases: RobertD502/petkitaio

0.1.12

06 Jan 00:59
e5f4e7e
Compare
Choose a tag to compare

Buy Me A Coffee
Donate using Liberapay

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

06 Nov 17:22
201d56d
Compare
Choose a tag to compare

Buy Me A Coffee
Donate using Liberapay

If you enjoy this library, consider donating by clicking on one the supported methods above.

Changes

  • Fixed BLE poll tracking when multiple water fountains on account
  • Added debug messaging during device discovery
  • Added 125 region error code

0.1.11.2

04 Nov 20:23
3d0d998
Compare
Choose a tag to compare

Buy Me A Coffee
Donate using Liberapay

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

23 Sep 16:48
50f5ff6
Compare
Choose a tag to compare

Buy Me A Coffee
Donate using Liberapay

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

17 Aug 16:27
152d229
Compare
Choose a tag to compare

Buy Me A Coffee
Donate using Liberapay

If you enjoy this library, consider donating by clicking on one the supported methods above.

Changes

  • Added TimezoneError exception: If tzlocal fails to find the TZ environmental variable on the host OS, the TimezoneError exception will now be raised.

0.1.8

03 Aug 19:11
e414b1c
Compare
Choose a tag to compare

Buy Me A Coffee
Donate using Liberapay

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.

0.1.7

18 Jul 18:42
d5bfbe6
Compare
Choose a tag to compare

Buy Me A Coffee
Donate using Liberapay

If you enjoy this library, consider donating by clicking on one the supported methods above.

New Features

  • Added support for PetKit China accounts: PetKit China accounts, that use a number for the username, are now supported by setting the client's china_account parameter to True.

0.1.6.1

09 Jul 20:01
97d3e54
Compare
Choose a tag to compare

Buy Me A Coffee
Donate using Liberapay

If you enjoy this library, consider donating by clicking on one the supported methods above.

Changes

  • Added error code 99 to server error codes: When PetKit servers are undergoing maintenance, as indicated by response error code 99, a ServerError exception will be raised with detailed message.

0.1.6

06 Jul 18:46
d994bba
Compare
Choose a tag to compare

Buy Me A Coffee
Donate using Liberapay

If you enjoy this library, consider donating by clicking on one the supported methods above.

New Features

  • Added support for Fresh Element feeder

0.1.5

26 Jun 20:39
8a90b86
Compare
Choose a tag to compare

Buy Me A Coffee
Donate using Liberapay

If you enjoy this library, consider donating by clicking on one the supported methods above.

New Features

  • Added support for PetKit Asia accounts: If using a PetKit Asia account, set the asia_account parameter of the PetKitClient to True in order to fetch data from the PetKit Asia API endpoints