Examples for knx_rs lib (running on macOS and Linux)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/bin
.gitignore
.travis.yml
Cargo.toml
LICENSE
README.md

README.md

knx_examples_rs

Apache licensed Build Status crates.io Gitter

The knx_examples_rs implements some examples how to use the knx_rs crate.

knx_listen

Bus Monitor for logging all KNX bus messages:

knx_listen --serial --serialport /dev/usb_to_knx
knx_listen --multicast

For getting group and address names instead of the numerical values, it is possible to load a OPC file into knx_listen.

knx_listen --opcfile opc/Haus.esf.utf8 --multicast

You can export the OPC File in ETS with:

after that you have to convert the file with:

iconv -f ISO-8859-15 -t UTF-8 Haus.esf > Haus.esf.utf8 

knx_send

Send a message to a group adress:

knx_send --serial --serialport /dev/usb_to_knx 1/1/1 1
knx_send --multicast 1/1/1 1

Contributors

License

Apache License, Version 2.0