Just a brief post now, as I just managed to get my Python library hosted on PyPi and GitHub.
The GitHub page does get through the basic installation as well as a demo-script, showing a "proof-of-concept".
The library can't be considered in any way stable, as I'm sure that I'll run into some problems when I'll start using it for real. From now on I'll be focusing on a demo-application by creating a Django-based web interface using the library.
So, basically you can checkout the library by running sudo apt-get install python-pip; sudo pip install enocean; enocean_example.py
First part will install a tool for installing Python software from PyPi, second will install the library and the last one will start a simple program showing the received values from sensors. You can stop the program by pressing CTRL+C.
Of course, OpenHAB or anything like that will need to be turned off, as it'll use the serial port as well, blocking the operation.
Top Comments