#knx #network

app knx_examples_rs

Examples for KNX Library

6 releases

0.0.6 Aug 26, 2019
0.0.5 Feb 23, 2019
0.0.4 Dec 6, 2018
0.0.2 Aug 13, 2018
0.0.1 Apr 19, 2018

#974 in Network programming

23 downloads per month

Apache-2.0

12KB
218 lines

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

Dependencies

~3.5MB
~70K SLoC