-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
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
Kodi integration slows down HA restart/shutdown #47828
Comments
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. |
It's still actual. |
Same for me. |
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. |
It's still actual. |
Also happens for me. When restarted, restart hangs while trying to connect to kodi. After removing Kodi integration, all was smooth again. Looks like Kodi integration needs to implement async discovery as other integrations already do. I am using HA 2021.10.6 |
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. |
It's still actual. |
It is still actual for me as well. Kodi is hanging all HA after reboot process. |
Same problem for me. Kodi takes more than 2 minutes to start. |
Same here... |
Yes, it's annoying. It needs an option to set a timeout to 5secs or something, rather than the default minutes. |
The issue is related to
Disabling UPD: This workaround doesn't work for me anymore. |
I have a better workaround:
|
I don't understand how that works, nor how to implement it. Hopefully someone maintaining this integration can come up with a more user-friendly solution. We can't be the only people who don't have Kodi running permanently,, and thus have to wait over 2 minutes for home assistant to load. |
Have been setting up home assistant recently and kodi is one of my first integrations. Facing the same issue as well. Since adding kodi integration, ha startup takes a long time... as all my kodi instances are not available when not in use... :( |
Must say this has been a long time issue, about year ago removed the Kodi integration only to add it again today. Restart Home Assistant to remind me why I removed it to begin wth. The startup time is ridiculous and is the only reason my HA won't start in a few seconds, instead it's around 30x added to the start up time simply because I don't have the kodi instance up and running, The timeout needs to be shortened or make connection attempts in longer timeouts after startup. For now, I might have to override the integration with custom docker files but really don't want to resort to this, |
Probably found the cause: see #73097 |
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. |
Up |
Also still affects me. |
Still the same here aswell. |
Same here! Annoying, annoying, annoying... |
Is there at least a way to disable the kodi integration on shutdown and reenable it after startup? |
For me problem is the same and yes, I agree with @krasatos that it would be great if it would be possible to delay startup of integrations which makes slow HA startup. |
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. |
Still broken. Still annoying :-( Kodi integration takes 132 seconds to load on my setup, if kodi is down. Core 2024.2.0 |
:) same here, and i have 2 diffrent kodi machines i start for quicker HA reboots. |
Same problem here.. 3 Kodi players.. Don't know why so long timeout.. |
3 years opened case and still no solution? |
Yeah, it's a pain in the arse. |
@balloob Can be done something regarding that? On super fast PC restart is taking super slow because of this integration.. |
@bdraco Maybe you can help us aka Kodi users ? 🤪 |
Same: #73097 |
Any updates or workarounds please? |
This is a big sore point for me as well. "Starting Kodi, not everything will be available until it is finished." |
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. |
@definitio @krasatos @rossc719g , is it still actual? I personally got Kodi integration working just fine, but this issue will be auto-closed without activity. |
It works fine, if Kodi is already running on startup of Home Assistant; if not it delays HA starting by 2 minutes. |
|
2024-10-20 05:59:27.735 WARNING (MainThread) [homeassistant.components.kodi.media_player] Unable to connect to Kodi via websocket I'm reminded of this issue every time I restart. I'm not leaving my kodi instance on when not in use of course. |
Oh.. just stumbled on that myself. One of my HA installations is running in docker on top of Kodi box. With that bridge unreachable HA was initializing Kodi integration so long I had enough time to reach web-interface and disable the item. |
@cgtobi any chance of taking a look at this? |
The problem
When Kodi integration is enabled HA restart (or shutdown) takes a few minutes if there is no connection to kodi. I have this problem for 2-3 months (after moving configuration to UI).
What is version of Home Assistant Core has the issue?
2021.3.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Kodi
Link to integration documentation on our website
https://www.home-assistant.io/integrations/kodi/
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Log:
I also have an other problem with Kodi: #38659
The text was updated successfully, but these errors were encountered: