enocean icon indicating copy to clipboard operation
enocean copied to clipboard

Read EnOcean Chip ID and module version info

Open henningkerstan opened this issue 2 years ago • 1 comments

The suggested change will add two (read-only) properties to the Communicator class:

  • chip_id() which returns the modules chip id (if successful) and
  • version_info() which returns the modules version info (if successful).

The version info is a new data structure, which is defined in the VersionInfo class in the file version_info.py.

The enocean_example.py file has been changed to also display the chip id.

In order for these changes it was necessary to slightly change the way, how the Communicator waits for the response packet also in the base_id() property.

henningkerstan avatar Aug 27 '22 08:08 henningkerstan

Hello @kipe, could you please have a quick look at this pull request? Thanks!

henningkerstan avatar Aug 27 '22 08:08 henningkerstan