Crates.io | knx_examples_rs |
lib.rs | knx_examples_rs |
version | 0.0.6 |
source | src |
created_at | 2018-04-19 19:18:21.20036 |
updated_at | 2019-08-26 15:11:55.724695 |
description | Examples for KNX Library |
homepage | |
repository | https://github.com/uwearzt/knx_examples_rs |
max_upload_size | |
id | 61466 |
size | 31,349 |
The knx_examples_rs
implements some examples how
to use the knx_rs
crate.
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
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