-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tradfri binding looses gateway connection after some days #7152
Comments
Also discussed in this thread, and in this issue. The latter also contains the method of detaching and attaching the Ikea GW network cable which resolves the issue. Since it is possible to resolve the problem by detaching/attaching the network cable to the IKEA GW, couldn't the binding try to restart the network communication when it detects that is has lost it? Looking in the code this fix is already implemented:
When this happens for me I can see the Since it starts to work when detaching/attaching network cable for IKEA GW it is looks like that manouver releases something in the GW that makes the communication work again. Restarting network from binding does not have the same effect. Looking more in the code, since it is not enough to call the I mean doing a dispose() and initialize() and then initialize() will set up communication again with the establishConnection() call? Is this too silly? :-)
|
Good to see, that I'm not the only one, who has problems with the gateway. It started a couple of weeks ago, with (as far as I can see) no firmware update causing the issue. 1-2 times a week, the gateway is OFFLINE at the moment, and I can confirm, that it is still reachable via the IKEA app (on Android). Next time it happens, I will try the "trick" with the network cable. Since I'm not that deep into the development of bindings, I could at least provide help with testing i.e. a development version of this binding. Thanks a lot, @Tobster77 and @jannegpriv, for digging into this (annoying) topic. Cheers |
I've built a binding-jar with my (maybe silly) attempt to re-initialize the binding when this happens, the binding-jar has now been running in my production system for 8 days without the issue being trigged (so typical 😄), but if it solves the issue I'll let you know. |
Same issue here, it didn't happen for like 3 months, and today al of the sudden it did again all other bindings still working and connected (online). |
An update on my suggestion for fix above, I actually found that my binding has reconnected yesterday evening after detecting a communication failure, here's my tradfri.log:
I've only seen this once, but is is a good sign. |
Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]>
Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]>
Just to add to this discussion, maybe it helps someone. I removed my manual configuration(textfiles) and the Thing in paperUI. Then reconfigured using PaperUI while monitoring search results in the REST API. Compared results with my existing config and noticed a difference, the bridge name had a dash (-) in it, the newly generated config didn't. Modified this and now it works again, wonder for how long... Anyway, hope it fixes some of your issues. |
Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]>
…W. (#7291) Fixes #7152. Signed-off-by: Jan Gustafsson <[email protected]>
…W. (openhab#7291) Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]>
…W. (openhab#7291) Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]>
…W. (openhab#7291) Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]> Signed-off-by: CSchlipp <[email protected]>
…W. (openhab#7291) Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]>
…W. (openhab#7291) Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]>
…W. (openhab#7291) Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]>
…W. (openhab#7291) Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]>
…W. (openhab#7291) Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]> Signed-off-by: Daan Meijer <[email protected]>
…W. (openhab#7291) Fixes openhab#7152. Signed-off-by: Jan Gustafsson <[email protected]>
The following former Eclipse issues remain unsolved. Basically, the Tradfi gateway is online after reboot, but goes the binding looses connection after some days. Note, it is still reachable via Alexa/Google Assistant and via IKEA's Home Smart App:
The issue is described here:
The issue was also partially adressed here:
#4764
The issue was closed, but the solution approach (updating Californium to 1.07) did not result in an improvement.
A more detailed discussion is here. https://community.openhab.org/t/tradfri-binding-loses-connection-after-power-failure-gateway-reboot/47833/102. Some users gave up and switched to Hue or Deconz to include their bulbs...
Do you need further information (e.g. according to the form for new posts) or would you accept to import the old Eclipse reports?
Thanks a lot!
The text was updated successfully, but these errors were encountered: