Skip to content

Releases: RobertD502/petkitaio

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

0.1.4

21 Jun 21:28
0fd4258
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 Air Magicube Purifier

0.1.3

20 Jun 22:43
05d8fe0
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.

Fixes

  • Fixed wrong BLE relay typecode preventing water fountains, aside from Eversweet 3 Pro, from connecting via the relay.

New Features

  • Support for Fresh Element Gemini (dual hopper) feeder has been added.
  • Support for Eversweet Solo 2 water fountain has been added.

0.1.2

02 Jun 03:00
eaf4d49
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 Changes

  • Snake case formatting has been applied to command names to improve readability.

Fixes

  • Added ServerError exception: Previously, when PetKit's servers reported being busy, an AuthError exception was raised. This has been fixed and instead a ServerError exception is raised in order to prevent confusion about needing to reauthenticate.

New Features

  • Support for Pura MAX, along with associated Pura Air devices, has been added
  • Added support for PetKit Asia accounts: The library now checks what region the PetKit account is set to. Based on this, the base_url is set allowing for PetKit Asia accounts (warning: PetKit Asia accounts should work in theory, but it has not been tested)