Skip to content

blkskorpion/python-HTTPServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

python-HTTPServer

Allow a user to remotely shutdown raspberry pi zero W

and change the date and time.

Start an HTTPServer to change date and time on rpi when rpi is not coonected to the internet

and not able to update the date-time.

Also it allows to reboot or shutdown rpi when there is no keyboard

Change ip addess (python code) to match the user's network settings

Modify rc.local to run on powerup.

$ sudo nano /etc/rc.local

sudo python /home/pi/rpiserver.py &

Use a web browser and type:

See diagram.png for network setup.