forked from sicrob007/Home-Assistant-Configuration
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sensors.yaml
executable file
·232 lines (199 loc) · 5.81 KB
/
sensors.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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
######## SENSORS ########
######## DARKSKY WEATHER SENSOR ########
- platform: darksky
api_key: !secret darksky_api_key
monitored_conditions:
- summary
- temperature
- wind_speed
- temperature_max
- temperature_min
######## SPEEDTEST SENSOR ########
- platform: speedtest
scan_interval: 300
monitored_conditions:
- ping
- download
- upload
######## PI SYSTEM MONITOR SENSOR ########
- platform: systemmonitor
scan_interval: 300
resources:
- type: disk_use_percent
arg: /home
- type: memory_free
- type: processor_use
######## HOMEAUTOMATION PI MONITOR SENSOR ########
- platform: netdata
scan_interval: 300
name: HomeAutomation NetData
resources:
- memory_free
- memory_used
- memory_cached
- memory_buffers
- swap_free
- swap_used
- processes_running
- processes_blocked
- system_load
- system_io_in
- system_io_out
######## NEST SENSOR ########
- platform: nest
monitored_conditions:
- 'temperature'
- 'target'
- 'humidity'
- 'operation_mode'
######## FRONT DOOR SCREEN DOOR LOCK BATTERY SENSOR ########
- platform: mqtt
name: Screen Door Battery
state_topic: "smartthings/Front Door Deadbolt/battery"
unit_of_measurement: "%"
retain: true
######## FRONT DOOR LOCK BATTERY SENSOR ########
- platform: mqtt
name: Inside Lock Battery
state_topic: "smartthings/Inside Lock/battery"
unit_of_measurement: "%"
retain: true
######## GAMER GLANCES REST MONITORING ########
- platform: rest
scan_interval: 300
resource: !secret gamer_glances
name: Gamer CPU Use
unit_of_measurement: '%'
value_template: '{{ value_json.cpu.total }}'
- platform: rest
scan_interval: 300
resource: !secret gamer_glances
name: Gamer RAM Free
unit_of_measurement: MB
value_template: '{{ value_json.mem.free | multiply(0.000000954) | round(0) }}'
- platform: rest
scan_interval: 300
resource: !secret gamer_glances
name: 'Gamer C:'
unit_of_measurement: '%'
value_template: '{{ value_json.fs[0].percent }}'
- platform: rest
scan_interval: 300
resource: !secret gamer_glances
name: 'Gamer D:'
unit_of_measurement: '%'
value_template: '{{ value_json.fs[1].percent }}'
######## MEDIACENTER GLANCES REST MONITORING ########
- platform: rest
scan_interval: 300
resource: !secret mediacenter_glances
name: MediaCenter CPU Use
unit_of_measurement: '%'
value_template: '{{ value_json.cpu.total }}'
- platform: rest
scan_interval: 300
resource: !secret mediacenter_glances
name: MediaCenter RAM Free
unit_of_measurement: MB
value_template: '{{ value_json.mem.free | multiply(0.000000954) | round(0) }}'
- platform: rest
scan_interval: 300
resource: !secret mediacenter_glances
name: 'MediaCenter C:'
icon: mdi:harddisk
unit_of_measurement: '%'
value_template: '{{ value_json.fs[0].percent }}'
- platform: rest
scan_interval: 300
resource: !secret mediacenter_glances
name: 'MediaCenter Movies'
icon: mdi:harddisk
unit_of_measurement: '%'
value_template: '{{ value_json.fs[1].percent }}'
- platform: rest
scan_interval: 300
resource: !secret mediacenter_glances
name: 'MediaCenter TV'
icon: mdi:harddisk
unit_of_measurement: '%'
value_template: '{{ value_json.fs[2].percent }}'
######## OFFICE MOTION SENSOR ########
- platform: mqtt
name: "Office Motion Sensor"
command_topic: "smartthings/Office Motion Sensor/motion"
state_topic: "smartthings/Office Motion Sensor/motion"
qos: 0
payload_on: "active"
payload_off: "inactive"
retain: true
######## OFFICE MOTION SENSOR Battery ########
- platform: mqtt
name: "Office Motion Sensor Battery"
state_topic: "smartthings/Office Motion Sensor/battery"
unit_of_measurement: "%"
######## RING DOORBELL MONITORING ########
- platform: ring
monitored_conditions:
- battery
- last_activity
- last_ding
- last_motion
- volume
######## Temperature Sensors ########
- platform: mqtt
name: "Andrea Bedroom Temperature"
state_topic: "smartthings/Andrea Status/temperature"
unit_of_measurement: "°F"
- platform: mqtt
name: "Brendan Bedroom Temperature"
state_topic: "smartthings/Brendan Status/temperature"
unit_of_measurement: "°F"
- platform: mqtt
name: "Downstairs Backdoor Temperature"
state_topic: "smartthings/Downstairs Back Door/temperature"
unit_of_measurement: "°F"
- platform: mqtt
name: "Front Door Deadbolt Temperature"
state_topic: "smartthings/Front Door Deadbolt Status/temperature"
unit_of_measurement: "°F"
- platform: mqtt
name: "Garage Door Temperature"
state_topic: "smartthings/Garage Door/temperature"
unit_of_measurement: "°F"
- platform: mqtt
name: "Inside Lock Temperature"
state_topic: "smartthings/Inside Lock Status/temperature"
unit_of_measurement: "°F"
- platform: mqtt
name: "Master Bedroom Temperature"
state_topic: "smartthings/Master Bedroom Status/temperature"
unit_of_measurement: "°F"
######## Battery Sensors ########
- platform: mqtt
name: Andrea Bedroom Battery
state_topic: "smartthings/Andrea Status/battery"
unit_of_measurement: "%"
- platform: mqtt
name: Brendan Bedroom Battery
state_topic: "smartthings/Brendan Status/battery"
unit_of_measurement: "%"
- platform: mqtt
name: Downstairs Backdoor Battery
state_topic: "smartthings/Downstairs Back Door/battery"
unit_of_measurement: "%"
- platform: mqtt
name: Front Door Deadbolt Status Battery
state_topic: "smartthings/Front Door Deadbolt Status/battery"
unit_of_measurement: "%"
- platform: mqtt
name: Garage Door Battery
state_topic: "smartthings/Garage Door/battery"
unit_of_measurement: "%"
- platform: mqtt
name: Inside Lock Status Battery
state_topic: "smartthings/Inside Lock Status/battery"
unit_of_measurement: "%"
- platform: mqtt
name: Master Bedroom Battery
state_topic: "smartthings/Master Bedroom Status/battery"
unit_of_measurement: "%"