Being new here I don´t know where to turn to so I start here. Trying to integrate IKEA tradfri into 110.1 I get the error message “Timeout validating the code” but not on 110.0. Has anybody any idea, is this a bug and if so where do I report it?
I have had he same issue for… well… as long as I can remember, never been able to solve it, until today.
I have been trying to enter the 8 digit code written on the backside of the tradfri hub all along, but I got a hint in another thread which I tried out and it worked…
What I did was that I with the phone scanned visible QR-code, that returns the mac-adress separated with the keystring you should enter when you’re trying to connect… so I have been trying out the 8 digit code on the back side for all time without ever succeding, but with the password string through the QR-code it worked for me.
Thank you for sharing your experiences Max. Maybe you had a problem with interpreting the letters (I don’t remember the correct expression right now). My problem was solved yesterday when 0.110.2 was released.
I have this issue too (getting “Timeout validating the code” when trying to input the Security Code). I’m on 0.110.5, and I am putting in the correct string (it’s the Security Code, not the 8-digit number that it needs). I even tried restarting the Trådfri Gateway as mentioned here, but to no avail.
The Trådfri integration was working so so, but I had some defunct devices that I couldn’t get rid of, so I deleted it and tried to configure it from scratch and I started getting this error.
In the logs under Developer Tools, I see several instances of the following error:
2020-06-06 22:54:07 ERROR (MainThread) [coap] Exception CancelledError() can not be represented as errno, setting -1. 2020-06-06 22:54:10 ERROR (SyncWorker_2) [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 157, in _run yield from self._connecting 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 192, in _dispatch_error request.response.set_exception(OSError(errno, os.strerror(errno))) asyncio.base_futures.InvalidStateError: invalid state
EDIT: Never mind, adding the integration manually works (but I have to also input the IP).
I have the same issue “Timeout validating the code”. I have version 0.111.1 installed.
I tried the following:
- restarted HA
- restarted Tradfri Gateway
- Factory resetted Tradfri Gateway
- Added the integration via Configuration -> Integrations -> “+” Symbol
- Added the integration via configuration.yaml
I am sure that the code from the back of the gateway is correct. I scanned it via QR-Code.
Any suggestions on this?
I have no further idea how I can finally make the integration work.
did you manage to solve the issue? I’m experiencing exactly the same.
It was corrected but the bug seems to be back!
Hi, finally it worked for me. I scanned the QR code to see if the security code under the gateway matches the one scanned and it turned out that I was confusing a “1” with capital “I”
Did you manage to solve this?
I have the same problem and have also tried everything .
Do you have Zigbee installed? Just wondering if it could be a conflict.
The problem disappeared with 110.2 but now I have the same problem again. I get a time out when trying to add my new tradfri gateway to Home Assistant. I suspect the problem is in the tradfri firmware.
The only thing that worked for me was reinstalling hassio completly.
Did you restore folders and add-ons or did you have to reinstall that to?
I only made a backup of my config files and then I made a clean install from scratch. But with backup and restore it should work too.
Still not working here…
Hi it eventually worked for me…
When it responds timeout validating … just hit cancel and than I found a new integration registered but without security code. After that from the main integration panel if you open it it asks for the code again and it works this time !!!
Didn’t work for me, I don’t get any “new integration”. However do I have an old tradfri integration that I have removed. Maybe some code is left somewhere? anybody?