For my house Automation I would like to shutdown the raspberry before I get the plug out. But for this I need a browser command to do this automatic.
Are there any solutions? To use the Frontend is no solution for me.
Nobody??
I need something like this for Kodi.
HWS = Net.FHttp(“IP”, PORT)
HWSReponse = HWS:GET(‘/jsonrpc?request={“jsonrpc”:”2.0″,”method”:”System.Shutdown”,”id”:1}’)