-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.yaml
79 lines (74 loc) · 2.06 KB
/
config.yaml
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
---
logLevel: info
MQTT_BROKER: "my-broker.localhost"
MQTT_PORT: 1234
MQTT_USER: "my-user"
MQTT_PASSWORD: "my-pwd"
HTTP_PORT: 5678
metrics:
- name: electric_meter_total
description: The total kWh measured by an electric meter
type: counter
topic: tele/electric_meter/SENSOR
path: power.total
labels:
meter: power.meter
- name: electric_meter_voltage
description: The voltage measured
type: gauge
topic: tele/electric_meter/SENSOR
path: power.voltage
labels:
meter: power.meter
- name: electric_meter_current
description: The electric current measured
type: gauge
topic: tele/electric_meter/SENSOR
path: power.current
labels:
meter: power.meter
- name: gas_meter_voltage
description: The relay's voltage [V]
type: gauge
topic: tele/gas_meter/SENSOR
path: voltage
- name: gas_meter_counter
description: measured amount of gas [1/100 m^3]
type: counter
topic: tele/gas_meter/SENSOR
path: counter
- name: gas_meter_wifi_fails
description: Number of failed wifi connections
type: counter
topic: tele/gas_meter/SENSOR
path: fails.wifi
- name: gas_meter_mqtt_fails
description: Number of failed connections to MQTT server
type: counter
topic: tele/gas_meter/SENSOR
path: fails.mqtt
- name: outside_temperature
description: The current outside temperature [°C]
type: gauge
topic: tele/gas_meter/SENSOR
path: temperature
- name: gas_meter_voltage_2
description: The relay's voltage [V]
type: gauge
topic: tele/gas_meter/2/SENSOR
path: voltage
- name: gas_meter_counter_2
description: measured amount of gas [1/100 m^3]
type: counter
topic: tele/gas_meter/2/SENSOR
path: counter
- name: gas_meter_wifi_fails_2
description: Number of failed wifi connections
type: counter
topic: tele/gas_meter/2/SENSOR
path: fails.wifi
- name: gas_meter_mqtt_fails_2
description: Number of failed connections to MQTT server
type: counter
topic: tele/gas_meter/2/SENSOR
path: fails.mqtt