-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfiguration-sample.yaml
129 lines (128 loc) · 4.12 KB
/
configuration-sample.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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
pyscript:
apps:
ruuvi-gateway:
mqtt_topic_prefix: ruuvi
ruuvitags:
f33d5fc20393: Living Room Ruuvitag
ec757cb84337: Bedroom Ruuvitag
fc2c231a4b24: Kitchen Ruuvitag
e86561efa878: Garage Ruuvitag
measurements:
temperature:
config:
stat_t: homeassistant/sensor/<MAC>/temperature/state
json_attr_t: homeassistant/sensor/<MAC>/temperature/attributes
name: <TAG_NAME> Temperature
unit_of_meas: "\u00b0F"
dev_cla: temperature
uniq_id: ruuvitag_<MAC>_temperature
device:
ids: ruuvitag-<MAC>
mf: Ruuvi Innovations Ltd
mdl: RuuviTag
name: <TAG_NAME>
attributes:
Ruuvitag: <MAC>
Measure: Temperature
Unit: "\u00b0F"
transform:
expression: (<VALUE>*(9/5))+32
source_metric: temperature
precision: 2
humidity:
config:
stat_t: homeassistant/sensor/<MAC>/humidity/state
json_attr_t: homeassistant/sensor/<MAC>/humidity/attributes
name: <TAG_NAME> Humidity
unit_of_meas: '%'
dev_cla: humidity
uniq_id: ruuvitag_<MAC>_humidity
device:
ids: ruuvitag-<MAC>
mf: Ruuvi Innovations Ltd
mdl: RuuviTag
name: <TAG_NAME>
attributes:
Ruuvitag: <MAC>
Measure: Humidity
Unit: '%'
source_metric: humidity
precision: 2
battery_level:
config:
stat_t: homeassistant/sensor/<MAC>/battery_level/state
json_attr_t: homeassistant/sensor/<MAC>/battery_level/attributes
name: <TAG_NAME> Battery Level
unit_of_meas: '%'
dev_cla: battery
uniq_id: ruuvitag_<MAC>_battery_level
device:
ids: ruuvitag-<MAC>
mf: Ruuvi Innovations Ltd
mdl: RuuviTag
name: <TAG_NAME>
attributes:
Ruuvitag: <MAC>
Measure: Battery Level
Unit: '%'
transform:
expression: ((<VALUE> - 2500) / (3000 - 2500)) * 100
min_val: 0
max_val: 100
source_metric: battery
precision: 0
pressure:
config:
stat_t: homeassistant/sensor/<MAC>/pressure/state
json_attr_t: homeassistant/sensor/<MAC>/pressure/attributes
name: <TAG_NAME> Pressure
unit_of_meas: hPa
dev_cla: pressure
uniq_id: ruuvitag_<MAC>_pressure
device:
ids: ruuvitag-<MAC>
mf: Ruuvi Innovations Ltd
mdl: RuuviTag
name: <TAG_NAME>
attributes:
Ruuvitag: <MAC>
Measure: Pressure
Unit: hPa
source_metric: pressure
precision: 2
tx_power:
config:
stat_t: homeassistant/sensor/<MAC>/tx_power/state
json_attr_t: homeassistant/sensor/<MAC>/tx_power/attributes
name: <TAG_NAME> Tx Power
unit_of_meas: dBm
dev_cla: signal_strength
uniq_id: ruuvitag_<MAC>_tx_power
device:
ids: ruuvitag-<MAC>
mf: Ruuvi Innovations Ltd
mdl: RuuviTag
name: <TAG_NAME>
attributes:
Ruuvitag: <MAC>
Measure: Tx Power
Unit: dBm
source_metric: tx_power
rssi:
config:
stat_t: homeassistant/sensor/<MAC>/rssi/state
json_attr_t: homeassistant/sensor/<MAC>/rssi/attributes
name: <TAG_NAME> RSSI
unit_of_meas: dBm
dev_cla: signal_strength
uniq_id: ruuvitag_<MAC>_rssi
device:
ids: ruuvitag-<MAC>
mf: Ruuvi Innovations Ltd
mdl: RuuviTag
name: <TAG_NAME>
attributes:
Ruuvitag: <MAC>
Measure: RSSI
Unit: dBm
source_metric: rssi