I experience the problem as well: After rebooting OH, the Tradfri hub is offline. Only entering the credentials again makes it come online until the next reboot.
After an update from stable 2.3 in the last week, I am now on 2.4 M6 (Testing or Milestone), also for the Tradfri binding - I understood this should be fixed in my software, but I still experiencing the issue.
Any hint? Or do I need to delete and reinstall the binding? Or even apply a newer software (the one from the file offered above)?
I dont develop for openhab so I cannot say. I’m using snapshot builds and haven’t had the issue for a while which is odd because to my knowledge nothing has changed in the code.
After upgrade to OH 2.4 stable, same issue like before - the security code for the Ikea Tradfri bridge is empty after a reboot and can’t connect from OH. From my point of view it makes no sense to have a stable smarthome and after a reboot - for example lost power - credentials or codes must be entered manually. I hope someone have a idea how to solve this. Is it possible to create a script what saved the code after a reboot automatically ?
I only lose connection, no settings.
It’s been like this for more than a year on Snapshots.
On my remote site I had to install a Z-Wave wall plug in order to be sure to get it online after a power outage.
More recently I have had good success reconnecting restarting the binding from Karaf.
Both my problem sites are running OH2 Snapshots on x64 Ubuntu Server 16.04 LTS.
Even in OH 2.4, latest milestone (is currently release), the binding loses connection to the gateway after a OH reboot. Maybe the ESH updates to the binding need to be included in OH?
@Tobi77, what kind of system do you run OH2 on?
Maybe this is only a problem on certain platforms?
Will try to enable DEBUG/TRACE level debug for binding.
Only about 2 in 10 restarts goes without a hiccup.
I’ve been on snapshots from day one and the problem has been there since last winter.
I see the same behaviour on two sites, both running Ubuntu server on intel x64 CPU.
My Trådfri Gateway lost all its pairings yesterday, possibly because I had to re-boot/power-cycle it in order to get it to connect to OH2. I had problems re-pairing lights and opted to replace it with a spare I had.
This new Gateway has the same issue with failing to connect after an OH2 restart.
I tried enabling more logs, but no more is showing.