https://github.com/kipe/enocean
Python library for EnOcean serial protocol
https://github.com/kipe/enocean
enocean python python-library
Last synced: 10 months ago
JSON representation
Python library for EnOcean serial protocol
- Host: GitHub
- URL: https://github.com/kipe/enocean
- Owner: kipe
- License: mit
- Created: 2014-08-18T18:45:34.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2024-07-09T17:13:58.000Z (over 1 year ago)
- Last Synced: 2025-05-10T01:38:35.836Z (10 months ago)
- Topics: enocean, python, python-library
- Language: Python
- Homepage:
- Size: 321 KB
- Stars: 76
- Watchers: 27
- Forks: 106
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Agile-IoT-awesome-open-iot - Python EnOcean
- awesome-iot - Python Enocean ★ 13 ⧗ 45 - A Python library for reading and controlling EnOcean devices. (Hardware Com / Others)
- awesome-open-iot - Python EnOcean
- awesome_iot - Python Enocean ★ 13 ⧗ 45 - A Python library for reading and controlling EnOcean devices. (Hardware Com / Others)
README
# Python EnOcean #
[](https://travis-ci.org/kipe/enocean)
[](https://coveralls.io/github/kipe/enocean?branch=master)
A Python library for reading and controlling [EnOcean](http://www.enocean.com/) devices.
Started as a part of [Forget Me Not](http://www.element14.com/community/community/design-challenges/forget-me-not)
design challenge @ [element14](http://www.element14.com/).
## Install ##
If not installed already, install [pip](https://pypi.python.org/pypi/pip) by running
`sudo apt-get install python-pip`
After pip is installed, install the module by running
`sudo pip install enocean` (or `sudo pip install git+https://github.com/kipe/enocean.git` if you want the "bleeding edge").
After this, it's just a matter of running `enocean_example.py` and pressing the
learn button on magnetic contact or temperature switch or pressing the rocker switch.
You should be displayed with a log of the presses, as well as parsed values
(assuming the sensors are the ones provided in the [EnOcean Starter Kit](https://www.enocean.com/en/enocean_modules/esk-300)).
The example script can be stopped by pressing `CTRL+C`