CmdID / Commands
Send actions to Kodi. tldr-pages
On several platforms
Opens CmdID with your command. It is read in your browser and sent nowhere.
Quit Kodi
kodi-send --action Quit
Reboot the system
kodi-send --action Reboot
Send an action to a remote host
kodi-send --host 192.168.0.1 --port 9777 --action Quit