Send a message to Kodi (XBMC) https://discourse.osmc.tv/t/push-notification-from-bash-to-kodi/5703/2
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"This is the title of the message","message":"This is the body of the message"},"id":1}' http://localhost:8080/jsonrpc
or
xbmc-send -a "Notification(My header,This is my message)"