- This topic has 3 replies, 2 voices, and was last updated 8 years ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Max2Play Home › Forums › Max2Play on Raspberry PI › Http shtudown
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.
Thanks for help
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}‘)
HelloDrogenfahnder,
You can do it very easy. To shutdown the device use this:
http://max2play/plugins/max2play_settings/controller/Basic.php?action=shutdown
Every action with one of the browser interface button, also you can do the same with a http-GET request.
You must be logged in to reply to this topic.
Max2Play free download
Download now