Closed naimo84 closed 8 years ago
@naimo84: Thanks for sharing your insights!
Hi @naimo84, please try our all new Nuimo Python SDK. It now uses BlueZ's D-Bus API directly. Please find all information here: https://github.com/getsenic/nuimo-linux-python
EDIT: it was an error regarding to the iOS simulator. Now I'm using a real nuimo and everything works.
TypeError: list indices must be integers, not str
This occurs in swipe_event and rotation_event.
A quick fix for me, as a beginner in python, is to rewrite the nuimo.py code to
Now it works for about 10 seconds and then nothing happens. No event is received, no error occurs. I have to restart the python script and it works again for this timespan. What am I doing wrong?
Tested with python 2.7 and 3.4 on a Raspberry Pi 3 with the built-in Bluetooth adapter, Nuimo iOS Simulator