Tested with the ports opened but the problem resurfaced.
This time with these fat error like this for every single bulb.
Wed Jul 24 2019 18:13:03 GMT+0200 (Central European Summer Time)
Observation failed for Kjokken4
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
rror executing service <ServiceCall light.turn_off (c:9814caedb12147eeb94c96f23f3e71db): entity_id=['light.gjesterom_1']>
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
OSError: [Errno -1] No error information
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/core.py", line 1159, in _safe_execute
await self._execute_service(handler, service_call)
File "/usr/src/homeassistant/homeassistant/core.py", line 1172, in _execute_service
await handler.func(service_call)
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 194, in handle_service
required_features
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 316, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 337, in _handle_service_platform_call
await getattr(entity, func)(**data)
File "/usr/src/homeassistant/homeassistant/components/tradfri/light.py", line 252, in async_turn_off
await self._api(self._light_control.set_state(False))
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 146, in _execute
_, res = await self._get_response(msg)
File "/usr/local/lib/python3.7/site-packages/pytradfri/api/aiocoap_api.py", line 105, in _get_response
await self._reset_protocol(e)
File "/usr/local/lib/python3.7/site-packages/pytradfri/api/aiocoap_api.py", line 78, in _reset_protocol
await protocol.shutdown()
File "/usr/local/lib/python3.7/site-packages/aiocoap/protocol.py", line 133, in shutdown
for exchange_monitor, cancellable in self._active_exchanges.values():
AttributeError: 'NoneType' object has no attribute 'values'