Tradfri binding loses connection after Power failure / gateway reboot

Many thanks! Solved my communication error.

Dear all,

my Tradri gateway still goes offline after a couple of days. Nothing really improved over the last months. There were three GitHub reports:

Can you report an improvement?

Did the latter two issues get lost during the merge of the Eclipse framework?

Every now and then I’m finding tradfri hub disconnected from openhab and need to re-enter the pre-shared key. I’m slowly migrating over to zigbee2mqtt.io (with ota fw upgrade for TF devices - no more reason to stick to TF hub) - that’s my solution :slight_smile:

Okay. Heals the problem. But it’s rather a workaround than a solution.

Looks like many people quit from the binding as the problem seems to be impossible to be clearly identified.

1 Like

Funny thing even though I switched to deconz I left my tradfri gateway connected. It seems to be stable.

I am thinking there may be a problem other than the binding here.

On OH2 2.5.1 & 2.5.2 my Trådfri Gateway have connected after every powerup and restart.
Prior to 2.5.1, I usually had to restart the binding in Karaf numerous times to get it online.

Only very rarely do I see the tradfri disconnected since the last fw update for the tradfri gw. The problems got serious after a fw update and almost disappeared after another which made me look towards IKEA as the responsible side.
However, I still see those ugly ‘Discovered Tradfri gateway doesn’t have an IP address’ Warnings on each network interface during openhab2 start up. Despite the warning everything seems to connect o though.

@Austris_V does zigbee2mqtt allow for a more flexible/configurable way to handle remotes? The IKEA way of matching remote and light physically with no option to correct or restore those pairings after , as it happened to me, a fw update made the tradfri gateway forget all the remotes is something I’d love to overcome.

I can second this I am moving my Ikea devices over to zigbee2mqtt.

There is no longer a need to connect devices to a remote before the hub.

Bulbs and switches can connect directly to openhab and.

You can also connect your remotes and use them to control other items or rules within openhab.

Regards

1 Like

As @clinophobic says - you connect them directly to z2m. Can even connect your remotes (or presence sensor) to non-TF devices - by using rules on openhab side.
Or manage “binding” of switch to group of bulbs via mqtt commands (then it shall work even if z2m goes down).
Though, I must admit, I do not have too many TF switches. Mostly bulbs with shelly/sonoff mini or aqara wall.

2 Likes

Working around the issue seems to be by far the most popular approach :frowning:

@cweitkamp @chriscolden
I re-created the issue in OpenHAB that was formerly still open as a bug in Eclipse.

Could some maintainer have a quick look on https://github.com/openhab/openhab-addons/issues/7152