Kodi State Not Updating using Discovery

I use discovery for most integrations. Kodi (osmc) is accessible on poet 8080 as standard however the state seems to get stuck on idle unless I press a button on the media card which then seems to kick start a lookup.

Is this normal behaviour? I don’t remember this doing this before.

Mine have always done that. I have not found a reason/solution other than pressing a button on the media player card to force it to connect. I do not use discovery for my Kodi players. It’s been that way probably since HA version 0.5X when I started using HA.

Oh. That’s annoying. I have some automations that adjust lights based on if a movie is playing after a certain time etc. This used to work. Just recently noticed it wasn’t for me.

I wonder if I can trigger an automation to fake An On button press to keep the state active.

If you’re still using port 8080 try changing it to something else, eg 8585, after a recent update mine was flaky until I did that and it’s now 100% reliable again.