The errors were my fault, somehow the IP got changed for the gateway, after which I received really weird results that the python script received return calls.
if someone else get these:
Code: Select all
Initializing gateway
Unhandled Error
Traceback (most recent call last):
File "/opt/lib/python3.6/site-packages/twisted/python/log.py", line 103, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/opt/lib/python3.6/site-packages/twisted/python/log.py", line 86, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/opt/lib/python3.6/site-packages/twisted/python/context.py", line 122, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/opt/lib/python3.6/site-packages/twisted/python/context.py", line 85, in callWithContext
return func(*args,**kw)
--- <exception caught here> ---
File "/opt/lib/python3.6/site-packages/twisted/internet/posixbase.py", line 614, in _doReadOrWrite
why = selectable.doRead()
File "/opt/lib/python3.6/site-packages/twisted/internet/tcp.py", line 243, in doRead
return self._dataReceived(data)
File "/opt/lib/python3.6/site-packages/twisted/internet/tcp.py", line 249, in _dataReceived
rval = self.protocol.dataReceived(data)
File "/usr/local/domoticz/var/plugins/IKEA-Tradfri/tradfri.tac", line 88, in dataReceived
self.factory.initGateway(self, command)
File "/usr/local/domoticz/var/plugins/IKEA-Tradfri/tradfri.tac", line 287, in initGateway
self.devices = self.api(self.api(self.gateway.get_devices()))
File "/opt/lib/python3.6/site-packages/pytradfri-5.5.1-py3.6.egg/pytradfri/api/libcoap_api.py", line 96, in request
File "/opt/lib/python3.6/site-packages/pytradfri-5.5.1-py3.6.egg/pytradfri/api/libcoap_api.py", line 85, in _execute
pytradfri.error.RequestTimeout:
Just check the IP address of the gateway you are trying to reach from Domoticz..
