Updated the readme.

pull/5/head
weetmuts 2017-08-30 14:14:18 +02:00
rodzic 45f535692f
commit 5239326db1
1 zmienionych plików z 12 dodań i 9 usunięć

Wyświetl plik

@ -1,30 +1,33 @@
# wmbusmeters
The program receives and decodes C1 telegrams
(using the wireless mbus protocol) to acquire
utility meter readings. No configuration file
exists, you change main.cc, recompile and run
to output the values you are interested in,
typically to log and be processed by another tool.
utility meter readings. You configure multiple
meters for reading by supplying triplets
on the command line.
wmbusmeters [usbdevice] [meter_name] [meter_id] [meter_ke]
If you want to listen to more than one meter, simply add more triples.
Builds and runs on GNU/Linux:
make
./build/wmbusmeters
./build/wmbusmeters /dev/ttyUSB0 MyTapWater 12345678 00112233445566778899AABBCCDDEEFF
./build/wmbusmeters --verbose
./build/wmbusmeters --verbose /dev/ttyUSB0 MyTapWater 12345678 00112233445566778899AABBCCDDEEFF
make HOST=arm
./build_arm/wmbusmeters
./build_arm/wmbusmeters /dev/ttyUSB0 MyTapWater 12345678 00112233445566778899AABBCCDDEEFF
make DEBUG=true
./build_debug/wmbusmeters
./build_debug/wmbusmeters /dev/ttyUSB0 MyTapWater 12345678 00112233445566778899AABBCCDDEEFF
make DEBUG=true HOST=arm
./build_arm_debug/wmbusmeters
./build_arm_debug/wmbusmeters /dev/ttyUSB0 MyTapWater 12345678 00112233445566778899AABBCCDDEEFF
(After you insert the im871A USB stick, do: