nut-rs
nut-rs copied to clipboard
rups: A Network UPS Tools (NUT) implementation in Rust.
Even though all the connection settings are correct and I can use `upsc` to query my UPS I get `Connection refused` when creating a new connection using the example code....
Add tests for the network implementations (e.g. `nut_client::blocking::TcpConnection`) by crafting packets like a NUT server would send.
The login sequence sets username and password, but doesn't actually call `LOGIN `.
Move the `rups` and `rupsc` documentation to inside the crates (`lib.rs` and `main.rs`), and use [`cargo readme`](https://github.com/livioribeiro/cargo-readme) to generate the READMEs.
Right now the network implementation and API are entirely client-sided. In order to re-implement server-side components (#26) and implement unit testing (#2), the network stack should support crafting packets for...
man page: https://networkupstools.org/docs/man/upslog.html `upslog` is a daemon that will poll a UPS at periodic intervals, fetch the variables that interest you, format them, and write them to a file. The...
The idea is to make a drop-in replacement of [`upsd`](https://github.com/networkupstools/nut/blob/v2.7.4/server/upsd.c), with only the ups drivers having to be installed. Note: license as GPL-3.0
Add support for setting variables and running commands on UPS devices. For security reasons this should be gated behind a new crate feature. Docs: * `SET`: https://networkupstools.org/docs/developer-guide.chunked/ar01s09.html#_set_3 * `INSTCMD`: https://networkupstools.org/docs/developer-guide.chunked/ar01s09.html#_instcmd_3