-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.yaml
More file actions
46 lines (43 loc) · 817 Bytes
/
config.yaml
File metadata and controls
46 lines (43 loc) · 817 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
meter:
device: /dev/ttyUSB0
preset: od_type
#baud: 9600
#data_bits: 7
#stop_bits: 1
#parity: even # none | even | odd
grid:
power_factor: 0.95
frequency: 50.00
modbus:
tcp:
listen: 0.0.0.0
port: 502
rtu:
device: /dev/ttyUSB1
preset: sd_type
#baud: 9600
#data_bits: 8
#stop_bits: 1
#parity: none # none | even | odd
slave_id: 1
request_timeout: 5
idle_timeout: 60
use_float_model: false
mqtt:
broker: localhost
port: 1883
topic: smartmeter-gateway
#user: mqtt
#password: "your secret password"
queue_size: 100
reconnect_delay:
min: 2
max: 64
exponential: true
logger:
level: info # global default: off | error | warn | info | debug | trace
modules:
main: info
meter: info
modbus: info
mqtt: info