apcaccess-rs
A Rust library allowing access to the data provided by apcupsd.
Usage
use ;
let apc = new;
let data = apc.fetch.unwrap; // returns a hashmap of the data
You can see possible keys in the resources folder based on your UPS.
A Rust library allowing access to the data provided by apcupsd.
use ;
let apc = new;
let data = apc.fetch.unwrap; // returns a hashmap of the data
You can see possible keys in the resources folder based on your UPS.