It was probably just me… but I didn’t find the answer from teamKano help all that much in finding out what you have to install on Raspbain stretch to be able to program the LED’s using python (on your own Raspbian image).
In digging through the github repo I noticed a reference to the neopixel library - so that gave me a clue these LED’s are really WS281x so with a bit of work I got them working with that library.
On the latest Raspbian Stretch Lite this is what I had to install to get the Kano LED ring to be programmable with Python.
sudo apt-get install -y scons
sudo apt-get install -y swig
git clone https://github.com/jgarff/rpi_ws281x
sudo python setup.py build
sudo python setup.py install
What we are doing is installing the rpi_ws281x library. It needs to be compiled and that requires use of scons and swig. scons must be run in the rpi_ws281x folder as that downloads some additional dependencies.
Once the install has completed you can run several of the scripts in the examples folder.
e.g. sudo strandtest,py
One thing to note is the Color order is GRB rather than RGB (which the examples assume). I did not find a way to switch the order easily (maybe I missed how to do that) - so the colors specified in the examples using the builtin Color function will be off for anything Red / Green. For my use I just switched all my RGB’s to GRB in my use of the Color function.
Hope that helps!