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

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