py-openzwave is a python wrapper around the open-zwave c++ project.
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 28 commits behind maartendamen:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This is the readme file for the py-openzwave project.

Building on Ubuntu 10.10 - (

The 'cython' version for Ubuntu 10.10 is 0.12.1, which is too
old. You'll get an error at 'cdef extern from # "<string>"'. Removing
that cython and running 'easy_install cython' will get you a version
at least as new as 0.14.1, which will work.

First build the openzwave library:
(cd openzwave/cpp/build/linux; make)

Then the python library:
python build

Then try running python (or ipython) and pasting the contents of You need to leave python running after the statements are
done so callbacks can come in. 

For the tricklestar USB device, a more robust device name to use is 
(as opposed to ttyUSB0/ttyUSB1/etc).

I (drewp) still don't know the workflow for adding new devices. For
that I used which
does have an 'add device' operation.

Adding devices

from the ozcp code, 

          setAdminFunction("Add Device");
                                   web_controller_update, this, true));
then it waits for
  case Driver::ControllerState_Completed: