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.
Commissioned lightKitchen ceiling
Command
1/1/1Feedback
1/1/2DPT 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 examplecargo run --quiet --example decode_meter24000 W at 1795335135
Connect to a gateway
Choose tunnelling or multicast routing for your installation and bind the group addresses assigned in ETS.