pull/540/head
Fredrik Öhrström 2022-05-01 17:25:08 +02:00
rodzic 8d164b7753
commit 5ed28e3658
2 zmienionych plików z 12 dodań i 4 usunięć

Wyświetl plik

@ -110,9 +110,9 @@ here we pick the bus alias MAIN for the mbus using 2400 bps for all meters on th
```
MAIN=/dev/ttyUSB0:mbus:2400
```
and here we pick the bus alias OUT for an im871a dongle:
and here we pick the bus alias RADIOMAIN for an im871a dongle:
```
OUT=/dev/ttyUSB1:im871a:c2
RADIOMAIN=/dev/ttyUSB1:im871a:c2
```
The bus alias is then used in the meter driver specification to specify which
@ -354,7 +354,8 @@ rtlsdr dongle like this `rtlwmbus[1234]`.
`/dev/ttyUSB0:38400`, to have wmbusmeters set the baud rate to 38400 and listen for raw wmbus telegrams.
These telegrams are expected to have the data link layer crc bytes removed already!
`MAIN=/dev/ttyUSB0`
`MAIN=/dev/ttyUSB0:mbus:2400`, assume ttyUSB0 is an serial to mbus-master converter. The speed is set to 2400 bps.
`rtlwmbus`, to spawn the background process: `rtl_sdr -f 868.625M -s 1600000 - 2>/dev/null | rtl_wmbus -s`
for each attached rtlsdr dongle. This will listen to S1,T1 and C1 meters in parallel.
@ -407,7 +408,7 @@ The telegrams are allowed to have valid dll crcs, which will be automatically st
As meter quadruples you specify:
* `<meter_name>`: a mnemonic for this particular meter (!Must not contain a colon ':' character!)
* `<meter_driver>`: use `auto` or one of the supported meters (can be suffixed with `:<mode>` to specify which mode you expect the meter to use when transmitting)
* `<meter_driver>`: use `auto` or one of the supported meters (can be suffixed with: `:<bus_alias>` for selecting which bus where we should send the poll requests `:<mode>` to specify which mode you expect the meter to use when transmitting)
* `<meter_id>`: an 8 digit mbus id, usually printed on the meter
* `<meter_key>`: an encryption key unique for the meter
if the meter uses no encryption, then supply `NOKEY`

Wyświetl plik

@ -144,6 +144,9 @@ and the other set to beta. Alfa has an antenna tuned for 433M, beta has an anten
.TP
\fB/dev/ttyUSB0:9600\fR read serial data from tty at 9600 bps, expects raw wmbus frames with the DLL crcs removed.
.TP
\fBMAIN=/dev/ttyUSB0:mbus:2400\fR expect an serial to mbus master converter on ttyUSB0.
.TP
\fBstdin:rtlwmbus\fR read rtlwmbus formatted data from stdin.
@ -199,6 +202,10 @@ has one type of antenna attached.
% wmbusmeters rtlwmbus[alfa]:433M:t1 rtlwmbus[beta]:868.9M:c1
You can query an mbus meter:
% wmbusmeters MAIN=/dev/ttyUSB0:mbus:2400 MyTempMeter piigth:MAIN:mbus 12001932 NOKEY
.TP
Execute using config file /home/me/etc/wmbusmeters.conf and meter config files in /home/me/etc/wmbusmeters.d