kipe / enocean

Python library for EnOcean serial protocol
MIT License
72 stars 103 forks source link
enocean python python-library

Python EnOcean

Build Status Coverage Status

A Python library for reading and controlling EnOcean devices.

Started as a part of Forget Me Not design challenge @ element14.

Install

If not installed already, install 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).

The example script can be stopped by pressing CTRL+C