I can set mine up but after a couple of hours it loses connection and need to be delete and integrated again. It has lost it again during the night …
edit: found this in the log:
Observation failed for Fönster Tvättstuga
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/pytradfri/api/aiocoap_api.py”, line 95, in _get_response
r = await pr.response
File “/usr/local/lib/python3.7/site-packages/aiocoap/protocol.py”, line 816, in _run_outer
yield from cls._run(app_request, response, weak_observation, protocol, log, exchange_monitor_factory)
File “/usr/local/lib/python3.7/site-packages/aiocoap/protocol.py”, line 865, in _run
blockresponse = yield from blockrequest.response
aiocoap.error.RequestTimedOut
and this:
Fri Jun 07 2019 03:04:19 GMT+0200 (centraleuropeisk sommartid)
Fatal DTLS error: code 115
edit 2:
More from the logs:
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/pytradfri/api/aiocoap_api.py”, line 155, in request
result = await self._execute(api_commands)
File “/usr/local/lib/python3.7/site-packages/pytradfri/api/aiocoap_api.py”, line 114, in _execute
await self._observe(api_command)
File “/usr/local/lib/python3.7/site-packages/pytradfri/api/aiocoap_api.py”, line 172, in _observe
pr, r = await self._get_response(msg)
File “/usr/local/lib/python3.7/site-packages/pytradfri/api/aiocoap_api.py”, line 106, in _get_response
raise ServerError(“There was an error with the request.”, e)
pytradfri.error.ServerError: (‘There was an error with the request.’, OSError(-1, ‘No error information’))
2019-06-07 03:05:14 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiocoap/transports/tinydtls.py”, line 160, in _run
message = yield from self._queue.get()
File “/usr/local/lib/python3.7/site-packages/aiocoap/util/asyncio.py”, line 40, in get
priority, first = yield from self._inner.get()
File “/usr/local/lib/python3.7/asyncio/queues.py”, line 159, in get
await getter
concurrent.futures._base.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiocoap/transports/tinydtls.py”, line 169, in _run
self.coaptransport.new_error_callback(-1, self)
File “/usr/local/lib/python3.7/site-packages/aiocoap/protocol.py”, line 203, in _dispatch_error
for key, (monitor, cancellable_timeout) in self._active_exchanges.items():
AttributeError: ‘NoneType’ object has no attribute ‘items’
2019-06-07 03:05:14 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/aiocoap/transports/tinydtls.py”, line 141, in _run
remote_addr=(self._host, self._port),
File “uvloop/loop.pyx”, line 2961, in create_datagram_endpoint
File “uvloop/loop.pyx”, line 2958, in uvloop.loop.Loop.create_datagram_endpoint
concurrent.futures._base.CancelledError