Not sure if this smartapp still works or not, but I’d went with this one and use webCoRE to trigger the notifications in Kodi.