Jump to content

master.get_chip_temperature funktioniert nicht


Recommended Posts

Die Chip-Temperatur läßt sich vom Master nicht abfragen. Probiert unter PHP und Python.

 

Bei Python kommt folgendes:

Traceback (most recent call last):
  File "test.py", line 32, in <module>
    temp = master.get_chip_temperature()
  File "/home/jan/python/tinkerforge/ip_connection.py", line 76, in func
    return f(self, *args, **kwargs)
  File "/home/jan/python/tinkerforge/brick_master.py", line 377, in get_chip_temperature
    return self.ipcon.send_request(self, Master.FUNCTION_GET_CHIP_TEMPERATURE, (), '', 'h')
  File "/home/jan/python/tinkerforge/ip_connection.py", line 306, in send_request
    raise Error(Error.TIMEOUT, msg)
tinkerforge.ip_connection.Error: -1: Did not receive response for function 242 in time

Link zu diesem Kommentar
Share on other sites

@Jan: Hast Du die neuesten Bindings eingespielt und die Firmware aktualisiert (ich weiss ist ne dumme Frage, aber manchmal .... Apotheke und Pferde).

Ich habe es über das Skrip vom Loetkolben realisiert, das direkt über TCP/IP kommuniziert und da klappt es einwandfrei.

Also an der Firmware liegt es nicht.

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...