-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaap_esl_keypad_interface.example.yaml
More file actions
168 lines (143 loc) · 4.09 KB
/
Copy pathaap_esl_keypad_interface.example.yaml
File metadata and controls
168 lines (143 loc) · 4.09 KB
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
# Example configuration for the AAP ESL-2 Keypad Interface.
#
# Copy this file to `aap_esl_keypad_interface.yaml`, fill in your own zone
# and keypad names, and create a `secrets.yaml` alongside it (see README.md
# for the required keys). The copy is gitignored so your real layout stays
# local.
substitutions:
name: "esphome-aap-alarm-interface"
friendly_name: ESPHome AAP Alarm Interface
comment: "Control your Arrowhead Alarm system using ESPHome."
esphome:
name: ${name}
friendly_name: ${friendly_name}
comment: ${comment}
name_add_mac_suffix: false
esp32:
# AtomS3 Lite. If using an original Atom Lite instead, use `variant: esp32`
# and clock_pin: GPIO23 / data_pin: GPIO22 below.
variant: esp32s3
framework:
type: esp-idf
logger:
level: DEBUG
initial_level: INFO
# Leave crow_alarm_panel unset here; the `select` below lets you switch
# it to DEBUG at runtime instead of reflashing.
# logs:
# crow_alarm_panel: DEBUG
external_components:
- components: [crow_alarm_panel]
source: github://dan-s-github/esphome-components
# Runtime log level control, so you can flip to DEBUG from Home Assistant
# without reflashing.
select:
platform: logger
name: "Log level"
crow_alarm_panel:
# AtomS3 Lite pins. On an original Atom Lite use GPIO23 / GPIO22.
clock_pin: GPIO7
data_pin: GPIO5
# Bus address this device claims as a keypad. Must not collide with any
# other keypad already on the bus (physical keypads, RS232, IP, etc).
address: 5
code: !secret alarm_code
# Every keypad the panel knows about, physical or virtual. Only used so
# this component can identify bus traffic - it does not need to match
# the panel's own keypad naming.
keypads:
- name: "Keypad 1"
address: 0
- name: "ESPHome Keypad"
address: 5
- name: "IP Keypad"
address: 7
# One entry per zone configured on the panel. `device_class` and `icon`
# are passed straight through to the Home Assistant binary_sensor.
zones:
- zone: 1
name: "Zone 1"
device_class: motion
icon: mdi:motion-sensor
- zone: 2
name: "Zone 2"
device_class: motion
icon: mdi:motion-sensor
- zone: 3
name: "Zone 3"
device_class: garage_door
- zone: 4
name: "Zone 4"
device_class: motion
icon: mdi:motion-sensor
- zone: 5
name: "Zone 5"
device_class: motion
icon: mdi:motion-sensor
- zone: 6
name: "Zone 6"
device_class: motion
icon: mdi:motion-sensor
- zone: 7
name: "Zone 7"
device_class: motion
icon: mdi:motion-sensor
- zone: 8
name: "Zone 8"
device_class: smoke
text_sensor:
- platform: crow_alarm_panel
type: armed_state
name: "Alarm Status"
alarm_control_panel:
- platform: crow_alarm_panel
name: "Crow Alarm"
requires_code_to_arm: false
button:
- platform: crow_alarm_panel
type: arm_away
name: "Arm Away"
- platform: crow_alarm_panel
type: arm_stay
name: "Arm Stay"
- platform: crow_alarm_panel
type: disarm
name: "Disarm"
- platform: restart
id: restart_button
name: "Restart"
entity_category: diagnostic
# One `output` entry per panel PGM output you want to expose as a switch.
switch:
- platform: crow_alarm_panel
type: output
output: 3
name: "Output 3"
- platform: crow_alarm_panel
type: output
output: 4
name: "Output 4"
# Runtime toggle for raw frame logging - noisy, so it's off by default
# and left as a switch rather than a static logs: entry. Setting the
# logger above to VERBOSE (via the `select`) enables the same raw frame
# output, so this switch is only useful for isolating raw frames without
# the rest of VERBOSE's noise.
- platform: crow_alarm_panel
type: log_raw_frames
name: "Raw Frame Logging"
api:
encryption:
key: !secret api_encryption_key
ota:
platform: esphome
improv_serial:
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "esphome-aap-keypad-fallback"
password: !secret fallback_hotspot_password
captive_portal:
esp32_improv:
authorizer: none
web_server: