knx

KNX for
Rust.

Read a meter, control a light or connect to a KNX/IP gateway from Rust. Start with a dependency-free library for datapoints and telegrams.

A single illuminated metal pendant above a kitchen island.
Commissioned lightKitchen ceiling
Command1/1/1
Feedback1/1/2

DPT 14.056

From bytes
to watts.

Four bytes from a charging meter decode to 24,000 W. The example checks the source, consumption range and timestamp before accepting the reading.

Read the Rust example
Offline meter example
cargo run --quiet --example decode_meter
24000 W at 1795335135