Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Read EnOcean Chip ID and module version info #136

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

henningkerstan
Copy link

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant