daikin-altherma-rs/examples/temperature.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

10 lines
356 B
Rust

use daikin_altherma::DaikinAlthermaClient;
fn main() {
let mut a = DaikinAlthermaClient::new("192.168.11.100".to_string()).unwrap();
let hp = a.get_heating_parameters().unwrap();
println!("Heating: {:?}", hp);
a.set_heating_setpoint_temperature(20.0);
let hp = a.get_heating_parameters().unwrap();
println!("Heating: {:?}", hp);
}