Closed Mariusthvdb closed 1 week ago
Please don't use this issue as a catch all issue for the Tradfri integration. If the stack trace is different, open a new issue for each stack trace.
ok I will do.
Sorry if this was confusing/non-helpful for fixing the issue only posted here, because we had those different stack traces in different issues, and response seemed very low, since January 2023. It seems to be the same issue trickling down to all of those individual traces, and creating some oversight/keeping it up to date seemed logical the logical thing to do while waiting for dev instructions.
btw, the AttributeError: 'NoneType' object has no attribute 'values'
was logged since the beginning of this topic.
current change is the manual reload of the integration now fails..
Please don't use this issue as a catch all issue for the Tradfri integration. If the stack trace is different, open a new issue for each stack trace.
so we did, is anyone looking at this? The issue has increased a lot, and is up to the point where the integration cant be used reliably anymore, unless we find a reason for this behavior and fix that.
Ive now also filed an issue at aiocoap, specifically directed to do so by the error message, link is above.
The fact there is no-one assigned to the new issue doesn't really help probably... this one still stands firmly:
Agree with @Mariusthvdb. It’s not a huge deal to me since I know to use the reconnect automation, but this issue could be leaving new / less technical users with a bad experience. HA is generally a very reliable system, and this one component potentially spoils that impression.
As much as I’d like to see the root cause of this issue discovered and fixed, I think regardless it’s pretty clear the Tradfri integration needs overhauled logic for automatic reconnection. IOW what the workaround automation is doing, should just be a built in feature.
Same problem here. For a few days now, the gateway has been working from its app but is not reachable from HA. The only way is to restart HA
this is getting worse and worse.....
I can't understand why there is not a single sign of involvement here.
Please don't use this issue as a catch all issue for the Tradfri integration. If the stack trace is different, open a new issue for each stack trace.
Martin, Ive done as you asked, keep things tidy and separated, but I ask my self why, as no one seems to even be bothered by a core integration failing as badly as this?
There has been no response now from anyone, other than telling me not to mix issues... Not having a code-owner doesnt help, but please talk about this in the core team, to have a look how to go forward?
Currently (2024.1.5) it is truly killing the HA experience ...
And HAF in free fall. The integration has (again) become unreliable.
As far as I can tell, the KeyError happens due to a bad response from the gateway with missing information. The gateway or a connected device is unreliable, and doesn't follow the expected response model, is my interpretation.
Personally I've moved over to using the Dirigera via Homekit Controller integration, which has been rock solid. Although I didn't experience that much troubles before with the old gateway and tradfri integration either.
I'm happy to review PRs, if someone comes along that has spent some time troubleshooting the issue. Just posting different logs to this issue won't move the issue along I think.
hey Martin, thanks.
the fact some of the devices cant be reached/controlled (completely, sometimes they still are affected, but the front-end does not change its state...) was one thing.
the most problematic issue we now face is this:
which we get when we try to reload the integration, and this didnt happen before, it slipped in some updates ago last year.
it seems that has nothing to do with individual devices?
Would that be something to look in to independently from fixing the more detailed issues with devices not responding?
I mean, if we can auto-reload the integration again, we could at least keep the HA instance going.
I'm not going to comment here on a different problem than the original post, which is the KeyError.
I'm not going to comment here on a different problem than the original post, which is the KeyError.
please do so here then: https://github.com/home-assistant/core/issues/105004
Ive given up on this integration ever being fixed. I've moved all of my devices to Dirigera which is seen by HomeKit, a rock solid combination, highly recommended. we can even create automations with device triggers. only devices nor supported are the switches (which were only battery sensors here tools that isnt a big loss)
That's why I wont pursue this any longer, knowing the integration still suffers the issue on a daily base.
Hoping anyone else can pick this up. Because I still feel it's a shame that such a wonderful product line should be as ill served than this.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
The problem
as logged in the beta a couple of times, below error(s) is (are) in the logs.
Update:
Not sure if it is actually causing functionality issues, but is is so frequent, something really is not ok.time has shown this is causing frequent (multiple times daily) connection issues, and Tradfri not responding/communicating to the Gateway any longer. The Gateway btw being fully functional standalone communicating correctly with the Ikea app.
What version of Home Assistant Core has the issue?
2023.1
What was the last working version of Home Assistant Core?
2022.12
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Tradfri
Link to integration documentation on our website
https://www.home-assistant.io/integrations/tradfri/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
Aware several other new Tradfri issues have been logged, I decided to create this separate, because the logging is different.
https://github.com/home-assistant/core/issues/85105 https://github.com/home-assistant/core/issues/84624