Skip to content

Releases: alengwenus/pypck

0.7.12

21 Dec 18:30

Choose a tag to compare

Other

  • Exception handling for unknown hardware types
  • Excpetion handling for PCK decode errors
  • Add test support for Python 3.10
  • Set default GIT CI Environment to Python 3.9

0.7.11

24 Jul 05:20
793f0f1

Choose a tag to compare

Improvements

  • Possiblity to register general input callbacks not bound to a device.

0.7.10

14 Jul 12:14
e68cf05

Choose a tag to compare

Improvements

  • Add status message handler for transmitter, transponder and fingerprint codes.

Bugfixes

  • Fix cancelling all tasks for all open connections when closing a single connection.
  • Fix unit for ampere (Kelvin -> Ampere).
  • Fix conversion function for ampere (mA -> A).

0.7.9

17 Jan 14:14

Choose a tag to compare

Bugfixes

  • Fix ping timeout interval

Other

  • Add a task registry to keep track of all pending tasks scheduled on the event loop

0.7.8

05 Jan 06:18
b93054a

Choose a tag to compare

Breaking changes

  • Remove explicit support for Python 3.7

Improvements

  • Dump available module information in a hierachical dict

Bugfixes

  • Status messages targetting segment id 4 (all segments) are handled correctly

Other

  • GroupConnection object is created on the fly
  • Remove input handling for groups (groups don't receive status messages)
  • Add test support for Python 3.9
  • Add type hints to tests

0.7.7

01 Dec 19:27

Choose a tag to compare

Bugfixes

  • Exclude test directory from build

0.7.6

27 Nov 21:33

Choose a tag to compare

Breaking changes

  • Change convenience methods in Module-/GroupConnection to coroutines
  • Change send_command methods to coroutines
  • Rename sw_age attributes to software_serial

Improvements

  • Add group membership discovery (static and dynamic groups)
  • Add RelaysTimer command
  • Add message handler for SendKeysHost message
  • Add scene status message request store command
  • Change hardware type number in serial to HardwareType enum

Bugfixes

  • Fixe an error message due to wrong formatters when logging in debug level
  • Correct handling of unicode characters for display's dynamic text

Other

  • Increase amount of unit tests for messages and commands
  • Additional pre-commit hooks, tests and Github actions
  • Improve README.md
  • Relicense to EPL 2.0

0.7.5

14 Nov 13:21
8ffad62

Choose a tag to compare

Breaking changes

  • Remove the loop parameter from PchkConnectionManager
  • Change LogicOpStatusvalues from not/or/and to none/some/all

Improvements

  • Add beep command.
  • Add command to store scenes.
  • Add empty command.
  • Add parsing of send command host message.

Bugfixes

  • Several pending tasks are awaited after a async_close()
  • Fix hardware type value after serial number request.
  • Fix valid address range for modules and groups in LcnAddr.
  • Separate parser for native and percent output units due to wrong percentage calculation.

Other

  • Remove asyncio loop from all methods.
  • Add a test framework.
  • Increase test coverage.
  • Add type hints.
  • Fix linting errors.
  • Add pre-commit hook.

0.7.4

22 Oct 12:44

Choose a tag to compare

Bugfixes

  • Correct handling of variable responses without a type.
  • Variable polling when requesting the same variable status multiple times.

0.7.3

22 Oct 12:46

Choose a tag to compare

Improvements

  • Support for connection handshake for PCHK versions <2.2.
  • Add callback function to handle various LCN host exceptions.