An open platform made to optimize resources in computer science labs.
$ ecolab.py check [-a] [-i IP]
-
-a: Returns a list of all registered machines and their status.
-
-i: Returns the status (ON/OFF) of a specific machine.
$ ecolab.py add [IP:MAC]
- Adds a machine to the network.
$ ecolab.py remove [IP/MAC]
- Removes a machine from the network.
$ ecolab.py wake [-a] [-i IP]
-
-a: Turns on all registered machines.
-
-i: Turns on a specific machine.
$ ecolab.py down [-a] [-i IP]
-
-a: Turns off all registered machines.
-
-i: Turns off a specific machine.
$ ecolab.py sethour [-w] [-d] hh:mm
-
-w: Sets a time at which a machine turns on.
-
-d: Sets a time at which a machine turns off.