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

Hibernate hbm2ddl won’t create schema before creating tables

Situation I have a local H2 in memory database for integration tests and an Oracle db for production. I do not control the Oracle DB model. The in memory H2 database is created automatically by adding <prop key="hibernate.hbm2ddl.auto">update&l...Situation I have a local H2 in memory database for integration tests and an Oracle db for production. I do not control the Oracle DB model. The in memory H2 database is created automatically by adding <prop key="hibernate.hbm2ddl.auto">update&l...