This is likely a simple error, but I don't know enough about python to figure it out. Getting the following error when trying a simple getCurrentTemp.
from TStat import *
t = TStat('192.168.1.127')
t.getCurrentTemp()
Traceback (most recent call last):
File "", line 1, in
File "TStat.py", line 274, in getCurrentTemp
return self._get('temp', raw)
File "TStat.py", line 181, in _get
if not self.api.has_key(key):
AttributeError: 'NoneType' object has no attribute 'has_key'
This is likely a simple error, but I don't know enough about python to figure it out. Getting the following error when trying a simple getCurrentTemp.
Not quite sure what I'm doing wrong. Any ideas?