Traceback (most recent call last):


 "/usr/local/lib/python3.6/site-packages/homeassistant/config_entries.py", line 225, in async_setup

result = await component.async_setup_entry(hass, self)


 "/usr/local/lib/python3.6/site-packages/homeassistant/components/tradfri/__init__.py", line 94, in async_setup_entry

gateway_info = await api(gateway.get_gateway_info())


 "/usr/local/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 152, in request

result = yield from self._execute(api_commands)


 "/usr/local/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 142, in _execute

_, res = yield from self._get_response(msg)


 "/usr/local/lib/python3.6/site-packages/pytradfri/api/aiocoap_api.py", line 92, in _get_response

r = yield from pr.response


 "/usr/local/lib/python3.6/site-packages/aiocoap/protocol.py", line 816, in _run_outer

yield from cls._run(app_request, response, weak_observation, protocol, log, exchange_monitor_factory)


 "/usr/local/lib/python3.6/site-packages/aiocoap/protocol.py", line 865, in _run

blockresponse = yield from blockrequest.response
OSError: [Errno -1] No error information

Traceback (most recent call last):


 "/usr/src/proga.py", line 392, in <module>

authentificate(int.from_bytes(simid, byteorder='big'), randautn)


 "/usr/src/proga.py", line 220, in authentificate

ChangeCurrentSim(simid)


 "/usr/src/proga.py", line 22, in ChangeCurrentPrg

port.setRTS(True)


 "/usr/local/lib/python3.5/dist-packages/serial/serialutil.py", line 594, in setRTS

self.rts = value


 "/usr/local/lib/python3.5/dist-packages/serial/serialutil.py", line 459, in rts

self._update_rts_state()


 "/usr/local/lib/python3.5/dist-packages/serial/serialposix.py", line 616, in _update_rts_state

fcntl.ioctl(self.fd, TIOCMBIS, TIOCM_RTS_str)
OSError: [Errno 5] Input/output error
