15 lines
418 B
Rust
15 lines
418 B
Rust
use daikin_altherma::DaikinAlthermaClient;
|
|
fn main() {
|
|
let mut a = DaikinAlthermaClient::new("192.168.11.100".to_string()).unwrap();
|
|
|
|
let tp = a.get_tank_parameters().unwrap();
|
|
println!("Tank: {:?}", tp);
|
|
|
|
a.set_tank_powerful(false);
|
|
|
|
let tp = a.get_tank_parameters().unwrap();
|
|
println!("Tank: {:?}", tp);
|
|
|
|
let hp = a.get_heating_parameters().unwrap();
|
|
println!("Heating: {:?}", hp);
|
|
}
|