/
homekit.yaml
executable file
·198 lines (186 loc) · 5.98 KB
/
homekit.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
#################################################################
## HomeKit
#################################################################
- filter:
include_entities:
- alarm_control_panel.alarm
- cover.garage_door
- cover.USER1_s_office_blinds
- cover.USER2_s_office_blinds
- cover.stairs_blinds
- cover.kitchen_blinds
- cover.bedroom_closet_blinds
- light.hallway_light
- light.bathroom_lights
- light.garage_light
- light.garage_interior
- light.living_room_lights
- light.dining_room_lights
- light.bedroom_lights
- light.kitchen_lights
- light.stairs_light
- light.USER1_office_lights
- light.USER2_office_lights
- light.guest_bedroom_lights
- light.basement_lights
- light.basement_stairs
- light.work_bench_light
- light.laundry_room_light
- light.craft_room_ceiling
- light.fitness_room_ceiling
- light.front_porch
- light.back_door
- light.backyard_deck
- light.backyard_patio
- light.upstairs_bathroom_lights
- fan.USER1s_office_fan
- switch.air_purifier
- switch.fountain
- climate.main_floor
- climate.office_fan
- switch.front_yard_lighting
- switch.backyard_lighting
- sensor.main_floor_humidity
- sensor.office_fan_humidity
- fan.living_room_east
- fan.living_room_west
- binary_sensor.living_room_motion
- binary_sensor.dining_room_motion
- binary_sensor.kitchen_motion
- binary_sensor.bathroom_motion
- binary_sensor.USER1s_office_motion
- binary_sensor.USER2s_office_motion
- binary_sensor.stairs_motion
- binary_sensor.upstairs_bathroom_motion
- binary_sensor.basement_motion
- binary_sensor.craft_room_motion
- binary_sensor.fitness_room_motion
- binary_sensor.front_door_opened
- binary_sensor.back_door_opened
- binary_sensor.basement_door_opened
- sensor.living_room_temperature
- sensor.main_floor_temperature
- sensor.kitchen_temperature
- sensor.bedroom_temperature
- sensor.bathroom_temperature
- sensor.office_temperature
- sensor.USER2_office_temperature
- sensor.guest_bedroom_temperature
- sensor.basement_temperature
- sensor.laundry_room_temperature
- sensor.garage_temperature
- sensor.office_fan_humidity
- sensor.craft_room_temperature
- sensor.fitness_room_temperature
- sensor.bathroom_humidity
- sensor.craft_room_humidity
- sensor.fitness_room_humidity
#################################################################
## HomeKit Accessory Mode
#################################################################
- name: Front Porch Camera
mode: accessory
port: 21064
filter:
include_entities:
- camera.front_porch
entity_config:
camera.front_porch:
stream_source: "-rtsp_transport tcp -re -i rtsp://unifi-protect.network.REDACTED:7447/REDACTED"
video_codec: copy
support_audio: True
linked_motion_sensor: binary_sensor.front_porch_person_detected
linked_doorbell_sensor: binary_sensor.ring_front_door_ding
- name: Driveway Camera
mode: accessory
port: 21065
filter:
include_entities:
- camera.driveway
entity_config:
camera.driveway:
stream_source: "-rtsp_transport tcp -re -i rtsp://unifi-protect.network.REDACTED:7447/REDACTED"
video_codec: copy
support_audio: True
- name: Backyard Gate Camera
mode: accessory
port: 21066
filter:
include_entities:
- camera.backyard_gate
entity_config:
camera.backyard_gate:
stream_source: "-rtsp_transport tcp -re -i rtsp://unifi-protect.network.REDACTED:7447/REDACTED"
video_codec: copy
support_audio: True
- name: Backyard Camera
mode: accessory
port: 21067
filter:
include_entities:
- camera.backyard
entity_config:
camera.backyard:
stream_source: "-rtsp_transport tcp -re -i rtsp://unifi-protect.network.REDACTED:7447/REDACTED"
video_codec: copy
support_audio: True
- name: Side Yard Camera
mode: accessory
port: 21068
filter:
include_entities:
- camera.side_yard
entity_config:
camera.side_yard:
stream_source: "-rtsp_transport tcp -re -i rtsp://unifi-protect.network.REDACTED:7447/REDACTED"
video_codec: copy
support_audio: True
- name: Garage Camera
mode: accessory
port: 21069
filter:
include_entities:
- camera.garage
entity_config:
camera.garage:
stream_source: "-rtsp_transport tcp -re -i rtsp://unifi-protect.network.REDACTED:7447/REDACTED"
video_codec: copy
support_audio: True
- name: Front Yard Camera
mode: accessory
port: 21070
filter:
include_entities:
- camera.front_yard
entity_config:
camera.front_yard:
stream_source: "-rtsp_transport tcp -re -i rtsp://unifi-protect.network.REDACTED:7447/REDACTED"
video_codec: copy
support_audio: True
- name: Front Door Lock
mode: accessory
port: 21071
filter:
include_entities:
- lock.front_door
entity_config:
lock.front_door:
linked_battery_sensor: sensor.front_door_lock_batt
- name: Back Door Lock
mode: accessory
port: 21072
filter:
include_entities:
- lock.back_door
entity_config:
lock.back_door:
linked_battery_sensor: sensor.back_door_lock_batt
- name: Basement Door Lock
mode: accessory
port: 21073
filter:
include_entities:
- lock.basement_door
entity_config:
lock.basement_door:
linked_battery_sensor: sensor.basement_door_lock_batt