How to customize your Konnected Alarm Panel 6-zone device with Konnected's ESPHome packages
This article applies to 6-Zone Konnected Alarm Panels running ESPHome firmware.
Default Alarm Panel Firmware Packages
Konnected's pre-built default firmware for our 6-zone Alarm Panel products set up all 6 zones as binary sensor inputs, and set the one output as an alarm. When you import an ESPHome device and click edit to customize the firmware, the default configuration looks like this:
substitutions:
name: alarm-panel-xxxxxx
packages:
konnected.alarm-panel-esp8266: github://konnected-io/konnected-esphome/alarm-panel-esp8266.yaml@master
esphome:
name: ${name}
name_add_mac_suffix: false
api:
encryption:
key: UNIQUE_GENERATED_KEY_FOR_HOME_ASSISTANT
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
The package linked above, konnected-io/konnected-esphome/alarm-panel-esp8266.yaml, is Konnected's default list of packages and components.
Extended Configuration for Customizing Packages
To customize the firmware, you can pick and choose from the packages that you want. To do this, follow the link above to the default package on GithHub, and copy and paste the contents of that file into your ESPHome config, replacing everything except your substitutions section, like this (comments removed for brevity):
substitutions:
name: alarm-panel-xxxxxx
packages:
remote_package:
url: http://github.com/konnected-io/konnected-esphome
ref: master
refresh: 5min
files:
- packages/alarm-panel-esp8266-base.yaml
- packages/alarm-panel/zone1.yaml
- packages/alarm-panel/zone2.yaml
- packages/alarm-panel/zone3.yaml
- packages/alarm-panel/zone4.yaml
- packages/alarm-panel/zone5.yaml
- packages/alarm-panel/zone6.yaml
- packages/alarm-panel/alarm.yaml
- packages/wifi.yaml
- packages/warning-beep.yaml
- packages/status-led.yaml
esphome:
name: ${name}
name_add_mac_suffix: false
api:
encryption:
key: UNIQUE_GENERATED_KEY_FOR_HOME_ASSISTANT
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
web_server:
logger:
ota:
This configuration is equivalent to the one above, but it's expanded out so you can pick and choose which packages or components to use.