oshogbo / egpms

User land driver for EG-PMS2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EG-PMS2

Simple driver to control EG-PMS2 surge protector with power management implemented in Rust. The whole implemnetation is done in user-land. (Works on FreeBSD)

EG-PMS2

Build

$ cargo build -r

Usage

  • Get status of sockets:
$ egpms status
  • Get status of single socket:
./egpms status 1
  • Enable socket:
./egpms enable 1

  • Disable socket:
./egpms disable 1

ToDo

  • support multiple devices

Author

Mariusz Zaborski oshogbo@vexillium.org

License

BSD-2-Clause-FreeBSD

About

User land driver for EG-PMS2


Languages

Language:Rust 100.0%