A Rust client for interacting with the LUPUSEC XT2 API.
cargo build --release --features="build-binary"
[dependencies]
alarmate = { git = "https://github.com/adriankumpf/alarmate", tag = "v0.3.0" }
$ alarmate --help
Usage: alarmate <COMMAND>
Commands:
devices List devices
status Get current status
mode Change mode
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help information
use alarmate::{Area, Client, Mode};
let mut client = Client::new("admin", "changeme", "10.0.0.10".parse()?);
client.change_mode(Area::Area1, &Mode::Disarmed)?;
cargo doc --open
This library only supports the XT2 alarm panel. Other LUPUSUC alarm panels probably won't work due to differing APIs.
Currently there is only a limited feature set available. Please open a PR or an issue if you feel there is something missing!