-
Notifications
You must be signed in to change notification settings - Fork 7
/
vzlogger.conf
114 lines (113 loc) · 2.29 KB
/
vzlogger.conf
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"daemon": true,
"verbosity": 15,
// /var/log/vzlogger.log is set at /home/vzlogger/zeroinput.py as persistent log
"log": "/tmp/vz/vzlogger.fifo",
"meters": [
{
"enabled": true,
"allowskip": true,
"protocol": "sml",
"device": "/dev/your-IR-reader",
"baudrate":9600,
"baudrate_read": 9600,
"parity": "8N1",
"use_local_time": true,
"channels": [
{
"api": "volkszaehler", // total from net
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "1-0:1.8.0",
"duplicates": 60
},
{
"api": "volkszaehler", // sum of L1+L2+L3
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "1-0:16.7.0*255",
"duplicates": 60
},
{
"api": "volkszaehler", // L1
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "1-0:36.7.0*255",
"duplicates": 60
},
{
"api": "volkszaehler", // L2
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "1-0:56.7.0*255",
"duplicates": 60
},
{
"api": "volkszaehler", // L3
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "1-0:76.7.0*255",
"duplicates": 60
}
]
},
{
"enabled": true,
"allowskip": true,
"interval": 1,
"protocol": "file",
"path": "/tmp/vz/soyo.log",
"format": "$t: $i = $v",
"rewind": true,
"channels": [
{
"api": "volkszaehler",
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "soyosend"
},
{
"api": "volkszaehler",
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "bat_v",
"duplicates": 60
},
{
"api": "volkszaehler",
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "pv_w",
"duplicates": 60
},
{
"api": "volkszaehler",
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "pv_u",
"duplicates": 60
},
{
"api": "volkszaehler",
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "int_temp",
"duplicates": 60
},
{
"api": "volkszaehler",
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "bat_temp",
"duplicates": 60
},
{
"api": "volkszaehler",
"uuid": "create and paste",
"middleware": "127.0.0.1:8080",
"identifier": "panel_w",
"duplicates": 60
}]
}
]
}