eq3-max-cube_rs

Crates.ioeq3-max-cube_rs
lib.rseq3-max-cube_rs
version0.2.5
sourcesrc
created_at2023-12-29 20:39:33.764633
updated_at2024-01-04 11:36:10.852652
descriptionan rust implmentation for operating MAX! Cube
homepage
repositoryhttps://github.com/Kanksu/eq3-max-cube_rs
max_upload_size
id1083620
size20,762
(Kanksu)

documentation

README

A rust implementation for eQ3 / ELV MAX! Heating system

Crates.io Version docs.rs Crates.io License Crates.io Total Downloads

This crate implements some messages/command to the eQ3 / ELV Max! Cube via TCP connection.

Usage

use eq3_max_cube_rs::MaxCube;

#[tokio::main]
async fn main() {
    // connect to Max Cube:
    // `cube` is need to be mutable only if the temperature setting will be changed.
    let mut cube = MaxCube::new(&SocketAddr::from(([172, 22, 51, 191], 62910))).await.unwrap();

    // print the current status of the system
    println!("System: {:?}", cube);

    // set temperature of a thermostat
    cube.set_temperature(1763839, 21.0).await.unwrap();
}

Only M-, S-, L-Messsages are implemented. It is enough for operating thermostats though.

Reference

https://github.com/Bouni/max-cube-protocol/

Commit count: 22

cargo fmt