Restart or power off Rasperry PI with REST call

If you need to restart or power off your RPi remotely (or through local application’s call) here’s a simple wayhttp://raspberry.address:7000/reboothttp://raspberry.address:7000/power/offDetails and code at  https://github.com/zdanek/raspiPowerServer

If you need to restart or power off your RPi remotely (or through local application’s call) here’s a simple way

http://raspberry.address:7000/reboot
http://raspberry.address:7000/power/off

Details and code at  https://github.com/zdanek/raspiPowerServer

You May Also Like

Use asInstanceOf[T] carefully!

BackgroundScala has nice static type checking engine but from time to time there are situations when we must downcast some general object. If this casting is not possible we expect that virtual machine will throw ClassCastExeption as fast as possible. ...