Skip to content

Control PC power buttons (power/reset/force power down) using a raspberry pi through Web interface

License

Notifications You must be signed in to change notification settings

potato1992/PCSwitchPi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PCSwitchPi

Control PC power buttons (power/reset/force power down) using a raspberry pi through Web interface

This is a simple Python utility for Raspberry PI to press power or reset button on remote PC using a web interface. Power and Reset button pins of the controlled PC should be connected to Raspberry Pi GPIO port as the config file.

Usage:

Install required unities:

pip3 install -r requirements.txt

Run it:

python3 main.py

Web interface:

ip:port/control
eg:127.0.0.1:8081/control
  • Screenshot:
    Listening ip/port, password, GPIO number for power_pin, reset_pin, status_pin, base_uri can be changed in the default.config file.

Connection schematics:


About

Control PC power buttons (power/reset/force power down) using a raspberry pi through Web interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published