Zai / PyControlPC

Extremely simple Python utility for Raspberry PI to press power or reset button on remote PC using CLI.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyControlPC

This is extremely simple Python utility for Raspberry PI to press power or reset button on remote PC using CLI. Power and Reset button pins of the controlled PC should be connected to Raspberry Pi GPIO port as illustrated on the attached schematics (scheme.png).

Usage:
       python pcontrol.py <machine_name>

Multiple machines could be configured on different GPIO pins. Edit config.py to change the name or add new controlled machine.

Available commands are:
       reset
       power
       power_4s
       get_status

Connection schematics:

About

Extremely simple Python utility for Raspberry PI to press power or reset button on remote PC using CLI.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%