add description for meters config.

pull/866/head
thecem 2023-02-16 20:30:15 +01:00 zatwierdzone przez GitHub
rodzic ba334e2891
commit 81c5f67c97
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 12 dodań i 3 usunięć

Wyświetl plik

@ -28,16 +28,25 @@ Specify your meters using YAML format. The `driver` and `id` values can be read
See [project README for more information][github] See [project README for more information][github]
```yaml ```yaml
meters: meters:
- name: ElectricityMeter - name: ElectricityMeter
driver: amiplus driver: amiplus
id: "12345678" #Note "123" casts number as string id: "12345678" #Note "123" casts number as string. If you only using numbers you have to use quotation marks!
key: DEADBEEF1337DEADBEEF1337DEADBEEF key: DEADBEEF1337DEADBEEF1337DEADBEEF
- name: WaterMeter - name: WaterMeter
driver: apator162 driver: apator162
id: "87654321" #Note "123" casts number as string id: "87654321" #Note "123" casts number as string
key: "00000000000000000000000000000000" #Note "123" casts number as string key: "00000000000000000000000000000000" #Note "123" casts number as string. If you only using numbers you have to use quotation marks!
- name: HeatMeter1
driver: kamheat
id: 8a6d43f1
key: "00000000000000000000000000000000" #Note "123" casts number as string. If you only using numbers you have to use quotation marks!
- name: HeatMeter2
driver: kamheat
id: "12345678"
key: NOKEY
``` ```
#### Option: `conf` #### Option: `conf`
@ -47,7 +56,7 @@ The wmbusmeters configuration file casted as YAML. It will be used as `wmbusmete
```yaml ```yaml
loglevel: normal loglevel: normal
device: auto:t1 device: auto:t1
donotprobe: /dev/ttyAMA0 donotprobe: /dev/ttyAMA0 # optional
logtelegrams: false logtelegrams: false
format: json format: json
logfile: /dev/stdout logfile: /dev/stdout