Kodi integration post groovy

Hello all,

Since groovy support has left ST I’ve been looking for a way to read my Kodi play status in order to Dim lights etc based on playback status.

Does anyone here know of any way to do this now that the old Kodi smartapps are no longer supported?

Thanks for your time