Hi, To turn off your RPI2 from Kodi you can use an app. In my case, I use"SSHutdown" on Android, it is easy to set (just the IP adress, the login and password) and you set the command you want to send to the pi (/bin/halt to shutdown and /bin/reboot to reboot). This app work fine for me Mamath