I just added Kodi into my setup and it appears in the Web UI, but it shows as off although I do have a movie or TV show playing? And the log also says ‘Unable to Fetch Kodi data’
I believe new versions of kodi, post xbmc, used kodi as the username and password.
`Allow control of Kodi via HTTP - Enables the webserver to control Kodi
Port - Defines the port of the webserver
Username - Defines the username used for the webserver (default : ‘kodi’)
Password - Defines the password used for the webserver (default : ‘kodi’)
Web interface - Select between web interfaces installed via the add-on manager`
I will give kodi and kodi a try later tonight when back home, but not sure if that will help. I have specifically set the the username, password, and ports in both kodi setups, and then set matching info in the yaml config file. I actually have a 3rd kodi running on an apple tv (gen 1) and can give that one a try later as well.
But I’ll try in a few hours and report back on it.
Well, I gave it a shot and still won’t show up in HASS.
I also went a downloaded an APP from the Google Market called ‘Kore’ , and the android app connected to both kodi machines with no problems. But setting the same settings in HASS only shows them in the UI, but in an ‘Off’ state.
Strange. If anyone does have it working, can you perhaps share any tips?
I like many others have this working for several kodi instances. One running on Windows and two running on rpi, with each of those being a different kodi image. One is librelec and the other is openelec. Is 192.168.11.52 maybe hosting a different service on port 8080? Try setting to a new port like 8090 and removing username and password. Update config in hass and restart.
Thanks for reporting it is indeed working. I’ll have to try and troubleshoot it further. I also have 1 box using openelec and another on a rooted ouya. And I did try custom ports in the past as well.
What is strange is that I did connect to both Kodi setups via my android tablet and phone just fine. But could not get it working in HASS. I’ll have to check the VM running HASS if something else is running on those ports, but I had tried some custom ones like 8088 and 8089 for each one but did not have any success.
I’ll try and again tonight and hopefully get it going.
Success! But I can’t say I really know what the problem was. I know I was not running the latest HASS version, but after upgrading and then installing some missing dependencies, Kodi showed up.
I had the same problem. In my case the thing that solved the issue was to remove the http:// prefix from the host.
It might be possible that this happened to @ptmuldoon as well.
Just ran into this myself, upgraded to 0.55.1 last night and all my kodi/media players stopped reporting status. No errors, just all showing “off”.
Read through the kodi component and its instructions have changed to be just the IP address, removing the HTTP:// from infront of each and restarted, they all show status properly now.