-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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 integration breaks if updating to v0.99.0 #26673
Comments
Which version of HA? I have it with working with 0.98.5 and TRADFRI 1.9.27 (latest version) Oh I see on the commit, that you're using 0.99? So I think it would be fair to say its on the HA side? |
Interesting! The reports are from people running the latest beta. |
The only changes to Tradfri has been this. But that's only internal facing and should not make a difference. |
I have been trying to get Home Assistant working with the IKEA gateway for a couple of days now. I am running a fresh install of Home Assistant 0.98.5 on a RaspberryPi 3 and an IKEA Gateway 1.9.27. |
@Jocke67 did you use one of the docker images or did you do a stand-alone install? |
@ggravlingen I have tried both Hassbian and a manual install following these guides: https://www.home-assistant.io/docs/installation/hassbian/installation/ https://www.home-assistant.io/docs/installation/raspberry-pi/ Both installations gave me the same error. |
Then you are most likely missing dependencies as suggested above. I would strongly advise using this method: https://github.com/home-assistant/hassio-installer |
@balloob agree, that’s not it. I’ll keep this issue open over the next release and if the comments don’t pour in, I’ll close it and the issue on the status page. |
Hi, i'm at work at this moment so I can't give any details but wanted to let you know that I've got also a problem with it. It worked before, gave a faillure so I tried to add it again but now it gives an "unknown error". I'm running Home Assistant on a RPi 4 with the Hass.io supervisor 188 (beta) and HassOS 3.5. Erik |
I see the same error after upgrading to the 0.99 beta. It used to work fine with 0.98. I'm not sure what version my Ikea trådfri hub is and I'm unfortunately not able to check at the moment. |
I have the same problem, don't know if it is a problem with 0.99b* or the new firmware on the gateway 1.9.27. Updated them simultaneously. Error while trying to add the integration
|
Confirmation that HA 0.98.5 with Tradfri GW 1.9.27 still appears to work. No weird log entries (also after HA restart), automations and interactions still work. Running on RPi3B+, Hass.io v188, HassOS v2.12 |
On 0.99 release, HA in docker, Tradfri GW 1.9.27 Tradfri no longer works. "No suitable credentials..." |
Same issue doesn‘t work on docker |
@ggravlingen Did a new fresh install, according to your advice I followed this method: https://github.com/home-assistant/hassio-installer This gave me a Home Assistant ver. 0.99 installation with the same "No suitable credentials for coaps" problem when I try to register the IKEA gateway security key. |
Just updated to 0.99.0 on Raspberry Pi with docker and Ikea tradfri gateway Firmware: 1.9.27, got:
|
It seems an upstream dependency has changed so this is a possible solution: home-assistant-libs/pytradfri#248. Other than that, nothing has changed in |
I've pushed pytradfri 6.3.1 to pypi, holding a posible fix. Can someone please bump the version in their HA and test if it works? |
I can, if you let me know how... |
I have not updated my Tradfri gateway firmware for months... but HA to 0.99. With this new HA version I have this problem, too. With the last HA version 0.98 its still working fine. So this bug has nothing to do with the Tradfri firmware ;) |
@nicx Can you confirm the version on your Tradfri GW? Mine updates itself if it has internet connectivity... |
@magnusoverli I am at work so I can confirm it this evening ;) But mine is not auto updating, only when using the Tradfri app (which I dont use). I will get back to your question when I am at home. |
Same here, gateway version 1.9.27 (it auto updates without opening the tradfri app) HA version 0.99
|
I updated from HA 0.98.5 to 0.99 today, and the same occurred for me. |
I rolled back to docker image 0.98.5 and the problem went away immediately. |
The theory I'm working on is that upstream dependency In pytradfri 6.3.1 we're being more strict, also using a version that seems to be working. I don't know how to test this using HA docker images. I believe someone testing the new code for the blinds was using the custom component technique, but I'm not sure how that works. |
Can confirm, same error happened to me overnight last night:
|
Horrible hack but:
Has gotten mine working again (using docker), so i can confirm that bumping pytradfri to 6.3.1. fixes the issue. |
Thank you @thinkl33t! I’ve mentioned this fix to @balloob and unless he or someone else beats me to it, I’ll have time to provide a fix tonight or tomorrow night. If you want to do it, look at my PR for the blinds here and see what files I’ve changed where pytradfri 6.3.1 is mentioned. |
@Mariusthvdb I googled "ikea trådfri release notes" and found this link: https://ww8.ikea.com/ikeahomesmart/releasenotes/releasenotes.html |
@Mariusthvdb this is not on IKEA's side but due to a bug in pytradfri. The bug has been fixed and now needs to be released to Home Assistant. |
duh, that was easy. sorry for that... |
The horrible hack over by @thinkl33t didn't work for me, but I can then come with my own horrible hack.. Downgrading to Did the install commands, but when I restarted the docker container, HA took over and downloaded the "old" pypi package again that was marked in the
Editing the file in vi from
to
|
Worked for me! Thx! |
This error looks like to be back in the current versions:
More info about the setup:
with Hass running in a container
Latest container:
|
This is an old issue. Please open a new issue. |
Home Assistant release with the issue:
0.99.x (reported in Discord/Beta group)
Last working Home Assistant release (if known):
0.99.x (reported by another user to be a working version in Discord/Beta group)
Operating environment (Hass.io/Docker/Windows/etc.):
Component/platform:
https://www.home-assistant.io/components/tradfri/
Description of problem:
Anecdotal evidence in Home Assistant's forums and Discord channels suggests tradfri is not working in version 1.9 of the gateway.
Problem-relevant
configuration.yaml
entries and (fill out even if it seems unimportant):Traceback (if applicable):
Additional information:
Related issue for upstream dependency: home-assistant-libs/pytradfri#246
The text was updated successfully, but these errors were encountered: