Jump to content

Python: Keine Verbindung mit dem Temperaturmodul- tinkerforge.ip_connection.Err


Recommended Posts

Posted

Hallo,

 

habe diese Woche meine Module bekommen. Die Tests mit dem Temperaturmodul verlaufen mit brickv einwandfrei - alles wird erkannt. Beim Starten des Skripts example_simple.py gibt es die Fehlermeldung:

Traceback (most recent call last):

  File "example_simple.py", line 18, in <module>

    ipcon.add_device(t) # Add device to IP connection

  File "/usr/local/lib/python2.7/dist-packages/tinkerforge.egg/tinkerforge/ip_connection.py", line 460, in add_device

    raise Error(Error.TIMEOUT, msg)

tinkerforge.ip_connection.Error: -1: Could not add device 9JpueWz9c6A, timeout

>Exit code: 1

 

Die Module werden erkannt. Unter Ruby gibt es eine ähnliche Fehlermeldung. Die UID ist mit identisch mit der im brickv.

Gibt es irgenwelche Rechte. Ich benutzte Ubuntu 12.04.

 

Danke für die Hilfe.

 

Posted

Hallo bluewhite,

 

typischerweise ist dies ein Problem mit einer falschen UID,

aber wenn die passt und Brickd läuft sollte es eigentlich gehen.

Ein Rechteproblem gibt es da eigentlich nicht.

 

Führst du die ungeänderte example_simple.py aus?

Bitte überprüf nochmal die UID.

Posted

Matthias hat mich gerade darauf hingewiesen, dass du eine typische Brick UID für das Bricklet angegeben hast. Das hatte ich übersehen.

 

Wie gesagt, überprüf bitte mal deine UID ;)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...