daikin-altherma-rs/examples/get_values.rs
Frank Villaro-Dixon db0036a2bc move things around
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu>
2024-03-04 20:42:46 +01:00

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);
}