tf_archiv Geschrieben December 30, 2011 at 16:19 Geschrieben December 30, 2011 at 16:19 I'm testing just arrived brickets, thanks! I'm testing it on Ubuntu 10.04 via brick viewer everything seems to be alright but I cannot connect to brick via python and I get an error: ip_connection.Error: -1: Could not add device XYZ, timeout I also had a problem with installing .egg (but this time I just imported libs manually): " root:/home/user/tinkerforge_python_bindings_latest> easy_install tingerforge.egg Searching for tingerforge.egg Reading http://pypi.python.org/simple/tingerforge.egg/ Couldn't find index page for 'tingerforge.egg' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for tingerforge.egg error: Could not find suitable distribution for Requirement.parse('tingerforge.egg') " Zitieren
tf_archiv Geschrieben December 30, 2011 at 16:19 Autor Geschrieben December 30, 2011 at 16:19 You need to change the UID ("XYZ") to the UID of your device. You can find the UID in the setup tab of the Brick Viewer. Merry Christmas, Olaf Zitieren
tf_archiv Geschrieben December 30, 2011 at 16:19 Autor Geschrieben December 30, 2011 at 16:19 You can get the UIDs with the enumerate callback of the ip connection: http://www.tinkerforge.com/doc/Software/IPConnection_Python.html#example But note: If you have two of the same devices (for example two Poti Bricklets) you obviously need to assign the UIDs while writing the code. Otherwise there is no way to differentiate between them! Zitieren
tf_archiv Geschrieben December 30, 2011 at 16:20 Autor Geschrieben December 30, 2011 at 16:20 thanks! I didn't noticed that is there a way to get UID automatically via python ? (maybe list of UIDs avaiable?) Merry Christmas, Albert Zitieren
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.