A Go-based gRPC server for controlling power via serial port (/dev/ttyACM0).
To install the server on your Linux machine, run the following one-liner:
git clone https://github.com/ASPDP/pcpoweroffer-server.git && cd pcpoweroffer-server && sudo ./install.shTo update the server to the latest version:
cd pcpoweroffer-server
sudo ./update.shThe configuration file is located at /etc/pcpoweroffer-server/config.cfg.
Default password: 0192837465
See api_description.md for details on the gRPC API.