Jump to content

Tinkerforge_ipConnection fail


kwally

Recommended Posts

Ja meine lieben.

Ich habe for kurzter zeit eine illusion gehapt das ich ENDLICH das raetsel geloest habe. Das ist, die wetter stations functioniert; Drop Box Connection hat endlich geklappt; aber leider das Python script kann nicht die connection mit tinkerforge_ip connection fertig bringen.

 

Es waerde sehr schoen wenn jemand von den Tinkerforge Kunden wissen was falsch ist. Das script habe ich nicht selber geschrieben, Gott sei dank, aber habe vom Internet abgeladen. http://tinyurl.com/mxw8omx heisst Main.py und upload.py

 

Es schtolpert immer bei dem "tinkerforge.ip_connection.

 

Hiermit die "Error message"

 

live and kicking'

Traceback (most recent call last):

  File "main.py", line 111, in <module>

    main()

  File "main.py", line 91, in main

    light_level=light_sensor.get_illuminance()/10.0

  File "/usr/local/lib/python2.7/dist-packages/tinkerforge.egg/tinkerforge/bricklet_ambient_light.py", line 103, in get_illuminance

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

tinkerforge.ip_connection.Error: -1: Did not receive response for function 1 in time

Exception in thread Disconnect-Prober (most likely raised during interpreter shutdown):Exception in thread Brickd-Receiver (most likely raised during interpreter shutdown):

Traceback (most recent call last):

  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner

 

  File "/usr/lib/python2.7/threading.py", line 505, in runTraceback (most recent call last):

 

  File "/usr/local/lib/python2.7/dist-packages/tinkerforge.egg/tinkerforge/ip_connection.py", line 617, in receive_loop  File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner

<type 'exceptions.TypeError'>: 'NoneType' object is not callable

  File "/usr/lib/python2.7/threading.py", line 505, in run

 

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

  File "/usr/lib/python2.7/Queue.py", line 174, in get

<type 'exceptions.TypeError'>: 'NoneType' object is not callable

 

Hoffentlich gibts jemand der weiss was da los ist?

 

Vieln Dank

Karl

Link zu diesem Kommentar
Share on other sites

Ja alle Bricklets sehe ich im Brickview. Die bricklet addressen habe ich natuerlich umgeandert.Master ist 6xftxf,licht ist mbr,Temp ist dY7 Baro ist k4s and Humidity ist keV. Aber das script hat ja die Humidity nicht drinnen. Ich habe gedacht bestens warten bis ich es erstmal functioniert, before ich probiere die Humidity reingeben. Ich weiss ja nicht was der richtige Syntax ist.

 

Danke fuer die antwort.

Link zu diesem Kommentar
Share on other sites

Join the conversation

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

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...